---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ---------------------------------------------------------------- ----------------------- AuthproTest: test_truth ----------------------- ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ---------------------------------------------------------------- ----------------------- AuthproTest: test_truth ----------------------- ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ---------------------------------------------------------------- ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ---------------------------------------------------------------- ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ---------------------------------------------------------------- ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ---------------------------------------------------------------- ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ---------------------------------------------------------------- ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ----------------------------------------------------------------  (0.2ms) begin transaction  (0.0ms) rollback transaction ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ----------------------------------------------------------------  (0.2ms) begin transaction  (0.1ms) rollback transaction ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ----------------------------------------------------------------  (0.2ms) begin transaction  (0.1ms) rollback transaction ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ----------------------------------------------------------------  (0.2ms) begin transaction  (0.1ms) rollback transaction ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ----------------------------------------------------------------  (0.2ms) begin transaction  (0.1ms) rollback transaction ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ----------------------------------------------------------------  (0.2ms) begin transaction  (0.1ms) rollback transaction ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ----------------------------------------------------------------  (0.2ms) begin transaction  (0.0ms) rollback transaction ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ----------------------------------------------------------------  (0.2ms) begin transaction  (0.1ms) rollback transaction ---------------------------------------------------------------- AuthproGeneratorTest: test_Assert_all_files_are_properly_created ----------------------------------------------------------------  (0.3ms) begin transaction  (0.1ms) rollback transaction ------------------------------------------ AuthproGeneratorTest: test_generated_files ------------------------------------------  (0.2ms) begin transaction  (0.1ms) rollback transaction ---------------------------------- AuthproIntegrationTest: test_login ----------------------------------  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20130328085155)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "password_digest" varchar(255), "auth_token" varchar(255), "password_reset_token" varchar(255), "password_reset_sent_at" datetime, "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130328085155"]]  (0.9ms) commit transaction  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'hmz-NGh85d33Hjo-OS59mg@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'gc_L5ngVkwUF3JZmXA35qw' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (2.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "gc_L5ngVkwUF3JZmXA35qw"], ["created_at", Thu, 28 Mar 2013 08:51:55 UTC +00:00], ["email", "hmz-NGh85d33Hjo-OS59mg@sample.com"], ["password_digest", "$2a$04$rBW9TuyauuLKBb6L1BhEqejY93zUFTRhx08Y4RcfiMBwWYGkiqByy"], ["updated_at", Thu, 28 Mar 2013 08:51:55 UTC +00:00]]  (0.9ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:55 +0100 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.9ms) Completed 200 OK in 26ms (Views: 26.0ms | ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.1ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST "/sessions" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"hmz-NGh85d33Hjo-OS59mg@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'hmz-NGh85d33Hjo-OS59mg@sample.com' LIMIT 1 Redirected to http://www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'gc_L5ngVkwUF3JZmXA35qw' LIMIT 1 Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (2.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------ AuthproIntegrationTest: test_login_failing ------------------------------------------ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'XTuq4A8QxXJkdz3qTaQI6A@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'MsO5n07p0YtalHK__eKhvg' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "MsO5n07p0YtalHK__eKhvg"], ["created_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["email", "XTuq4A8QxXJkdz3qTaQI6A@sample.com"], ["password_digest", "$2a$04$9JqnkKf6HfZ8RN4FASOKZO34temgnejS6bBfTQpS/WavEDIMJcVwe"], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (0.9ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/sessions" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"XTuq4A8QxXJkdz3qTaQI6A@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'XTuq4A8QxXJkdz3qTaQI6A@sample.com' LIMIT 1 Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (1.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users'; ----------------------------------- AuthproIntegrationTest: test_logout ----------------------------------- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'eSjCqX1jjU504qGIl6PuRw@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'Ot9TmDqt41Z1J1rm1TEXzg' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "Ot9TmDqt41Z1J1rm1TEXzg"], ["created_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["email", "eSjCqX1jjU504qGIl6PuRw@sample.com"], ["password_digest", "$2a$04$apxgekyeEqzQv8jv5Lx75OylSTSIoBesZeydJyXElLj37n1HN1O2m"], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (0.9ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/sessions" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"eSjCqX1jjU504qGIl6PuRw@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'eSjCqX1jjU504qGIl6PuRw@sample.com' LIMIT 1 Redirected to http://www.example.com/ Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'Ot9TmDqt41Z1J1rm1TEXzg' LIMIT 1 Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by SessionsController#destroy as HTML Redirected to http://www.example.com/ Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------- AuthproIntegrationTest: test_reset_password ------------------------------------------- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'U2JpMMaMnTVEybZJZSP3Kg@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'mH1UOHHkhQIL-aehdvR0CA' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "mH1UOHHkhQIL-aehdvR0CA"], ["created_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["email", "U2JpMMaMnTVEybZJZSP3Kg@sample.com"], ["password_digest", "$2a$04$QX.sctyXycqzuETYWep1TOypEgt.C7dFB6yEFVTh1oY4ctTBHB1Ky"], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (0.9ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started GET "/password_resets/new" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST "/password_resets" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"U2JpMMaMnTVEybZJZSP3Kg@sample.com", "commit"=>"Reset password"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'U2JpMMaMnTVEybZJZSP3Kg@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'uLe0ptldT7lGsehMxLwfPg' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'U2JpMMaMnTVEybZJZSP3Kg@sample.com' AND "users"."id" != 1) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "uLe0ptldT7lGsehMxLwfPg"], ["password_reset_sent_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (0.9ms) commit transaction Sent mail to U2JpMMaMnTVEybZJZSP3Kg@sample.com (6.4ms) Date: Thu, 28 Mar 2013 09:51:56 +0100 From: from@example.com To: U2JpMMaMnTVEybZJZSP3Kg@sample.com Message-ID: <515404ac6d144_9be63fe1118606781332d@Richards-MacBook-Air.local.mail> Subject: Password Reset Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To reset your password, click the URL below. http://localhost:3000/password_resets/uLe0ptldT7lGsehMxLwfPg/edit If you did not request your password to be reset, just ignore this email and your password will continue to stay the same. Redirected to http://www.example.com/ Completed 302 Found in 210ms (ActiveRecord: 1.8ms) Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/password_resets/uLe0ptldT7lGsehMxLwfPg/edit" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#edit as HTML Parameters: {"id"=>"uLe0ptldT7lGsehMxLwfPg"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'uLe0ptldT7lGsehMxLwfPg' LIMIT 1 Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.2ms) Started PATCH "/password_resets/uLe0ptldT7lGsehMxLwfPg" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"uLe0ptldT7lGsehMxLwfPg"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'uLe0ptldT7lGsehMxLwfPg' LIMIT 1  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'U2JpMMaMnTVEybZJZSP3Kg@sample.com' AND "users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.3ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$am45ZYxXEYIeB/QEOgmp0upXbghKVHVH0/X9JACFPta9KBQLh2HFu"], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (2.5ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 7ms (ActiveRecord: 3.1ms) Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------------------------- AuthproIntegrationTest: test_reset_password_failing_because_email_does_not_exist -------------------------------------------------------------------------------- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'oVM5fjHHnTjF3JE9EC7wbA@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '7mjwwUv2cIDoq2H1eVS-Ow' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "7mjwwUv2cIDoq2H1eVS-Ow"], ["created_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["email", "oVM5fjHHnTjF3JE9EC7wbA@sample.com"], ["password_digest", "$2a$04$bZGqgTrv0peRaG/0xAwGuuBlfegEKq3RU6ATcit7cd0l.V/IpX8Lu"], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (0.9ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started GET "/password_resets/new" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/password_resets" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"nosense@example.com", "commit"=>"Reset password"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nosense@example.com' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (1.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------- AuthproIntegrationTest: test_reset_password_failing_because_of_expiration ------------------------------------------------------------------------- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '1bIs5hzntfHwsxlsIb0IZw@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'GLXNG6QJpCutNjA0L4uSkw' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "GLXNG6QJpCutNjA0L4uSkw"], ["created_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["email", "1bIs5hzntfHwsxlsIb0IZw@sample.com"], ["password_digest", "$2a$04$eqioHVKRajL4HOnr5bu4n.XfWgF0QGaInVCABuMj41PCZDdFxumRe"], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (0.9ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started GET "/password_resets/new" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started POST "/password_resets" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"1bIs5hzntfHwsxlsIb0IZw@sample.com", "commit"=>"Reset password"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '1bIs5hzntfHwsxlsIb0IZw@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'oJ5IclIxIaIYgXvkmPgAmA' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = '1bIs5hzntfHwsxlsIb0IZw@sample.com' AND "users"."id" != 1) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "oJ5IclIxIaIYgXvkmPgAmA"], ["password_reset_sent_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (0.6ms) commit transaction Sent mail to 1bIs5hzntfHwsxlsIb0IZw@sample.com (4.5ms) Date: Thu, 28 Mar 2013 09:51:56 +0100 From: from@example.com To: 1bIs5hzntfHwsxlsIb0IZw@sample.com Message-ID: <515404ac93f2c_9be63fe11186067813472@Richards-MacBook-Air.local.mail> Subject: Password Reset Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To reset your password, click the URL below. http://localhost:3000/password_resets/oJ5IclIxIaIYgXvkmPgAmA/edit If you did not request your password to be reset, just ignore this email and your password will continue to stay the same. Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/password_resets/oJ5IclIxIaIYgXvkmPgAmA/edit" for 127.0.0.1 at 2013-03-30 01:00:00 +0100 Processing by PasswordResetsController#edit as HTML Parameters: {"id"=>"oJ5IclIxIaIYgXvkmPgAmA"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'oJ5IclIxIaIYgXvkmPgAmA' LIMIT 1 Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms) Started PATCH "/password_resets/oJ5IclIxIaIYgXvkmPgAmA" for 127.0.0.1 at 2013-03-30 01:00:00 +0100 Processing by PasswordResetsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"oJ5IclIxIaIYgXvkmPgAmA"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'oJ5IclIxIaIYgXvkmPgAmA' LIMIT 1 Redirected to http://localhost:3000/password_resets/new Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Started GET "/password_resets/new" for 127.0.0.1 at 2013-03-30 01:00:00 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)  (2.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------------------------- AuthproIntegrationTest: test_reset_password_failing_because_we_enter_a_new_invalid_password ------------------------------------------------------------------------------------------- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'DzO8Wy3pcPWIIpduQ5vKZA@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'cvNPXvr9HL-pk0dvmyuwMA' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "cvNPXvr9HL-pk0dvmyuwMA"], ["created_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["email", "DzO8Wy3pcPWIIpduQ5vKZA@sample.com"], ["password_digest", "$2a$04$E0NwVVMsEy57jaXIfqxV3ub95Iax6ixC1K1T3vPAB8.t17HspnKLy"], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (0.9ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started GET "/password_resets/new" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/password_resets" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"DzO8Wy3pcPWIIpduQ5vKZA@sample.com", "commit"=>"Reset password"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'DzO8Wy3pcPWIIpduQ5vKZA@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'l3dpvYh2-QUiM-ioqHIOjg' LIMIT 1  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'DzO8Wy3pcPWIIpduQ5vKZA@sample.com' AND "users"."id" != 1) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "l3dpvYh2-QUiM-ioqHIOjg"], ["password_reset_sent_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (0.5ms) commit transaction Sent mail to DzO8Wy3pcPWIIpduQ5vKZA@sample.com (5.0ms) Date: Thu, 28 Mar 2013 09:51:56 +0100 From: from@example.com To: DzO8Wy3pcPWIIpduQ5vKZA@sample.com Message-ID: <515404aca5503_9be63fe11186067813571@Richards-MacBook-Air.local.mail> Subject: Password Reset Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To reset your password, click the URL below. http://localhost:3000/password_resets/l3dpvYh2-QUiM-ioqHIOjg/edit If you did not request your password to be reset, just ignore this email and your password will continue to stay the same. Redirected to http://www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started GET "/password_resets/l3dpvYh2-QUiM-ioqHIOjg/edit" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#edit as HTML Parameters: {"id"=>"l3dpvYh2-QUiM-ioqHIOjg"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'l3dpvYh2-QUiM-ioqHIOjg' LIMIT 1 Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started PATCH "/password_resets/l3dpvYh2-QUiM-ioqHIOjg" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by PasswordResetsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"l3dpvYh2-QUiM-ioqHIOjg"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'l3dpvYh2-QUiM-ioqHIOjg' LIMIT 1  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'DzO8Wy3pcPWIIpduQ5vKZA@sample.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (1.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users'; ----------------------------------- AuthproIntegrationTest: test_signup ----------------------------------- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'Qx-KuBsk963W94ZPp_yjYg@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'ptsH4WJxHVOmmLLAGRY_8Q' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "ptsH4WJxHVOmmLLAGRY_8Q"], ["created_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["email", "Qx-KuBsk963W94ZPp_yjYg@sample.com"], ["password_digest", "$2a$04$udnUPGKvPI4H6TWOy3DypeU8/B4Ui1.M6czwAPeEytDUyfYDVKCG2"], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (0.7ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/signup" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by UsersController#new as HTML Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"0uDAhCyGu7zOSTMsmX14tA@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '0uDAhCyGu7zOSTMsmX14tA@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'QjVN_3iUh3mx68PiZi9kkw' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "QjVN_3iUh3mx68PiZi9kkw"], ["created_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["email", "0uDAhCyGu7zOSTMsmX14tA@sample.com"], ["password_digest", "$2a$04$baC6uqG6f9HCsm/aOZHv9OHkATSNS24eFoZQ0lsBR1kKAZnlj4c.W"], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (1.5ms) commit transaction Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 2.0ms) Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (1.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------- AuthproIntegrationTest: test_signup_failing ------------------------------------------- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '6G7PMzesoAKtxzVOL4p6tg@sample.com' LIMIT 1 User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'f0p_VB67GUF_83hqaVHcZQ' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "f0p_VB67GUF_83hqaVHcZQ"], ["created_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["email", "6G7PMzesoAKtxzVOL4p6tg@sample.com"], ["password_digest", "$2a$04$GWhXB9L38kqDqsxCtZp26OAKkIV0rN5vxuicAkI1dc1tKyoh8KzQe"], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (1.1ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/signup" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by UsersController#new as HTML Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"deHTYb1CFakna_5x1lQSAQ@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deHTYb1CFakna_5x1lQSAQ@sample.com' LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.3ms)  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------- AuthproIntegrationTest: test_visit_home --------------------------------------- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'FCJ59coSrZqkpwm5MheW0A@sample.com' LIMIT 1 User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'fnpEzZgtQSPOtnS8NZQQwA' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "fnpEzZgtQSPOtnS8NZQQwA"], ["created_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00], ["email", "FCJ59coSrZqkpwm5MheW0A@sample.com"], ["password_digest", "$2a$04$baJINTC9nJ2ekXfi0479o.FOHqZSCQ0Vor2b5whS5GJO3ntP/4y4."], ["updated_at", Thu, 28 Mar 2013 08:51:56 UTC +00:00]]  (1.1ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-28 09:51:56 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';