devise-security 0.14.3 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +114 -58
  3. data/app/controllers/devise/password_expired_controller.rb +10 -1
  4. data/app/views/devise/paranoid_verification_code/show.html.erb +3 -3
  5. data/app/views/devise/password_expired/show.html.erb +5 -5
  6. data/config/locales/by.yml +48 -0
  7. data/config/locales/cs.yml +40 -0
  8. data/config/locales/de.yml +12 -2
  9. data/config/locales/en.yml +12 -1
  10. data/config/locales/es.yml +9 -9
  11. data/config/locales/fa.yml +40 -0
  12. data/config/locales/hi.yml +41 -0
  13. data/config/locales/it.yml +34 -4
  14. data/config/locales/ja.yml +1 -1
  15. data/config/locales/nl.yml +40 -0
  16. data/config/locales/pt.yml +40 -0
  17. data/config/locales/ru.yml +48 -0
  18. data/config/locales/uk.yml +48 -0
  19. data/config/locales/zh_CN.yml +40 -0
  20. data/config/locales/zh_TW.yml +40 -0
  21. data/lib/devise-security/controllers/helpers.rb +59 -50
  22. data/lib/devise-security/hooks/password_expirable.rb +2 -0
  23. data/lib/devise-security/hooks/session_limitable.rb +13 -7
  24. data/lib/devise-security/models/password_expirable.rb +5 -1
  25. data/lib/devise-security/models/session_limitable.rb +8 -1
  26. data/lib/devise-security/validators/password_complexity_validator.rb +4 -2
  27. data/lib/devise-security/version.rb +1 -1
  28. data/lib/generators/devise_security/install_generator.rb +2 -2
  29. data/test/controllers/test_password_expired_controller.rb +111 -16
  30. data/test/dummy/app/assets/config/manifest.js +3 -0
  31. data/test/dummy/config/routes.rb +3 -3
  32. data/test/dummy/log/test.log +1799 -0
  33. data/test/integration/test_password_expirable_workflow.rb +57 -0
  34. data/test/orm/active_record.rb +4 -1
  35. data/test/support/integration_helpers.rb +1 -1
  36. data/test/test_complexity_validator.rb +12 -0
  37. data/test/test_helper.rb +10 -3
  38. data/test/test_install_generator.rb +10 -0
  39. data/test/test_session_limitable.rb +17 -0
  40. data/test/tmp/config/initializers/devise-security.rb +44 -0
  41. data/test/tmp/config/locales/devise.security_extension.de.yml +38 -0
  42. data/test/tmp/config/locales/devise.security_extension.en.yml +40 -0
  43. data/test/tmp/config/locales/devise.security_extension.es.yml +29 -0
  44. data/test/tmp/config/locales/devise.security_extension.fa.yml +40 -0
  45. data/test/tmp/config/locales/devise.security_extension.fr.yml +29 -0
  46. data/test/tmp/config/locales/devise.security_extension.it.yml +40 -0
  47. data/test/tmp/config/locales/devise.security_extension.ja.yml +29 -0
  48. data/test/tmp/config/locales/devise.security_extension.nl.yml +40 -0
  49. data/test/tmp/config/locales/devise.security_extension.pt.yml +40 -0
  50. data/test/tmp/config/locales/devise.security_extension.ru.yml +48 -0
  51. data/test/tmp/config/locales/devise.security_extension.tr.yml +17 -0
  52. data/test/tmp/config/locales/devise.security_extension.uk.yml +48 -0
  53. data/test/tmp/config/locales/devise.security_extension.zh_CN.yml +40 -0
  54. metadata +152 -118
  55. data/.codeclimate.yml +0 -63
  56. data/.document +0 -5
  57. data/.gitignore +0 -43
  58. data/.mdlrc +0 -1
  59. data/.rubocop.yml +0 -64
  60. data/.ruby-version +0 -1
  61. data/.travis.yml +0 -39
  62. data/Appraisals +0 -35
  63. data/Gemfile +0 -10
  64. data/Rakefile +0 -27
  65. data/devise-security.gemspec +0 -50
  66. data/gemfiles/rails_4.2_stable.gemfile +0 -16
  67. data/gemfiles/rails_5.0_stable.gemfile +0 -15
  68. data/gemfiles/rails_5.1_stable.gemfile +0 -15
  69. data/gemfiles/rails_5.2_stable.gemfile +0 -15
  70. data/gemfiles/rails_6.0_beta.gemfile +0 -15
  71. data/test/dummy/app/models/.gitkeep +0 -0
