Created
November 3, 2009 19:41
-
-
Save joshk/225364 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
Then /^I should see "([^\"]*)" in "([^\"]*)"$/ do |text, selector| | |
response_body.should have_tag(selector, /#{Regexp.escape(text)}/) | |
end |
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
@selenium | |
Scenario: Location search populates location fields | |
Given I am on the new user group page | |
When I fill in "Location search" with "Amsterdam" | |
Then I should see "Amsterdam" in "#user_group_region" | |
And I should see "52.4025" in "#user_group_latitude" | |
And I should see "4.9162" | |
And I should see "NL" | |
And I should see "Amsterdam" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment