Skip to content

Instantly share code, notes, and snippets.

@kirkconnell
Created March 7, 2011 20:51
Show Gist options
  • Select an option

  • Save kirkconnell/859206 to your computer and use it in GitHub Desktop.

Select an option

Save kirkconnell/859206 to your computer and use it in GitHub Desktop.
@current
Scenario: Forgot Password # features/plain/authentication.feature:41
Given I am a verified user "rick@example.net" / "password" on the process server "Big Process Server" # features/step_definitions/user_steps.rb:15
And I am on the home page # features/step_definitions/web_steps.rb:14
When I follow "Forgot Password?" # features/step_definitions/web_steps.rb:26
Then I should be on the forgot password page # features/step_definitions/web_steps.rb:255
When I fill in "password_email" with "rick@example.net" # features/step_definitions/web_steps.rb:35
And I press "Reset Password" # features/step_definitions/web_steps.rb:22
Failed with 404 Not Found (ActiveResource::ResourceNotFound)
./app/models/user.rb:251:in `before_update'
./app/controllers/passwords_controller.rb:14:in `create'
/Users/kirk/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/benchmark.rb:308:in `realtime'
(eval):2:in `click_button'
./features/step_definitions/web_steps.rb:23:in `/^(?:|I )press "([^\"]*)"$/'
features/plain/authentication.feature:47:in `And I press "Reset Password"'
Then I should be on the home page # features/step_definitions/web_steps.rb:255
And I should see "A link to reset your password has been emailed to you" within the info flash message # features/step_definitions/webrat_extension_steps.rb:36
And I should see "Check your email" within the info flash message items # features/step_definitions/webrat_extension_steps.rb:36
And "rick@example.net" should receive an email # features/step_definitions/email_steps.rb:51
When I open the email # features/step_definitions/email_steps.rb:73
And I click the first link in the email # features/step_definitions/email_steps.rb:140
Then I should be on the password reset page for "rick@example.net" # features/step_definitions/web_steps.rb:255
And I should see "Returning Users" within the login area # features/step_definitions/webrat_extension_steps.rb:36
When I fill in "sgcore_user_password" with "abcdef" # features/step_definitions/web_steps.rb:35
And I fill in "sgcore_user_password_confirmation" with "abcdef" # features/step_definitions/web_steps.rb:35
And I press "Save New Password" # features/step_definitions/web_steps.rb:22
Then I should be on the dashboard # features/step_definitions/web_steps.rb:255
When I follow "Log Out" # features/step_definitions/web_steps.rb:26
And I go to the login page # features/step_definitions/web_steps.rb:18
And I fill in "Email Address" with "rick@example.net" # features/step_definitions/web_steps.rb:35
And I fill in "Password" with "abcdef" # features/step_definitions/web_steps.rb:35
And I press "Login" # features/step_definitions/web_steps.rb:22
Then I should be on the dashboard # features/step_definitions/web_steps.rb:255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment