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 And I add the person to my "Unicorns" aspect
When I go to the home page 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 "Unicorns"
Then I should have 1 contact in "Besties" 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 Then I go to the destroy user session page
When I sign in as "bob@bob.bob" When I sign in as "bob@bob.bob"
When I follow "Your Aspects"
Then I should have 1 contacts in "Besties" Then I should have 1 contacts in "Besties"
When I am on the home page 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 And I wait for the ajax to finish
Then I should see "I am eating a yogurt" 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 follow "NotPostingThingsHere" within "#aspect_nav"
And I wait for the ajax to finish And I wait for the ajax to finish
Then I should see "I am eating a yogurt" 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 And I press "Share" in the modal window
When I am on the aspects page When I am on the aspects page
And I follow "Deselect all" within "#aspect_nav"
And I follow "PostingTo" within "#aspect_nav" And I follow "PostingTo" within "#aspect_nav"
And I wait for the ajax to finish And I wait for the ajax to finish
Then I should see "I am eating a yogurt" 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 follow "NotPostingThingsHere" within "#aspect_nav"
And I wait for the ajax to finish And I wait for the ajax to finish
Then I should not see "I am eating a yogurt" Then I should not see "I am eating a yogurt"

View file

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