added cuc test for commenting on a status message show page

This commit is contained in:
Dan Goldenberg 2011-05-06 15:12:46 -07:00
parent fa174f8eb2
commit f1f0d6e2ea

View file

@ -75,3 +75,17 @@ Feature: commenting
Then the first comment field should be closed
When I focus the comment field
Then the first comment field should be open
Scenario: comment on a status show page
When I sign in as "bob@bob.bob"
And I am on "alice@alice.alice"'s page
Then I should see "Look at this dog"
When I follow "less than a minute ago"
Then I should see "Look at this dog"
And I fill in "text" with "I think thats a cat"
And I press "comment"
And I wait for the ajax to finish
When I am on "alice@alice.alice"'s page
Then I should see "I think thats a cat"