@@ -0,0 +1,1799 @@
1
+ ---------------------------------------------------------------------------------
2
+ TestSecureValidatable: test_duplicate_email_validation_message_is_added_only_once
3
+ ---------------------------------------------------------------------------------
4
+ -------------------------------------------------
5
+ TestSecureValidatable: test_email_cannot_be_blank
6
+ -------------------------------------------------
7
+ -----------------------------------------------
8
+ TestSecureValidatable: test_email_must_be_valid
9
+ -----------------------------------------------
10
+ -------------------------------------------------------------
11
+ TestSecureValidatable: test_password_must_have_capital_letter
12
+ -------------------------------------------------------------
13
+ ---------------------------------------------------------------
14
+ TestSecureValidatable: test_password_must_have_lowercase_letter
15
+ ---------------------------------------------------------------
16
+ -------------------------------------------------------------
17
+ TestSecureValidatable: test_password_must_have_minimum_length
18
+ -------------------------------------------------------------
19
+ -----------------------------------------------------
20
+ TestSecureValidatable: test_password_must_have_number
21
+ -----------------------------------------------------
22
+ ------------------------------------------------------------
23
+ TestSecureValidatable: test_validate_both_email_and_password
24
+ ------------------------------------------------------------
25
+ --------------------------------------------------------------------------------
26
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
27
+ --------------------------------------------------------------------------------
28
+ Processing by Devise::PasswordExpiredController#update as HTML
29
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
30
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
31
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/shared/_error_messages.html.erb (1.3ms)
32
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (24.6ms)
33
+ Completed 200 OK in 1668ms (Views: 51.1ms | ActiveRecord: 0.9ms)
34
+ --------------------------------------------------------------
35
+ Devise::PasswordExpiredControllerTest: test_should_render_show
36
+ --------------------------------------------------------------
37
+ Processing by Devise::PasswordExpiredController#show as HTML
38
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
39
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/shared/_error_messages.html.erb (0.1ms)
40
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (1.6ms)
41
+ Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.4ms)
42
+ -----------------------------------------------------------------------------
43
+ Devise::PasswordExpiredControllerTest: test_update_password_using_JSON_format
44
+ -----------------------------------------------------------------------------
45
+ Processing by Devise::PasswordExpiredController#update as JSON
46
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
47
+ Completed 204 No Content in 1704ms (ActiveRecord: 1.3ms)
48
+ ----------------------------------------------------------------------------
49
+ Devise::PasswordExpiredControllerTest: test_update_password_using_XML_format
50
+ ----------------------------------------------------------------------------
51
+ Processing by Devise::PasswordExpiredController#update as XML
52
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
53
+ Completed 204 No Content in 1690ms (ActiveRecord: 1.3ms)
54
+ -------------------------------------------------------------------------------
55
+ Devise::PasswordExpiredControllerTest: test_update_password_with_default_format
56
+ -------------------------------------------------------------------------------
57
+ Processing by Devise::PasswordExpiredController#update as HTML
58
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
59
+ Redirected to http://test.host/
60
+ Completed 302 Found in 1769ms (ActiveRecord: 1.3ms)
61
+ ------------------------------------------------------------------------------------------
62
+ TestWithSecurityQuestion: test_When_security_question_is_enabled,_it_is_inserted_correctly
63
+ ------------------------------------------------------------------------------------------
64
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb
65
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb (1.1ms)
66
+ Devise::Mailer#unlock_instructions: processed outbound mail in 416.2ms
67
+ Sent mail to hello@microsoft.com (15.0ms)
68
+ Date: Sat, 10 Oct 2020 22:54:38 -0400
69
+ From: please-change-me-at-config-initializers-devise@example.com
70
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
71
+ To: hello@microsoft.com
72
+ Message-ID: <5f8273eec4d15_db323ffc69436e30674d7@Dillons-MBP.fios-router.home.mail>
73
+ Subject: Unlock instructions
74
+ Mime-Version: 1.0
75
+ Content-Type: text/html;
76
+ charset=UTF-8
77
+ Content-Transfer-Encoding: 7bit
78
+
79
+ <p>Hello hello@microsoft.com!</p>
80
+
81
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
82
+
83
+ <p>Click the link below to unlock your account:</p>
84
+
85
+ <p><a href="http://test.host/security_question_users/unlock?unlock_token=hsCnY1idzacwcKikSzsw">Unlock my account</a></p>
86
+
87
+ Processing by SecurityQuestion::UnlocksController#create as HTML
88
+ Parameters: {"security_question_answer"=>"wrong answer", "security_question_user"=>{"email"=>"hello@microsoft.com"}}
89
+ Redirected to http://test.host/security_question_users/unlock/new
90
+ Filter chain halted as :check_security_question rendered or redirected
91
+ Completed 302 Found in 31ms (ActiveRecord: 0.4ms)
92
+ ---------------------------------------------------------------------------------
93
+ TestWithSecurityQuestion: test_When_security_question_is_valid,_it_runs_as_normal
94
+ ---------------------------------------------------------------------------------
95
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb
96
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb (0.4ms)
97
+ Devise::Mailer#unlock_instructions: processed outbound mail in 2.1ms
98
+ Sent mail to hello@microsoft.com (2.5ms)
99
+ Date: Sat, 10 Oct 2020 22:54:39 -0400
100
+ From: please-change-me-at-config-initializers-devise@example.com
101
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
102
+ To: hello@microsoft.com
103
+ Message-ID: <5f8273ef4a43e_db323ffc69436e3067531@Dillons-MBP.fios-router.home.mail>
104
+ Subject: Unlock instructions
105
+ Mime-Version: 1.0
106
+ Content-Type: text/html;
107
+ charset=UTF-8
108
+ Content-Transfer-Encoding: 7bit
109
+
110
+ <p>Hello hello@microsoft.com!</p>
111
+
112
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
113
+
114
+ <p>Click the link below to unlock your account:</p>
115
+
116
+ <p><a href="http://test.host/security_question_users/unlock?unlock_token=9-dzB65Y1rur4hx5x_Eu">Unlock my account</a></p>
117
+
118
+ Processing by SecurityQuestion::UnlocksController#create as HTML
119
+ Parameters: {"security_question_answer"=>"Right Answer", "security_question_user"=>{"email"=>"hello@microsoft.com"}}
120
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb
121
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb (0.3ms)
122
+ Devise::Mailer#unlock_instructions: processed outbound mail in 1.8ms
123
+ Sent mail to hello@microsoft.com (2.3ms)
124
+ Date: Sat, 10 Oct 2020 22:54:39 -0400
125
+ From: please-change-me-at-config-initializers-devise@example.com
126
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
127
+ To: hello@microsoft.com
128
+ Message-ID: <5f8273ef4cd96_db323ffc69436e30676d3@Dillons-MBP.fios-router.home.mail>
129
+ Subject: Unlock instructions
130
+ Mime-Version: 1.0
131
+ Content-Type: text/html;
132
+ charset=UTF-8
133
+ Content-Transfer-Encoding: 7bit
134
+
135
+ <p>Hello hello@microsoft.com!</p>
136
+
137
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
138
+
139
+ <p>Click the link below to unlock your account:</p>
140
+
141
+ <p><a href="http://test.host/security_question_users/unlock?unlock_token=mLdr5XscKwSg18xTDNnE">Unlock my account</a></p>
142
+
143
+ Redirected to http://test.host/security_question_users/sign_in
144
+ Completed 302 Found in 11ms (ActiveRecord: 0.6ms)
145
+ ----------------------------------------------------------------
146
+ TestInstallGenerator: test_Assert_all_files_are_properly_created
147
+ ----------------------------------------------------------------
148
+ -----------------------------------------------------------------------
149
+ TestPasswordExpirableWorkflow: test_sign_in_and_change_expired_password
150
+ -----------------------------------------------------------------------
151
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
152
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (1.1ms)
153
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 129.4ms
154
+ Sent mail to bob@microsoft.com (4.0ms)
155
+ Date: Sat, 10 Oct 2020 22:54:39 -0400
156
+ From: please-change-me-at-config-initializers-devise@example.com
157
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
158
+ To: bob@microsoft.com
159
+ Message-ID: <5f8273efe87fd_db323ffc69436e30677a@Dillons-MBP.fios-router.home.mail>
160
+ Subject: Confirmation instructions
161
+ Mime-Version: 1.0
162
+ Content-Type: text/html;
163
+ charset=UTF-8
164
+ Content-Transfer-Encoding: 7bit
165
+
166
+ <p>Welcome bob@microsoft.com!</p>
167
+
168
+ <p>You can confirm your account email through the link below:</p>
169
+
170
+ <p><a href="http://test.host/users/confirmation?confirmation_token=1NkzwuU2YeXsbcZPkqxe">Confirm my account</a></p>
171
+
172
+ Started POST "/users/sign_in" for 127.0.0.1 at 2020-10-10 22:54:39 -0400
173
+ Processing by Devise::SessionsController#create as HTML
174
+ Parameters: {"user"=>{"email"=>"bob@microsoft.com", "password"=>"[FILTERED]"}}
175
+ [devise-security][session_limitable] unique_session_id=s4oQgdPMx6wJmzFCxBwx
176
+ Redirected to http://www.example.com/
177
+ Completed 302 Found in 489ms (ActiveRecord: 1.2ms)
178
+ Started GET "/" for 127.0.0.1 at 2020-10-10 22:54:40 -0400
179
+ Processing by WidgetsController#show as HTML
180
+ Redirected to http://www.example.com/users/password_expired
181
+ Filter chain halted as :handle_password_change rendered or redirected
182
+ Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
183
+ Started PUT "/users/password_expired" for 127.0.0.1 at 2020-10-10 22:54:40 -0400
184
+ Processing by Devise::PasswordExpiredController#update as HTML
185
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
186
+ Redirected to http://www.example.com/
187
+ Completed 302 Found in 1898ms (ActiveRecord: 1.8ms)
188
+ ---------------------------------------------------------------------------------------------
189
+ TestPasswordExpirableWorkflow: test_sign_in_and_password_is_updated_before_redirect_completes
190
+ ---------------------------------------------------------------------------------------------
191
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
192
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.3ms)
193
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
194
+ Sent mail to bob@microsoft.com (3.5ms)
195
+ Date: Sat, 10 Oct 2020 22:54:42 -0400
196
+ From: please-change-me-at-config-initializers-devise@example.com
197
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
198
+ To: bob@microsoft.com
199
+ Message-ID: <5f8273f2da633_db323ffc69436e306781a@Dillons-MBP.fios-router.home.mail>
200
+ Subject: Confirmation instructions
201
+ Mime-Version: 1.0
202
+ Content-Type: text/html;
203
+ charset=UTF-8
204
+ Content-Transfer-Encoding: 7bit
205
+
206
+ <p>Welcome bob@microsoft.com!</p>
207
+
208
+ <p>You can confirm your account email through the link below:</p>
209
+
210
+ <p><a href="http://test.host/users/confirmation?confirmation_token=snjy6mc8NRxPbZATnc5N">Confirm my account</a></p>
211
+
212
+ Started POST "/users/sign_in" for 127.0.0.1 at 2020-10-10 22:54:42 -0400
213
+ Processing by Devise::SessionsController#create as HTML
214
+ Parameters: {"user"=>{"email"=>"bob@microsoft.com", "password"=>"[FILTERED]"}}
215
+ [devise-security][session_limitable] unique_session_id=nVvqdfcDXysWqAnA8niH
216
+ Redirected to http://www.example.com/
217
+ Completed 302 Found in 472ms (ActiveRecord: 0.9ms)
218
+ Started GET "/" for 127.0.0.1 at 2020-10-10 22:54:43 -0400
219
+ Processing by WidgetsController#show as HTML
220
+ Rendering text template
221
+ Rendered text template (0.0ms)
222
+ Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.3ms)
223
+ Started GET "/" for 127.0.0.1 at 2020-10-10 22:54:43 -0400
224
+ Processing by WidgetsController#show as HTML
225
+ Rendering text template
226
+ Rendered text template (0.0ms)
227
+ Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.4ms)
228
+ ---------------------------------------------------------------------------------------------------------
229
+ TestSessionLimitable: test_#update_unique_session_id!(value)_raises_an_exception_on_an_unpersisted_record
230
+ ---------------------------------------------------------------------------------------------------------
231
+ ----------------------------------------------------------------------------------------------
232
+ TestSessionLimitable: test_#update_unique_session_id!(value)_updates_invalid_record_atomically
233
+ ----------------------------------------------------------------------------------------------
234
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
235
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.3ms)
236
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
237
+ Sent mail to bob@microsoft.com (4.2ms)
238
+ Date: Sat, 10 Oct 2020 22:54:43 -0400
239
+ From: please-change-me-at-config-initializers-devise@example.com
240
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
241
+ To: bob@microsoft.com
242
+ Message-ID: <5f8273f3dfb59_db323ffc69436e30679bf@Dillons-MBP.fios-router.home.mail>
243
+ Subject: Confirmation instructions
244
+ Mime-Version: 1.0
245
+ Content-Type: text/html;
246
+ charset=UTF-8
247
+ Content-Transfer-Encoding: 7bit
248
+
249
+ <p>Welcome bob@microsoft.com!</p>
250
+
251
+ <p>You can confirm your account email through the link below:</p>
252
+
253
+ <p><a href="http://test.host/users/confirmation?confirmation_token=N1VA7vwyiHafyEyHyyJy">Confirm my account</a></p>
254
+
255
+ [devise-security][session_limitable] unique_session_id=unique_value
256
+ ---------------------------------------------------------------------------------
257
+ TestSessionLimitable: test_#update_unique_session_id!(value)_updates_valid_record
258
+ ---------------------------------------------------------------------------------
259
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
260
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.3ms)
261
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.1ms
262
+ Sent mail to bob@microsoft.com (4.2ms)
263
+ Date: Sat, 10 Oct 2020 22:54:44 -0400
264
+ From: please-change-me-at-config-initializers-devise@example.com
265
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
266
+ To: bob@microsoft.com
267
+ Message-ID: <5f8273f46a601_db323ffc69436e3068067@Dillons-MBP.fios-router.home.mail>
268
+ Subject: Confirmation instructions
269
+ Mime-Version: 1.0
270
+ Content-Type: text/html;
271
+ charset=UTF-8
272
+ Content-Transfer-Encoding: 7bit
273
+
274
+ <p>Welcome bob@microsoft.com!</p>
275
+
276
+ <p>You can confirm your account email through the link below:</p>
277
+
278
+ <p><a href="http://test.host/users/confirmation?confirmation_token=SiqR1EwX9HLaBso14UA2">Confirm my account</a></p>
279
+
280
+ [devise-security][session_limitable] unique_session_id=unique_value
281
+ ----------------------------------------------------------
282
+ TestSessionLimitable: test_check_is_not_skipped_by_default
283
+ ----------------------------------------------------------
284
+ -----------------------------------------------------------------------------
285
+ TestSessionLimitable: test_default_check_can_be_overridden_by_record_instance
286
+ -----------------------------------------------------------------------------
287
+ -----------------------------------------------------------------
288
+ TestSessionLimitable: test_includes_Devise::Models::Compatibility
289
+ -----------------------------------------------------------------
290
+ ---------------------------------------------------------
291
+ TestCompatibility: test_can_access_ActiveRecord_namespace
292
+ ---------------------------------------------------------
293
+ ----------------------------------------------------
294
+ TestCompatibility: test_can_access_Mongoid_namespace
295
+ ----------------------------------------------------
296
+ -----------------------------------------------------------------------
297
+ TestWithCaptcha: test_When_captcha_is_enabled,_it_is_inserted_correctly
298
+ -----------------------------------------------------------------------
299
+ Processing by Captcha::SessionsController#create as HTML
300
+ Parameters: {"captcha_user"=>{"email"=>"wrong@email.com", "password"=>"[FILTERED]"}}
301
+ Redirected to http://test.host/captcha_users/sign_in
302
+ Filter chain halted as :check_captcha rendered or redirected
303
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
304
+ --------------------------------------------------------------
305
+ TestWithCaptcha: test_When_captcha_is_valid,_it_runs_as_normal
306
+ --------------------------------------------------------------
307
+ Processing by Captcha::SessionsController#create as HTML
308
+ Parameters: {"captcha"=>"ABCDE", "captcha_user"=>{"email"=>"wrong@email.com", "password"=>"[FILTERED]"}}
309
+ Completed 401 Unauthorized in 4ms (ActiveRecord: 0.2ms)
310
+ Processing by Captcha::SessionsController#new as HTML
311
+ Parameters: {"captcha"=>"ABCDE", "captcha_user"=>{"email"=>"wrong@email.com", "password"=>"[FILTERED]"}}
312
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/sessions/new.html.erb
313
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/shared/_links.html.erb (1.3ms)
314
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/sessions/new.html.erb (16.8ms)
315
+ Completed 200 OK in 601ms (Views: 48.4ms | ActiveRecord: 0.0ms)
316
+ ------------------------------------------------------------------------------------------
317
+ TestParanoidVerification: test_by_default_paranoid_code_regenerate_should_have_10_attempts
318
+ ------------------------------------------------------------------------------------------
319
+ --------------------------------------------
320
+ TestParanoidVerification: test_generate_code
321
+ --------------------------------------------
322
+ -----------------------------------------------------------------------
323
+ TestParanoidVerification: test_generate_code_must_reset_attempt_counter
324
+ -----------------------------------------------------------------------
325
+ ----------------------------------------------------------------------
326
+ TestParanoidVerification: test_need_to_paranoid_verify_if_code_present
327
+ ----------------------------------------------------------------------
328
+ --------------------------------------------------------------------
329
+ TestParanoidVerification: test_no_need_to_paranoid_verify_if_no_code
330
+ --------------------------------------------------------------------
331
+ ---------------------------------------------------------------------------------------------------------------------------------
332
+ TestParanoidVerification: test_paranoid_attempts_remaining_should_re-callculate_how_many_attemps_remains_after_each_wrong_attempt
333
+ ---------------------------------------------------------------------------------------------------------------------------------
334
+ ------------------------------------------------------------------------------------------------------
335
+ TestParanoidVerification: test_upon_generating_new_code_due_to_too_many_attempts_reset_attempt_counter
336
+ ------------------------------------------------------------------------------------------------------
337
+ ----------------------------------------------------------------------------------------------------------------
338
+ TestParanoidVerification: test_when_code_match_upon_verification_code,_should_set_when_verification_was_accepted
339
+ ----------------------------------------------------------------------------------------------------------------
340
+ -----------------------------------------------------------------------------------------------------------------------
341
+ TestParanoidVerification: test_when_code_match_upon_verify_code,_should_mark_record_that_it's_no_loger_needed_to_verify
342
+ -----------------------------------------------------------------------------------------------------------------------
343
+ ---------------------------------------------------------------------------------------------------
344
+ TestParanoidVerification: test_when_code_match_upon_verify_code,_should_no_longer_need_verification
345
+ ---------------------------------------------------------------------------------------------------
346
+ --------------------------------------------------------------------------------------------------------------
347
+ TestParanoidVerification: test_when_code_not_match_upon_verification_code,_should_not_set_paranoid_verified_at
348
+ --------------------------------------------------------------------------------------------------------------
349
+ --------------------------------------------------------------------------------------------------------------------
350
+ TestParanoidVerification: test_when_code_not_match_upon_verification_code_too_many_attempts_should_generate_new_code
351
+ --------------------------------------------------------------------------------------------------------------------
352
+ ---------------------------------------------------------------------------------------------------------------------------
353
+ TestParanoidVerification: test_when_code_not_match_upon_verification_code_too_many_times,_reset_paranoid_attempts_remaining
354
+ ---------------------------------------------------------------------------------------------------------------------------
355
+ ---------------------------------------------------------------------------------------------------
356
+ TestParanoidVerification: test_when_code_not_match_upon_verify_code,_should_still_need_verification
357
+ ---------------------------------------------------------------------------------------------------
358
+ ------------------------------------------------------------------------------------------
359
+ TestWithoutSecurityQuestion: test_When_security_question_is_not_enabled_it_is_not_inserted
360
+ ------------------------------------------------------------------------------------------
361
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
362
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.4ms)
363
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
364
+ Sent mail to hello@path.travel (3.5ms)
365
+ Date: Sat, 10 Oct 2020 22:54:46 -0400
366
+ From: please-change-me-at-config-initializers-devise@example.com
367
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
368
+ To: hello@path.travel
369
+ Message-ID: <5f8273f6e2987_db323ffc69436e3068148@Dillons-MBP.fios-router.home.mail>
370
+ Subject: Confirmation instructions
371
+ Mime-Version: 1.0
372
+ Content-Type: text/html;
373
+ charset=UTF-8
374
+ Content-Transfer-Encoding: 7bit
375
+
376
+ <p>Welcome hello@path.travel!</p>
377
+
378
+ <p>You can confirm your account email through the link below:</p>
379
+
380
+ <p><a href="http://test.host/users/confirmation?confirmation_token=SvYSRCrx1A-nF_hAcueE">Confirm my account</a></p>
381
+
382
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb
383
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb (0.5ms)
384
+ Devise::Mailer#unlock_instructions: processed outbound mail in 2.4ms
385
+ Sent mail to hello@path.travel (3.1ms)
386
+ Date: Sat, 10 Oct 2020 22:54:46 -0400
387
+ From: please-change-me-at-config-initializers-devise@example.com
388
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
389
+ To: hello@path.travel
390
+ Message-ID: <5f8273f6e40ed_db323ffc69436e30682dd@Dillons-MBP.fios-router.home.mail>
391
+ Subject: Unlock instructions
392
+ Mime-Version: 1.0
393
+ Content-Type: text/html;
394
+ charset=UTF-8
395
+ Content-Transfer-Encoding: 7bit
396
+
397
+ <p>Hello hello@path.travel!</p>
398
+
399
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
400
+
401
+ <p>Click the link below to unlock your account:</p>
402
+
403
+ <p><a href="http://test.host/users/unlock?unlock_token=yaedT5hB1-7heRRmxdqS">Unlock my account</a></p>
404
+
405
+ Processing by Devise::UnlocksController#create as HTML
406
+ Parameters: {"user"=>{"email"=>"hello@path.travel"}}
407
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb
408
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb (0.4ms)
409
+ Devise::Mailer#unlock_instructions: processed outbound mail in 2.9ms
410
+ Sent mail to hello@path.travel (2.9ms)
411
+ Date: Sat, 10 Oct 2020 22:54:46 -0400
412
+ From: please-change-me-at-config-initializers-devise@example.com
413
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
414
+ To: hello@path.travel
415
+ Message-ID: <5f8273f6e8043_db323ffc69436e30683a9@Dillons-MBP.fios-router.home.mail>
416
+ Subject: Unlock instructions
417
+ Mime-Version: 1.0
418
+ Content-Type: text/html;
419
+ charset=UTF-8
420
+ Content-Transfer-Encoding: 7bit
421
+
422
+ <p>Hello hello@path.travel!</p>
423
+
424
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
425
+
426
+ <p>Click the link below to unlock your account:</p>
427
+
428
+ <p><a href="http://test.host/users/unlock?unlock_token=kE9Xh_LJwzM9Vdoq7U3s">Unlock my account</a></p>
429
+
430
+ Redirected to http://test.host/users/sign_in
431
+ Completed 302 Found in 16ms (ActiveRecord: 1.0ms)
432
+ ------------------------------------------------------------------------
433
+ TestWithoutCaptcha: test_When_captcha_is_not_enabled,_it_is_not_inserted
434
+ ------------------------------------------------------------------------
435
+ Processing by Devise::SessionsController#create as HTML
436
+ Parameters: {"user"=>{"email"=>"wrong@email.com", "password"=>"[FILTERED]"}}
437
+ Completed 401 Unauthorized in 2ms (ActiveRecord: 0.1ms)
438
+ Processing by Devise::SessionsController#new as HTML
439
+ Parameters: {"user"=>{"email"=>"wrong@email.com", "password"=>"[FILTERED]"}}
440
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/sessions/new.html.erb
441
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/shared/_links.html.erb (1.5ms)
442
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/sessions/new.html.erb (9.0ms)
443
+ Completed 200 OK in 507ms (Views: 9.9ms | ActiveRecord: 0.0ms)
444
+ ------------------------------------------------------------
445
+ TestPasswordArchivable: test_cannot_reuse_archived_passwords
446
+ ------------------------------------------------------------
447
+ Rendering /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
448
+ Rendered /Users/dillonwelch/.rvm/gems/ruby-2.5.8/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.4ms)
449
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 7.6ms
450
+ Sent mail to bob@microsoft.com (3.3ms)
451
+ Date: Sat, 10 Oct 2020 22:54:47 -0400
452
+ From: please-change-me-at-config-initializers-devise@example.com
453
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
454
+ To: bob@microsoft.com
455
+ Message-ID: <5f8273f7f2772_db323ffc69436e3068451@Dillons-MBP.fios-router.home.mail>
456
+ Subject: Confirmation instructions
457
+ Mime-Version: 1.0
458
+ Content-Type: text/html;
459
+ charset=UTF-8
460
+ Content-Transfer-Encoding: 7bit
461
+
462
+ <p>Welcome bob@microsoft.com!</p>
463
+
464
+ <p>You can confirm your account email through the link below:</p>
465
+
466
+ <p><a href="http://test.host/users/confirmation?confirmation_token=1xPUs3fWEm8i_Zq2fssj">Confirm my account</a></p>
467
+
468
+ -----------------------------------------------
469
+ TestSessionLimitableWorkflow: test_failed_login
470
+ -----------------------------------------------
471
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
472
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (3.0ms)
473
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 273.2ms
474
+ Sent mail to bob@microsoft.com (14.2ms)
475
+ Date: Wed, 21 Oct 2020 21:45:36 -0400
476
+ From: please-change-me-at-config-initializers-devise@example.com
477
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
478
+ To: bob@microsoft.com
479
+ Message-ID: <5f90e440355c7_9cb03fd084c36e20647fe@Dillons-MBP.mail>
480
+ Subject: Confirmation instructions
481
+ Mime-Version: 1.0
482
+ Content-Type: text/html;
483
+ charset=UTF-8
484
+ Content-Transfer-Encoding: 7bit
485
+
486
+ <p>Welcome bob@microsoft.com!</p>
487
+
488
+ <p>You can confirm your account email through the link below:</p>
489
+
490
+ <p><a href="http://test.host/users/confirmation?confirmation_token=PTsmyzXx2QhsKW4768bE">Confirm my account</a></p>
491
+
492
+ Started POST "/users/sign_in" for 127.0.0.1 at 2020-10-21 21:45:36 -0400
493
+ Processing by Devise::SessionsController#create as HTML
494
+ Parameters: {"user"=>{"email"=>"bob@microsoft.com", "password"=>"[FILTERED]"}}
495
+ Completed 401 Unauthorized in 218ms (ActiveRecord: 0.9ms)
496
+ Processing by Devise::SessionsController#new as HTML
497
+ Parameters: {"user"=>{"email"=>"bob@microsoft.com", "password"=>"[FILTERED]"}}
498
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/sessions/new.html.erb
499
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/shared/_links.html.erb (1.2ms)
500
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/sessions/new.html.erb (17.3ms)
501
+ Completed 200 OK in 232ms (Views: 32.6ms | ActiveRecord: 0.0ms)
502
+ ----------------------------------------------------------------------------------------
503
+ TestSessionLimitableWorkflow: test_session_is_logged_out_when_another_session_is_created
504
+ ----------------------------------------------------------------------------------------
505
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
506
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
507
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.1ms
508
+ Sent mail to bob@microsoft.com (1.3ms)
509
+ Date: Wed, 21 Oct 2020 21:45:41 -0400
510
+ From: please-change-me-at-config-initializers-devise@example.com
511
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
512
+ To: bob@microsoft.com
513
+ Message-ID: <5f90e445e948f_9cb03fd084c36e20648cb@Dillons-MBP.mail>
514
+ Subject: Confirmation instructions
515
+ Mime-Version: 1.0
516
+ Content-Type: text/html;
517
+ charset=UTF-8
518
+ Content-Transfer-Encoding: 7bit
519
+
520
+ <p>Welcome bob@microsoft.com!</p>
521
+
522
+ <p>You can confirm your account email through the link below:</p>
523
+
524
+ <p><a href="http://test.host/users/confirmation?confirmation_token=xe7zMAbbHZYmiZ1MFzTB">Confirm my account</a></p>
525
+
526
+ Started POST "/users/sign_in" for 127.0.0.1 at 2020-10-21 21:45:41 -0400
527
+ Processing by Devise::SessionsController#create as HTML
528
+ Parameters: {"user"=>{"email"=>"bob@microsoft.com", "password"=>"[FILTERED]"}}
529
+ [devise-security][session_limitable] unique_session_id=xXQwaa8KYs3gt5btRWZM
530
+ Redirected to http://www.example.com/
531
+ Completed 302 Found in 219ms (ActiveRecord: 0.3ms)
532
+ Started GET "/widgets" for 127.0.0.1 at 2020-10-21 21:45:42 -0400
533
+ Processing by WidgetsController#show as HTML
534
+ Rendering text template
535
+ Rendered text template (0.0ms)
536
+ Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.3ms)
537
+ Started POST "/users/sign_in" for 127.0.0.1 at 2020-10-21 21:45:42 -0400
538
+ Processing by Devise::SessionsController#create as HTML
539
+ Parameters: {"user"=>{"email"=>"bob@microsoft.com", "password"=>"[FILTERED]"}}
540
+ [devise-security][session_limitable] unique_session_id=8K-ah3fCb-84ss74Ga4i
541
+ Redirected to http://www.example.com/
542
+ Completed 302 Found in 239ms (ActiveRecord: 0.5ms)
543
+ Started GET "/widgets" for 127.0.0.1 at 2020-10-21 21:45:42 -0400
544
+ Processing by WidgetsController#show as HTML
545
+ Rendering text template
546
+ Rendered text template (0.0ms)
547
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
548
+ Started GET "/widgets" for 127.0.0.1 at 2020-10-21 21:45:42 -0400
549
+ Processing by WidgetsController#show as HTML
550
+ [devise-security][session_limitable] session id mismatch: expected="8K-ah3fCb-84ss74Ga4i" actual="xXQwaa8KYs3gt5btRWZM"
551
+ Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms)
552
+ ---------------------------------------------------
553
+ TestSessionLimitableWorkflow: test_successful_login
554
+ ---------------------------------------------------
555
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
556
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
557
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.4ms
558
+ Sent mail to bob@microsoft.com (1.6ms)
559
+ Date: Wed, 21 Oct 2020 21:45:42 -0400
560
+ From: please-change-me-at-config-initializers-devise@example.com
561
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
562
+ To: bob@microsoft.com
563
+ Message-ID: <5f90e446b0aed_9cb03fd084c36e206493d@Dillons-MBP.mail>
564
+ Subject: Confirmation instructions
565
+ Mime-Version: 1.0
566
+ Content-Type: text/html;
567
+ charset=UTF-8
568
+ Content-Transfer-Encoding: 7bit
569
+
570
+ <p>Welcome bob@microsoft.com!</p>
571
+
572
+ <p>You can confirm your account email through the link below:</p>
573
+
574
+ <p><a href="http://test.host/users/confirmation?confirmation_token=hj92AC7PW9Vv1wpPZ_wq">Confirm my account</a></p>
575
+
576
+ Started POST "/users/sign_in" for 127.0.0.1 at 2020-10-21 21:45:42 -0400
577
+ Processing by Devise::SessionsController#create as HTML
578
+ Parameters: {"user"=>{"email"=>"bob@microsoft.com", "password"=>"[FILTERED]"}}
579
+ [devise-security][session_limitable] unique_session_id=zy1F6v15GzZjMXJRD1ak
580
+ Redirected to http://www.example.com/
581
+ Completed 302 Found in 261ms (ActiveRecord: 0.6ms)
582
+ Started GET "/widgets" for 127.0.0.1 at 2020-10-21 21:45:42 -0400
583
+ Processing by WidgetsController#show as HTML
584
+ Rendering text template
585
+ Rendered text template (0.0ms)
586
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
587
+ ------------------------------------------------------------------------------------------
588
+ TestParanoidVerification: test_by_default_paranoid_code_regenerate_should_have_10_attempts
589
+ ------------------------------------------------------------------------------------------
590
+ --------------------------------------------
591
+ TestParanoidVerification: test_generate_code
592
+ --------------------------------------------
593
+ -----------------------------------------------------------------------
594
+ TestParanoidVerification: test_generate_code_must_reset_attempt_counter
595
+ -----------------------------------------------------------------------
596
+ ----------------------------------------------------------------------
597
+ TestParanoidVerification: test_need_to_paranoid_verify_if_code_present
598
+ ----------------------------------------------------------------------
599
+ --------------------------------------------------------------------
600
+ TestParanoidVerification: test_no_need_to_paranoid_verify_if_no_code
601
+ --------------------------------------------------------------------
602
+ ---------------------------------------------------------------------------------------------------------------------------------
603
+ TestParanoidVerification: test_paranoid_attempts_remaining_should_re-callculate_how_many_attemps_remains_after_each_wrong_attempt
604
+ ---------------------------------------------------------------------------------------------------------------------------------
605
+ ------------------------------------------------------------------------------------------------------
606
+ TestParanoidVerification: test_upon_generating_new_code_due_to_too_many_attempts_reset_attempt_counter
607
+ ------------------------------------------------------------------------------------------------------
608
+ ----------------------------------------------------------------------------------------------------------------
609
+ TestParanoidVerification: test_when_code_match_upon_verification_code,_should_set_when_verification_was_accepted
610
+ ----------------------------------------------------------------------------------------------------------------
611
+ -----------------------------------------------------------------------------------------------------------------------
612
+ TestParanoidVerification: test_when_code_match_upon_verify_code,_should_mark_record_that_it's_no_loger_needed_to_verify
613
+ -----------------------------------------------------------------------------------------------------------------------
614
+ ---------------------------------------------------------------------------------------------------
615
+ TestParanoidVerification: test_when_code_match_upon_verify_code,_should_no_longer_need_verification
616
+ ---------------------------------------------------------------------------------------------------
617
+ --------------------------------------------------------------------------------------------------------------
618
+ TestParanoidVerification: test_when_code_not_match_upon_verification_code,_should_not_set_paranoid_verified_at
619
+ --------------------------------------------------------------------------------------------------------------
620
+ --------------------------------------------------------------------------------------------------------------------
621
+ TestParanoidVerification: test_when_code_not_match_upon_verification_code_too_many_attempts_should_generate_new_code
622
+ --------------------------------------------------------------------------------------------------------------------
623
+ ---------------------------------------------------------------------------------------------------------------------------
624
+ TestParanoidVerification: test_when_code_not_match_upon_verification_code_too_many_times,_reset_paranoid_attempts_remaining
625
+ ---------------------------------------------------------------------------------------------------------------------------
626
+ ---------------------------------------------------------------------------------------------------
627
+ TestParanoidVerification: test_when_code_not_match_upon_verify_code,_should_still_need_verification
628
+ ---------------------------------------------------------------------------------------------------
629
+ ------------------------------------------------------------------------------------------
630
+ TestWithoutSecurityQuestion: test_When_security_question_is_not_enabled_it_is_not_inserted
631
+ ------------------------------------------------------------------------------------------
632
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
633
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
634
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.1ms
635
+ Sent mail to hello@path.travel (1.4ms)
636
+ Date: Wed, 21 Oct 2020 21:45:43 -0400
637
+ From: please-change-me-at-config-initializers-devise@example.com
638
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
639
+ To: hello@path.travel
640
+ Message-ID: <5f90e44787ec3_9cb03fd084c36e20650f3@Dillons-MBP.mail>
641
+ Subject: Confirmation instructions
642
+ Mime-Version: 1.0
643
+ Content-Type: text/html;
644
+ charset=UTF-8
645
+ Content-Transfer-Encoding: 7bit
646
+
647
+ <p>Welcome hello@path.travel!</p>
648
+
649
+ <p>You can confirm your account email through the link below:</p>
650
+
651
+ <p><a href="http://test.host/users/confirmation?confirmation_token=vbshGKr8pWGAhFyA63y7">Confirm my account</a></p>
652
+
653
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb
654
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb (0.6ms)
655
+ Devise::Mailer#unlock_instructions: processed outbound mail in 83.2ms
656
+ Sent mail to hello@path.travel (1.5ms)
657
+ Date: Wed, 21 Oct 2020 21:45:43 -0400
658
+ From: please-change-me-at-config-initializers-devise@example.com
659
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
660
+ To: hello@path.travel
661
+ Message-ID: <5f90e4479ca18_9cb03fd084c36e20651ca@Dillons-MBP.mail>
662
+ Subject: Unlock instructions
663
+ Mime-Version: 1.0
664
+ Content-Type: text/html;
665
+ charset=UTF-8
666
+ Content-Transfer-Encoding: 7bit
667
+
668
+ <p>Hello hello@path.travel!</p>
669
+
670
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
671
+
672
+ <p>Click the link below to unlock your account:</p>
673
+
674
+ <p><a href="http://test.host/users/unlock?unlock_token=A_GuWjUS7kxV72DntGGo">Unlock my account</a></p>
675
+
676
+ Processing by Devise::UnlocksController#create as HTML
677
+ Parameters: {"user"=>{"email"=>"hello@path.travel"}}
678
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb
679
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb (0.3ms)
680
+ Devise::Mailer#unlock_instructions: processed outbound mail in 1.7ms
681
+ Sent mail to hello@path.travel (1.5ms)
682
+ Date: Wed, 21 Oct 2020 21:45:43 -0400
683
+ From: please-change-me-at-config-initializers-devise@example.com
684
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
685
+ To: hello@path.travel
686
+ Message-ID: <5f90e4479eab4_9cb03fd084c36e2065287@Dillons-MBP.mail>
687
+ Subject: Unlock instructions
688
+ Mime-Version: 1.0
689
+ Content-Type: text/html;
690
+ charset=UTF-8
691
+ Content-Transfer-Encoding: 7bit
692
+
693
+ <p>Hello hello@path.travel!</p>
694
+
695
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
696
+
697
+ <p>Click the link below to unlock your account:</p>
698
+
699
+ <p><a href="http://test.host/users/unlock?unlock_token=dBNEreyQz69TTruW8ykp">Unlock my account</a></p>
700
+
701
+ Redirected to http://test.host/users/sign_in
702
+ Completed 302 Found in 12ms (ActiveRecord: 0.3ms)
703
+ ------------------------------------------------------------
704
+ TestPasswordArchivable: test_cannot_reuse_archived_passwords
705
+ ------------------------------------------------------------
706
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
707
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.4ms)
708
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
709
+ Sent mail to bob@microsoft.com (1.5ms)
710
+ Date: Wed, 21 Oct 2020 21:45:43 -0400
711
+ From: please-change-me-at-config-initializers-devise@example.com
712
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
713
+ To: bob@microsoft.com
714
+ Message-ID: <5f90e447e4ed8_9cb03fd084c36e20653ae@Dillons-MBP.mail>
715
+ Subject: Confirmation instructions
716
+ Mime-Version: 1.0
717
+ Content-Type: text/html;
718
+ charset=UTF-8
719
+ Content-Transfer-Encoding: 7bit
720
+
721
+ <p>Welcome bob@microsoft.com!</p>
722
+
723
+ <p>You can confirm your account email through the link below:</p>
724
+
725
+ <p><a href="http://test.host/users/confirmation?confirmation_token=F3uMnc7F9gTpXLHivurJ">Confirm my account</a></p>
726
+
727
+ -----------------------------------------------------
728
+ TestPasswordArchivable: test_cannot_use_same_password
729
+ -----------------------------------------------------
730
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
731
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
732
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.3ms
733
+ Sent mail to bob@microsoft.com (1.5ms)
734
+ Date: Wed, 21 Oct 2020 21:45:50 -0400
735
+ From: please-change-me-at-config-initializers-devise@example.com
736
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
737
+ To: bob@microsoft.com
738
+ Message-ID: <5f90e44e224ad_9cb03fd084c36e20654e9@Dillons-MBP.mail>
739
+ Subject: Confirmation instructions
740
+ Mime-Version: 1.0
741
+ Content-Type: text/html;
742
+ charset=UTF-8
743
+ Content-Transfer-Encoding: 7bit
744
+
745
+ <p>Welcome bob@microsoft.com!</p>
746
+
747
+ <p>You can confirm your account email through the link below:</p>
748
+
749
+ <p><a href="http://test.host/users/confirmation?confirmation_token=zzrG_iy9rGFDRGRV-vHg">Confirm my account</a></p>
750
+
751
+ ---------------------------------------------------------------------------------------------
752
+ TestPasswordArchivable: test_does_not_save_an_OldPassword_if_user_password_was_originally_nil
753
+ ---------------------------------------------------------------------------------------------
754
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
755
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
756
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.3ms
757
+ Sent mail to bob@microsoft.com (2.1ms)
758
+ Date: Wed, 21 Oct 2020 21:45:51 -0400
759
+ From: please-change-me-at-config-initializers-devise@example.com
760
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
761
+ To: bob@microsoft.com
762
+ Message-ID: <5f90e44f1c5bb_9cb03fd084c36e206559c@Dillons-MBP.mail>
763
+ Subject: Confirmation instructions
764
+ Mime-Version: 1.0
765
+ Content-Type: text/html;
766
+ charset=UTF-8
767
+ Content-Transfer-Encoding: 7bit
768
+
769
+ <p>Welcome bob@microsoft.com!</p>
770
+
771
+ <p>You can confirm your account email through the link below:</p>
772
+
773
+ <p><a href="http://test.host/users/confirmation?confirmation_token=zM6ynQEERo7HBwYMteZe">Confirm my account</a></p>
774
+
775
+ -----------------------------------------------------
776
+ TestPasswordArchivable: test_does_nothing_if_disabled
777
+ -----------------------------------------------------
778
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
779
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
780
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.2ms
781
+ Sent mail to bob@microsoft.com (2.0ms)
782
+ Date: Wed, 21 Oct 2020 21:45:51 -0400
783
+ From: please-change-me-at-config-initializers-devise@example.com
784
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
785
+ To: bob@microsoft.com
786
+ Message-ID: <5f90e44f5c013_9cb03fd084c36e20656fd@Dillons-MBP.mail>
787
+ Subject: Confirmation instructions
788
+ Mime-Version: 1.0
789
+ Content-Type: text/html;
790
+ charset=UTF-8
791
+ Content-Transfer-Encoding: 7bit
792
+
793
+ <p>Welcome bob@microsoft.com!</p>
794
+
795
+ <p>You can confirm your account email through the link below:</p>
796
+
797
+ <p><a href="http://test.host/users/confirmation?confirmation_token=GqUBMAaS4WYY4xsdyZzB">Confirm my account</a></p>
798
+
799
+ -------------------------------------------------------------------------------------------------
800
+ TestPasswordArchivable: test_indirectly_saving_associated_user_does_not_cause_deprecation_warning
801
+ -------------------------------------------------------------------------------------------------
802
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
803
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
804
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.2ms
805
+ Sent mail to bob@microsoft.com (1.7ms)
806
+ Date: Wed, 21 Oct 2020 21:45:51 -0400
807
+ From: please-change-me-at-config-initializers-devise@example.com
808
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
809
+ To: bob@microsoft.com
810
+ Message-ID: <5f90e44fa139e_9cb03fd084c36e206579f@Dillons-MBP.mail>
811
+ Subject: Confirmation instructions
812
+ Mime-Version: 1.0
813
+ Content-Type: text/html;
814
+ charset=UTF-8
815
+ Content-Transfer-Encoding: 7bit
816
+
817
+ <p>Welcome bob@microsoft.com!</p>
818
+
819
+ <p>You can confirm your account email through the link below:</p>
820
+
821
+ <p><a href="http://test.host/users/confirmation?confirmation_token=thsWBXZEW-Jp6s3M_AaE">Confirm my account</a></p>
822
+
823
+ -------------------------------------------------------------
824
+ TestPasswordArchivable: test_override_expire_after_at_runtime
825
+ -------------------------------------------------------------
826
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
827
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
828
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.2ms
829
+ Sent mail to bob@microsoft.com (1.6ms)
830
+ Date: Wed, 21 Oct 2020 21:45:51 -0400
831
+ From: please-change-me-at-config-initializers-devise@example.com
832
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
833
+ To: bob@microsoft.com
834
+ Message-ID: <5f90e44fe5b06_9cb03fd084c36e206586@Dillons-MBP.mail>
835
+ Subject: Confirmation instructions
836
+ Mime-Version: 1.0
837
+ Content-Type: text/html;
838
+ charset=UTF-8
839
+ Content-Transfer-Encoding: 7bit
840
+
841
+ <p>Welcome bob@microsoft.com!</p>
842
+
843
+ <p>You can confirm your account email through the link below:</p>
844
+
845
+ <p><a href="http://test.host/users/confirmation?confirmation_token=TBekjaS3TPzbAW_4mVSd">Confirm my account</a></p>
846
+
847
+ -------------------------------------------------------------
848
+ TestPasswordArchivable: test_password_change_can_be_requested
849
+ -------------------------------------------------------------
850
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
851
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.3ms)
852
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.6ms
853
+ Sent mail to bob@microsoft.com (2.3ms)
854
+ Date: Wed, 21 Oct 2020 21:45:52 -0400
855
+ From: please-change-me-at-config-initializers-devise@example.com
856
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
857
+ To: bob@microsoft.com
858
+ Message-ID: <5f90e450333f9_9cb03fd084c36e206594a@Dillons-MBP.mail>
859
+ Subject: Confirmation instructions
860
+ Mime-Version: 1.0
861
+ Content-Type: text/html;
862
+ charset=UTF-8
863
+ Content-Transfer-Encoding: 7bit
864
+
865
+ <p>Welcome bob@microsoft.com!</p>
866
+
867
+ <p>You can confirm your account email through the link below:</p>
868
+
869
+ <p><a href="http://test.host/users/confirmation?confirmation_token=xN5k81-eXjpt2wThHy4M">Confirm my account</a></p>
870
+
871
+ ---------------------------------------------
872
+ TestPasswordArchivable: test_password_expires
873
+ ---------------------------------------------
874
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
875
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.3ms)
876
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.0ms
877
+ Sent mail to bob@microsoft.com (2.0ms)
878
+ Date: Wed, 21 Oct 2020 21:45:52 -0400
879
+ From: please-change-me-at-config-initializers-devise@example.com
880
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
881
+ To: bob@microsoft.com
882
+ Message-ID: <5f90e450746dc_9cb03fd084c36e20660eb@Dillons-MBP.mail>
883
+ Subject: Confirmation instructions
884
+ Mime-Version: 1.0
885
+ Content-Type: text/html;
886
+ charset=UTF-8
887
+ Content-Transfer-Encoding: 7bit
888
+
889
+ <p>Welcome bob@microsoft.com!</p>
890
+
891
+ <p>You can confirm your account email through the link below:</p>
892
+
893
+ <p><a href="http://test.host/users/confirmation?confirmation_token=cm-DXZWtsyUxKAXPurY4">Confirm my account</a></p>
894
+
895
+ --------------------------------------------------------------------------------------
896
+ TestPasswordArchivable: test_saving_a_record_records_the_time_the_password_was_changed
897
+ --------------------------------------------------------------------------------------
898
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
899
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
900
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
901
+ Sent mail to bob@microsoft.com (1.5ms)
902
+ Date: Wed, 21 Oct 2020 21:45:52 -0400
903
+ From: please-change-me-at-config-initializers-devise@example.com
904
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
905
+ To: bob@microsoft.com
906
+ Message-ID: <5f90e450baa54_9cb03fd084c36e20661d0@Dillons-MBP.mail>
907
+ Subject: Confirmation instructions
908
+ Mime-Version: 1.0
909
+ Content-Type: text/html;
910
+ charset=UTF-8
911
+ Content-Transfer-Encoding: 7bit
912
+
913
+ <p>Welcome bob@microsoft.com!</p>
914
+
915
+ <p>You can confirm your account email through the link below:</p>
916
+
917
+ <p><a href="http://test.host/users/confirmation?confirmation_token=zhwz2xjKbJzqscDKHYTy">Confirm my account</a></p>
918
+
919
+ ------------------------------------------------------------------------
920
+ TestPasswordArchivable: test_the_option_should_be_dynamic_during_runtime
921
+ ------------------------------------------------------------------------
922
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
923
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.3ms)
924
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.6ms
925
+ Sent mail to bob@microsoft.com (1.7ms)
926
+ Date: Wed, 21 Oct 2020 21:45:53 -0400
927
+ From: please-change-me-at-config-initializers-devise@example.com
928
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
929
+ To: bob@microsoft.com
930
+ Message-ID: <5f90e451752b_9cb03fd084c36e20662e3@Dillons-MBP.mail>
931
+ Subject: Confirmation instructions
932
+ Mime-Version: 1.0
933
+ Content-Type: text/html;
934
+ charset=UTF-8
935
+ Content-Transfer-Encoding: 7bit
936
+
937
+ <p>Welcome bob@microsoft.com!</p>
938
+
939
+ <p>You can confirm your account email through the link below:</p>
940
+
941
+ <p><a href="http://test.host/users/confirmation?confirmation_token=c72xknWmhumJBh3sfj1x">Confirm my account</a></p>
942
+
943
+ ---------------------------------------------------------------------------------------------------------------------------------
944
+ TestPasswordArchivable: test_updating_a_record_does_not_updates_the_time_the_password_was_changed_if_the_password_was_not_changed
945
+ ---------------------------------------------------------------------------------------------------------------------------------
946
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
947
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
948
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.3ms
949
+ Sent mail to bob@microsoft.com (1.5ms)
950
+ Date: Wed, 21 Oct 2020 21:45:55 -0400
951
+ From: please-change-me-at-config-initializers-devise@example.com
952
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
953
+ To: bob@microsoft.com
954
+ Message-ID: <5f90e4537ed93_9cb03fd084c36e206632a@Dillons-MBP.mail>
955
+ Subject: Confirmation instructions
956
+ Mime-Version: 1.0
957
+ Content-Type: text/html;
958
+ charset=UTF-8
959
+ Content-Transfer-Encoding: 7bit
960
+
961
+ <p>Welcome bob@microsoft.com!</p>
962
+
963
+ <p>You can confirm your account email through the link below:</p>
964
+
965
+ <p><a href="http://test.host/users/confirmation?confirmation_token=oc4Ft6sDkgt8VhFvbA4a">Confirm my account</a></p>
966
+
967
+ -------------------------------------------------------------------------------------------------------------------
968
+ TestPasswordArchivable: test_updating_a_record_updates_the_time_the_password_was_changed_if_the_password_is_changed
969
+ -------------------------------------------------------------------------------------------------------------------
970
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
971
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
972
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.3ms
973
+ Sent mail to bob@microsoft.com (1.5ms)
974
+ Date: Wed, 21 Oct 2020 21:45:55 -0400
975
+ From: please-change-me-at-config-initializers-devise@example.com
976
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
977
+ To: bob@microsoft.com
978
+ Message-ID: <5f90e453c58ed_9cb03fd084c36e2066481@Dillons-MBP.mail>
979
+ Subject: Confirmation instructions
980
+ Mime-Version: 1.0
981
+ Content-Type: text/html;
982
+ charset=UTF-8
983
+ Content-Transfer-Encoding: 7bit
984
+
985
+ <p>Welcome bob@microsoft.com!</p>
986
+
987
+ <p>You can confirm your account email through the link below:</p>
988
+
989
+ <p><a href="http://test.host/users/confirmation?confirmation_token=ne3x1zNznUFWebizD6Xw">Confirm my account</a></p>
990
+
991
+ ---------------------------------------------------------------------------------
992
+ TestSecureValidatable: test_duplicate_email_validation_message_is_added_only_once
993
+ ---------------------------------------------------------------------------------
994
+ -------------------------------------------------
995
+ TestSecureValidatable: test_email_cannot_be_blank
996
+ -------------------------------------------------
997
+ -----------------------------------------------
998
+ TestSecureValidatable: test_email_must_be_valid
999
+ -----------------------------------------------
1000
+ -------------------------------------------------------------
1001
+ TestSecureValidatable: test_password_must_have_capital_letter
1002
+ -------------------------------------------------------------
1003
+ ---------------------------------------------------------------
1004
+ TestSecureValidatable: test_password_must_have_lowercase_letter
1005
+ ---------------------------------------------------------------
1006
+ -------------------------------------------------------------
1007
+ TestSecureValidatable: test_password_must_have_minimum_length
1008
+ -------------------------------------------------------------
1009
+ -----------------------------------------------------
1010
+ TestSecureValidatable: test_password_must_have_number
1011
+ -----------------------------------------------------
1012
+ ------------------------------------------------------------
1013
+ TestSecureValidatable: test_validate_both_email_and_password
1014
+ ------------------------------------------------------------
1015
+ -----------------------------------------------------------------------
1016
+ TestPasswordExpirableWorkflow: test_sign_in_and_change_expired_password
1017
+ -----------------------------------------------------------------------
1018
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
1019
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
1020
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.2ms
1021
+ Sent mail to bob@microsoft.com (1.9ms)
1022
+ Date: Wed, 21 Oct 2020 21:45:59 -0400
1023
+ From: please-change-me-at-config-initializers-devise@example.com
1024
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
1025
+ To: bob@microsoft.com
1026
+ Message-ID: <5f90e45717ff_9cb03fd084c36e20665e7@Dillons-MBP.mail>
1027
+ Subject: Confirmation instructions
1028
+ Mime-Version: 1.0
1029
+ Content-Type: text/html;
1030
+ charset=UTF-8
1031
+ Content-Transfer-Encoding: 7bit
1032
+
1033
+ <p>Welcome bob@microsoft.com!</p>
1034
+
1035
+ <p>You can confirm your account email through the link below:</p>
1036
+
1037
+ <p><a href="http://test.host/users/confirmation?confirmation_token=4z4GgFsq9BHprFUzt4df">Confirm my account</a></p>
1038
+
1039
+ Started POST "/users/sign_in" for 127.0.0.1 at 2020-10-21 21:45:59 -0400
1040
+ Processing by Devise::SessionsController#create as HTML
1041
+ Parameters: {"user"=>{"email"=>"bob@microsoft.com", "password"=>"[FILTERED]"}}
1042
+ [devise-security][session_limitable] unique_session_id=EHBknREt6M3myphhop7j
1043
+ Redirected to http://www.example.com/
1044
+ Completed 302 Found in 205ms (ActiveRecord: 0.5ms)
1045
+ Started GET "/" for 127.0.0.1 at 2020-10-21 21:45:59 -0400
1046
+ Processing by WidgetsController#show as HTML
1047
+ Redirected to http://www.example.com/users/password_expired
1048
+ Filter chain halted as :handle_password_change rendered or redirected
1049
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
1050
+ Started PUT "/users/password_expired" for 127.0.0.1 at 2020-10-21 21:45:59 -0400
1051
+ Processing by Devise::PasswordExpiredController#update as HTML
1052
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1053
+ Redirected to http://www.example.com/
1054
+ Completed 302 Found in 831ms (ActiveRecord: 0.6ms)
1055
+ ---------------------------------------------------------------------------------------------
1056
+ TestPasswordExpirableWorkflow: test_sign_in_and_password_is_updated_before_redirect_completes
1057
+ ---------------------------------------------------------------------------------------------
1058
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
1059
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
1060
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.4ms
1061
+ Sent mail to bob@microsoft.com (1.5ms)
1062
+ Date: Wed, 21 Oct 2020 21:46:00 -0400
1063
+ From: please-change-me-at-config-initializers-devise@example.com
1064
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
1065
+ To: bob@microsoft.com
1066
+ Message-ID: <5f90e45848197_9cb03fd084c36e20666e4@Dillons-MBP.mail>
1067
+ Subject: Confirmation instructions
1068
+ Mime-Version: 1.0
1069
+ Content-Type: text/html;
1070
+ charset=UTF-8
1071
+ Content-Transfer-Encoding: 7bit
1072
+
1073
+ <p>Welcome bob@microsoft.com!</p>
1074
+
1075
+ <p>You can confirm your account email through the link below:</p>
1076
+
1077
+ <p><a href="http://test.host/users/confirmation?confirmation_token=PfaeiKUN2KgT-2iomcec">Confirm my account</a></p>
1078
+
1079
+ Started POST "/users/sign_in" for 127.0.0.1 at 2020-10-21 21:46:00 -0400
1080
+ Processing by Devise::SessionsController#create as HTML
1081
+ Parameters: {"user"=>{"email"=>"bob@microsoft.com", "password"=>"[FILTERED]"}}
1082
+ [devise-security][session_limitable] unique_session_id=UNfju7tKwqyy6Tr_P4Hw
1083
+ Redirected to http://www.example.com/
1084
+ Completed 302 Found in 231ms (ActiveRecord: 0.5ms)
1085
+ Started GET "/" for 127.0.0.1 at 2020-10-21 21:46:00 -0400
1086
+ Processing by WidgetsController#show as HTML
1087
+ Rendering text template
1088
+ Rendered text template (0.0ms)
1089
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1090
+ Started GET "/" for 127.0.0.1 at 2020-10-21 21:46:00 -0400
1091
+ Processing by WidgetsController#show as HTML
1092
+ Rendering text template
1093
+ Rendered text template (0.0ms)
1094
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1095
+ ------------------------------------------------------------------------------------------
1096
+ TestWithSecurityQuestion: test_When_security_question_is_enabled,_it_is_inserted_correctly
1097
+ ------------------------------------------------------------------------------------------
1098
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb
1099
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb (0.3ms)
1100
+ Devise::Mailer#unlock_instructions: processed outbound mail in 1.1ms
1101
+ Sent mail to hello@microsoft.com (1.2ms)
1102
+ Date: Wed, 21 Oct 2020 21:46:00 -0400
1103
+ From: please-change-me-at-config-initializers-devise@example.com
1104
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
1105
+ To: hello@microsoft.com
1106
+ Message-ID: <5f90e458c732c_9cb03fd084c36e20667c0@Dillons-MBP.mail>
1107
+ Subject: Unlock instructions
1108
+ Mime-Version: 1.0
1109
+ Content-Type: text/html;
1110
+ charset=UTF-8
1111
+ Content-Transfer-Encoding: 7bit
1112
+
1113
+ <p>Hello hello@microsoft.com!</p>
1114
+
1115
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
1116
+
1117
+ <p>Click the link below to unlock your account:</p>
1118
+
1119
+ <p><a href="http://test.host/security_question_users/unlock?unlock_token=BsXmxMYGH61cfesbn9w_">Unlock my account</a></p>
1120
+
1121
+ Processing by SecurityQuestion::UnlocksController#create as HTML
1122
+ Parameters: {"security_question_answer"=>"wrong answer", "security_question_user"=>{"email"=>"hello@microsoft.com"}}
1123
+ Redirected to http://test.host/security_question_users/unlock/new
1124
+ Filter chain halted as :check_security_question rendered or redirected
1125
+ Completed 302 Found in 6ms (ActiveRecord: 0.1ms)
1126
+ ---------------------------------------------------------------------------------
1127
+ TestWithSecurityQuestion: test_When_security_question_is_valid,_it_runs_as_normal
1128
+ ---------------------------------------------------------------------------------
1129
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb
1130
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb (0.2ms)
1131
+ Devise::Mailer#unlock_instructions: processed outbound mail in 1.3ms
1132
+ Sent mail to hello@microsoft.com (1.6ms)
1133
+ Date: Wed, 21 Oct 2020 21:46:01 -0400
1134
+ From: please-change-me-at-config-initializers-devise@example.com
1135
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
1136
+ To: hello@microsoft.com
1137
+ Message-ID: <5f90e459816f_9cb03fd084c36e20668e2@Dillons-MBP.mail>
1138
+ Subject: Unlock instructions
1139
+ Mime-Version: 1.0
1140
+ Content-Type: text/html;
1141
+ charset=UTF-8
1142
+ Content-Transfer-Encoding: 7bit
1143
+
1144
+ <p>Hello hello@microsoft.com!</p>
1145
+
1146
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
1147
+
1148
+ <p>Click the link below to unlock your account:</p>
1149
+
1150
+ <p><a href="http://test.host/security_question_users/unlock?unlock_token=UXQzBYcXgyxTjaBUj16y">Unlock my account</a></p>
1151
+
1152
+ Processing by SecurityQuestion::UnlocksController#create as HTML
1153
+ Parameters: {"security_question_answer"=>"Right Answer", "security_question_user"=>{"email"=>"hello@microsoft.com"}}
1154
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb
1155
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/unlock_instructions.html.erb (0.2ms)
1156
+ Devise::Mailer#unlock_instructions: processed outbound mail in 1.3ms
1157
+ Sent mail to hello@microsoft.com (1.5ms)
1158
+ Date: Wed, 21 Oct 2020 21:46:01 -0400
1159
+ From: please-change-me-at-config-initializers-devise@example.com
1160
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
1161
+ To: hello@microsoft.com
1162
+ Message-ID: <5f90e4599ce8_9cb03fd084c36e2066960@Dillons-MBP.mail>
1163
+ Subject: Unlock instructions
1164
+ Mime-Version: 1.0
1165
+ Content-Type: text/html;
1166
+ charset=UTF-8
1167
+ Content-Transfer-Encoding: 7bit
1168
+
1169
+ <p>Hello hello@microsoft.com!</p>
1170
+
1171
+ <p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
1172
+
1173
+ <p>Click the link below to unlock your account:</p>
1174
+
1175
+ <p><a href="http://test.host/security_question_users/unlock?unlock_token=hHaLHX6yDxwTzgVd1oS_">Unlock my account</a></p>
1176
+
1177
+ Redirected to http://test.host/security_question_users/sign_in
1178
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
1179
+ ----------------------------------------------------------------
1180
+ TestInstallGenerator: test_Assert_all_files_are_properly_created
1181
+ ----------------------------------------------------------------
1182
+ ---------------------------------------------------------
1183
+ TestCompatibility: test_can_access_ActiveRecord_namespace
1184
+ ---------------------------------------------------------
1185
+ ----------------------------------------------------
1186
+ TestCompatibility: test_can_access_Mongoid_namespace
1187
+ ----------------------------------------------------
1188
+ --------------------------------------------------------------------------------
1189
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
1190
+ --------------------------------------------------------------------------------
1191
+ Processing by Devise::PasswordExpiredController#update as HTML
1192
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1193
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1194
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/shared/_error_messages.html.erb (0.8ms)
1195
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (7.1ms)
1196
+ Completed 200 OK in 1124ms (Views: 15.0ms | ActiveRecord: 0.7ms)
1197
+ --------------------------------------------------------------
1198
+ Devise::PasswordExpiredControllerTest: test_should_render_show
1199
+ --------------------------------------------------------------
1200
+ Processing by Devise::PasswordExpiredController#show as HTML
1201
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1202
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/shared/_error_messages.html.erb (0.0ms)
1203
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (1.1ms)
1204
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)
1205
+ -----------------------------------------------------------------------------
1206
+ Devise::PasswordExpiredControllerTest: test_update_password_using_JSON_format
1207
+ -----------------------------------------------------------------------------
1208
+ Processing by Devise::PasswordExpiredController#update as JSON
1209
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1210
+ Completed 204 No Content in 993ms (ActiveRecord: 0.8ms)
1211
+ ----------------------------------------------------------------------------
1212
+ Devise::PasswordExpiredControllerTest: test_update_password_using_XML_format
1213
+ ----------------------------------------------------------------------------
1214
+ Processing by Devise::PasswordExpiredController#update as XML
1215
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1216
+ Completed 204 No Content in 1099ms (ActiveRecord: 0.9ms)
1217
+ -------------------------------------------------------------------------------
1218
+ Devise::PasswordExpiredControllerTest: test_update_password_with_default_format
1219
+ -------------------------------------------------------------------------------
1220
+ Processing by Devise::PasswordExpiredController#update as HTML
1221
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1222
+ Redirected to http://test.host/
1223
+ Completed 302 Found in 1016ms (ActiveRecord: 0.9ms)
1224
+ ------------------------------------------------------------------------
1225
+ TestWithoutCaptcha: test_When_captcha_is_not_enabled,_it_is_not_inserted
1226
+ ------------------------------------------------------------------------
1227
+ Processing by Devise::SessionsController#create as HTML
1228
+ Parameters: {"user"=>{"email"=>"wrong@email.com", "password"=>"[FILTERED]"}}
1229
+ Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)
1230
+ Processing by Devise::SessionsController#new as HTML
1231
+ Parameters: {"user"=>{"email"=>"wrong@email.com", "password"=>"[FILTERED]"}}
1232
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/sessions/new.html.erb
1233
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/shared/_links.html.erb (0.7ms)
1234
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/sessions/new.html.erb (2.2ms)
1235
+ Completed 200 OK in 253ms (Views: 2.8ms | ActiveRecord: 0.0ms)
1236
+ ---------------------------------------------------------------------------------------------------------
1237
+ TestSessionLimitable: test_#update_unique_session_id!(value)_raises_an_exception_on_an_unpersisted_record
1238
+ ---------------------------------------------------------------------------------------------------------
1239
+ ----------------------------------------------------------------------------------------------
1240
+ TestSessionLimitable: test_#update_unique_session_id!(value)_updates_invalid_record_atomically
1241
+ ----------------------------------------------------------------------------------------------
1242
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
1243
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
1244
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.2ms
1245
+ Sent mail to bob@microsoft.com (1.7ms)
1246
+ Date: Wed, 21 Oct 2020 21:46:12 -0400
1247
+ From: please-change-me-at-config-initializers-devise@example.com
1248
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
1249
+ To: bob@microsoft.com
1250
+ Message-ID: <5f90e464947e8_9cb03fd084c36e206705e@Dillons-MBP.mail>
1251
+ Subject: Confirmation instructions
1252
+ Mime-Version: 1.0
1253
+ Content-Type: text/html;
1254
+ charset=UTF-8
1255
+ Content-Transfer-Encoding: 7bit
1256
+
1257
+ <p>Welcome bob@microsoft.com!</p>
1258
+
1259
+ <p>You can confirm your account email through the link below:</p>
1260
+
1261
+ <p><a href="http://test.host/users/confirmation?confirmation_token=jfzjk3Trtq2Sr45s3Wum">Confirm my account</a></p>
1262
+
1263
+ [devise-security][session_limitable] unique_session_id=unique_value
1264
+ ---------------------------------------------------------------------------------
1265
+ TestSessionLimitable: test_#update_unique_session_id!(value)_updates_valid_record
1266
+ ---------------------------------------------------------------------------------
1267
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb
1268
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/mailer/confirmation_instructions.html.erb (0.2ms)
1269
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
1270
+ Sent mail to bob@microsoft.com (1.6ms)
1271
+ Date: Wed, 21 Oct 2020 21:46:12 -0400
1272
+ From: please-change-me-at-config-initializers-devise@example.com
1273
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
1274
+ To: bob@microsoft.com
1275
+ Message-ID: <5f90e464d6f80_9cb03fd084c36e2067184@Dillons-MBP.mail>
1276
+ Subject: Confirmation instructions
1277
+ Mime-Version: 1.0
1278
+ Content-Type: text/html;
1279
+ charset=UTF-8
1280
+ Content-Transfer-Encoding: 7bit
1281
+
1282
+ <p>Welcome bob@microsoft.com!</p>
1283
+
1284
+ <p>You can confirm your account email through the link below:</p>
1285
+
1286
+ <p><a href="http://test.host/users/confirmation?confirmation_token=yUaTVnLqpBsbA5vxMHnT">Confirm my account</a></p>
1287
+
1288
+ [devise-security][session_limitable] unique_session_id=unique_value
1289
+ ----------------------------------------------------------
1290
+ TestSessionLimitable: test_check_is_not_skipped_by_default
1291
+ ----------------------------------------------------------
1292
+ -----------------------------------------------------------------------------
1293
+ TestSessionLimitable: test_default_check_can_be_overridden_by_record_instance
1294
+ -----------------------------------------------------------------------------
1295
+ -----------------------------------------------------------------
1296
+ TestSessionLimitable: test_includes_Devise::Models::Compatibility
1297
+ -----------------------------------------------------------------
1298
+ -----------------------------------------------------------------------
1299
+ TestWithCaptcha: test_When_captcha_is_enabled,_it_is_inserted_correctly
1300
+ -----------------------------------------------------------------------
1301
+ Processing by Captcha::SessionsController#create as HTML
1302
+ Parameters: {"captcha_user"=>{"email"=>"wrong@email.com", "password"=>"[FILTERED]"}}
1303
+ Redirected to http://test.host/captcha_users/sign_in
1304
+ Filter chain halted as :check_captcha rendered or redirected
1305
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
1306
+ --------------------------------------------------------------
1307
+ TestWithCaptcha: test_When_captcha_is_valid,_it_runs_as_normal
1308
+ --------------------------------------------------------------
1309
+ Processing by Captcha::SessionsController#create as HTML
1310
+ Parameters: {"captcha"=>"ABCDE", "captcha_user"=>{"email"=>"wrong@email.com", "password"=>"[FILTERED]"}}
1311
+ Completed 401 Unauthorized in 2ms (ActiveRecord: 0.1ms)
1312
+ Processing by Captcha::SessionsController#new as HTML
1313
+ Parameters: {"captcha"=>"ABCDE", "captcha_user"=>{"email"=>"wrong@email.com", "password"=>"[FILTERED]"}}
1314
+ Rendering /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/sessions/new.html.erb
1315
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/shared/_links.html.erb (0.1ms)
1316
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.2/app/views/devise/sessions/new.html.erb (1.6ms)
1317
+ Completed 200 OK in 276ms (Views: 10.5ms | ActiveRecord: 0.0ms)
1318
+ ---------------------------------------------------------
1319
+ TestCompatibility: test_can_access_ActiveRecord_namespace
1320
+ ---------------------------------------------------------
1321
+ ----------------------------------------------------
1322
+ TestCompatibility: test_can_access_Mongoid_namespace
1323
+ ----------------------------------------------------
1324
+ ---------------------------
1325
+ TestCompatibility: test_idk
1326
+ ---------------------------
1327
+ ---------------------------------------------------------
1328
+ TestCompatibility: test_can_access_ActiveRecord_namespace
1329
+ ---------------------------------------------------------
1330
+ ----------------------------------------------------
1331
+ TestCompatibility: test_can_access_Mongoid_namespace
1332
+ ----------------------------------------------------
1333
+ --------------------------------------------------------------------------------
1334
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
1335
+ --------------------------------------------------------------------------------
1336
+ Processing by Devise::PasswordExpiredController#update as HTML
1337
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1338
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1339
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.6ms)
1340
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (10.5ms)
1341
+ Completed 200 OK in 6394ms (Views: 24.2ms | ActiveRecord: 0.8ms)
1342
+ --------------------------------------------------------------
1343
+ Devise::PasswordExpiredControllerTest: test_should_render_show
1344
+ --------------------------------------------------------------
1345
+ Processing by Devise::PasswordExpiredController#show as HTML
1346
+ Completed 500 Internal Server Error in 1402ms (ActiveRecord: 0.3ms)
1347
+ --------------------------------------------------------------------------------
1348
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
1349
+ --------------------------------------------------------------------------------
1350
+ Processing by Devise::PasswordExpiredController#update as HTML
1351
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1352
+ Redirected to http://test.host/
1353
+ Filter chain halted as :skip_password_change rendered or redirected
1354
+ Completed 302 Found in 6069ms (ActiveRecord: 0.0ms)
1355
+ --------------------------------------------------------------
1356
+ Devise::PasswordExpiredControllerTest: test_should_render_show
1357
+ --------------------------------------------------------------
1358
+ Processing by Devise::PasswordExpiredController#show as HTML
1359
+ Redirected to http://test.host/
1360
+ Filter chain halted as :skip_password_change rendered or redirected
1361
+ Completed 302 Found in 802ms (ActiveRecord: 0.0ms)
1362
+ ----------------------------------------------------------------
1363
+ Devise::PasswordExpiredControllerTest: test_skip_password_change
1364
+ ----------------------------------------------------------------
1365
+ Processing by Devise::PasswordExpiredController#show as HTML
1366
+ Redirected to http://test.host/
1367
+ Filter chain halted as :skip_password_change rendered or redirected
1368
+ Completed 302 Found in 494ms (ActiveRecord: 0.0ms)
1369
+ -----------------------------------------------------------------------------
1370
+ Devise::PasswordExpiredControllerTest: test_update_password_using_JSON_format
1371
+ -----------------------------------------------------------------------------
1372
+ Processing by Devise::PasswordExpiredController#update as JSON
1373
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1374
+ Redirected to http://test.host/
1375
+ Filter chain halted as :skip_password_change rendered or redirected
1376
+ Completed 302 Found in 539ms (ActiveRecord: 0.0ms)
1377
+ ----------------------------------------------------------------------------
1378
+ Devise::PasswordExpiredControllerTest: test_update_password_using_XML_format
1379
+ ----------------------------------------------------------------------------
1380
+ Processing by Devise::PasswordExpiredController#update as XML
1381
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1382
+ Redirected to http://test.host/
1383
+ Filter chain halted as :skip_password_change rendered or redirected
1384
+ Completed 302 Found in 569ms (ActiveRecord: 0.0ms)
1385
+ -------------------------------------------------------------------------------
1386
+ Devise::PasswordExpiredControllerTest: test_update_password_with_default_format
1387
+ -------------------------------------------------------------------------------
1388
+ Processing by Devise::PasswordExpiredController#update as HTML
1389
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1390
+ Redirected to http://test.host/
1391
+ Filter chain halted as :skip_password_change rendered or redirected
1392
+ Completed 302 Found in 795ms (ActiveRecord: 0.0ms)
1393
+ --------------------------------------------------------------------------------
1394
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
1395
+ --------------------------------------------------------------------------------
1396
+ Processing by Devise::PasswordExpiredController#update as HTML
1397
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1398
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1399
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (1.0ms)
1400
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (12.7ms)
1401
+ Completed 200 OK in 956ms (Views: 28.9ms | ActiveRecord: 0.5ms)
1402
+ ---------------------------------------------------------------------------
1403
+ Devise::PasswordExpiredControllerTest: test_redirects_if_user_not_logged_in
1404
+ ---------------------------------------------------------------------------
1405
+ Processing by Devise::PasswordExpiredController#show as HTML
1406
+ Redirected to http://test.host/
1407
+ Filter chain halted as :skip_password_change rendered or redirected
1408
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
1409
+ --------------------------------------------------------------
1410
+ Devise::PasswordExpiredControllerTest: test_should_render_show
1411
+ --------------------------------------------------------------
1412
+ Processing by Devise::PasswordExpiredController#show as HTML
1413
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1414
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.0ms)
1415
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (1.1ms)
1416
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)
1417
+ -----------------------------------------------------------------------------
1418
+ Devise::PasswordExpiredControllerTest: test_update_password_using_JSON_format
1419
+ -----------------------------------------------------------------------------
1420
+ Processing by Devise::PasswordExpiredController#update as JSON
1421
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1422
+ Completed 204 No Content in 812ms (ActiveRecord: 0.8ms)
1423
+ ----------------------------------------------------------------------------
1424
+ Devise::PasswordExpiredControllerTest: test_update_password_using_XML_format
1425
+ ----------------------------------------------------------------------------
1426
+ Processing by Devise::PasswordExpiredController#update as XML
1427
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1428
+ Completed 204 No Content in 821ms (ActiveRecord: 0.7ms)
1429
+ -------------------------------------------------------------------------------
1430
+ Devise::PasswordExpiredControllerTest: test_update_password_with_default_format
1431
+ -------------------------------------------------------------------------------
1432
+ Processing by Devise::PasswordExpiredController#update as HTML
1433
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1434
+ Redirected to http://test.host/
1435
+ Completed 302 Found in 802ms (ActiveRecord: 0.6ms)
1436
+ --------------------------------------------------------------------------------
1437
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
1438
+ --------------------------------------------------------------------------------
1439
+ Processing by Devise::PasswordExpiredController#update as HTML
1440
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1441
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1442
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.8ms)
1443
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (10.7ms)
1444
+ Completed 200 OK in 873ms (Views: 24.6ms | ActiveRecord: 0.6ms)
1445
+ ---------------------------------------------------------------------------
1446
+ Devise::PasswordExpiredControllerTest: test_redirects_if_user_not_logged_in
1447
+ ---------------------------------------------------------------------------
1448
+ Processing by Devise::PasswordExpiredController#show as HTML
1449
+ Redirected to http://test.host/
1450
+ Filter chain halted as :skip_password_change rendered or redirected
1451
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1452
+ --------------------------------------------------------------
1453
+ Devise::PasswordExpiredControllerTest: test_should_render_show
1454
+ --------------------------------------------------------------
1455
+ Processing by Devise::PasswordExpiredController#show as HTML
1456
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1457
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.1ms)
1458
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (1.4ms)
1459
+ Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)
1460
+ -----------------------------------------------------------------------------
1461
+ Devise::PasswordExpiredControllerTest: test_update_password_using_JSON_format
1462
+ -----------------------------------------------------------------------------
1463
+ Processing by Devise::PasswordExpiredController#update as JSON
1464
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1465
+ Completed 204 No Content in 836ms (ActiveRecord: 0.8ms)
1466
+ ----------------------------------------------------------------------------
1467
+ Devise::PasswordExpiredControllerTest: test_update_password_using_XML_format
1468
+ ----------------------------------------------------------------------------
1469
+ Processing by Devise::PasswordExpiredController#update as XML
1470
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1471
+ Completed 204 No Content in 808ms (ActiveRecord: 0.6ms)
1472
+ -------------------------------------------------------------------------------
1473
+ Devise::PasswordExpiredControllerTest: test_update_password_with_default_format
1474
+ -------------------------------------------------------------------------------
1475
+ Processing by Devise::PasswordExpiredController#update as HTML
1476
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1477
+ Redirected to http://test.host/
1478
+ Completed 302 Found in 829ms (ActiveRecord: 0.8ms)
1479
+ --------------------------------------------------------------------------------
1480
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
1481
+ --------------------------------------------------------------------------------
1482
+ Processing by Devise::PasswordExpiredController#update as HTML
1483
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1484
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1485
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.8ms)
1486
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (11.6ms)
1487
+ Completed 200 OK in 1000ms (Views: 28.1ms | ActiveRecord: 0.8ms)
1488
+ ---------------------------------------------------------------------------
1489
+ Devise::PasswordExpiredControllerTest: test_redirects_if_user_not_logged_in
1490
+ ---------------------------------------------------------------------------
1491
+ Processing by Devise::PasswordExpiredController#show as HTML
1492
+ Redirected to http://test.host/
1493
+ Filter chain halted as :skip_password_change rendered or redirected
1494
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1495
+ --------------------------------------------------------------
1496
+ Devise::PasswordExpiredControllerTest: test_should_render_show
1497
+ --------------------------------------------------------------
1498
+ Processing by Devise::PasswordExpiredController#show as HTML
1499
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1500
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.2ms)
1501
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (1.7ms)
1502
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.3ms)
1503
+ -----------------------------------------------------------------------------
1504
+ Devise::PasswordExpiredControllerTest: test_update_password_using_JSON_format
1505
+ -----------------------------------------------------------------------------
1506
+ Processing by Devise::PasswordExpiredController#update as JSON
1507
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1508
+ Completed 204 No Content in 899ms (ActiveRecord: 0.9ms)
1509
+ ----------------------------------------------------------------------------
1510
+ Devise::PasswordExpiredControllerTest: test_update_password_using_XML_format
1511
+ ----------------------------------------------------------------------------
1512
+ Processing by Devise::PasswordExpiredController#update as XML
1513
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1514
+ Completed 204 No Content in 889ms (ActiveRecord: 0.7ms)
1515
+ -------------------------------------------------------------------------------
1516
+ Devise::PasswordExpiredControllerTest: test_update_password_with_default_format
1517
+ -------------------------------------------------------------------------------
1518
+ Processing by Devise::PasswordExpiredController#update as HTML
1519
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1520
+ Redirected to http://test.host/
1521
+ Completed 302 Found in 794ms (ActiveRecord: 0.8ms)
1522
+ --------------------------------------------------------------------------------
1523
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
1524
+ --------------------------------------------------------------------------------
1525
+ Processing by Devise::PasswordExpiredController#update as HTML
1526
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1527
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1528
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.7ms)
1529
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (9.4ms)
1530
+ Completed 200 OK in 872ms (Views: 23.5ms | ActiveRecord: 0.6ms)
1531
+ ---------------------------------------------------------------------------
1532
+ Devise::PasswordExpiredControllerTest: test_redirects_if_user_not_logged_in
1533
+ ---------------------------------------------------------------------------
1534
+ Processing by Devise::PasswordExpiredController#show as HTML
1535
+ Redirected to http://test.host/
1536
+ Filter chain halted as :skip_password_change rendered or redirected
1537
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
1538
+ --------------------------------------------------------------
1539
+ Devise::PasswordExpiredControllerTest: test_should_render_show
1540
+ --------------------------------------------------------------
1541
+ Processing by Devise::PasswordExpiredController#show as HTML
1542
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1543
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.0ms)
1544
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (1.1ms)
1545
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)
1546
+ -----------------------------------------------------------------------------
1547
+ Devise::PasswordExpiredControllerTest: test_update_password_using_JSON_format
1548
+ -----------------------------------------------------------------------------
1549
+ Processing by Devise::PasswordExpiredController#update as JSON
1550
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1551
+ Completed 204 No Content in 820ms (ActiveRecord: 0.8ms)
1552
+ ----------------------------------------------------------------------------
1553
+ Devise::PasswordExpiredControllerTest: test_update_password_using_XML_format
1554
+ ----------------------------------------------------------------------------
1555
+ Processing by Devise::PasswordExpiredController#update as XML
1556
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1557
+ Completed 204 No Content in 816ms (ActiveRecord: 0.7ms)
1558
+ -------------------------------------------------------------------------------
1559
+ Devise::PasswordExpiredControllerTest: test_update_password_with_default_format
1560
+ -------------------------------------------------------------------------------
1561
+ Processing by Devise::PasswordExpiredController#update as HTML
1562
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1563
+ Redirected to http://test.host/
1564
+ Completed 302 Found in 820ms (ActiveRecord: 0.7ms)
1565
+ --------------------------------------------------------------------------------
1566
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
1567
+ --------------------------------------------------------------------------------
1568
+ Processing by Devise::PasswordExpiredController#update as HTML
1569
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1570
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1571
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.8ms)
1572
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (10.9ms)
1573
+ Completed 200 OK in 917ms (Views: 24.9ms | ActiveRecord: 0.8ms)
1574
+ -----------------------------------------------------------------------------------
1575
+ Devise::PasswordExpiredControllerTest: test_redirects_on_show_if_user_not_logged_in
1576
+ -----------------------------------------------------------------------------------
1577
+ Processing by Devise::PasswordExpiredController#show as HTML
1578
+ Redirected to http://test.host/
1579
+ Filter chain halted as :skip_password_change rendered or redirected
1580
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1581
+ -------------------------------------------------------------------------------------
1582
+ Devise::PasswordExpiredControllerTest: test_redirects_on_update_if_user_not_logged_in
1583
+ -------------------------------------------------------------------------------------
1584
+ Processing by Devise::PasswordExpiredController#update as HTML
1585
+ Redirected to http://test.host/
1586
+ Filter chain halted as :skip_password_change rendered or redirected
1587
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1588
+ --------------------------------------------------------------
1589
+ Devise::PasswordExpiredControllerTest: test_should_render_show
1590
+ --------------------------------------------------------------
1591
+ Processing by Devise::PasswordExpiredController#show as HTML
1592
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1593
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.1ms)
1594
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (1.1ms)
1595
+ Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)
1596
+ -----------------------------------------------------------------------------
1597
+ Devise::PasswordExpiredControllerTest: test_update_password_using_JSON_format
1598
+ -----------------------------------------------------------------------------
1599
+ Processing by Devise::PasswordExpiredController#update as JSON
1600
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1601
+ Completed 204 No Content in 914ms (ActiveRecord: 0.8ms)
1602
+ ----------------------------------------------------------------------------
1603
+ Devise::PasswordExpiredControllerTest: test_update_password_using_XML_format
1604
+ ----------------------------------------------------------------------------
1605
+ Processing by Devise::PasswordExpiredController#update as XML
1606
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1607
+ Completed 204 No Content in 861ms (ActiveRecord: 1.9ms)
1608
+ -------------------------------------------------------------------------------
1609
+ Devise::PasswordExpiredControllerTest: test_update_password_with_default_format
1610
+ -------------------------------------------------------------------------------
1611
+ Processing by Devise::PasswordExpiredController#update as HTML
1612
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1613
+ Redirected to http://test.host/
1614
+ Completed 302 Found in 889ms (ActiveRecord: 0.8ms)
1615
+ --------------------------------------------------------------------------------
1616
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
1617
+ --------------------------------------------------------------------------------
1618
+ Processing by Devise::PasswordExpiredController#update as HTML
1619
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1620
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1621
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (1.2ms)
1622
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (13.2ms)
1623
+ Completed 200 OK in 919ms (Views: 30.0ms | ActiveRecord: 0.5ms)
1624
+ ---------------------------------------------------------------------------------------------------
1625
+ Devise::PasswordExpiredControllerTest: test_redirects_on_show_if_user_does_not_need_password_change
1626
+ ---------------------------------------------------------------------------------------------------
1627
+ Processing by Devise::PasswordExpiredController#show as HTML
1628
+ Redirected to http://test.host/
1629
+ Filter chain halted as :skip_password_change rendered or redirected
1630
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
1631
+ -----------------------------------------------------------------------------------
1632
+ Devise::PasswordExpiredControllerTest: test_redirects_on_show_if_user_not_logged_in
1633
+ -----------------------------------------------------------------------------------
1634
+ Processing by Devise::PasswordExpiredController#show as HTML
1635
+ Redirected to http://test.host/
1636
+ Filter chain halted as :skip_password_change rendered or redirected
1637
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1638
+ -------------------------------------------------------------------------------------
1639
+ Devise::PasswordExpiredControllerTest: test_redirects_on_update_if_user_not_logged_in
1640
+ -------------------------------------------------------------------------------------
1641
+ Processing by Devise::PasswordExpiredController#update as HTML
1642
+ Redirected to http://test.host/
1643
+ Filter chain halted as :skip_password_change rendered or redirected
1644
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1645
+ --------------------------------------------------------------
1646
+ Devise::PasswordExpiredControllerTest: test_should_render_show
1647
+ --------------------------------------------------------------
1648
+ Processing by Devise::PasswordExpiredController#show as HTML
1649
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1650
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.0ms)
1651
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (1.1ms)
1652
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)
1653
+ -----------------------------------------------------------------------------
1654
+ Devise::PasswordExpiredControllerTest: test_update_password_using_JSON_format
1655
+ -----------------------------------------------------------------------------
1656
+ Processing by Devise::PasswordExpiredController#update as JSON
1657
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1658
+ Completed 204 No Content in 869ms (ActiveRecord: 0.8ms)
1659
+ ----------------------------------------------------------------------------
1660
+ Devise::PasswordExpiredControllerTest: test_update_password_using_XML_format
1661
+ ----------------------------------------------------------------------------
1662
+ Processing by Devise::PasswordExpiredController#update as XML
1663
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1664
+ Completed 204 No Content in 864ms (ActiveRecord: 1.1ms)
1665
+ -------------------------------------------------------------------------------
1666
+ Devise::PasswordExpiredControllerTest: test_update_password_with_default_format
1667
+ -------------------------------------------------------------------------------
1668
+ Processing by Devise::PasswordExpiredController#update as HTML
1669
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1670
+ Redirected to http://test.host/
1671
+ Completed 302 Found in 857ms (ActiveRecord: 0.7ms)
1672
+ --------------------------------------------------------------------------------
1673
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
1674
+ --------------------------------------------------------------------------------
1675
+ Processing by Devise::PasswordExpiredController#update as HTML
1676
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1677
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1678
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.7ms)
1679
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (10.4ms)
1680
+ Completed 200 OK in 918ms (Views: 24.6ms | ActiveRecord: 0.7ms)
1681
+ ---------------------------------------------------------------------------------------------------
1682
+ Devise::PasswordExpiredControllerTest: test_redirects_on_show_if_user_does_not_need_password_change
1683
+ ---------------------------------------------------------------------------------------------------
1684
+ Processing by Devise::PasswordExpiredController#show as HTML
1685
+ Redirected to http://test.host/
1686
+ Filter chain halted as :skip_password_change rendered or redirected
1687
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1688
+ -----------------------------------------------------------------------------------
1689
+ Devise::PasswordExpiredControllerTest: test_redirects_on_show_if_user_not_logged_in
1690
+ -----------------------------------------------------------------------------------
1691
+ Processing by Devise::PasswordExpiredController#show as HTML
1692
+ Redirected to http://test.host/
1693
+ Filter chain halted as :skip_password_change rendered or redirected
1694
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
1695
+ -----------------------------------------------------------------------------------------------------
1696
+ Devise::PasswordExpiredControllerTest: test_redirects_on_update_if_user_does_not_need_password_change
1697
+ -----------------------------------------------------------------------------------------------------
1698
+ Processing by Devise::PasswordExpiredController#update as HTML
1699
+ Redirected to http://test.host/
1700
+ Filter chain halted as :skip_password_change rendered or redirected
1701
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1702
+ -------------------------------------------------------------------------------------
1703
+ Devise::PasswordExpiredControllerTest: test_redirects_on_update_if_user_not_logged_in
1704
+ -------------------------------------------------------------------------------------
1705
+ Processing by Devise::PasswordExpiredController#update as HTML
1706
+ Redirected to http://test.host/
1707
+ Filter chain halted as :skip_password_change rendered or redirected
1708
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1709
+ --------------------------------------------------------------
1710
+ Devise::PasswordExpiredControllerTest: test_should_render_show
1711
+ --------------------------------------------------------------
1712
+ Processing by Devise::PasswordExpiredController#show as HTML
1713
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1714
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.1ms)
1715
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (1.2ms)
1716
+ Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)
1717
+ -----------------------------------------------------------------------------
1718
+ Devise::PasswordExpiredControllerTest: test_update_password_using_JSON_format
1719
+ -----------------------------------------------------------------------------
1720
+ Processing by Devise::PasswordExpiredController#update as JSON
1721
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1722
+ Completed 204 No Content in 829ms (ActiveRecord: 0.8ms)
1723
+ ----------------------------------------------------------------------------
1724
+ Devise::PasswordExpiredControllerTest: test_update_password_using_XML_format
1725
+ ----------------------------------------------------------------------------
1726
+ Processing by Devise::PasswordExpiredController#update as XML
1727
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1728
+ Completed 204 No Content in 837ms (ActiveRecord: 1.0ms)
1729
+ -------------------------------------------------------------------------------
1730
+ Devise::PasswordExpiredControllerTest: test_update_password_with_default_format
1731
+ -------------------------------------------------------------------------------
1732
+ Processing by Devise::PasswordExpiredController#update as HTML
1733
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1734
+ Redirected to http://test.host/
1735
+ Completed 302 Found in 797ms (ActiveRecord: 0.7ms)
1736
+ --------------------------------------------------------------------------------
1737
+ Devise::PasswordExpiredControllerTest: test_password_confirmation_does_not_match
1738
+ --------------------------------------------------------------------------------
1739
+ Processing by Devise::PasswordExpiredController#update as HTML
1740
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1741
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1742
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.8ms)
1743
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (12.2ms)
1744
+ Completed 200 OK in 953ms (Views: 26.3ms | ActiveRecord: 0.6ms)
1745
+ ---------------------------------------------------------------------------------------------------
1746
+ Devise::PasswordExpiredControllerTest: test_redirects_on_show_if_user_does_not_need_password_change
1747
+ ---------------------------------------------------------------------------------------------------
1748
+ Processing by Devise::PasswordExpiredController#show as HTML
1749
+ Redirected to http://test.host/
1750
+ Filter chain halted as :skip_password_change rendered or redirected
1751
+ Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
1752
+ -----------------------------------------------------------------------------------
1753
+ Devise::PasswordExpiredControllerTest: test_redirects_on_show_if_user_not_logged_in
1754
+ -----------------------------------------------------------------------------------
1755
+ Processing by Devise::PasswordExpiredController#show as HTML
1756
+ Redirected to http://test.host/
1757
+ Filter chain halted as :skip_password_change rendered or redirected
1758
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1759
+ -----------------------------------------------------------------------------------------------------
1760
+ Devise::PasswordExpiredControllerTest: test_redirects_on_update_if_user_does_not_need_password_change
1761
+ -----------------------------------------------------------------------------------------------------
1762
+ Processing by Devise::PasswordExpiredController#update as HTML
1763
+ Redirected to http://test.host/
1764
+ Filter chain halted as :skip_password_change rendered or redirected
1765
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1766
+ -------------------------------------------------------------------------------------
1767
+ Devise::PasswordExpiredControllerTest: test_redirects_on_update_if_user_not_logged_in
1768
+ -------------------------------------------------------------------------------------
1769
+ Processing by Devise::PasswordExpiredController#update as HTML
1770
+ Redirected to http://test.host/
1771
+ Filter chain halted as :skip_password_change rendered or redirected
1772
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1773
+ --------------------------------------------------------------
1774
+ Devise::PasswordExpiredControllerTest: test_should_render_show
1775
+ --------------------------------------------------------------
1776
+ Processing by Devise::PasswordExpiredController#show as HTML
1777
+ Rendering /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb
1778
+ Rendered /Users/dillonwelch/Code/devise-security/vendor/bundle/gems/devise-4.7.3/app/views/devise/shared/_error_messages.html.erb (0.1ms)
1779
+ Rendered /Users/dillonwelch/Code/devise-security/app/views/devise/password_expired/show.html.erb (1.2ms)
1780
+ Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)
1781
+ -----------------------------------------------------------------------------
1782
+ Devise::PasswordExpiredControllerTest: test_update_password_using_JSON_format
1783
+ -----------------------------------------------------------------------------
1784
+ Processing by Devise::PasswordExpiredController#update as JSON
1785
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1786
+ Completed 204 No Content in 858ms (ActiveRecord: 1.0ms)
1787
+ ----------------------------------------------------------------------------
1788
+ Devise::PasswordExpiredControllerTest: test_update_password_using_XML_format
1789
+ ----------------------------------------------------------------------------
1790
+ Processing by Devise::PasswordExpiredController#update as XML
1791
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1792
+ Completed 204 No Content in 833ms (ActiveRecord: 0.7ms)
1793
+ -------------------------------------------------------------------------------
1794
+ Devise::PasswordExpiredControllerTest: test_update_password_with_default_format
1795
+ -------------------------------------------------------------------------------
1796
+ Processing by Devise::PasswordExpiredController#update as HTML
1797
+ Parameters: {"user"=>{"current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1798
+ Redirected to http://test.host/
1799
+ Completed 302 Found in 814ms (ActiveRecord: 1.5ms)