Created
January 30, 2015 11:38
-
-
Save RobertDober/3fb588830d6050113b19 to your computer and use it in GitHub Desktop.
This file contains 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
Given(/^the URL of the platform$/) do | |
@password = something_correct | |
# ... | |
end | |
### | |
### Bad example, just to show the technique | |
### | |
Given (/^the URL of the platform with a bad password$/) do | |
@password = something_less_correct | |
#... | |
end | |
When (/^I send the request$/) do | |
http.connect url, user: @user, password: @password | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment