fixed all cukes except features/closes_account_feature:21

This commit is contained in:
danielgrippi 2011-10-11 18:01:39 -07:00
parent cd2647c029
commit 94e6120714
8 changed files with 10 additions and 7 deletions

View file

@ -4,7 +4,7 @@ Feature: Change email
Scenario: Change my email Scenario: Change my email
Given I am signed in Given I am signed in
And I click on my name in the header And I click on my name in the header
And I follow "settings" And I follow "Settings"
Then I should be on my account settings page Then I should be on my account settings page
When I fill in "user_email" with "new_email@newplac.es" When I fill in "user_email" with "new_email@newplac.es"
And I press "Change email" And I press "Change email"

View file

@ -4,7 +4,7 @@ Feature: Change password
Scenario: Change my password Scenario: Change my password
Given I am signed in Given I am signed in
And I click on my name in the header And I click on my name in the header
And I follow "settings" And I follow "Settings"
Then I should be on my account settings page Then I should be on my account settings page
When I put in my password in "user_current_password" When I put in my password in "user_current_password"
And I fill in "user_password" with "newsecret" And I fill in "user_password" with "newsecret"

View file

@ -7,7 +7,7 @@ Feature: Close Account
Scenario: user closes account Scenario: user closes account
Given I am signed in Given I am signed in
When I click on my name in the header When I click on my name in the header
And I follow "settings" And I follow "Settings"
And I preemptively confirm the alert And I preemptively confirm the alert
And I follow "Close Account" And I follow "Close Account"
Then I should be on the home page Then I should be on the home page
@ -30,7 +30,7 @@ Feature: Close Account
And I log out And I log out
Then I sign in as "bob@bob.bob" Then I sign in as "bob@bob.bob"
When I click on my name in the header When I click on my name in the header
And I follow "settings" And I follow "Settings"
And I preemptively confirm the alert And I preemptively confirm the alert
And I follow "Close Account" And I follow "Close Account"
Then I sign in as "alice@alice.alice" Then I sign in as "alice@alice.alice"

View file

@ -4,7 +4,7 @@ Feature: editing your profile
Background: Background:
Given I am signed in Given I am signed in
And I click on my name in the header And I click on my name in the header
And I follow "profile" And I follow "Profile"
And I follow "Edit my profile" And I follow "Edit my profile"
Then I should be on my edit profile page Then I should be on my edit profile page

View file

@ -12,7 +12,7 @@ Feature: user authentication
Scenario: user logs out Scenario: user logs out
Given I am signed in Given I am signed in
And I click on my name in the header And I click on my name in the header
And I follow "log out" And I follow "Log out"
Then I should be on the logged out page Then I should be on the logged out page
And I should see "Now go mobile." And I should see "Now go mobile."

View file

@ -76,6 +76,7 @@ Feature: User manages contacts
And I have 0 contacts And I have 0 contacts
And I am on the home page And I am on the home page
And I click on my name in the header
When I follow "Contacts" When I follow "Contacts"
Then I should see "Featured Users" within ".span-18" Then I should see "Featured Users" within ".span-18"
@ -92,5 +93,6 @@ Feature: User manages contacts
And I have 2 contacts And I have 2 contacts
And I am on the home page And I am on the home page
And I click on my name in the header
When I follow "Contacts" When I follow "Contacts"
Then I should not see "Featured Users" within "#section_header" Then I should not see "Featured Users" within "#section_header"

View file

@ -39,5 +39,5 @@ end
When /^I (?:log|sign) out$/ do When /^I (?:log|sign) out$/ do
When 'I click on my name in the header' When 'I click on my name in the header'
And 'I follow "log out"' And 'I follow "Log out"'
end end

View file

@ -27,6 +27,7 @@ Feature: Unfollowing
Scenario: stop following someone while on the aspect edit page Scenario: stop following someone while on the aspect edit page
When I go to the home page When I go to the home page
And I click on my name in the header
And I follow "Contacts" And I follow "Contacts"
And I follow "Besties" And I follow "Besties"
And I follow "Add contacts to Besties" And I follow "Add contacts to Besties"