fix all but one cuke

This commit is contained in:
danielgrippi 2011-10-27 22:41:49 -07:00
parent 0a1e649b2b
commit 68a8c23d80
4 changed files with 11 additions and 7 deletions

View file

@ -14,7 +14,8 @@ Feature: invitation acceptance
And I fill in the following:
| profile_first_name | O |
When I follow "awesome_button"
And I preemptively confirm the alert
And I follow "awesome_button"
Then I should be on the multi page
Scenario: accept invitation from user
@ -31,7 +32,8 @@ Feature: invitation acceptance
And I fill in the following:
| profile_first_name | O |
When I follow "awesome_button"
And I preemptively confirm the alert
And I follow "awesome_button"
Then I should be on the multi page
Scenario: sends an invitation

View file

@ -37,7 +37,7 @@ Feature: posting
Scenario: can stop following a tag from the homepage
When I go to the home page
And I preemptively confirm the alert
And I hover over the "li.unfollow#boss"
And I hover over the "li.unfollow#tag-following-boss"
And I follow "unfollow_boss"
And I wait for the ajax to finish
Then I should not see "#boss" within ".left_nav"
Then I should not see "#tag-following-boss" within ".left_nav"

View file

@ -14,13 +14,15 @@ Feature: new user registration
And I should see "What are you into?"
Scenario: new user goes through the setup wizard
And I fill in the following:
When I fill in the following:
| profile_first_name | O |
And I preemptively confirm the alert
And I follow "awesome_button"
Then I should be on the multi page
And I should not see "awesome_button"
Scenario: new user skips the setup wizard
When I follow "awesome_button"
When I preemptively confirm the alert
And I follow "awesome_button"
Then I should be on the multi page

View file

@ -1,6 +1,6 @@
Then /^"([^"]*)" should be part of active conversation$/ do |name|
within(".conversation_participants") do
find("img.avatar[title^='#{name} ']").should_not be_nil
find("img.avatar[title^='#{name}']").should_not be_nil
end
end