fix features/profile_photos.feature:17 I broke
This commit is contained in:
parent
da4bac0092
commit
9793827f20
1 changed files with 5 additions and 7 deletions
|
|
@ -7,21 +7,19 @@ Feature: show photos
|
|||
| Bob Jones | bob@bob.bob |
|
||||
| Alice Smith | alice@alice.alice |
|
||||
| Robert Grimm | robert@grimm.grimm |
|
||||
And I sign in as "robert@grimm.grimm"
|
||||
And I sign in as "robert@grimm.grimm"
|
||||
|
||||
Given I expand the publisher
|
||||
And I have turned off jQuery effects
|
||||
And I attach the file "spec/fixtures/button.png" to hidden "file" within "#file-upload"
|
||||
And I press "Share"
|
||||
|
||||
|
||||
Scenario: see my own photos
|
||||
When I am on "robert@grimm.grimm"'s page
|
||||
And I follow "View all"
|
||||
When I am on "robert@grimm.grimm"'s page
|
||||
And I follow "View all" within "#image_list"
|
||||
Then I should be on person_photos page
|
||||
|
||||
|
||||
Scenario: I cannot see photos of people who don't share with me
|
||||
When I sign in as "alice@alice.alice"
|
||||
And I am on "robert@grimm.grimm"'s page
|
||||
Then I should not see "photos" within "div#profile"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue