Skip to content

Instantly share code, notes, and snippets.

@andrzejkrzywda
Created May 16, 2011 11:30
Show Gist options
  • Save andrzejkrzywda/974275 to your computer and use it in GitHub Desktop.
Save andrzejkrzywda/974275 to your computer and use it in GitHub Desktop.
cucumber vs bbq
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