devise_token_auth 0.1.28.beta8 → 0.1.28.beta9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -337996,3 +337996,685 @@ client-config: altUser
337996
337996
  <p><a href="http://localhost/mangs/confirmation?config=altUser&amp;confirmation_token=CBwMoHHjzpxzi3YXSYwU">Confirm my account</a></p>
337997
337997
 
337998
337998
   (0.2ms) rollback transaction
337999
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
338000
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
338001
+  (0.1ms) begin transaction
338002
+ Fixture Delete (0.3ms) DELETE FROM "mangs"
338003
+ Fixture Insert (0.1ms) INSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('mariah@weinattremblay.info', 'mariah@weinattremblay.info', 'email', '2014-09-08 14:44:54', '2014-09-08 14:44:54', '2014-09-08 14:44:54', 'http://ernser.com/cyril_beatty', '$2a$04$aJV8l9WmESePt7TjOIzIY.GXy./UJkKPdVqtq4xRnbaQ4I68NgMJ6', 511348230)
338004
+ Fixture Insert (0.1ms) INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('8221792034', 'nicklaus@rath.org', 'facebook', '2014-09-08 14:44:54', '2014-09-08 14:44:54', '2014-09-08 14:44:54', '$2a$04$U5CmErqCaV5RlzlKidbQAuvf/ls9Ffy5Gfrq4UGSoCbd0GLcNAGpW', 396948535)
338005
+ Fixture Insert (0.1ms) INSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('breanne_cain@nader.biz', 'breanne_cain@nader.biz', 'email', 'http://wunschkuvalis.info/alize', '2014-09-08 14:44:54', '2014-09-08 14:44:54', '$2a$04$GNTQ/5fJ4HSHGcSzRnQH1uhLlInH1GdTgEng.UiJYkSQSNf8Z.uxK', 701484147)
338006
+ Fixture Delete (0.1ms) DELETE FROM "users"
338007
+ Fixture Insert (0.1ms) INSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('jacquelyn@sanford.name', 'jacquelyn@sanford.name', 'email', '2014-09-08 14:44:55', '2014-09-08 14:44:55', '2014-09-08 14:44:55', 'http://zulauf.biz/godfrey.lynch', '$2a$04$TgS4LKuXGz/vfdpnTVOmDu7CKtPcPg9b1LOAmKb/V6QnuFNL12Hru', 511348230)
338008
+ Fixture Insert (0.1ms) INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2137812737', 'jamison@heathcote.biz', 'facebook', '2014-09-08 14:44:55', '2014-09-08 14:44:55', '2014-09-08 14:44:55', '$2a$04$.l3/JOreR4qKinl6wWQ1mOdF/jp31bIVCpTaJv9X16qvFnn9l0JKq', 396948535)
338009
+ Fixture Insert (0.1ms) INSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('olen.rath@nitzsche.name', 'olen.rath@nitzsche.name', 'email', 'http://witting.name/hettie.maggio', '2014-09-08 14:44:55', '2014-09-08 14:44:55', '$2a$04$nkkozY1y0hi7MR4wiYFrueQ2n884POLd1qACLMLn9htb39SG9i.tm', 701484147)
338010
+  (1.9ms) commit transaction
338011
+  (0.1ms) begin transaction
338012
+ ----------------------------------------------------------------------------------------------------------------------------
338013
+ DeviseTokenAuth::PasswordsController::alternate user type: test_config_name_param_is_included_in_the_confirmation_email_link
338014
+ ----------------------------------------------------------------------------------------------------------------------------
338015
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338016
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338017
+ Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev", "config_name"=>"altUser"}
338018
+ Unpermitted parameters: redirect_url, config_name
338019
+ Unpermitted parameters: redirect_url, config_name
338020
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
338021
+ Unpermitted parameters: redirect_url, config_name
338022
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'a9f83ba36ad0bc461bb825d40bbfc35b65d51b0018713bacaad7ae89a2993468' ORDER BY "users"."id" ASC LIMIT 1
338023
+  (0.0ms) SAVEPOINT active_record_1
338024
+ Binary data inserted for `string` type on column `reset_password_token`
338025
+ SQL (0.2ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.425598"], ["reset_password_token", "a9f83ba36ad0bc461bb825d40bbfc35b65d51b0018713bacaad7ae89a2993468"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.425983"]]
338026
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338027
+ Rendered /Users/lynn/Code/Auth/devise_token_auth/app/views/devise/mailer/reset_password_instructions.html.erb (2.2ms)
338028
+
338029
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 12.7ms
338030
+
338031
+ Sent mail to jacquelyn@sanford.name (9.2ms)
338032
+ Date: Mon, 22 Sep 2014 14:44:55 -0500
338033
+ From: please-change-me-at-config-initializers-devise@example.com
338034
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338035
+ To: jacquelyn@sanford.name
338036
+ Message-ID: <54207c376df53_1217f3fd481065be0778a8@tests-MacBook-Pro-2.local.mail>
338037
+ Subject: Reset password instructions
338038
+ Mime-Version: 1.0
338039
+ Content-Type: text/html;
338040
+ charset=UTF-8
338041
+ Content-Transfer-Encoding: 7bit
338042
+ email: jacquelyn@sanford.name
338043
+ provider: email
338044
+ redirect-url: http://ng-token-auth.dev
338045
+ client-config: altUser
338046
+
338047
+ <p>Hello jacquelyn@sanford.name!</p>
338048
+
338049
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338050
+
338051
+ <p><a href="http://localhost/auth/password/edit?config=altUser&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=2tYMBBkxM2-YyxH6bKk_">Change my password</a></p>
338052
+
338053
+ <p>If you didn't request this, please ignore this email.</p>
338054
+ <p>Your password won't change until you access the link above and create a new one.</p>
338055
+
338056
+ Completed 200 OK in 214ms (Views: 0.2ms | ActiveRecord: 0.6ms)
338057
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338058
+  (1.3ms) rollback transaction
338059
+  (0.0ms) begin transaction
338060
+ ------------------------------------------------------------------------------------------------------
338061
+ DeviseTokenAuth::PasswordsController::Alternate user class: test_response_should_return_success_status
338062
+ ------------------------------------------------------------------------------------------------------
338063
+ Mang Load (0.1ms) SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]]
338064
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338065
+ Parameters: {"email"=>"mariah@weinattremblay.info", "redirect_url"=>"http://ng-token-auth.dev"}
338066
+ Unpermitted parameters: redirect_url
338067
+ Unpermitted parameters: redirect_url
338068
+ Mang Load (0.1ms) SELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'mariah@weinattremblay.info' AND "mangs"."provider" = 'email' ORDER BY "mangs"."id" ASC LIMIT 1
338069
+ Unpermitted parameters: redirect_url
338070
+ Mang Load (0.1ms) SELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = 'a63b8e46558f0d280d0645bb0526e22eaa9694e2d3fb8bd1d95001533ee02a0e' ORDER BY "mangs"."id" ASC LIMIT 1
338071
+  (0.0ms) SAVEPOINT active_record_1
338072
+ Binary data inserted for `string` type on column `reset_password_token`
338073
+ SQL (0.2ms) UPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.462915"], ["reset_password_token", "a63b8e46558f0d280d0645bb0526e22eaa9694e2d3fb8bd1d95001533ee02a0e"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.463165"]]
338074
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338075
+
338076
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 1.5ms
338077
+
338078
+ Sent mail to mariah@weinattremblay.info (2.3ms)
338079
+ Date: Mon, 22 Sep 2014 14:44:55 -0500
338080
+ From: please-change-me-at-config-initializers-devise@example.com
338081
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338082
+ To: mariah@weinattremblay.info
338083
+ Message-ID: <54207c3772030_1217f3fd481065be0779c3@tests-MacBook-Pro-2.local.mail>
338084
+ Subject: Reset password instructions
338085
+ Mime-Version: 1.0
338086
+ Content-Type: text/html;
338087
+ charset=UTF-8
338088
+ Content-Transfer-Encoding: 7bit
338089
+ email: mariah@weinattremblay.info
338090
+ provider: email
338091
+ redirect-url: http://ng-token-auth.dev
338092
+ client-config: default
338093
+
338094
+ <p>Hello mariah@weinattremblay.info!</p>
338095
+
338096
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338097
+
338098
+ <p><a href="http://localhost/mangs/password/edit?config=default&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=QCAR5yMfaqTE5pUndVEP">Change my password</a></p>
338099
+
338100
+ <p>If you didn't request this, please ignore this email.</p>
338101
+ <p>Your password won't change until you access the link above and create a new one.</p>
338102
+
338103
+ Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.4ms)
338104
+ Mang Load (0.0ms) SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]]
338105
+  (0.3ms) rollback transaction
338106
+  (0.0ms) begin transaction
338107
+ ---------------------------------------------------------------------------------------------------------------------------------------
338108
+ DeviseTokenAuth::PasswordsController::Alternate user class: test_the_email_body_should_contain_a_link_with_reset_token_as_a_query_param
338109
+ ---------------------------------------------------------------------------------------------------------------------------------------
338110
+ Mang Load (0.1ms) SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]]
338111
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338112
+ Parameters: {"email"=>"mariah@weinattremblay.info", "redirect_url"=>"http://ng-token-auth.dev"}
338113
+ Unpermitted parameters: redirect_url
338114
+ Unpermitted parameters: redirect_url
338115
+ Mang Load (0.1ms) SELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'mariah@weinattremblay.info' AND "mangs"."provider" = 'email' ORDER BY "mangs"."id" ASC LIMIT 1
338116
+ Unpermitted parameters: redirect_url
338117
+ Mang Load (0.1ms) SELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = '395c4de49c93c3a7a253695c390d28f0f171b3bcf940c2f351001aec11567c5a' ORDER BY "mangs"."id" ASC LIMIT 1
338118
+  (0.0ms) SAVEPOINT active_record_1
338119
+ Binary data inserted for `string` type on column `reset_password_token`
338120
+ SQL (0.2ms) UPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.472962"], ["reset_password_token", "395c4de49c93c3a7a253695c390d28f0f171b3bcf940c2f351001aec11567c5a"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.473149"]]
338121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338122
+
338123
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 1.3ms
338124
+
338125
+ Sent mail to mariah@weinattremblay.info (2.1ms)
338126
+ Date: Mon, 22 Sep 2014 14:44:55 -0500
338127
+ From: please-change-me-at-config-initializers-devise@example.com
338128
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338129
+ To: mariah@weinattremblay.info
338130
+ Message-ID: <54207c3774545_1217f3fd481065be07807b@tests-MacBook-Pro-2.local.mail>
338131
+ Subject: Reset password instructions
338132
+ Mime-Version: 1.0
338133
+ Content-Type: text/html;
338134
+ charset=UTF-8
338135
+ Content-Transfer-Encoding: 7bit
338136
+ email: mariah@weinattremblay.info
338137
+ provider: email
338138
+ redirect-url: http://ng-token-auth.dev
338139
+ client-config: default
338140
+
338141
+ <p>Hello mariah@weinattremblay.info!</p>
338142
+
338143
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338144
+
338145
+ <p><a href="http://localhost/mangs/password/edit?config=default&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=PJDCqD_EAzA8LFqq_VQ6">Change my password</a></p>
338146
+
338147
+ <p>If you didn't request this, please ignore this email.</p>
338148
+ <p>Your password won't change until you access the link above and create a new one.</p>
338149
+
338150
+ Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
338151
+ Mang Load (0.0ms) SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]]
338152
+ Mang Load (0.1ms) SELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = '395c4de49c93c3a7a253695c390d28f0f171b3bcf940c2f351001aec11567c5a' ORDER BY "mangs"."id" ASC LIMIT 1
338153
+  (0.1ms) SAVEPOINT active_record_1
338154
+ SQL (0.6ms) UPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.480229"]]
338155
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338156
+  (0.3ms) rollback transaction
338157
+  (0.0ms) begin transaction
338158
+ --------------------------------------------------------------------------------------------------------------------------
338159
+ DeviseTokenAuth::PasswordsController::Password reset::change password::success: test_new_password_should_authenticate_user
338160
+ --------------------------------------------------------------------------------------------------------------------------
338161
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338162
+  (0.0ms) SAVEPOINT active_record_1
338163
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"l8w8EftJnhmAQhF9-etRnA\":{\"token\":\"$2a$10$.NjH9foQuTL5ZMyV5aYqfuq2JRkzEt9uGApljlR.cpvsCiT7rDn0m\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.542-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.543477"]]
338164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338165
+ Processing by DeviseTokenAuth::PasswordsController#update as JS
338166
+ Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}
338167
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'jacquelyn@sanford.name' LIMIT 1
338168
+  (0.1ms) SAVEPOINT active_record_1
338169
+ Binary data inserted for `string` type on column `encrypted_password`
338170
+ SQL (0.3ms) UPDATE "users" SET "encrypted_password" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["encrypted_password", "$2a$04$3sDRD95bogyiBCId1kJEPeWghR.f3kH4YcTMw8S/vVAasFNQPAcwO"], ["tokens", "{\"l8w8EftJnhmAQhF9-etRnA\":{\"token\":\"$2a$10$.NjH9foQuTL5ZMyV5aYqfuq2JRkzEt9uGApljlR.cpvsCiT7rDn0m\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.542-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.607357"]]
338171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338172
+  (0.0ms) SAVEPOINT active_record_1
338173
+ SQL (0.0ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"l8w8EftJnhmAQhF9-etRnA\":{\"token\":\"$2a$10$.NjH9foQuTL5ZMyV5aYqfuq2JRkzEt9uGApljlR.cpvsCiT7rDn0m\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.609-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.609379"]]
338174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338175
+ Completed 200 OK in 64ms (Views: 0.4ms | ActiveRecord: 0.6ms)
338176
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338177
+  (1.5ms) rollback transaction
338178
+  (0.1ms) begin transaction
338179
+ -----------------------------------------------------------------------------------------------------------------
338180
+ DeviseTokenAuth::PasswordsController::Password reset::change password::success: test_request_should_be_successful
338181
+ -----------------------------------------------------------------------------------------------------------------
338182
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338183
+  (0.0ms) SAVEPOINT active_record_1
338184
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Fo16ZXjsj9guXWw6lkmosA\":{\"token\":\"$2a$10$o8pE.AZQ.Y67cHqZS/xtMO7Clds88nTfeZDa/kF8R4KYDcZ8RSwve\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.675-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.676172"]]
338185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338186
+ Processing by DeviseTokenAuth::PasswordsController#update as JS
338187
+ Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}
338188
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'jacquelyn@sanford.name' LIMIT 1
338189
+  (0.1ms) SAVEPOINT active_record_1
338190
+ Binary data inserted for `string` type on column `encrypted_password`
338191
+ SQL (0.3ms) UPDATE "users" SET "encrypted_password" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["encrypted_password", "$2a$04$8CBLVOXDL3ATpEb7F21g6O0YgvRraRyye2Lb.atLb2akMIJjipvPG"], ["tokens", "{\"Fo16ZXjsj9guXWw6lkmosA\":{\"token\":\"$2a$10$o8pE.AZQ.Y67cHqZS/xtMO7Clds88nTfeZDa/kF8R4KYDcZ8RSwve\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.675-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.740081"]]
338192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338193
+  (0.0ms) SAVEPOINT active_record_1
338194
+ SQL (0.0ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Fo16ZXjsj9guXWw6lkmosA\":{\"token\":\"$2a$10$o8pE.AZQ.Y67cHqZS/xtMO7Clds88nTfeZDa/kF8R4KYDcZ8RSwve\",\"expiry\":1412624695,\"last_token\":null,\"updated_at\":\"2014-09-22T14:44:55.741-05:00\"}}"], ["updated_at", "2014-09-22 19:44:55.742111"]]
338195
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338196
+ Completed 200 OK in 64ms (Views: 0.4ms | ActiveRecord: 0.6ms)
338197
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338198
+  (1.4ms) rollback transaction
338199
+  (0.0ms) begin transaction
338200
+ ------------------------------------------------------------------------------------------------------------------------------------------------
338201
+ DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link failure: test_request_should_not_be_authorized
338202
+ ------------------------------------------------------------------------------------------------------------------------------------------------
338203
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338204
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338205
+ Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
338206
+ Unpermitted parameters: redirect_url
338207
+ Unpermitted parameters: redirect_url
338208
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
338209
+ Unpermitted parameters: redirect_url
338210
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '1beacf1ec9749c59a97306ab140f44d36e03fcb09dc7ad6b2956ba50ac7ef95a' ORDER BY "users"."id" ASC LIMIT 1
338211
+  (0.0ms) SAVEPOINT active_record_1
338212
+ Binary data inserted for `string` type on column `reset_password_token`
338213
+ SQL (0.1ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.748645"], ["reset_password_token", "1beacf1ec9749c59a97306ab140f44d36e03fcb09dc7ad6b2956ba50ac7ef95a"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.748831"]]
338214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338215
+
338216
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 1.5ms
338217
+
338218
+ Sent mail to jacquelyn@sanford.name (2.2ms)
338219
+ Date: Mon, 22 Sep 2014 14:44:55 -0500
338220
+ From: please-change-me-at-config-initializers-devise@example.com
338221
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338222
+ To: jacquelyn@sanford.name
338223
+ Message-ID: <54207c37b7b23_1217f3fd481065be078131@tests-MacBook-Pro-2.local.mail>
338224
+ Subject: Reset password instructions
338225
+ Mime-Version: 1.0
338226
+ Content-Type: text/html;
338227
+ charset=UTF-8
338228
+ Content-Transfer-Encoding: 7bit
338229
+ email: jacquelyn@sanford.name
338230
+ provider: email
338231
+ redirect-url: http://ng-token-auth.dev
338232
+ client-config: default
338233
+
338234
+ <p>Hello jacquelyn@sanford.name!</p>
338235
+
338236
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338237
+
338238
+ <p><a href="http://localhost/auth/password/edit?config=default&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=q4ThQyJZN7w9zAopChrr">Change my password</a></p>
338239
+
338240
+ <p>If you didn't request this, please ignore this email.</p>
338241
+ <p>Your password won't change until you access the link above and create a new one.</p>
338242
+
338243
+ Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.4ms)
338244
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338245
+ Processing by DeviseTokenAuth::PasswordsController#edit as JS
338246
+ Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"}
338247
+ Unpermitted parameters: redirect_url
338248
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '40181768d23216b4143018d5d1a3b53727d1bf806790e5d489878ce189c9da30' ORDER BY "users"."id" ASC LIMIT 1
338249
+ Completed 404 Not Found in 2ms
338250
+  (0.3ms) rollback transaction
338251
+  (0.0ms) begin transaction
338252
+ --------------------------------------------------------------------------------------------------------------
338253
+ DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_action_should_send_an_email
338254
+ --------------------------------------------------------------------------------------------------------------
338255
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338256
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338257
+ Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
338258
+ Unpermitted parameters: redirect_url
338259
+ Unpermitted parameters: redirect_url
338260
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
338261
+ Unpermitted parameters: redirect_url
338262
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '234b7b6fefc7434a61d54a7b71e073773e2c81931479425af052bf7d1c6b2957' ORDER BY "users"."id" ASC LIMIT 1
338263
+  (0.0ms) SAVEPOINT active_record_1
338264
+ Binary data inserted for `string` type on column `reset_password_token`
338265
+ SQL (0.2ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.761938"], ["reset_password_token", "234b7b6fefc7434a61d54a7b71e073773e2c81931479425af052bf7d1c6b2957"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.762137"]]
338266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338267
+
338268
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 1.4ms
338269
+
338270
+ Sent mail to jacquelyn@sanford.name (2.2ms)
338271
+ Date: Mon, 22 Sep 2014 14:44:55 -0500
338272
+ From: please-change-me-at-config-initializers-devise@example.com
338273
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338274
+ To: jacquelyn@sanford.name
338275
+ Message-ID: <54207c37baea5_1217f3fd481065be0782e8@tests-MacBook-Pro-2.local.mail>
338276
+ Subject: Reset password instructions
338277
+ Mime-Version: 1.0
338278
+ Content-Type: text/html;
338279
+ charset=UTF-8
338280
+ Content-Transfer-Encoding: 7bit
338281
+ email: jacquelyn@sanford.name
338282
+ provider: email
338283
+ redirect-url: http://ng-token-auth.dev
338284
+ client-config: default
338285
+
338286
+ <p>Hello jacquelyn@sanford.name!</p>
338287
+
338288
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338289
+
338290
+ <p><a href="http://localhost/auth/password/edit?config=default&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=1E-L_XcT9Ky5YnCvWEb8">Change my password</a></p>
338291
+
338292
+ <p>If you didn't request this, please ignore this email.</p>
338293
+ <p>Your password won't change until you access the link above and create a new one.</p>
338294
+
338295
+ Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
338296
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338297
+  (0.4ms) rollback transaction
338298
+  (0.0ms) begin transaction
338299
+ ------------------------------------------------------------------------------------------------------------------------
338300
+ DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_response_should_return_success_status
338301
+ ------------------------------------------------------------------------------------------------------------------------
338302
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338303
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338304
+ Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
338305
+ Unpermitted parameters: redirect_url
338306
+ Unpermitted parameters: redirect_url
338307
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
338308
+ Unpermitted parameters: redirect_url
338309
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '73d2e6049020d30531ef5b8548810ddd60b8b4875f012900a827dcaa61268736' ORDER BY "users"."id" ASC LIMIT 1
338310
+  (0.0ms) SAVEPOINT active_record_1
338311
+ Binary data inserted for `string` type on column `reset_password_token`
338312
+ SQL (0.2ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.771385"], ["reset_password_token", "73d2e6049020d30531ef5b8548810ddd60b8b4875f012900a827dcaa61268736"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.771573"]]
338313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338314
+
338315
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 1.3ms
338316
+
338317
+ Sent mail to jacquelyn@sanford.name (2.1ms)
338318
+ Date: Mon, 22 Sep 2014 14:44:55 -0500
338319
+ From: please-change-me-at-config-initializers-devise@example.com
338320
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338321
+ To: jacquelyn@sanford.name
338322
+ Message-ID: <54207c37bd2aa_1217f3fd481065be07837d@tests-MacBook-Pro-2.local.mail>
338323
+ Subject: Reset password instructions
338324
+ Mime-Version: 1.0
338325
+ Content-Type: text/html;
338326
+ charset=UTF-8
338327
+ Content-Transfer-Encoding: 7bit
338328
+ email: jacquelyn@sanford.name
338329
+ provider: email
338330
+ redirect-url: http://ng-token-auth.dev
338331
+ client-config: default
338332
+
338333
+ <p>Hello jacquelyn@sanford.name!</p>
338334
+
338335
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338336
+
338337
+ <p><a href="http://localhost/auth/password/edit?config=default&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=itCBxBBjMs6462M6i6y8">Change my password</a></p>
338338
+
338339
+ <p>If you didn't request this, please ignore this email.</p>
338340
+ <p>Your password won't change until you access the link above and create a new one.</p>
338341
+
338342
+ Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
338343
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338344
+  (0.3ms) rollback transaction
338345
+  (0.0ms) begin transaction
338346
+ ---------------------------------------------------------------------------------------------------------------------------------------
338347
+ DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_client_config_name_should_fall_back_to_"default"
338348
+ ---------------------------------------------------------------------------------------------------------------------------------------
338349
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338350
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338351
+ Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
338352
+ Unpermitted parameters: redirect_url
338353
+ Unpermitted parameters: redirect_url
338354
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
338355
+ Unpermitted parameters: redirect_url
338356
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'febf5e7fb41903db6cc05f8733b0e45b94e62e2e52e16b91e322ca8a789d94ab' ORDER BY "users"."id" ASC LIMIT 1
338357
+  (0.0ms) SAVEPOINT active_record_1
338358
+ Binary data inserted for `string` type on column `reset_password_token`
338359
+ SQL (0.1ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.780333"], ["reset_password_token", "febf5e7fb41903db6cc05f8733b0e45b94e62e2e52e16b91e322ca8a789d94ab"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.780517"]]
338360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338361
+
338362
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 1.4ms
338363
+
338364
+ Sent mail to jacquelyn@sanford.name (2.2ms)
338365
+ Date: Mon, 22 Sep 2014 14:44:55 -0500
338366
+ From: please-change-me-at-config-initializers-devise@example.com
338367
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338368
+ To: jacquelyn@sanford.name
338369
+ Message-ID: <54207c37bf691_1217f3fd481065be0784db@tests-MacBook-Pro-2.local.mail>
338370
+ Subject: Reset password instructions
338371
+ Mime-Version: 1.0
338372
+ Content-Type: text/html;
338373
+ charset=UTF-8
338374
+ Content-Transfer-Encoding: 7bit
338375
+ email: jacquelyn@sanford.name
338376
+ provider: email
338377
+ redirect-url: http://ng-token-auth.dev
338378
+ client-config: default
338379
+
338380
+ <p>Hello jacquelyn@sanford.name!</p>
338381
+
338382
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338383
+
338384
+ <p><a href="http://localhost/auth/password/edit?config=default&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=nvxXtk9H6h5pizeSE6Mo">Change my password</a></p>
338385
+
338386
+ <p>If you didn't request this, please ignore this email.</p>
338387
+ <p>Your password won't change until you access the link above and create a new one.</p>
338388
+
338389
+ Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
338390
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338391
+  (0.3ms) rollback transaction
338392
+  (0.0ms) begin transaction
338393
+ ----------------------------------------------------------------------------------------------------------------------------------------------------------
338394
+ DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_body_should_contain_a_link_with_redirect_url_as_a_query_param
338395
+ ----------------------------------------------------------------------------------------------------------------------------------------------------------
338396
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338397
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338398
+ Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
338399
+ Unpermitted parameters: redirect_url
338400
+ Unpermitted parameters: redirect_url
338401
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
338402
+ Unpermitted parameters: redirect_url
338403
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '06c1ddf133b96f0947b61631a9f2b7038c31eaac70bbc41436e433faeda169ae' ORDER BY "users"."id" ASC LIMIT 1
338404
+  (0.0ms) SAVEPOINT active_record_1
338405
+ Binary data inserted for `string` type on column `reset_password_token`
338406
+ SQL (0.1ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.789736"], ["reset_password_token", "06c1ddf133b96f0947b61631a9f2b7038c31eaac70bbc41436e433faeda169ae"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.789919"]]
338407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338408
+
338409
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 1.2ms
338410
+
338411
+ Sent mail to jacquelyn@sanford.name (2.1ms)
338412
+ Date: Mon, 22 Sep 2014 14:44:55 -0500
338413
+ From: please-change-me-at-config-initializers-devise@example.com
338414
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338415
+ To: jacquelyn@sanford.name
338416
+ Message-ID: <54207c37c1a0d_1217f3fd481065be078557@tests-MacBook-Pro-2.local.mail>
338417
+ Subject: Reset password instructions
338418
+ Mime-Version: 1.0
338419
+ Content-Type: text/html;
338420
+ charset=UTF-8
338421
+ Content-Transfer-Encoding: 7bit
338422
+ email: jacquelyn@sanford.name
338423
+ provider: email
338424
+ redirect-url: http://ng-token-auth.dev
338425
+ client-config: default
338426
+
338427
+ <p>Hello jacquelyn@sanford.name!</p>
338428
+
338429
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338430
+
338431
+ <p><a href="http://localhost/auth/password/edit?config=default&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=r48n2oabgCz9HdpCr5KL">Change my password</a></p>
338432
+
338433
+ <p>If you didn't request this, please ignore this email.</p>
338434
+ <p>Your password won't change until you access the link above and create a new one.</p>
338435
+
338436
+ Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
338437
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338438
+  (0.3ms) rollback transaction
338439
+  (0.0ms) begin transaction
338440
+ ---------------------------------------------------------------------------------------------------------------------------------------------------------
338441
+ DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_body_should_contain_a_link_with_reset_token_as_a_query_param
338442
+ ---------------------------------------------------------------------------------------------------------------------------------------------------------
338443
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338444
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338445
+ Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
338446
+ Unpermitted parameters: redirect_url
338447
+ Unpermitted parameters: redirect_url
338448
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
338449
+ Unpermitted parameters: redirect_url
338450
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '06900464b64c4d63f2522515489de2e3090165514df167b019bd2bbacfadb123' ORDER BY "users"."id" ASC LIMIT 1
338451
+  (0.0ms) SAVEPOINT active_record_1
338452
+ Binary data inserted for `string` type on column `reset_password_token`
338453
+ SQL (0.2ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.798503"], ["reset_password_token", "06900464b64c4d63f2522515489de2e3090165514df167b019bd2bbacfadb123"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.798690"]]
338454
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338455
+
338456
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 1.3ms
338457
+
338458
+ Sent mail to jacquelyn@sanford.name (2.1ms)
338459
+ Date: Mon, 22 Sep 2014 14:44:55 -0500
338460
+ From: please-change-me-at-config-initializers-devise@example.com
338461
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338462
+ To: jacquelyn@sanford.name
338463
+ Message-ID: <54207c37c3ccc_1217f3fd481065be078680@tests-MacBook-Pro-2.local.mail>
338464
+ Subject: Reset password instructions
338465
+ Mime-Version: 1.0
338466
+ Content-Type: text/html;
338467
+ charset=UTF-8
338468
+ Content-Transfer-Encoding: 7bit
338469
+ email: jacquelyn@sanford.name
338470
+ provider: email
338471
+ redirect-url: http://ng-token-auth.dev
338472
+ client-config: default
338473
+
338474
+ <p>Hello jacquelyn@sanford.name!</p>
338475
+
338476
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338477
+
338478
+ <p><a href="http://localhost/auth/password/edit?config=default&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=uY329sHcEfzWf4gLdVSY">Change my password</a></p>
338479
+
338480
+ <p>If you didn't request this, please ignore this email.</p>
338481
+ <p>Your password won't change until you access the link above and create a new one.</p>
338482
+
338483
+ Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
338484
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338485
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '06900464b64c4d63f2522515489de2e3090165514df167b019bd2bbacfadb123' ORDER BY "users"."id" ASC LIMIT 1
338486
+  (0.0ms) SAVEPOINT active_record_1
338487
+ SQL (0.2ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.805066"]]
338488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338489
+  (0.4ms) rollback transaction
338490
+  (0.0ms) begin transaction
338491
+ ----------------------------------------------------------------------------------------------------------------------------
338492
+ DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_should_be_addressed_to_the_user
338493
+ ----------------------------------------------------------------------------------------------------------------------------
338494
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338495
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338496
+ Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
338497
+ Unpermitted parameters: redirect_url
338498
+ Unpermitted parameters: redirect_url
338499
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
338500
+ Unpermitted parameters: redirect_url
338501
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '2f81038e50d2ea4594f0c39395165b038e2ca88608beee6641fbd63ed6c0eed9' ORDER BY "users"."id" ASC LIMIT 1
338502
+  (0.0ms) SAVEPOINT active_record_1
338503
+ Binary data inserted for `string` type on column `reset_password_token`
338504
+ SQL (0.2ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 19:44:55.809687"], ["reset_password_token", "2f81038e50d2ea4594f0c39395165b038e2ca88608beee6641fbd63ed6c0eed9"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.809882"]]
338505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338506
+
338507
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 1.3ms
338508
+
338509
+ Sent mail to jacquelyn@sanford.name (2.1ms)
338510
+ Date: Mon, 22 Sep 2014 14:44:55 -0500
338511
+ From: please-change-me-at-config-initializers-devise@example.com
338512
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338513
+ To: jacquelyn@sanford.name
338514
+ Message-ID: <54207c37c68b6_1217f3fd481065be078760@tests-MacBook-Pro-2.local.mail>
338515
+ Subject: Reset password instructions
338516
+ Mime-Version: 1.0
338517
+ Content-Type: text/html;
338518
+ charset=UTF-8
338519
+ Content-Transfer-Encoding: 7bit
338520
+ email: jacquelyn@sanford.name
338521
+ provider: email
338522
+ redirect-url: http://ng-token-auth.dev
338523
+ client-config: default
338524
+
338525
+ <p>Hello jacquelyn@sanford.name!</p>
338526
+
338527
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338528
+
338529
+ <p><a href="http://localhost/auth/password/edit?config=default&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=zHctziNyUrPmCDDmsCMv">Change my password</a></p>
338530
+
338531
+ <p>If you didn't request this, please ignore this email.</p>
338532
+ <p>Your password won't change until you access the link above and create a new one.</p>
338533
+
338534
+ Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
338535
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338536
+  (0.3ms) rollback transaction
338537
+  (0.1ms) begin transaction
338538
+ -----------------------------------------------------------------------------------------------------------
338539
+ DeviseTokenAuth::PasswordsController::unconfirmed user: test_unconfirmed_email_user_should_now_be_confirmed
338540
+ -----------------------------------------------------------------------------------------------------------
338541
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]]
338542
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338543
+ Parameters: {"email"=>"olen.rath@nitzsche.name", "redirect_url"=>"http://ng-token-auth.dev"}
338544
+ Unpermitted parameters: redirect_url
338545
+ Unpermitted parameters: redirect_url
338546
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'olen.rath@nitzsche.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
338547
+ Unpermitted parameters: redirect_url
338548
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '7eaca395eb3dd83b3cfe14e031021474aad3f3401066ece0015bcfcd7b514bb6' ORDER BY "users"."id" ASC LIMIT 1
338549
+  (0.0ms) SAVEPOINT active_record_1
338550
+ Binary data inserted for `string` type on column `reset_password_token`
338551
+ SQL (0.2ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["reset_password_sent_at", "2014-09-22 19:44:55.819815"], ["reset_password_token", "7eaca395eb3dd83b3cfe14e031021474aad3f3401066ece0015bcfcd7b514bb6"], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.820006"]]
338552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338553
+
338554
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 1.3ms
338555
+
338556
+ Sent mail to olen.rath@nitzsche.name (2.1ms)
338557
+ Date: Mon, 22 Sep 2014 14:44:55 -0500
338558
+ From: please-change-me-at-config-initializers-devise@example.com
338559
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338560
+ To: olen.rath@nitzsche.name
338561
+ Message-ID: <54207c37c904b_1217f3fd481065be078852@tests-MacBook-Pro-2.local.mail>
338562
+ Subject: Reset password instructions
338563
+ Mime-Version: 1.0
338564
+ Content-Type: text/html;
338565
+ charset=UTF-8
338566
+ Content-Transfer-Encoding: 7bit
338567
+ email: olen.rath@nitzsche.name
338568
+ provider: email
338569
+ redirect-url: http://ng-token-auth.dev
338570
+ client-config: default
338571
+
338572
+ <p>Hello olen.rath@nitzsche.name!</p>
338573
+
338574
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338575
+
338576
+ <p><a href="http://localhost/auth/password/edit?config=default&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=ts5-UiWHta7fvqL58pbz">Change my password</a></p>
338577
+
338578
+ <p>If you didn't request this, please ignore this email.</p>
338579
+ <p>Your password won't change until you access the link above and create a new one.</p>
338580
+
338581
+ Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.4ms)
338582
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]]
338583
+ Processing by DeviseTokenAuth::PasswordsController#edit as JS
338584
+ Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"}
338585
+ Unpermitted parameters: redirect_url
338586
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '7eaca395eb3dd83b3cfe14e031021474aad3f3401066ece0015bcfcd7b514bb6' ORDER BY "users"."id" ASC LIMIT 1
338587
+  (0.0ms) SAVEPOINT active_record_1
338588
+ SQL (0.2ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-09-22 19:44:55.827126"]]
338589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338590
+  (0.0ms) SAVEPOINT active_record_1
338591
+ SQL (0.1ms) UPDATE "users" SET "confirmed_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["confirmed_at", "2014-09-22 19:44:55.886451"], ["reset_password_token", "ts5-UiWHta7fvqL58pbz"], ["tokens", "{\"gd-vdqgfHIGQAoomZfCkMA\":{\"token\":\"$2a$10$m4Kxmbaa0JLtwEJVNSTfxOjTDU9Ja1H73qygtBTOQ6n5xhhI.Jl6q\",\"expiry\":1412624695}}"], ["updated_at", "2014-09-22 19:44:55.886835"]]
338592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338593
+ Redirected to http://ng-token-auth.dev#?client_id=gd-vdqgfHIGQAoomZfCkMA&config=&expiry=1412624695&reset_password=true&token=r9kBFH4Z4jEuixm64wr-lg&uid=olen.rath%40nitzsche.name
338594
+ Completed 302 Found in 981878ms (Views: 0.1ms | ActiveRecord: 1.0ms)
338595
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]]
338596
+  (0.2ms) rollback transaction
338597
+  (0.1ms) begin transaction
338598
+ -------------------------------------------------------------------------------------------------------------------------
338599
+ DeviseTokenAuth::PasswordsController::Password reset::change password::password mismatch error: test_response_should_fail
338600
+ -------------------------------------------------------------------------------------------------------------------------
338601
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338602
+  (0.1ms) SAVEPOINT active_record_1
338603
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"LwfUPs4wI3z0_SBgtRX8nw\":{\"token\":\"$2a$10$O6WSUZWhvTZPsuJEy2prx.RnXT2sinLxvz68Eru2C2xJLreXU/sNm\",\"expiry\":1412625677,\"last_token\":null,\"updated_at\":\"2014-09-22T15:01:17.768-05:00\"}}"], ["updated_at", "2014-09-22 20:01:17.769360"]]
338604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338605
+ Processing by DeviseTokenAuth::PasswordsController#update as JS
338606
+ Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}
338607
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'jacquelyn@sanford.name' LIMIT 1
338608
+  (0.1ms) SAVEPOINT active_record_1
338609
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
338610
+ Completed 422 Unprocessable Entity in 65ms (Views: 0.2ms | ActiveRecord: 0.2ms)
338611
+  (0.6ms) rollback transaction
338612
+  (0.0ms) begin transaction
338613
+ -------------------------------------------------------------------------------------------------------------------
338614
+ DeviseTokenAuth::PasswordsController::Password reset::change password::unauthorized user: test_response_should_fail
338615
+ -------------------------------------------------------------------------------------------------------------------
338616
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338617
+  (0.1ms) SAVEPOINT active_record_1
338618
+ SQL (0.2ms) UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"9konRdItpqPCVjPDQIAskQ\":{\"token\":\"$2a$10$kdflu3WdeXjrBHW1JW/71.bQB9SFlQoqx0cEaDIyoq0SgLmuk29lu\",\"expiry\":1412625677,\"last_token\":null,\"updated_at\":\"2014-09-22T15:01:17.901-05:00\"}}"], ["updated_at", "2014-09-22 20:01:17.902099"]]
338619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338620
+ Processing by DeviseTokenAuth::PasswordsController#update as JS
338621
+ Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}
338622
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
338623
+  (0.6ms) rollback transaction
338624
+  (0.0ms) begin transaction
338625
+ ------------------------------------------------------------------------------------------------------------------------------------------------------------
338626
+ DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link success: test_respones_should_have_success_redirect_status
338627
+ ------------------------------------------------------------------------------------------------------------------------------------------------------------
338628
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338629
+ Processing by DeviseTokenAuth::PasswordsController#create as JS
338630
+ Parameters: {"email"=>"jacquelyn@sanford.name", "redirect_url"=>"http://ng-token-auth.dev"}
338631
+ Unpermitted parameters: redirect_url
338632
+ Unpermitted parameters: redirect_url
338633
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'jacquelyn@sanford.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1
338634
+ Unpermitted parameters: redirect_url
338635
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'e94306ec38191e619ee5dfc8850c484a049c10f10e2ad211242c319e004c2e85' ORDER BY "users"."id" ASC LIMIT 1
338636
+  (0.0ms) SAVEPOINT active_record_1
338637
+ Binary data inserted for `string` type on column `reset_password_token`
338638
+ SQL (0.1ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-09-22 20:01:17.909247"], ["reset_password_token", "e94306ec38191e619ee5dfc8850c484a049c10f10e2ad211242c319e004c2e85"], ["tokens", "{}"], ["updated_at", "2014-09-22 20:01:17.909452"]]
338639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338640
+
338641
+ Devise::Mailer#reset_password_instructions: processed outbound mail in 1.4ms
338642
+
338643
+ Sent mail to jacquelyn@sanford.name (2.2ms)
338644
+ Date: Mon, 22 Sep 2014 15:01:17 -0500
338645
+ From: please-change-me-at-config-initializers-devise@example.com
338646
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
338647
+ To: jacquelyn@sanford.name
338648
+ Message-ID: <5420800ddee7d_1217f3fd481065be0789c2@tests-MacBook-Pro-2.local.mail>
338649
+ Subject: Reset password instructions
338650
+ Mime-Version: 1.0
338651
+ Content-Type: text/html;
338652
+ charset=UTF-8
338653
+ Content-Transfer-Encoding: 7bit
338654
+ email: jacquelyn@sanford.name
338655
+ provider: email
338656
+ redirect-url: http://ng-token-auth.dev
338657
+ client-config: default
338658
+
338659
+ <p>Hello jacquelyn@sanford.name!</p>
338660
+
338661
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
338662
+
338663
+ <p><a href="http://localhost/auth/password/edit?config=default&amp;redirect_url=http%3A%2F%2Fng-token-auth.dev&amp;reset_password_token=nf9Ux1fFsnbdxVi-qdWz">Change my password</a></p>
338664
+
338665
+ <p>If you didn't request this, please ignore this email.</p>
338666
+ <p>Your password won't change until you access the link above and create a new one.</p>
338667
+
338668
+ Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.4ms)
338669
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]]
338670
+ Processing by DeviseTokenAuth::PasswordsController#edit as JS
338671
+ Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"}
338672
+ Unpermitted parameters: redirect_url
338673
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'e94306ec38191e619ee5dfc8850c484a049c10f10e2ad211242c319e004c2e85' ORDER BY "users"."id" ASC LIMIT 1
338674
+  (0.0ms) SAVEPOINT active_record_1
338675
+ SQL (0.2ms) UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-09-22 20:01:17.916918"]]
338676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338677
+  (0.1ms) SAVEPOINT active_record_1
338678
+ SQL (0.1ms) UPDATE "users" SET "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_token", "nf9Ux1fFsnbdxVi-qdWz"], ["tokens", "{\"yZx1wxI99gAi3p1jkM5Duw\":{\"token\":\"$2a$10$j2IKKUd/ERNU7fuCIe06hOTvM0Fwo1kLGgqhT1Ex2ggZ34U9qNY1.\",\"expiry\":1412625677}}"], ["updated_at", "2014-09-22 20:01:17.976491"]]
338679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
338680
+ Completed 500 Internal Server Error in 7450929ms