Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat@rich-2 ~/homeschool/homeschool_v2 (git::master) $ rake features
- (in /Users/cat/homeschool/homeschool_v2)
- Feature: Password reset
- In order to sign in even if user forgot their password
- A user
- Should be able to reset it
- Scenario: User is not signed up # features/password_reset.feature:6
- Given no user exists with an email of "email@person.com" # features/step_definitions/clearance_steps.rb:9
- When I request password reset link to be sent to "email@person.com" # features/step_definitions/clearance_steps.rb:95
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/password_reset.feature:8:in `When I request password reset link to be sent to "email@person.com"'
- Then I should see "Unknown email" # features/step_definitions/webrat_steps.rb:93
- Scenario: User is signed up and requests password reset # features/password_reset.feature:11
- Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
- When I request password reset link to be sent to "email@person.com" # features/step_definitions/clearance_steps.rb:95
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/password_reset.feature:13:in `When I request password reset link to be sent to "email@person.com"'
- Then I should see "instructions for changing your password" # features/step_definitions/webrat_steps.rb:93
- And a password reset message should be sent to "email@person.com" # features/step_definitions/clearance_steps.rb:57
- Scenario: User is signed up updated his password and types wrong confirmation # features/password_reset.feature:17
- Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
- When I follow the password reset link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:66
- And I update my password with "newpassword/wrongconfirmation" # features/step_definitions/clearance_steps.rb:101
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/password_reset.feature:20:in `And I update my password with "newpassword/wrongconfirmation"'
- Then I should see error messages # features/step_definitions/clearance_steps.rb:3
- And I should not be signed in # features/step_definitions/clearance_steps.rb:33
- Scenario: User is signed up and updates his password # features/password_reset.feature:24
- Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
- When I follow the password reset link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:66
- And I update my password with "newpassword/newpassword" # features/step_definitions/clearance_steps.rb:101
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/password_reset.feature:27:in `And I update my password with "newpassword/newpassword"'
- Then I should be signed in # features/step_definitions/clearance_steps.rb:29
- When I sign out # features/step_definitions/clearance_steps.rb:91
- And I sign in as "email@person.com/newpassword" # features/step_definitions/clearance_steps.rb:83
- Then I should be signed in # features/step_definitions/clearance_steps.rb:29
- Feature: Sign in
- In order to get access to protected sections of the site
- A user
- Should be able to sign in
- Scenario: User is not signed up # features/sign_in.feature:6
- Given no user exists with an email of "email@person.com" # features/step_definitions/clearance_steps.rb:9
- When I go to the sign in page # features/step_definitions/webrat_steps.rb:10
- And I sign in as "email@person.com/password" # features/step_definitions/clearance_steps.rb:83
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/sign_in.feature:9:in `And I sign in as "email@person.com/password"'
- Then I should see "Bad email or password" # features/step_definitions/webrat_steps.rb:93
- And I should not be signed in # features/step_definitions/clearance_steps.rb:33
- Scenario: User is not confirmed # features/sign_in.feature:13
- Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
- When I go to the sign in page # features/step_definitions/webrat_steps.rb:10
- And I sign in as "email@person.com/password" # features/step_definitions/clearance_steps.rb:83
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/sign_in.feature:16:in `And I sign in as "email@person.com/password"'
- Then I should see "User has not confirmed email" # features/step_definitions/webrat_steps.rb:93
- And I should not be signed in # features/step_definitions/clearance_steps.rb:33
- Scenario: User enters wrong password # features/sign_in.feature:20
- Given I am signed up and confirmed as "email@person.com/password" # features/step_definitions/clearance_steps.rb:20
- When I go to the sign in page # features/step_definitions/webrat_steps.rb:10
- And I sign in as "email@person.com/wrongpassword" # features/step_definitions/clearance_steps.rb:83
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/sign_in.feature:23:in `And I sign in as "email@person.com/wrongpassword"'
- Then I should see "Bad email or password" # features/step_definitions/webrat_steps.rb:93
- And I should not be signed in # features/step_definitions/clearance_steps.rb:33
- Scenario: User signs in successfully # features/sign_in.feature:27
- Given I am signed up and confirmed as "email@person.com/password" # features/step_definitions/clearance_steps.rb:20
- When I go to the sign in page # features/step_definitions/webrat_steps.rb:10
- And I sign in as "email@person.com/password" # features/step_definitions/clearance_steps.rb:83
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/sign_in.feature:30:in `And I sign in as "email@person.com/password"'
- Then I should see "Signed in successfully" # features/step_definitions/webrat_steps.rb:93
- And I should be signed in # features/step_definitions/clearance_steps.rb:29
- Scenario: User signs in and checks "remember me" # features/sign_in.feature:34
- Given I am signed up and confirmed as "email@person.com/password" # features/step_definitions/clearance_steps.rb:20
- When I go to the sign in page # features/step_definitions/webrat_steps.rb:10
- And I sign in with "remember me" as "email@person.com/password" # features/step_definitions/clearance_steps.rb:83
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/sign_in.feature:37:in `And I sign in with "remember me" as "email@person.com/password"'
- Then I should see "Signed in successfully" # features/step_definitions/webrat_steps.rb:93
- And I should be signed in # features/step_definitions/clearance_steps.rb:29
- When I return next time # features/step_definitions/clearance_steps.rb:107
- Then I should be signed in # features/step_definitions/clearance_steps.rb:29
- Feature: Sign out
- To protect my account from unauthorized access
- A signed in user
- Should be able to sign out
- Scenario: User signs out # features/sign_out.feature:6
- Given I am signed up and confirmed as "email@person.com/password" # features/step_definitions/clearance_steps.rb:20
- When I sign in as "email@person.com/password" # features/step_definitions/clearance_steps.rb:83
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/sign_out.feature:8:in `When I sign in as "email@person.com/password"'
- Then I should be signed in # features/step_definitions/clearance_steps.rb:29
- And I sign out # features/step_definitions/clearance_steps.rb:91
- Then I should see "You have been signed out" # features/step_definitions/webrat_steps.rb:93
- And I should not be signed in # features/step_definitions/clearance_steps.rb:33
- Scenario: User who was remembered signs out # features/sign_out.feature:14
- Given I am signed up and confirmed as "email@person.com/password" # features/step_definitions/clearance_steps.rb:20
- When I sign in with "remember me" as "email@person.com/password" # features/step_definitions/clearance_steps.rb:83
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/sign_out.feature:16:in `When I sign in with "remember me" as "email@person.com/password"'
- Then I should be signed in # features/step_definitions/clearance_steps.rb:29
- And I sign out # features/step_definitions/clearance_steps.rb:91
- Then I should see "You have been signed out" # features/step_definitions/webrat_steps.rb:93
- And I should not be signed in # features/step_definitions/clearance_steps.rb:33
- When I return next time # features/step_definitions/clearance_steps.rb:107
- Then I should not be signed in # features/step_definitions/clearance_steps.rb:33
- Feature: Sign up
- In order to get access to protected sections of the site
- A user
- Should be able to sign up
- Scenario: User signs up with invalid data # features/sign_up.feature:6
- When I go to the sign up page # features/step_definitions/webrat_steps.rb:10
- And I fill in "Email" with "invalidemail" # features/step_definitions/webrat_steps.rb:22
- And I fill in "Password" with "password" # features/step_definitions/webrat_steps.rb:22
- And I fill in "Confirm password" with "" # features/step_definitions/webrat_steps.rb:22
- And I press "Sign Up" # features/step_definitions/webrat_steps.rb:14
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/sign_up.feature:11:in `And I press "Sign Up"'
- Then I should see error messages # features/step_definitions/clearance_steps.rb:3
- Scenario: User signs up with valid data # features/sign_up.feature:14
- When I go to the sign up page # features/step_definitions/webrat_steps.rb:10
- And I fill in "Email" with "email@person.com" # features/step_definitions/webrat_steps.rb:22
- And I fill in "Password" with "password" # features/step_definitions/webrat_steps.rb:22
- And I fill in "Confirm password" with "password" # features/step_definitions/webrat_steps.rb:22
- And I press "Sign Up" # features/step_definitions/webrat_steps.rb:14
- uninitialized constant ActionController::UrlEncodedPairParser (NameError)
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:15:in `/^I press "([^\"]*)"$/'
- features/sign_up.feature:19:in `And I press "Sign Up"'
- Then I should see "instructions for confirming" # features/step_definitions/webrat_steps.rb:93
- And a confirmation message should be sent to "email@person.com" # features/step_definitions/clearance_steps.rb:43
- Scenario: User confirms his account # features/sign_up.feature:23
- Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
- When I follow the confirmation link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:52
- Then I should see "Confirmed email and signed in" # features/step_definitions/webrat_steps.rb:93
- And I should be signed in # features/step_definitions/clearance_steps.rb:29
- 14 scenarios
- 13 failed steps
- 34 skipped steps
- 30 passed steps
- rake aborted!
- Command failed with status (1): [/System/Library/Frameworks/Ruby.framework/...]
- (See full trace by running task with --trace)
- cat@rich-2 ~/homeschool/homeschool_v2 (git::master) $
Add Comment
Please, Sign In to add comment