Created
September 16, 2015 00:14
-
-
Save rj-reilly/bdce0d16224ec841abdb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
not_if do | |
require 'json' | |
require 'net/http' | |
s = Net::HTTP.get_response(URI.parse('http://10.109.xx.xx:7001/console/login/LoginForm.jsp')).body | |
s =~ /.*Log in to work with the WebLogic Server domain.*/ | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment