Adapt some cukes to the new implementation

This commit is contained in:
Gonzalo Rodriguez 2011-09-28 22:34:19 -03:00
parent 74d00d7db4
commit 5a5bc852e2
3 changed files with 12 additions and 16 deletions

View file

@ -47,7 +47,6 @@ Feature: following and being followed
And I add the person to my "Unicorns" aspect
When I go to the home page
When I follow "Your Aspects"
Then I should have 1 contact in "Unicorns"
Then I should have 1 contact in "Besties"
@ -59,7 +58,6 @@ Feature: following and being followed
Then I go to the destroy user session page
When I sign in as "bob@bob.bob"
When I follow "Your Aspects"
Then I should have 1 contacts in "Besties"
When I am on the home page

View file

@ -31,7 +31,7 @@ Feature: mentioning a contact from their profile page
And I wait for the ajax to finish
Then I should see "I am eating a yogurt"
When I follow "Your Aspects" within "#aspect_nav"
When I am on the aspects page
And I follow "NotPostingThingsHere" within "#aspect_nav"
And I wait for the ajax to finish
Then I should see "I am eating a yogurt"
@ -49,11 +49,13 @@ Feature: mentioning a contact from their profile page
And I press "Share" in the modal window
When I am on the aspects page
And I follow "Deselect all" within "#aspect_nav"
And I follow "PostingTo" within "#aspect_nav"
And I wait for the ajax to finish
Then I should see "I am eating a yogurt"
When I follow "Your Aspects" within "#aspect_nav"
When I am on the aspects page
And I follow "Deselect all" within "#aspect_nav"
And I follow "NotPostingThingsHere" within "#aspect_nav"
And I wait for the ajax to finish
Then I should not see "I am eating a yogurt"

View file

@ -48,10 +48,9 @@ Feature: public repost
And I go to the home page
Then I should see a ".reshare"
And I follow "Your Aspects"
Then I should see "reshare this!"
Then I should see a ".reshare"
And I should see "Bob"
And I should see "reshare this!"
And I should see a ".reshare"
And I should see "Bob"
Scenario: I can delete a post that has been reshared
Given "bob@bob.bob" has a public post with text "reshare this!"
@ -62,11 +61,9 @@ Feature: public repost
And I go to the home page
Then I should see a ".reshare"
When I follow "Your Aspects"
Then I should see "reshare this!"
Then I should see a ".reshare"
And I should see "Bob"
And I should see "reshare this!"
And I should see a ".reshare"
And I should see "Bob"
When I go to the destroy user session page
And I sign in as "bob@bob.bob"
@ -86,10 +83,9 @@ Feature: public repost
When I go to the home page
Then I should see a ".reshare"
When I follow "Your Aspects"
Then I should see "reshare this!"
And I should see "reshare this!"
And I should see a ".reshare"
And I should see "Bob"
And I should see "Bob"
When I go to the home page
Then I should see "1 reshare"