Skip to content

Instantly share code, notes, and snippets.

@mattwynne
Created February 2, 2009 11:16
Show Gist options
  • Save mattwynne/56883 to your computer and use it in GitHub Desktop.
Save mattwynne/56883 to your computer and use it in GitHub Desktop.
Feature: Upload media
In order to collect vivid content about the site
A user with an account
Should be able to upload images, videos and posters about concerts
Scenario: Upload an image for an artist and create a concert in the process
Given I am logged in to my account
And there is one Artist named "Pixies"
And there is one Venue
When I visit the page for the Artist
And I follow "add a photo"
And I upload an Image
# Search on select concert page
And I press "Search Pixies concerts"
And I follow "Add a new Concert"
And I fill in new Concert information
And I press "Preview"
And I press "Add concert"
# No artists appear in this photo
And I press "Submit"
Then my Concert should exist with 1 Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment