Take the :first restriction off of posts.feature

This commit is contained in:
Raphael Sofaer 2011-08-01 16:26:21 -07:00
parent f9f583058a
commit 5d27b8047e

View file

@ -31,11 +31,11 @@ Feature: posting
And I press "Share"
And I wait for the ajax to finish
And I follow "Your Aspects"
Then I should see a "img" within ".stream_element:first div.photo_attachments"
Then I should see a "img" within ".stream_element div.photo_attachments"
Then I log out
And I sign in as "alice@alice.alice"
And I go to "bob@bob.bob"'s page
Then I should see a "img" within ".stream_element:first div.photo_attachments"
Then I should see a "img" within ".stream_element div.photo_attachments"
Scenario: post a photo with text
@ -45,13 +45,13 @@ Feature: posting
And I press "Share"
And I wait for the ajax to finish
And I follow "Your Aspects"
Then I should see a "img" within ".stream_element:first div.photo_attachments"
And I should see "Look at this dog" within ".stream_element:first"
Then I should see a "img" within ".stream_element div.photo_attachments"
And I should see "Look at this dog" within ".stream_element"
Then I log out
And I sign in as "alice@alice.alice"
And I go to "bob@bob.bob"'s page
Then I should see a "img" within ".stream_element:first div.photo_attachments"
And I should see "Look at this dog" within ".stream_element:first"
Then I should see a "img" within ".stream_element div.photo_attachments"
And I should see "Look at this dog" within ".stream_element"
Scenario: hide a post
Given I expand the publisher