---------------------------------------------------------------- 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.3ms) begin transaction  (0.1ms) rollback transaction ---------------------------------- AuthproIntegrationTest: test_login ----------------------------------  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20130315220020)  (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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130315220020"]]  (0.7ms) commit transaction  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'kCP6EiM-UskBB7XszXO5ZQ@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'VmWUxHDzhHJhIqBnmqxu-Q' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (39.9ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "VmWUxHDzhHJhIqBnmqxu-Q"], ["created_at", Fri, 15 Mar 2013 22:00:20 UTC +00:00], ["email", "kCP6EiM-UskBB7XszXO5ZQ@sample.com"], ["password_digest", "$2a$04$QZOsJ7gK6Ms6/QYik8g6xOV5Fsp6gUTkYaWeNDGTLkParxZHkdiEO"], ["updated_at", Fri, 15 Mar 2013 22:00:20 UTC +00:00]]  (0.6ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.7ms) Completed 200 OK in 31ms (Views: 30.2ms | ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.6ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/sessions" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"kCP6EiM-UskBB7XszXO5ZQ@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'kCP6EiM-UskBB7XszXO5ZQ@sample.com' LIMIT 1 Redirected to http://www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'VmWUxHDzhHJhIqBnmqxu-Q' LIMIT 1 Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) 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" = 'j7DiMyVZSNx-2BxkssD4uA@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'dndOqfUeGBRdwu37LeW2dQ' 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", "dndOqfUeGBRdwu37LeW2dQ"], ["created_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00], ["email", "j7DiMyVZSNx-2BxkssD4uA@sample.com"], ["password_digest", "$2a$04$EYbWtfTAOHfQClY9B46KpO4Ac02oIxdSOjOWIsGfTo6OW8ugEdbaS"], ["updated_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00]]  (8.7ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started POST "/sessions" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"j7DiMyVZSNx-2BxkssD4uA@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'j7DiMyVZSNx-2BxkssD4uA@sample.com' LIMIT 1 Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (14.1ms) 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" = 'nvry-P5gvxLsCYenTfZoAg@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'mXuKbMvevPDuz-RI3rn9yw' 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", "mXuKbMvevPDuz-RI3rn9yw"], ["created_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00], ["email", "nvry-P5gvxLsCYenTfZoAg@sample.com"], ["password_digest", "$2a$04$LWsqUfJUVdWNGUYosMdBBOCVQ4hNNkPbpGMy4U7i5LErbwvfxayzG"], ["updated_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00]]  (0.6ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/sessions" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"nvry-P5gvxLsCYenTfZoAg@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nvry-P5gvxLsCYenTfZoAg@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-15 23:00:21 +0100 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'mXuKbMvevPDuz-RI3rn9yw' LIMIT 1 Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2013-03-15 23:00:21 +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-15 23:00:21 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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" = 'xcfHKYjkhbBENzvZApGSvA@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'oDRqFosEUVoGSKIQl-xAnw' 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", "oDRqFosEUVoGSKIQl-xAnw"], ["created_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00], ["email", "xcfHKYjkhbBENzvZApGSvA@sample.com"], ["password_digest", "$2a$04$jlyuM0GWRt7rcoj/7mmaWeyDg4O1h0A.c0/O/JHJeikauzKR1Sv7q"], ["updated_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00]]  (7.3ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-15 23:00:21 +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-15 23:00:21 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST "/password_resets" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by PasswordResetsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"xcfHKYjkhbBENzvZApGSvA@sample.com", "commit"=>"Reset password"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'xcfHKYjkhbBENzvZApGSvA@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = '26eCLpCa6kZIYuce2MJBsQ' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'xcfHKYjkhbBENzvZApGSvA@sample.com' AND "users"."id" != 1) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "26eCLpCa6kZIYuce2MJBsQ"], ["password_reset_sent_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00], ["updated_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00]]  (0.7ms) commit transaction Sent mail to xcfHKYjkhbBENzvZApGSvA@sample.com (7.3ms) Date: Fri, 15 Mar 2013 23:00:21 +0100 From: from@example.com To: xcfHKYjkhbBENzvZApGSvA@sample.com Message-ID: <514399f59b423_44c53fed3546067434756@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/26eCLpCa6kZIYuce2MJBsQ/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 309ms (ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/password_resets/26eCLpCa6kZIYuce2MJBsQ/edit" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by PasswordResetsController#edit as HTML Parameters: {"id"=>"26eCLpCa6kZIYuce2MJBsQ"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '26eCLpCa6kZIYuce2MJBsQ' LIMIT 1 Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.2ms) Started PATCH "/password_resets/26eCLpCa6kZIYuce2MJBsQ" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by PasswordResetsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"26eCLpCa6kZIYuce2MJBsQ"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '26eCLpCa6kZIYuce2MJBsQ' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'xcfHKYjkhbBENzvZApGSvA@sample.com' AND "users"."id" != 1) LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.4ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$p7/SUTUZcezfE2tbdaPJienaL9yUf426EsZ30rs1AI4/QFHOY4rPq"], ["updated_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00]]  (0.6ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 7ms (ActiveRecord: 1.5ms) Started GET "/" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'MHnlXv3IQolWCjJwCHUmmQ@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'JRlpzQu09zhBYyR0kfF1dg' 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", "JRlpzQu09zhBYyR0kfF1dg"], ["created_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00], ["email", "MHnlXv3IQolWCjJwCHUmmQ@sample.com"], ["password_digest", "$2a$04$GOl6Mvboz5u5zsPqOX1Gt.wLQPHNdJy5nGZjjOUS7HodNUATDGevK"], ["updated_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00]]  (0.6ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started GET "/password_resets/new" for 127.0.0.1 at 2013-03-15 23:00:21 +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-15 23:00:21 +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 3ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) 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.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'teoZEEGzyVBVIj2vgFqIMQ@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '3iD_C38FXAZJxtd08aXrGQ' 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", "3iD_C38FXAZJxtd08aXrGQ"], ["created_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00], ["email", "teoZEEGzyVBVIj2vgFqIMQ@sample.com"], ["password_digest", "$2a$04$rc.NhebfZSqAzRQ2AquEVOAOjBs5OxUfKjGMVU1U8s1wYlW/u7Kfq"], ["updated_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00]]  (0.6ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET "/password_resets/new" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/password_resets" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by PasswordResetsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"teoZEEGzyVBVIj2vgFqIMQ@sample.com", "commit"=>"Reset password"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'teoZEEGzyVBVIj2vgFqIMQ@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'th8vz_BBAYn0r3440P4tMQ' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'teoZEEGzyVBVIj2vgFqIMQ@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", "th8vz_BBAYn0r3440P4tMQ"], ["password_reset_sent_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00], ["updated_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00]]  (0.6ms) commit transaction Sent mail to teoZEEGzyVBVIj2vgFqIMQ@sample.com (7.0ms) Date: Fri, 15 Mar 2013 23:00:21 +0100 From: from@example.com To: teoZEEGzyVBVIj2vgFqIMQ@sample.com Message-ID: <514399f5c6b38_44c53fed3546067434885@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/th8vz_BBAYn0r3440P4tMQ/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 19ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started GET "/password_resets/th8vz_BBAYn0r3440P4tMQ/edit" for 127.0.0.1 at 2013-03-17 01:00:00 +0100 Processing by PasswordResetsController#edit as HTML Parameters: {"id"=>"th8vz_BBAYn0r3440P4tMQ"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'th8vz_BBAYn0r3440P4tMQ' LIMIT 1 Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms) Started PATCH "/password_resets/th8vz_BBAYn0r3440P4tMQ" for 127.0.0.1 at 2013-03-17 01:00:00 +0100 Processing by PasswordResetsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"th8vz_BBAYn0r3440P4tMQ"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'th8vz_BBAYn0r3440P4tMQ' 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-17 01:00:00 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) 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" = 'T68MV_QN1sqJW4WyMs8jHg@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'OWQePCs5igo4MHu7o4iksg' 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", "OWQePCs5igo4MHu7o4iksg"], ["created_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00], ["email", "T68MV_QN1sqJW4WyMs8jHg@sample.com"], ["password_digest", "$2a$04$3wVtp2ZNpId0kay3mu36zOMHqixUsXugIhjsmOQtWbXsk4HI0imJq"], ["updated_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00]]  (0.7ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-15 23:00:21 +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-15 23:00:21 +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-15 23:00:21 +0100 Processing by PasswordResetsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"T68MV_QN1sqJW4WyMs8jHg@sample.com", "commit"=>"Reset password"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'T68MV_QN1sqJW4WyMs8jHg@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'km2uOrLOS0gJDmgEVCzo5w' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'T68MV_QN1sqJW4WyMs8jHg@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", "km2uOrLOS0gJDmgEVCzo5w"], ["password_reset_sent_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00], ["updated_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00]]  (0.6ms) commit transaction Sent mail to T68MV_QN1sqJW4WyMs8jHg@sample.com (5.1ms) Date: Fri, 15 Mar 2013 23:00:21 +0100 From: from@example.com To: T68MV_QN1sqJW4WyMs8jHg@sample.com Message-ID: <514399f5daf96_44c53fed35460674349e4@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/km2uOrLOS0gJDmgEVCzo5w/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 19ms (ActiveRecord: 1.6ms) Started GET "/" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/password_resets/km2uOrLOS0gJDmgEVCzo5w/edit" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by PasswordResetsController#edit as HTML Parameters: {"id"=>"km2uOrLOS0gJDmgEVCzo5w"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'km2uOrLOS0gJDmgEVCzo5w' LIMIT 1 Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started PATCH "/password_resets/km2uOrLOS0gJDmgEVCzo5w" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by PasswordResetsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"km2uOrLOS0gJDmgEVCzo5w"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'km2uOrLOS0gJDmgEVCzo5w' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'T68MV_QN1sqJW4WyMs8jHg@sample.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) rollback transaction Completed 200 OK in 10ms (Views: 4.0ms | ActiveRecord: 0.4ms)  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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" = 'DOqPRSk5UbbmzWysOrdRtA@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'IiUiIHQaF487alDo3c4OlA' 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", "IiUiIHQaF487alDo3c4OlA"], ["created_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00], ["email", "DOqPRSk5UbbmzWysOrdRtA@sample.com"], ["password_digest", "$2a$04$DtmWtfmi20n7Ec5NHEtuc.HutyZiUQD6Q6a2ooeDW3TDweaM.MnrC"], ["updated_at", Fri, 15 Mar 2013 22:00:21 UTC +00:00]]  (0.6ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started GET "/signup" for 127.0.0.1 at 2013-03-15 23:00:21 +0100 Processing by UsersController#new as HTML Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-15 23:00:22 +0100 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"rhpIV-6FEBLjOh81JR6ZXQ@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'rhpIV-6FEBLjOh81JR6ZXQ@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'Jie0IcwtrXoH4dOcKRoi6g' 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", "Jie0IcwtrXoH4dOcKRoi6g"], ["created_at", Fri, 15 Mar 2013 22:00:22 UTC +00:00], ["email", "rhpIV-6FEBLjOh81JR6ZXQ@sample.com"], ["password_digest", "$2a$04$9FG3fx9avT4mCfzds62EReon/AX601F220hevWJr14pS18DJ6fxC."], ["updated_at", Fri, 15 Mar 2013 22:00:22 UTC +00:00]]  (0.6ms) commit transaction Redirected to http://www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2013-03-15 23:00:22 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '8U8JQTCQL25b_9_sEsAx5A@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'py4McJmUhYkpMXwE1iFSOQ' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (0.6ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "py4McJmUhYkpMXwE1iFSOQ"], ["created_at", Fri, 15 Mar 2013 22:00:22 UTC +00:00], ["email", "8U8JQTCQL25b_9_sEsAx5A@sample.com"], ["password_digest", "$2a$04$ks7iBkyUO86bcU0P/Q0HU.euActFyGM08I12vZyLiUceTdSDvJsoO"], ["updated_at", Fri, 15 Mar 2013 22:00:22 UTC +00:00]]  (5.3ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-15 23:00:22 +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-15 23:00:22 +0100 Processing by UsersController#new as HTML Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-15 23:00:22 +0100 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"ayW6Pnl9AYeL-ZHl53S_Rw@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" = 'ayW6Pnl9AYeL-ZHl53S_Rw@sample.com' LIMIT 1  (0.0ms) rollback transaction Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (1.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) 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.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'TXBYzPfP5SQXAoltU0GqHg@sample.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '8p_dHzD4ILD2EBzkMBreCg' 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", "8p_dHzD4ILD2EBzkMBreCg"], ["created_at", Fri, 15 Mar 2013 22:00:22 UTC +00:00], ["email", "TXBYzPfP5SQXAoltU0GqHg@sample.com"], ["password_digest", "$2a$04$agMm.NQejwkVHJBCu/BT/ezpvSb2eF0rGWWpOsPJ9alhQHcTuzfwq"], ["updated_at", Fri, 15 Mar 2013 22:00:22 UTC +00:00]]  (0.7ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-15 23:00:22 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (1.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';