Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 95:Skyldelisten brianj$ cucumber
- 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:103
- Then I should see "Unknown email" # features/step_definitions/webrat_steps.rb:123
- expected the following element's content to include "Unknown email":
- Reset your password
- We will email you a link to reset your password.
- Email address*
- (Spec::Expectations::ExpectationNotMetError)
- ./vendor/plugins/rspec/lib/spec/expectations/fail_with.rb:41:in `fail_with'
- ./vendor/plugins/rspec/lib/spec/expectations/handler.rb:21:in `handle_matcher'
- ./vendor/plugins/rspec/lib/spec/expectations/extensions/kernel.rb:27:in `should'
- ./features/step_definitions/webrat_steps.rb:124:in `/^(?:|I )should see "([^\"]*)"$/'
- features/password_reset.feature:9:in `Then I should see "Unknown email"'
- 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
- uninitialized constant ClearanceMailer::HOST (NameError)
- ./vendor/plugins/clearance/app/models/clearance_mailer.rb:3
- ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
- ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
- features/password_reset.feature:12:in `Given I signed up with "email@person.com/password"'
- When I request password reset link to be sent to "email@person.com" # features/step_definitions/clearance_steps.rb:103
- Then I should see "instructions for changing your password" # features/step_definitions/webrat_steps.rb:123
- And a password reset message should be sent to "email@person.com" # features/step_definitions/clearance_steps.rb:64
- 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
- undefined method `confirmation' for #<ClearanceMailer:0x10593b6c8> (NoMethodError)
- ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
- ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
- features/password_reset.feature:18:in `Given I signed up with "email@person.com/password"'
- When I follow the password reset link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:75
- And I update my password with "newpassword/wrongconfirmation" # features/step_definitions/clearance_steps.rb:109
- Then I should see error messages # features/step_definitions/clearance_steps.rb:3
- And I should be signed out # 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
- undefined method `confirmation' for #<ClearanceMailer:0x105916620> (NoMethodError)
- ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
- ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
- features/password_reset.feature:25:in `Given I signed up with "email@person.com/password"'
- When I follow the password reset link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:75
- And I update my password with "newpassword/newpassword" # features/step_definitions/clearance_steps.rb:109
- Then I should be signed in # features/step_definitions/clearance_steps.rb:29
- When I sign out # features/step_definitions/clearance_steps.rb:99
- Then I should be signed out # features/step_definitions/clearance_steps.rb:33
- And I sign in as "email@person.com/newpassword" # features/step_definitions/clearance_steps.rb:92
- Then I should be signed in # features/step_definitions/clearance_steps.rb:29
- Feature: Registering as a new user
- So that I can login
- As a new user
- I want to be able to register
- Scenario: Successfully create a new user # features/register_user.feature:6
- Given I am a anonymous user # features/step_definitions/user_registration_steps.rb:1
- When I correctly fill out the user registration form # features/step_definitions/user_registration_steps.rb:2
- Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id (ActionView::TemplateError)
- On line #3 of app/views/users/new.html.erb
- 1: <h2>Sign up</h2>
- 2:
- 3: <% semantic_form_for @user do |form| %>
- 4: <%= form.error_messages %>
- 5: <%= render :partial => "/users/inputs", :locals => { :form => form } %>
- 6: <% form.buttons do %>
- vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1650:in `semantic_form_for'
- vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1609:in `with_custom_field_error_proc'
- vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1649:in `semantic_form_for'
- app/views/users/new.html.erb:3
- (__FORWARDABLE__):3:in `__send__'
- (__FORWARDABLE__):3:in `get'
- (eval):2:in `visit'
- /features/step_definitions/user_registration_steps.rb:3
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `cucumber_instance_exec'
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
- cucumber (0.4.4) bin/./lib/cucumber/rb_support/rb_step_definition.rb:55:in `invoke'
- cucumber (0.4.4) bin/./lib/cucumber/step_match.rb:24:in `invoke'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:59:in `invoke'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:38:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:115:in `visit_step'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:114:in `visit_step'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:15:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:109:in `visit_steps'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:108:in `visit_steps'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:47:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/step_mother.rb:279:in `before_and_after'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:45:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:100:in `with_visitor'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:39:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:51:in `visit_feature_element'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:50:in `visit_feature_element'
- cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:25:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:20:in `visit_feature'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:29:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:28:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:14:in `visit_features'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
- cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:56:in `execute!'
- cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:24:in `execute'
- cucumber (0.4.4) bin/cucumber:8
- /usr/bin/cucumber:19:in `load'
- /usr/bin/cucumber:19
- features/register_user.feature:8:in `When I correctly fill out the user registration form'
- Then I should be a new user # features/step_definitions/user_registration_steps.rb:11
- 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:15
- And I sign in as "email@person.com/password" # features/step_definitions/clearance_steps.rb:92
- Then I should see "Bad email or password" # features/step_definitions/webrat_steps.rb:123
- expected the following element's content to include "Bad email or password":
- Sign in
- Email*
- Password*
- Sign up
- Forgot password?
- (Spec::Expectations::ExpectationNotMetError)
- ./vendor/plugins/rspec/lib/spec/expectations/fail_with.rb:41:in `fail_with'
- ./vendor/plugins/rspec/lib/spec/expectations/handler.rb:21:in `handle_matcher'
- ./vendor/plugins/rspec/lib/spec/expectations/extensions/kernel.rb:27:in `should'
- ./features/step_definitions/webrat_steps.rb:124:in `/^(?:|I )should see "([^\"]*)"$/'
- features/sign_in.feature:10:in `Then I should see "Bad email or password"'
- And I should be signed out # 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
- undefined method `confirmation' for #<ClearanceMailer:0x1058fe4d0> (NoMethodError)
- ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
- ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
- features/sign_in.feature:14:in `Given I signed up with "email@person.com/password"'
- When I go to the sign in page # features/step_definitions/webrat_steps.rb:15
- And I sign in as "email@person.com/password" # features/step_definitions/clearance_steps.rb:92
- Then I should see "User has not confirmed email" # features/step_definitions/webrat_steps.rb:123
- And I should be signed out # 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:15
- And I sign in as "email@person.com/wrongpassword" # features/step_definitions/clearance_steps.rb:92
- Then I should see "Bad email or password" # features/step_definitions/webrat_steps.rb:123
- expected the following element's content to include "Bad email or password":
- Sign in
- Email*
- Password*
- Sign up
- Forgot password?
- (Spec::Expectations::ExpectationNotMetError)
- ./vendor/plugins/rspec/lib/spec/expectations/fail_with.rb:41:in `fail_with'
- ./vendor/plugins/rspec/lib/spec/expectations/handler.rb:21:in `handle_matcher'
- ./vendor/plugins/rspec/lib/spec/expectations/extensions/kernel.rb:27:in `should'
- ./features/step_definitions/webrat_steps.rb:124:in `/^(?:|I )should see "([^\"]*)"$/'
- features/sign_in.feature:24:in `Then I should see "Bad email or password"'
- And I should be signed out # 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:15
- And I sign in as "email@person.com/password" # features/step_definitions/clearance_steps.rb:92
- undefined local variable or method `root_url' for #<Clearance::SessionsController:0x105942428> (NameError)
- ./vendor/plugins/clearance/app/controllers/clearance/sessions_controller.rb:56:in `url_after_create'
- ./vendor/plugins/clearance/app/controllers/clearance/sessions_controller.rb:21:in `create'
- /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
- ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:54:in `send'
- ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:54:in `do_request'
- ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:27:in `post'
- ./vendor/plugins/webrat/lib/webrat/core/session.rb:283:in `send'
- ./vendor/plugins/webrat/lib/webrat/core/session.rb:283:in `process_request'
- ./vendor/plugins/webrat/lib/webrat/core/session.rb:122:in `request_page'
- ./vendor/plugins/webrat/lib/webrat/core/elements/form.rb:20:in `submit'
- ./vendor/plugins/webrat/lib/webrat/core/elements/field.rb:225:in `click'
- ./vendor/plugins/webrat/lib/webrat/core/scope.rb:290:in `click_button'
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:20:in `/^(?:|I )press "([^\"]*)"$/'
- features/sign_in.feature:30:in `And I sign in as "email@person.com/password"'
- Then I should see "Signed in" # features/step_definitions/webrat_steps.rb:123
- And I should be signed in # features/step_definitions/clearance_steps.rb:29
- When I return next time # features/step_definitions/clearance_steps.rb:115
- 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:92
- undefined local variable or method `root_url' for #<Clearance::SessionsController:0x105844238> (NameError)
- ./vendor/plugins/clearance/app/controllers/clearance/sessions_controller.rb:56:in `url_after_create'
- ./vendor/plugins/clearance/app/controllers/clearance/sessions_controller.rb:21:in `create'
- /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
- ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:54:in `send'
- ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:54:in `do_request'
- ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:27:in `post'
- ./vendor/plugins/webrat/lib/webrat/core/session.rb:283:in `send'
- ./vendor/plugins/webrat/lib/webrat/core/session.rb:283:in `process_request'
- ./vendor/plugins/webrat/lib/webrat/core/session.rb:122:in `request_page'
- ./vendor/plugins/webrat/lib/webrat/core/elements/form.rb:20:in `submit'
- ./vendor/plugins/webrat/lib/webrat/core/elements/field.rb:225:in `click'
- ./vendor/plugins/webrat/lib/webrat/core/scope.rb:290:in `click_button'
- (eval):2:in `click_button'
- ./features/step_definitions/webrat_steps.rb:20: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:99
- Then I should see "Signed out" # features/step_definitions/webrat_steps.rb:123
- And I should be signed out # features/step_definitions/clearance_steps.rb:33
- When I return next time # features/step_definitions/clearance_steps.rb:115
- Then I should be signed out # 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:15
- Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id (ActionView::TemplateError)
- On line #3 of app/views/users/new.html.erb
- 1: <h2>Sign up</h2>
- 2:
- 3: <% semantic_form_for @user do |form| %>
- 4: <%= form.error_messages %>
- 5: <%= render :partial => "/users/inputs", :locals => { :form => form } %>
- 6: <% form.buttons do %>
- vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1650:in `semantic_form_for'
- vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1609:in `with_custom_field_error_proc'
- vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1649:in `semantic_form_for'
- app/views/users/new.html.erb:3
- (__FORWARDABLE__):3:in `__send__'
- (__FORWARDABLE__):3:in `get'
- (eval):2:in `visit'
- /features/step_definitions/webrat_steps.rb:16
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `cucumber_instance_exec'
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
- cucumber (0.4.4) bin/./lib/cucumber/rb_support/rb_step_definition.rb:55:in `invoke'
- cucumber (0.4.4) bin/./lib/cucumber/step_match.rb:24:in `invoke'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:59:in `invoke'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:38:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:115:in `visit_step'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:114:in `visit_step'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:15:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:109:in `visit_steps'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:108:in `visit_steps'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:47:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/step_mother.rb:279:in `before_and_after'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:45:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:100:in `with_visitor'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:39:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:51:in `visit_feature_element'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:50:in `visit_feature_element'
- cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:25:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:20:in `visit_feature'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:29:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:28:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:14:in `visit_features'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
- cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:56:in `execute!'
- cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:24:in `execute'
- cucumber (0.4.4) bin/cucumber:8
- /usr/bin/cucumber:19:in `load'
- /usr/bin/cucumber:19
- features/sign_up.feature:7:in `When I go to the sign up page'
- And I fill in "Email" with "invalidemail" # features/step_definitions/webrat_steps.rb:31
- And I fill in "Password" with "password" # features/step_definitions/webrat_steps.rb:31
- And I fill in "Confirm password" with "" # features/step_definitions/webrat_steps.rb:31
- And I press "Sign Up" # features/step_definitions/webrat_steps.rb:19
- 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:15
- Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id (ActionView::TemplateError)
- On line #3 of app/views/users/new.html.erb
- 1: <h2>Sign up</h2>
- 2:
- 3: <% semantic_form_for @user do |form| %>
- 4: <%= form.error_messages %>
- 5: <%= render :partial => "/users/inputs", :locals => { :form => form } %>
- 6: <% form.buttons do %>
- vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1650:in `semantic_form_for'
- vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1609:in `with_custom_field_error_proc'
- vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1649:in `semantic_form_for'
- app/views/users/new.html.erb:3
- (__FORWARDABLE__):3:in `__send__'
- (__FORWARDABLE__):3:in `get'
- (eval):2:in `visit'
- /features/step_definitions/webrat_steps.rb:16
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `cucumber_instance_exec'
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
- cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
- cucumber (0.4.4) bin/./lib/cucumber/rb_support/rb_step_definition.rb:55:in `invoke'
- cucumber (0.4.4) bin/./lib/cucumber/step_match.rb:24:in `invoke'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:59:in `invoke'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:38:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:115:in `visit_step'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:114:in `visit_step'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:15:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:109:in `visit_steps'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:108:in `visit_steps'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:47:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/step_mother.rb:279:in `before_and_after'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:45:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:100:in `with_visitor'
- cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:39:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:51:in `visit_feature_element'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:50:in `visit_feature_element'
- cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:25:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:20:in `visit_feature'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:29:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
- cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:28:in `accept'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:14:in `visit_features'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
- cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
- cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:56:in `execute!'
- cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:24:in `execute'
- cucumber (0.4.4) bin/cucumber:8
- /usr/bin/cucumber:19:in `load'
- /usr/bin/cucumber:19
- features/sign_up.feature:15:in `When I go to the sign up page'
- And I fill in "Email" with "email@person.com" # features/step_definitions/webrat_steps.rb:31
- And I fill in "Password" with "password" # features/step_definitions/webrat_steps.rb:31
- And I fill in "Confirm password" with "password" # features/step_definitions/webrat_steps.rb:31
- And I press "Sign Up" # features/step_definitions/webrat_steps.rb:19
- Then I should see "instructions for confirming" # features/step_definitions/webrat_steps.rb:123
- And a confirmation message should be sent to "email@person.com" # features/step_definitions/clearance_steps.rb:49
- 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
- undefined method `confirmation' for #<ClearanceMailer:0x10577d750> (NoMethodError)
- ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
- ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
- features/sign_up.feature:24:in `Given I signed up with "email@person.com/password"'
- When I follow the confirmation link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:58
- Then I should see "Confirmed email and signed in" # features/step_definitions/webrat_steps.rb:123
- And I should be signed in # features/step_definitions/clearance_steps.rb:29
- Scenario: Signed in user clicks confirmation link again # features/sign_up.feature:29
- Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
- undefined method `confirmation' for #<ClearanceMailer:0x10575c5c8> (NoMethodError)
- ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
- ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
- features/sign_up.feature:30:in `Given I signed up with "email@person.com/password"'
- When I follow the confirmation link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:58
- Then I should be signed in # features/step_definitions/clearance_steps.rb:29
- When I follow the confirmation link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:58
- Then I should see "Confirmed email and signed in" # features/step_definitions/webrat_steps.rb:123
- And I should be signed in # features/step_definitions/clearance_steps.rb:29
- Scenario: Signed out user clicks confirmation link again # features/sign_up.feature:37
- Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
- undefined method `confirmation' for #<ClearanceMailer:0x105733c18> (NoMethodError)
- ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
- ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
- features/sign_up.feature:38:in `Given I signed up with "email@person.com/password"'
- When I follow the confirmation link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:58
- Then I should be signed in # features/step_definitions/clearance_steps.rb:29
- When I sign out # features/step_definitions/clearance_steps.rb:99
- And I follow the confirmation link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:58
- Then I should see "Already confirmed email. Please sign in." # features/step_definitions/webrat_steps.rb:123
- And I should be signed out # features/step_definitions/clearance_steps.rb:33
- Failing Scenarios:
- cucumber features/password_reset.feature:6 # Scenario: User is not signed up
- cucumber features/password_reset.feature:11 # Scenario: User is signed up and requests password reset
- cucumber features/password_reset.feature:17 # Scenario: User is signed up updated his password and types wrong confirmation
- cucumber features/password_reset.feature:24 # Scenario: User is signed up and updates his password
- cucumber features/register_user.feature:6 # Scenario: Successfully create a new user
- cucumber features/sign_in.feature:6 # Scenario: User is not signed up
- cucumber features/sign_in.feature:13 # Scenario: User is not confirmed
- cucumber features/sign_in.feature:20 # Scenario: User enters wrong password
- cucumber features/sign_in.feature:27 # Scenario: User signs in successfully
- cucumber features/sign_out.feature:6 # Scenario: User signs out
- cucumber features/sign_up.feature:6 # Scenario: User signs up with invalid data
- cucumber features/sign_up.feature:14 # Scenario: User signs up with valid data
- cucumber features/sign_up.feature:23 # Scenario: User confirms his account
- cucumber features/sign_up.feature:29 # Scenario: Signed in user clicks confirmation link again
- cucumber features/sign_up.feature:37 # Scenario: Signed out user clicks confirmation link again
- 15 scenarios (15 failed)
- 83 steps (15 failed, 56 skipped, 12 passed)
- 0m1.400s
- 95:Skyldelisten brianj$
Add Comment
Please, Sign In to add comment