Guest User

Untitled

a guest
Jul 20th, 2018
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.65 KB | None | 0 0
  1. 95:Skyldelisten brianj$ cucumber
  2. Feature: Password reset
  3. In order to sign in even if user forgot their password
  4. A user
  5. Should be able to reset it
  6.  
  7. Scenario: User is not signed up # features/password_reset.feature:6
  8. Given no user exists with an email of "email@person.com" # features/step_definitions/clearance_steps.rb:9
  9. When I request password reset link to be sent to "email@person.com" # features/step_definitions/clearance_steps.rb:103
  10. Then I should see "Unknown email" # features/step_definitions/webrat_steps.rb:123
  11. expected the following element's content to include "Unknown email":
  12. Reset your password
  13. We will email you a link to reset your password.
  14. Email address*
  15. (Spec::Expectations::ExpectationNotMetError)
  16. ./vendor/plugins/rspec/lib/spec/expectations/fail_with.rb:41:in `fail_with'
  17. ./vendor/plugins/rspec/lib/spec/expectations/handler.rb:21:in `handle_matcher'
  18. ./vendor/plugins/rspec/lib/spec/expectations/extensions/kernel.rb:27:in `should'
  19. ./features/step_definitions/webrat_steps.rb:124:in `/^(?:|I )should see "([^\"]*)"$/'
  20. features/password_reset.feature:9:in `Then I should see "Unknown email"'
  21.  
  22. Scenario: User is signed up and requests password reset # features/password_reset.feature:11
  23. Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
  24. uninitialized constant ClearanceMailer::HOST (NameError)
  25. ./vendor/plugins/clearance/app/models/clearance_mailer.rb:3
  26. ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
  27. ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
  28. features/password_reset.feature:12:in `Given I signed up with "email@person.com/password"'
  29. When I request password reset link to be sent to "email@person.com" # features/step_definitions/clearance_steps.rb:103
  30. Then I should see "instructions for changing your password" # features/step_definitions/webrat_steps.rb:123
  31. And a password reset message should be sent to "email@person.com" # features/step_definitions/clearance_steps.rb:64
  32.  
  33. Scenario: User is signed up updated his password and types wrong confirmation # features/password_reset.feature:17
  34. Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
  35. undefined method `confirmation' for #<ClearanceMailer:0x10593b6c8> (NoMethodError)
  36. ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
  37. ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
  38. features/password_reset.feature:18:in `Given I signed up with "email@person.com/password"'
  39. When I follow the password reset link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:75
  40. And I update my password with "newpassword/wrongconfirmation" # features/step_definitions/clearance_steps.rb:109
  41. Then I should see error messages # features/step_definitions/clearance_steps.rb:3
  42. And I should be signed out # features/step_definitions/clearance_steps.rb:33
  43.  
  44. Scenario: User is signed up and updates his password # features/password_reset.feature:24
  45. Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
  46. undefined method `confirmation' for #<ClearanceMailer:0x105916620> (NoMethodError)
  47. ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
  48. ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
  49. features/password_reset.feature:25:in `Given I signed up with "email@person.com/password"'
  50. When I follow the password reset link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:75
  51. And I update my password with "newpassword/newpassword" # features/step_definitions/clearance_steps.rb:109
  52. Then I should be signed in # features/step_definitions/clearance_steps.rb:29
  53. When I sign out # features/step_definitions/clearance_steps.rb:99
  54. Then I should be signed out # features/step_definitions/clearance_steps.rb:33
  55. And I sign in as "email@person.com/newpassword" # features/step_definitions/clearance_steps.rb:92
  56. Then I should be signed in # features/step_definitions/clearance_steps.rb:29
  57.  
  58. Feature: Registering as a new user
  59. So that I can login
  60. As a new user
  61. I want to be able to register
  62.  
  63. Scenario: Successfully create a new user # features/register_user.feature:6
  64. Given I am a anonymous user # features/step_definitions/user_registration_steps.rb:1
  65. When I correctly fill out the user registration form # features/step_definitions/user_registration_steps.rb:2
  66. Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id (ActionView::TemplateError)
  67. On line #3 of app/views/users/new.html.erb
  68.  
  69. 1: <h2>Sign up</h2>
  70. 2:
  71. 3: <% semantic_form_for @user do |form| %>
  72. 4: <%= form.error_messages %>
  73. 5: <%= render :partial => "/users/inputs", :locals => { :form => form } %>
  74. 6: <% form.buttons do %>
  75.  
  76. vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1650:in `semantic_form_for'
  77. vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1609:in `with_custom_field_error_proc'
  78. vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1649:in `semantic_form_for'
  79. app/views/users/new.html.erb:3
  80. (__FORWARDABLE__):3:in `__send__'
  81. (__FORWARDABLE__):3:in `get'
  82. (eval):2:in `visit'
  83. /features/step_definitions/user_registration_steps.rb:3
  84. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
  85. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `cucumber_instance_exec'
  86. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
  87. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
  88. cucumber (0.4.4) bin/./lib/cucumber/rb_support/rb_step_definition.rb:55:in `invoke'
  89. cucumber (0.4.4) bin/./lib/cucumber/step_match.rb:24:in `invoke'
  90. cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:59:in `invoke'
  91. cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:38:in `accept'
  92. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:115:in `visit_step'
  93. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  94. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:114:in `visit_step'
  95. cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:15:in `accept'
  96. cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `each'
  97. cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `accept'
  98. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:109:in `visit_steps'
  99. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  100. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:108:in `visit_steps'
  101. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:47:in `accept'
  102. cucumber (0.4.4) bin/./lib/cucumber/step_mother.rb:279:in `before_and_after'
  103. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:45:in `accept'
  104. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:100:in `with_visitor'
  105. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:39:in `accept'
  106. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:51:in `visit_feature_element'
  107. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  108. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:50:in `visit_feature_element'
  109. cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:25:in `accept'
  110. cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `each'
  111. cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `accept'
  112. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:20:in `visit_feature'
  113. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  114. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'
  115. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:29:in `accept'
  116. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
  117. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
  118. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:28:in `accept'
  119. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:14:in `visit_features'
  120. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  121. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
  122. cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:56:in `execute!'
  123. cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:24:in `execute'
  124. cucumber (0.4.4) bin/cucumber:8
  125. /usr/bin/cucumber:19:in `load'
  126. /usr/bin/cucumber:19
  127. features/register_user.feature:8:in `When I correctly fill out the user registration form'
  128. Then I should be a new user # features/step_definitions/user_registration_steps.rb:11
  129.  
  130. Feature: Sign in
  131. In order to get access to protected sections of the site
  132. A user
  133. Should be able to sign in
  134.  
  135. Scenario: User is not signed up # features/sign_in.feature:6
  136. Given no user exists with an email of "email@person.com" # features/step_definitions/clearance_steps.rb:9
  137. When I go to the sign in page # features/step_definitions/webrat_steps.rb:15
  138. And I sign in as "email@person.com/password" # features/step_definitions/clearance_steps.rb:92
  139. Then I should see "Bad email or password" # features/step_definitions/webrat_steps.rb:123
  140. expected the following element's content to include "Bad email or password":
  141. Sign in
  142. Email*
  143. Password*
  144. Sign up
  145. Forgot password?
  146. (Spec::Expectations::ExpectationNotMetError)
  147. ./vendor/plugins/rspec/lib/spec/expectations/fail_with.rb:41:in `fail_with'
  148. ./vendor/plugins/rspec/lib/spec/expectations/handler.rb:21:in `handle_matcher'
  149. ./vendor/plugins/rspec/lib/spec/expectations/extensions/kernel.rb:27:in `should'
  150. ./features/step_definitions/webrat_steps.rb:124:in `/^(?:|I )should see "([^\"]*)"$/'
  151. features/sign_in.feature:10:in `Then I should see "Bad email or password"'
  152. And I should be signed out # features/step_definitions/clearance_steps.rb:33
  153.  
  154. Scenario: User is not confirmed # features/sign_in.feature:13
  155. Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
  156. undefined method `confirmation' for #<ClearanceMailer:0x1058fe4d0> (NoMethodError)
  157. ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
  158. ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
  159. features/sign_in.feature:14:in `Given I signed up with "email@person.com/password"'
  160. When I go to the sign in page # features/step_definitions/webrat_steps.rb:15
  161. And I sign in as "email@person.com/password" # features/step_definitions/clearance_steps.rb:92
  162. Then I should see "User has not confirmed email" # features/step_definitions/webrat_steps.rb:123
  163. And I should be signed out # features/step_definitions/clearance_steps.rb:33
  164.  
  165. Scenario: User enters wrong password # features/sign_in.feature:20
  166. Given I am signed up and confirmed as "email@person.com/password" # features/step_definitions/clearance_steps.rb:20
  167. When I go to the sign in page # features/step_definitions/webrat_steps.rb:15
  168. And I sign in as "email@person.com/wrongpassword" # features/step_definitions/clearance_steps.rb:92
  169. Then I should see "Bad email or password" # features/step_definitions/webrat_steps.rb:123
  170. expected the following element's content to include "Bad email or password":
  171. Sign in
  172. Email*
  173. Password*
  174. Sign up
  175. Forgot password?
  176. (Spec::Expectations::ExpectationNotMetError)
  177. ./vendor/plugins/rspec/lib/spec/expectations/fail_with.rb:41:in `fail_with'
  178. ./vendor/plugins/rspec/lib/spec/expectations/handler.rb:21:in `handle_matcher'
  179. ./vendor/plugins/rspec/lib/spec/expectations/extensions/kernel.rb:27:in `should'
  180. ./features/step_definitions/webrat_steps.rb:124:in `/^(?:|I )should see "([^\"]*)"$/'
  181. features/sign_in.feature:24:in `Then I should see "Bad email or password"'
  182. And I should be signed out # features/step_definitions/clearance_steps.rb:33
  183.  
  184. Scenario: User signs in successfully # features/sign_in.feature:27
  185. Given I am signed up and confirmed as "email@person.com/password" # features/step_definitions/clearance_steps.rb:20
  186. When I go to the sign in page # features/step_definitions/webrat_steps.rb:15
  187. And I sign in as "email@person.com/password" # features/step_definitions/clearance_steps.rb:92
  188. undefined local variable or method `root_url' for #<Clearance::SessionsController:0x105942428> (NameError)
  189. ./vendor/plugins/clearance/app/controllers/clearance/sessions_controller.rb:56:in `url_after_create'
  190. ./vendor/plugins/clearance/app/controllers/clearance/sessions_controller.rb:21:in `create'
  191. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
  192. ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:54:in `send'
  193. ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:54:in `do_request'
  194. ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:27:in `post'
  195. ./vendor/plugins/webrat/lib/webrat/core/session.rb:283:in `send'
  196. ./vendor/plugins/webrat/lib/webrat/core/session.rb:283:in `process_request'
  197. ./vendor/plugins/webrat/lib/webrat/core/session.rb:122:in `request_page'
  198. ./vendor/plugins/webrat/lib/webrat/core/elements/form.rb:20:in `submit'
  199. ./vendor/plugins/webrat/lib/webrat/core/elements/field.rb:225:in `click'
  200. ./vendor/plugins/webrat/lib/webrat/core/scope.rb:290:in `click_button'
  201. (eval):2:in `click_button'
  202. ./features/step_definitions/webrat_steps.rb:20:in `/^(?:|I )press "([^\"]*)"$/'
  203. features/sign_in.feature:30:in `And I sign in as "email@person.com/password"'
  204. Then I should see "Signed in" # features/step_definitions/webrat_steps.rb:123
  205. And I should be signed in # features/step_definitions/clearance_steps.rb:29
  206. When I return next time # features/step_definitions/clearance_steps.rb:115
  207. Then I should be signed in # features/step_definitions/clearance_steps.rb:29
  208.  
  209. Feature: Sign out
  210. To protect my account from unauthorized access
  211. A signed in user
  212. Should be able to sign out
  213.  
  214. Scenario: User signs out # features/sign_out.feature:6
  215. Given I am signed up and confirmed as "email@person.com/password" # features/step_definitions/clearance_steps.rb:20
  216. When I sign in as "email@person.com/password" # features/step_definitions/clearance_steps.rb:92
  217. undefined local variable or method `root_url' for #<Clearance::SessionsController:0x105844238> (NameError)
  218. ./vendor/plugins/clearance/app/controllers/clearance/sessions_controller.rb:56:in `url_after_create'
  219. ./vendor/plugins/clearance/app/controllers/clearance/sessions_controller.rb:21:in `create'
  220. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
  221. ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:54:in `send'
  222. ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:54:in `do_request'
  223. ./vendor/plugins/webrat/lib/webrat/adapters/rails.rb:27:in `post'
  224. ./vendor/plugins/webrat/lib/webrat/core/session.rb:283:in `send'
  225. ./vendor/plugins/webrat/lib/webrat/core/session.rb:283:in `process_request'
  226. ./vendor/plugins/webrat/lib/webrat/core/session.rb:122:in `request_page'
  227. ./vendor/plugins/webrat/lib/webrat/core/elements/form.rb:20:in `submit'
  228. ./vendor/plugins/webrat/lib/webrat/core/elements/field.rb:225:in `click'
  229. ./vendor/plugins/webrat/lib/webrat/core/scope.rb:290:in `click_button'
  230. (eval):2:in `click_button'
  231. ./features/step_definitions/webrat_steps.rb:20:in `/^(?:|I )press "([^\"]*)"$/'
  232. features/sign_out.feature:8:in `When I sign in as "email@person.com/password"'
  233. Then I should be signed in # features/step_definitions/clearance_steps.rb:29
  234. And I sign out # features/step_definitions/clearance_steps.rb:99
  235. Then I should see "Signed out" # features/step_definitions/webrat_steps.rb:123
  236. And I should be signed out # features/step_definitions/clearance_steps.rb:33
  237. When I return next time # features/step_definitions/clearance_steps.rb:115
  238. Then I should be signed out # features/step_definitions/clearance_steps.rb:33
  239.  
  240. Feature: Sign up
  241. In order to get access to protected sections of the site
  242. A user
  243. Should be able to sign up
  244.  
  245. Scenario: User signs up with invalid data # features/sign_up.feature:6
  246. When I go to the sign up page # features/step_definitions/webrat_steps.rb:15
  247. Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id (ActionView::TemplateError)
  248. On line #3 of app/views/users/new.html.erb
  249.  
  250. 1: <h2>Sign up</h2>
  251. 2:
  252. 3: <% semantic_form_for @user do |form| %>
  253. 4: <%= form.error_messages %>
  254. 5: <%= render :partial => "/users/inputs", :locals => { :form => form } %>
  255. 6: <% form.buttons do %>
  256.  
  257. vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1650:in `semantic_form_for'
  258. vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1609:in `with_custom_field_error_proc'
  259. vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1649:in `semantic_form_for'
  260. app/views/users/new.html.erb:3
  261. (__FORWARDABLE__):3:in `__send__'
  262. (__FORWARDABLE__):3:in `get'
  263. (eval):2:in `visit'
  264. /features/step_definitions/webrat_steps.rb:16
  265. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
  266. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `cucumber_instance_exec'
  267. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
  268. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
  269. cucumber (0.4.4) bin/./lib/cucumber/rb_support/rb_step_definition.rb:55:in `invoke'
  270. cucumber (0.4.4) bin/./lib/cucumber/step_match.rb:24:in `invoke'
  271. cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:59:in `invoke'
  272. cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:38:in `accept'
  273. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:115:in `visit_step'
  274. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  275. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:114:in `visit_step'
  276. cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:15:in `accept'
  277. cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `each'
  278. cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `accept'
  279. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:109:in `visit_steps'
  280. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  281. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:108:in `visit_steps'
  282. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:47:in `accept'
  283. cucumber (0.4.4) bin/./lib/cucumber/step_mother.rb:279:in `before_and_after'
  284. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:45:in `accept'
  285. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:100:in `with_visitor'
  286. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:39:in `accept'
  287. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:51:in `visit_feature_element'
  288. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  289. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:50:in `visit_feature_element'
  290. cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:25:in `accept'
  291. cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `each'
  292. cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `accept'
  293. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:20:in `visit_feature'
  294. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  295. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'
  296. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:29:in `accept'
  297. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
  298. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
  299. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:28:in `accept'
  300. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:14:in `visit_features'
  301. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  302. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
  303. cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:56:in `execute!'
  304. cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:24:in `execute'
  305. cucumber (0.4.4) bin/cucumber:8
  306. /usr/bin/cucumber:19:in `load'
  307. /usr/bin/cucumber:19
  308. features/sign_up.feature:7:in `When I go to the sign up page'
  309. And I fill in "Email" with "invalidemail" # features/step_definitions/webrat_steps.rb:31
  310. And I fill in "Password" with "password" # features/step_definitions/webrat_steps.rb:31
  311. And I fill in "Confirm password" with "" # features/step_definitions/webrat_steps.rb:31
  312. And I press "Sign Up" # features/step_definitions/webrat_steps.rb:19
  313. Then I should see error messages # features/step_definitions/clearance_steps.rb:3
  314.  
  315. Scenario: User signs up with valid data # features/sign_up.feature:14
  316. When I go to the sign up page # features/step_definitions/webrat_steps.rb:15
  317. Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id (ActionView::TemplateError)
  318. On line #3 of app/views/users/new.html.erb
  319.  
  320. 1: <h2>Sign up</h2>
  321. 2:
  322. 3: <% semantic_form_for @user do |form| %>
  323. 4: <%= form.error_messages %>
  324. 5: <%= render :partial => "/users/inputs", :locals => { :form => form } %>
  325. 6: <% form.buttons do %>
  326.  
  327. vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1650:in `semantic_form_for'
  328. vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1609:in `with_custom_field_error_proc'
  329. vendor/plugins/justinfrench-formtastic/rails/./lib/formtastic.rb:1649:in `semantic_form_for'
  330. app/views/users/new.html.erb:3
  331. (__FORWARDABLE__):3:in `__send__'
  332. (__FORWARDABLE__):3:in `get'
  333. (eval):2:in `visit'
  334. /features/step_definitions/webrat_steps.rb:16
  335. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
  336. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in `cucumber_instance_exec'
  337. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
  338. cucumber (0.4.4) bin/./lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
  339. cucumber (0.4.4) bin/./lib/cucumber/rb_support/rb_step_definition.rb:55:in `invoke'
  340. cucumber (0.4.4) bin/./lib/cucumber/step_match.rb:24:in `invoke'
  341. cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:59:in `invoke'
  342. cucumber (0.4.4) bin/./lib/cucumber/ast/step_invocation.rb:38:in `accept'
  343. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:115:in `visit_step'
  344. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  345. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:114:in `visit_step'
  346. cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:15:in `accept'
  347. cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `each'
  348. cucumber (0.4.4) bin/./lib/cucumber/ast/step_collection.rb:14:in `accept'
  349. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:109:in `visit_steps'
  350. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  351. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:108:in `visit_steps'
  352. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:47:in `accept'
  353. cucumber (0.4.4) bin/./lib/cucumber/step_mother.rb:279:in `before_and_after'
  354. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:45:in `accept'
  355. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:100:in `with_visitor'
  356. cucumber (0.4.4) bin/./lib/cucumber/ast/scenario.rb:39:in `accept'
  357. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:51:in `visit_feature_element'
  358. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  359. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:50:in `visit_feature_element'
  360. cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:25:in `accept'
  361. cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `each'
  362. cucumber (0.4.4) bin/./lib/cucumber/ast/feature.rb:24:in `accept'
  363. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:20:in `visit_feature'
  364. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  365. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'
  366. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:29:in `accept'
  367. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
  368. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:17:in `each'
  369. cucumber (0.4.4) bin/./lib/cucumber/ast/features.rb:28:in `accept'
  370. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:14:in `visit_features'
  371. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
  372. cucumber (0.4.4) bin/./lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
  373. cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:56:in `execute!'
  374. cucumber (0.4.4) bin/./lib/cucumber/cli/main.rb:24:in `execute'
  375. cucumber (0.4.4) bin/cucumber:8
  376. /usr/bin/cucumber:19:in `load'
  377. /usr/bin/cucumber:19
  378. features/sign_up.feature:15:in `When I go to the sign up page'
  379. And I fill in "Email" with "email@person.com" # features/step_definitions/webrat_steps.rb:31
  380. And I fill in "Password" with "password" # features/step_definitions/webrat_steps.rb:31
  381. And I fill in "Confirm password" with "password" # features/step_definitions/webrat_steps.rb:31
  382. And I press "Sign Up" # features/step_definitions/webrat_steps.rb:19
  383. Then I should see "instructions for confirming" # features/step_definitions/webrat_steps.rb:123
  384. And a confirmation message should be sent to "email@person.com" # features/step_definitions/clearance_steps.rb:49
  385.  
  386. Scenario: User confirms his account # features/sign_up.feature:23
  387. Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
  388. undefined method `confirmation' for #<ClearanceMailer:0x10577d750> (NoMethodError)
  389. ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
  390. ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
  391. features/sign_up.feature:24:in `Given I signed up with "email@person.com/password"'
  392. When I follow the confirmation link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:58
  393. Then I should see "Confirmed email and signed in" # features/step_definitions/webrat_steps.rb:123
  394. And I should be signed in # features/step_definitions/clearance_steps.rb:29
  395.  
  396. Scenario: Signed in user clicks confirmation link again # features/sign_up.feature:29
  397. Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
  398. undefined method `confirmation' for #<ClearanceMailer:0x10575c5c8> (NoMethodError)
  399. ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
  400. ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
  401. features/sign_up.feature:30:in `Given I signed up with "email@person.com/password"'
  402. When I follow the confirmation link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:58
  403. Then I should be signed in # features/step_definitions/clearance_steps.rb:29
  404. When I follow the confirmation link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:58
  405. Then I should see "Confirmed email and signed in" # features/step_definitions/webrat_steps.rb:123
  406. And I should be signed in # features/step_definitions/clearance_steps.rb:29
  407.  
  408. Scenario: Signed out user clicks confirmation link again # features/sign_up.feature:37
  409. Given I signed up with "email@person.com/password" # features/step_definitions/clearance_steps.rb:13
  410. undefined method `confirmation' for #<ClearanceMailer:0x105733c18> (NoMethodError)
  411. ./vendor/plugins/clearance/lib/clearance/user.rb:187:in `send_confirmation_email'
  412. ./features/step_definitions/clearance_steps.rb:14:in `/^I signed up with "(.*)\/(.*)"$/'
  413. features/sign_up.feature:38:in `Given I signed up with "email@person.com/password"'
  414. When I follow the confirmation link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:58
  415. Then I should be signed in # features/step_definitions/clearance_steps.rb:29
  416. When I sign out # features/step_definitions/clearance_steps.rb:99
  417. And I follow the confirmation link sent to "email@person.com" # features/step_definitions/clearance_steps.rb:58
  418. Then I should see "Already confirmed email. Please sign in." # features/step_definitions/webrat_steps.rb:123
  419. And I should be signed out # features/step_definitions/clearance_steps.rb:33
  420.  
  421. Failing Scenarios:
  422. cucumber features/password_reset.feature:6 # Scenario: User is not signed up
  423. cucumber features/password_reset.feature:11 # Scenario: User is signed up and requests password reset
  424. cucumber features/password_reset.feature:17 # Scenario: User is signed up updated his password and types wrong confirmation
  425. cucumber features/password_reset.feature:24 # Scenario: User is signed up and updates his password
  426. cucumber features/register_user.feature:6 # Scenario: Successfully create a new user
  427. cucumber features/sign_in.feature:6 # Scenario: User is not signed up
  428. cucumber features/sign_in.feature:13 # Scenario: User is not confirmed
  429. cucumber features/sign_in.feature:20 # Scenario: User enters wrong password
  430. cucumber features/sign_in.feature:27 # Scenario: User signs in successfully
  431. cucumber features/sign_out.feature:6 # Scenario: User signs out
  432. cucumber features/sign_up.feature:6 # Scenario: User signs up with invalid data
  433. cucumber features/sign_up.feature:14 # Scenario: User signs up with valid data
  434. cucumber features/sign_up.feature:23 # Scenario: User confirms his account
  435. cucumber features/sign_up.feature:29 # Scenario: Signed in user clicks confirmation link again
  436. cucumber features/sign_up.feature:37 # Scenario: Signed out user clicks confirmation link again
  437.  
  438. 15 scenarios (15 failed)
  439. 83 steps (15 failed, 56 skipped, 12 passed)
  440. 0m1.400s
  441. 95:Skyldelisten brianj$
Add Comment
Please, Sign In to add comment