Created
May 16, 2011 11:30
-
-
Save andrzejkrzywda/974275 to your computer and use it in GitHub Desktop.
cucumber vs bbq
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
Scenario: Artist creates an art work | |
Given I am a registered artist | |
And I follow the add new artwork link from the dashboard | |
When I fill the form with the artwork data | |
And I upload a picture | |
Then I should see a confirmation message telling me that the artwork was added to my collection | |
scenario "artist creates an art work" do | |
artist = TestUser.new | |
artist.go_to_new_artwork_page | |
artist.fill_the_artwork_form | |
artist.upload_picture | |
artist.should_see_confirmation_message | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment