---------------------------------------------------------------- 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_file_creation ----------------------------------------  (0.2ms) begin transaction  (0.2ms) rollback transaction ------------------------------------------- AuthproIntegrationTest: test_Reset_password -------------------------------------------  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20130310185934)  (0.1ms) begin transaction  (0.4ms) 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", "20130310185934"]]  (0.7ms) commit transaction  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'MbHLO-YZOyzHNbahzFPhUg' LIMIT 1 Binary data inserted for `string` type on column `password_digest` SQL (4.0ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "MbHLO-YZOyzHNbahzFPhUg"], ["created_at", Sun, 10 Mar 2013 18:59:34 UTC +00:00], ["email", "master@example.com"], ["password_digest", "$2a$04$alKfsqZvU3oa0R486ouYQuFJ5jTV9IjR.3jKQRyobORnOn6C61wmK"], ["updated_at", Sun, 10 Mar 2013 18:59:34 UTC +00:00]]  (2.0ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 35ms (Views: 34.4ms | ActiveRecord: 0.0ms) Started GET "/password_resets/new" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by PasswordResetsController#new as HTML Rendered password_resets/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST "/password_resets" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by PasswordResetsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"master@example.com", "commit"=>"Reset password"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'master@example.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'rwUNZ8Paq8QfXScL2ywhDQ' LIMIT 1  (0.0ms) begin transaction SQL (0.4ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "rwUNZ8Paq8QfXScL2ywhDQ"], ["password_reset_sent_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00], ["updated_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00]]  (0.9ms) commit transaction Rendered user_mailer/password_reset.text.erb (0.7ms) Sent mail to master@example.com (10.8ms) Date: Sun, 10 Mar 2013 19:59:35 +0100 From: from@example.com To: master@example.com Message-ID: <513cd817887bc_10cd93fce6a06066c3971c@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/rwUNZ8Paq8QfXScL2ywhDQ/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 315ms (ActiveRecord: 1.7ms) Started GET "/" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.3ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started GET "/password_resets/rwUNZ8Paq8QfXScL2ywhDQ/edit" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by PasswordResetsController#edit as HTML Parameters: {"id"=>"rwUNZ8Paq8QfXScL2ywhDQ"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'rwUNZ8Paq8QfXScL2ywhDQ' LIMIT 1 Rendered password_resets/edit.html.erb within layouts/application (9.1ms) Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.2ms) Started PATCH "/password_resets/rwUNZ8Paq8QfXScL2ywhDQ" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by PasswordResetsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"rwUNZ8Paq8QfXScL2ywhDQ"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'rwUNZ8Paq8QfXScL2ywhDQ' LIMIT 1  (0.1ms) begin transaction Binary data inserted for `string` type on column `password_digest` SQL (0.5ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$JvS4g7RLpzV8aOrBuA76QOq2AdejeaM8qAaqWRhh2RjtYQxUwrFxm"], ["updated_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00]]  (1.9ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 7ms (ActiveRecord: 2.7ms) Started GET "/" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (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_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"."auth_token" = '_WTx2Jw-M7YpzGjXr1UPhg' 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", "_WTx2Jw-M7YpzGjXr1UPhg"], ["created_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00], ["email", "master@example.com"], ["password_digest", "$2a$04$0MQtsssNIBjEdcL5onkxeegh8omFYHeP1dQuE7Ijh5NGE2TjFA3Na"], ["updated_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00]]  (0.7ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-10 19:59:35 +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-10 19:59:35 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/password_resets" for 127.0.0.1 at 2013-03-10 19:59:35 +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.0ms) 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_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"."auth_token" = 'xNeIDABf52hgjYcqO9OgfA' 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", "xNeIDABf52hgjYcqO9OgfA"], ["created_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00], ["email", "master@example.com"], ["password_digest", "$2a$04$Eh..RtTMn60k4u6tj3H3huB9NF7Fn0MZqvMXepH24UuWotM6rf4by"], ["updated_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00]]  (0.6ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started GET "/password_resets/new" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/password_resets" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by PasswordResetsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"master@example.com", "commit"=>"Reset password"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'master@example.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = '74c4KNPKymdviRnH_XHn_Q' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "74c4KNPKymdviRnH_XHn_Q"], ["password_reset_sent_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00], ["updated_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00]]  (0.7ms) commit transaction Sent mail to master@example.com (8.1ms) Date: Sun, 10 Mar 2013 19:59:35 +0100 From: from@example.com To: master@example.com Message-ID: <513cd817affd2_10cd93fce6a06066c39814@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/74c4KNPKymdviRnH_XHn_Q/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 23ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started GET "/password_resets/74c4KNPKymdviRnH_XHn_Q/edit" for 127.0.0.1 at 2013-03-12 01:00:00 +0100 Processing by PasswordResetsController#edit as HTML Parameters: {"id"=>"74c4KNPKymdviRnH_XHn_Q"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '74c4KNPKymdviRnH_XHn_Q' LIMIT 1 Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms) Started PATCH "/password_resets/74c4KNPKymdviRnH_XHn_Q" for 127.0.0.1 at 2013-03-12 01:00:00 +0100 Processing by PasswordResetsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"74c4KNPKymdviRnH_XHn_Q"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '74c4KNPKymdviRnH_XHn_Q' 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-12 01:00:00 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)  (1.1ms) 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_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.2ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'xQ3rW4GHCcr5UE37dGDo9g' 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", "xQ3rW4GHCcr5UE37dGDo9g"], ["created_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00], ["email", "master@example.com"], ["password_digest", "$2a$04$gr1nF/wAklyo2HH3cphoJ.vHGnk9WEmwMurblY/7iJwpoYdPezsHy"], ["updated_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00]]  (0.7ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/password_resets/new" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by PasswordResetsController#new as HTML Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started POST "/password_resets" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by PasswordResetsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"master@example.com", "commit"=>"Reset password"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'master@example.com' LIMIT 1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'C7DdTXwaSV2TXEdG1d_GhQ' LIMIT 1  (0.0ms) begin transaction SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "C7DdTXwaSV2TXEdG1d_GhQ"], ["password_reset_sent_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00], ["updated_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00]]  (0.5ms) commit transaction Sent mail to master@example.com (5.4ms) Date: Sun, 10 Mar 2013 19:59:35 +0100 From: from@example.com To: master@example.com Message-ID: <513cd817d2655_10cd93fce6a06066c39930@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/C7DdTXwaSV2TXEdG1d_GhQ/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 14ms (ActiveRecord: 1.1ms) Started GET "/" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/password_resets/C7DdTXwaSV2TXEdG1d_GhQ/edit" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by PasswordResetsController#edit as HTML Parameters: {"id"=>"C7DdTXwaSV2TXEdG1d_GhQ"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'C7DdTXwaSV2TXEdG1d_GhQ' LIMIT 1 Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms) Started PATCH "/password_resets/C7DdTXwaSV2TXEdG1d_GhQ" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by PasswordResetsController#update as HTML Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"C7DdTXwaSV2TXEdG1d_GhQ"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'C7DdTXwaSV2TXEdG1d_GhQ' LIMIT 1  (0.1ms) begin transaction  (0.1ms) rollback transaction Completed 200 OK in 10ms (Views: 4.4ms | ActiveRecord: 0.3ms)  (0.9ms) 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_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"."auth_token" = 'j75kLa7QQDcOmUriTWZIMQ' 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", "j75kLa7QQDcOmUriTWZIMQ"], ["created_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00], ["email", "master@example.com"], ["password_digest", "$2a$04$hMIXNvGgtap/tqTVHqLjSOcfPSfwIY0Fs6P5jPu/JGecWTEpWIjJK"], ["updated_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00]]  (0.6ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (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_login ---------------------------------- 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"."auth_token" = '38SQtvCfTeyASaJrTGiI7Q' 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", "38SQtvCfTeyASaJrTGiI7Q"], ["created_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00], ["email", "master@example.com"], ["password_digest", "$2a$04$1iF9ZVX55IDn6FaBLOojauKUbkBHQe7kFq/PV45ht3vVUy5jAqtwS"], ["updated_at", Sun, 10 Mar 2013 18:59:35 UTC +00:00]]  (0.7ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started POST "/sessions" for 127.0.0.1 at 2013-03-10 19:59:35 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"master@example.com", "password"=>"[FILTERED]", "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'master@example.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-10 19:59:35 +0100 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = '38SQtvCfTeyASaJrTGiI7Q' LIMIT 1 Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (1.4ms) 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.2ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'hRwWRJO6ymNzgKrUGDi3Iw' 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", "hRwWRJO6ymNzgKrUGDi3Iw"], ["created_at", Sun, 10 Mar 2013 18:59:36 UTC +00:00], ["email", "master@example.com"], ["password_digest", "$2a$04$MSEgUl8ue6UmyDsBnFK.HOG6tmSSNsNZggM.CYxOTa0JDcs9YGEZW"], ["updated_at", Sun, 10 Mar 2013 18:59:36 UTC +00:00]]  (0.7ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/sessions" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"master@example.com", "password"=>"[FILTERED]", "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'master@example.com' LIMIT 1 Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.2ms)  (0.9ms) 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_logout ----------------------------------- 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"."auth_token" = '7FkOowE4yAqewzbz3csIPA' 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", "7FkOowE4yAqewzbz3csIPA"], ["created_at", Sun, 10 Mar 2013 18:59:36 UTC +00:00], ["email", "master@example.com"], ["password_digest", "$2a$04$viZrJsPglJgu8Iz/hsDiReZWFAxZuHwNtkyEuVy9o.cuwvJePO9NG"], ["updated_at", Sun, 10 Mar 2013 18:59:36 UTC +00:00]]  (0.7ms) commit transaction Started GET "/login" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/sessions" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "email"=>"master@example.com", "password"=>"[FILTERED]", "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'master@example.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-10 19:59:36 +0100 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = '7FkOowE4yAqewzbz3csIPA' LIMIT 1 Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2013-03-10 19:59:36 +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-10 19:59:36 +0100 Processing by HomeController#index as HTML Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (1.0ms) 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_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"."auth_token" = 'luH8NfFX6Ry-am7BKJoWLA' 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", "luH8NfFX6Ry-am7BKJoWLA"], ["created_at", Sun, 10 Mar 2013 18:59:36 UTC +00:00], ["email", "master@example.com"], ["password_digest", "$2a$04$6S7XvTMDqWH1yQXIceCRw.AQL.9ISrX1wI.lnLS8ibLfF3xPlKpA2"], ["updated_at", Sun, 10 Mar 2013 18:59:36 UTC +00:00]]  (0.6ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started GET "/signup" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by UsersController#new as HTML Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user@example.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"."auth_token" = 'AGOT15DNXOXfFPjvsxOzcQ' 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", "AGOT15DNXOXfFPjvsxOzcQ"], ["created_at", Sun, 10 Mar 2013 18:59:36 UTC +00:00], ["email", "user@example.com"], ["password_digest", "$2a$04$x1AtR9S0qh7/izyRjGrkhu4tukFbnB4ER02f2rPs3SnY6JAH3HXMe"], ["updated_at", Sun, 10 Mar 2013 18:59:36 UTC +00:00]]  (0.6ms) commit transaction Redirected to http://www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by HomeController#index as HTML Completed 200 OK in 2ms (Views: 1.6ms | 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_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"."auth_token" = 'MO3DpEL67SwdYWGpsbgNuw' 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", "MO3DpEL67SwdYWGpsbgNuw"], ["created_at", Sun, 10 Mar 2013 18:59:36 UTC +00:00], ["email", "master@example.com"], ["password_digest", "$2a$04$s1KsglI5FePMO5LPlOCvUuQytn44OP4gfXQ2ctd4IKUAcGkFV3OMm"], ["updated_at", Sun, 10 Mar 2013 18:59:36 UTC +00:00]]  (2.4ms) commit transaction Started GET "/" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by HomeController#index as HTML Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms) Started GET "/signup" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by UsersController#new as HTML Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-10 19:59:36 +0100 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction  (0.1ms) rollback transaction Completed 200 OK in 9ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (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';