Created
September 20, 2011 05:29
-
-
Save dabit/1228413 to your computer and use it in GitHub Desktop.
shots.feature
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
@javascript | |
Scenario: Add image for different countries | |
Given a country exists with name: "Mexico", locale: "en_MX" | |
And a country exists with name: "United States", locale: "en_US" | |
And an event exists with name: "Huge Sale" | |
When I go to the edit event page for "Huge Sale" | |
And I select "United States" as the country | |
When I attach the file "spec/support/logo.jpg" to "Image" | |
And I press "Update" | |
Then I should see an image | |
When I go to the edit event page for "Huge Sale" | |
And I select "Mexico" as the country | |
When I attach the file "spec/support/logo.jpg" to "Image" | |
And I press "Update" | |
Then I should see an image |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment