Created
March 18, 2011 01:08
-
-
Save vtatai/875457 to your computer and use it in GitHub Desktop.
User attaches picture to household
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
Feature: User attaches picture to household | |
In order to show pictures for households, | |
As any user | |
I want to be able to upload a picture of the entire household to the household page | |
Scenario: User attaches picture to household | |
Given I am a new, authenticated user | |
And a household called "Hun" | |
When I go to the page for household "Hun" | |
And I press "Edit" | |
And I add the photo "sample.jpg" | |
And I press "Update" | |
Then I should be on the page for household "Hun" | |
And I should see a picture for the household | |
Scenario: User removes picture from household | |
Given I am a new, authenticated user | |
And a household called "Hun" | |
And a picture "sample.jpg" for household "Hun" | |
When I go to the page for household "Hun" | |
And I press "Remove picture" | |
Then I should be on the page for household "Hun" | |
And I should not see a picture for the household |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment