test/dummy/log/test.log in devise-verifiable-0.0.2 vs test/dummy/log/test.log in devise-verifiable-0.0.3

- old
+ new

@@ -1,14917 +1,629 @@ -  (0.2ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "full_name" varchar, "address" varchar, "city" varchar, "state" varchar, "postal_code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar)  -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") -  (0.2ms) SELECT sql +  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "full_name" varchar, "address" varchar, "city" varchar, "state" varchar, "postal_code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar) +  (0.1ms) select sqlite_version(*) +  (1.2ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email") +  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' + +  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") +  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.1ms) SELECT version FROM "schema_migrations" +  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160326200137') +  (1.3ms) INSERT INTO schema_migrations (version) VALUES ('20160326191549'); -  (1.4ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) -  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160326200137') -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160326191549') - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------ -HomeControllerTest: test_should_get_index ------------------------------------------ -Processing by HomeController#index as HTML -Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:01:59 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:01:59 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (21.8ms) -Completed 200 OK in 320ms (Views: 306.8ms | ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:02:40 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:02:40 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.3ms) -Completed 200 OK in 209ms (Views: 192.6ms | ActiveRecord: 0.5ms) -  (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:02:52 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:02:52 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.9ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (20.2ms) -Completed 200 OK in 285ms (Views: 269.8ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:03:05 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 19ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:03:05 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (19.8ms) -Completed 200 OK in 271ms (Views: 257.3ms | ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:07:05 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 19ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:07:05 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.0ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (19.7ms) -Completed 200 OK in 282ms (Views: 269.7ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:07:32 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:07:32 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.3ms) -Completed 200 OK in 198ms (Views: 186.2ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:10:22 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 23ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:10:22 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.2ms) -Completed 200 OK in 273ms (Views: 261.2ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:20:46 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:20:46 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.6ms) -Completed 200 OK in 263ms (Views: 248.0ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:20:51 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 23ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:20:51 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.7ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (26.9ms) -Completed 200 OK in 312ms (Views: 286.9ms | ActiveRecord: 0.5ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:23:06 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 21ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:23:06 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.3ms) -Completed 200 OK in 267ms (Views: 254.3ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:23:22 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 23ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:23:22 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.4ms) -Completed 200 OK in 274ms (Views: 259.2ms | ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:25:35 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 23ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:25:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (22.4ms) -Completed 200 OK in 281ms (Views: 267.8ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:27:01 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 26ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:27:01 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.6ms) -Completed 200 OK in 275ms (Views: 263.0ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:28:51 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:28:51 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.1ms) -Completed 200 OK in 282ms (Views: 269.2ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:31:33 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 23ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:31:33 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.5ms) -Completed 200 OK in 205ms (Views: 192.3ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:32:28 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 24ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:32:28 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.7ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (22.7ms) -Completed 200 OK in 319ms (Views: 303.1ms | ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:36:29 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 26ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:36:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.9ms) -Completed 200 OK in 288ms (Views: 275.8ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:36:39 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 25ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:36:39 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (19.8ms) -Completed 200 OK in 295ms (Views: 280.5ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:36:47 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:36:47 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.0ms) -Completed 200 OK in 270ms (Views: 256.1ms | ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 08:58:18 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 24ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 08:58:18 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (20.9ms) -Completed 200 OK in 276ms (Views: 261.9ms | ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:01:40 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 21ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:01:40 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.2ms) -Completed 200 OK in 276ms (Views: 261.6ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:02:34 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:02:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (19.0ms) -Completed 200 OK in 303ms (Views: 288.6ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:03:10 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:03:10 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.6ms) -Completed 200 OK in 284ms (Views: 270.1ms | ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:05:46 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:05:46 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (22.8ms) -Completed 200 OK in 301ms (Views: 284.5ms | ActiveRecord: 0.5ms) -  (0.2ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:06:10 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 33ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:06:10 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (19.4ms) -Completed 200 OK in 298ms (Views: 282.6ms | ActiveRecord: 1.1ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:09:23 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 20ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:09:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.0ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (22.3ms) -Completed 200 OK in 300ms (Views: 285.0ms | ActiveRecord: 0.5ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction -------------------------------------------------- -VerifiableTest: test_checking_if_user_is_verified -------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:38:39 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:38:39 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (27.5ms) -Completed 200 OK in 264ms (Views: 261.9ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -------------------------------------------------- -VerifiableTest: test_checking_if_user_is_verified -------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:44:56 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:44:56 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.9ms) -Completed 200 OK in 278ms (Views: 274.7ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:45:47 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:45:47 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.0ms) -Completed 200 OK in 198ms (Views: 186.2ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -------------------------------------------------- -VerifiableTest: test_checking_if_user_is_verified -------------------------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:46:57 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 23ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:46:57 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (21.5ms) -Completed 200 OK in 292ms (Views: 274.3ms | ActiveRecord: 0.5ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -------------------------------------------------- -VerifiableTest: test_checking_if_user_is_verified -------------------------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:48:15 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 20ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:48:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.5ms) -Completed 200 OK in 258ms (Views: 245.3ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction -------------------------------------------------- -VerifiableTest: test_checking_if_user_is_verified -------------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 09:50:46 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 24ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 09:50:46 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.1ms) -Completed 200 OK in 213ms (Views: 200.0ms | ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:11:45 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 10:11:45 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (28.5ms) -Completed 200 OK in 306ms (Views: 288.3ms | ActiveRecord: 0.5ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:18:51 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 23ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 10:18:51 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (19.3ms) -Completed 200 OK in 301ms (Views: 284.3ms | ActiveRecord: 0.6ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:21:18 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 23ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 10:21:18 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.3ms) -Completed 200 OK in 267ms (Views: 254.4ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:21:35 -0300 -Processing by HomeController#index as HTML -Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:22:17 -0300 -Processing by HomeController#index as HTML -Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:22:22 -0300 -Processing by HomeController#index as HTML -Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:23:10 -0300 -Processing by HomeController#index as HTML -Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:23:17 -0300 -Processing by HomeController#index as HTML -Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:24:06 -0300 -Processing by HomeController#index as HTML -Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:25:18 -0300 -Processing by HomeController#index as HTML - Rendered home/index.html.erb within layouts/application (1.0ms) -Completed 200 OK in 244ms (Views: 226.3ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:31:58 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 23ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 10:31:58 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (34.0ms) -Completed 200 OK in 285ms (Views: 281.6ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-03-29 10:32:26 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 24ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-03-29 10:32:26 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.9ms) -Completed 200 OK in 292ms (Views: 278.2ms | ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (1.8ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-01 11:27:51 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 24ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-01 11:27:51 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.9ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (36.4ms) -Completed 200 OK in 253ms (Views: 250.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 18:01:02 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 25ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 18:01:02 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.8ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (38.0ms) -Completed 200 OK in 321ms (Views: 318.0ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 18:46:08 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 18:46:08 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (20.0ms) -Completed 200 OK in 261ms (Views: 258.9ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction + +  (1.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2017-11-08 01:35:58 UTC], ["updated_at", 2017-11-08 01:35:58 UTC]] +  (1.3ms) commit transaction + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.4ms) DELETE FROM "users" + Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$OgNC8P.2Qur1GlkrbM4AIuN2w0jc3Sd3mkts/VxmPnMloHRXvBKPu', '2017-11-08 01:35:58.803834', '2017-11-08 01:35:58.803834', 830138774) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$eBz0Hev/Uy8.DGuALS/P8OBFC3wJxbSHG6oAvdfHkTFocoFmlGbAe', 'Verified John Doe', '551, 5th Street', '2017-11-08 01:35:58.803834', '2017-11-08 01:35:58.803834', 778254699) +  (0.8ms) commit transaction +  (0.0ms) begin transaction -------------------------------------------------- DefaultRoutingTest: test_map_new_user_verification -------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction ---------------------------------------------- DefaultRoutingTest: test_map_user_verification ---------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 19:09:29 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 12ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 19:09:29 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.4ms) -Completed 200 OK in 277ms (Views: 260.5ms | ActiveRecord: 0.5ms) -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 19:10:22 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 17ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 19:10:22 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (21.5ms) -Completed 200 OK in 277ms (Views: 274.5ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 19:10:46 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 19:10:46 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.7ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (21.5ms) -Completed 200 OK in 292ms (Views: 272.5ms | ActiveRecord: 0.7ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 19:11:55 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 14ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 19:11:55 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.9ms) -Completed 200 OK in 250ms (Views: 247.1ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 22:43:18 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 13ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:43:18 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (35.9ms) -Completed 200 OK in 287ms (Views: 284.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 22:43:52 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:43:52 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (22.7ms) -Completed 200 OK in 277ms (Views: 264.7ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 22:47:41 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 13ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:47:41 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.9ms) -Completed 200 OK in 252ms (Views: 249.8ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 22:50:40 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 12ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:50:40 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.2ms) -Completed 200 OK in 256ms (Views: 253.7ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (8.8ms) DELETE FROM "users" -  (0.5ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" -  (0.6ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" -  (0.3ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" -  (0.4ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" -  (0.3ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" -  (0.4ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" -  (0.3ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" -  (0.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) begin transaction - Fixture Delete (0.5ms) DELETE FROM "users" - Fixture Insert (0.6ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$6Q/IOtOUxX22fBO/4qDbh.mNYksQysWG7s9Wd4YpVEw0C6JKMoN0e', '2016-04-06 01:54:24', '2016-04-06 01:54:24', 830138774) -  (3.4ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 22:54:24 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 17ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:54:24 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.5ms) -Completed 200 OK in 270ms (Views: 267.5ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:54:24 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$aV0ZZ77Jy0r8M8eUb5khNOjEXZ1TauJbxkpCXS6dXSX9zam61DYY.', '2016-04-06 01:55:02', '2016-04-06 01:55:02', 830138774) -  (9.2ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:55:02 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.0ms) -Completed 200 OK in 266ms (Views: 252.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 22:55:02 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:55:02 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.4ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$DvM/bTO6za8wz63x7zil5.jyrAcE8nEoH5S6H7MFan.nXM/jFrFJW', '2016-04-06 01:56:00', '2016-04-06 01:56:00', 830138774) -  (1.2ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 22:56:00 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 19ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:56:00 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.0ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.0ms) -Completed 200 OK in 277ms (Views: 263.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:56:00 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$Phj5qBzi9og4LjbLd5AkRevUJXIp391XnhIiK22YI1yzUoVqee7/C', '2016-04-06 01:56:23', '2016-04-06 01:56:23', 830138774) -  (9.2ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 22:56:23 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 16ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:56:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.0ms) -Completed 200 OK in 265ms (Views: 249.6ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:56:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$RuMDk28QPZ1EabtMkndn4eRdVxuS9fK3Ex0ZO0kZL25pFe2VPhILi', '2016-04-06 01:57:19', '2016-04-06 01:57:19', 830138774) -  (9.0ms) commit transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 22:57:19 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 16ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:57:20 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.5ms) -Completed 200 OK in 274ms (Views: 262.7ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:57:20 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.8ms) -Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:57:20 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"email@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "email@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 01:57:20.350884"], ["current_sign_in_at", "2016-04-06 01:57:20.350884"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 01:57:20.351809"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 22ms (ActiveRecord: 1.0ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 22:57:20 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verify -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verify" for 127.0.0.1 at 2016-04-05 22:57:20 -0300 -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$VSm0UQbXOHMV2tu1QYO7yuJvtrcLSa0mJ6WTopEzvky4H2JAspKkC', '2016-04-06 01:58:30', '2016-04-06 01:58:30', 830138774) -  (9.3ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 22:58:30 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:58:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (19.5ms) -Completed 200 OK in 267ms (Views: 254.0ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:58:31 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) -Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:58:31 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"email@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "email@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 01:58:31.141569"], ["current_sign_in_at", "2016-04-06 01:58:31.141569"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 01:58:31.142246"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 17ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 22:58:31 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 22:58:31 -0300 -Processing by Devise::VerificationController#new as HTML -Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) -  (8.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$HBNpPYEnAnp/3kiTODUmZ.LNqfWY6c5.CEDWelN.3ipXfr4v9FFbm', '2016-04-06 01:59:35', '2016-04-06 01:59:35', 830138774) -  (9.2ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 22:59:35 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:59:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.8ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (19.0ms) -Completed 200 OK in 265ms (Views: 254.3ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:59:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) -Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 22:59:35 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"email@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "email@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 01:59:35.558110"], ["current_sign_in_at", "2016-04-06 01:59:35.558110"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 01:59:35.558760"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 22:59:35 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 22:59:35 -0300 -Processing by Devise::VerificationController#new as HTML -Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms) -  (8.6ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$L5FdIKiuZkOkjCYFE1pG7OH46Suv.NhI4v9hHwEZIuMQrkvk41EHG', '2016-04-06 02:01:58', '2016-04-06 02:01:58', 830138774) -  (1.0ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.2ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:01:58 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 15ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:01:58 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.8ms) -Completed 200 OK in 263ms (Views: 260.9ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:01:58 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) -Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:01:58 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"email@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "email@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:01:58.734878"], ["current_sign_in_at", "2016-04-06 02:01:58.734878"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:01:58.735519"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:01:58 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:01:58 -0300 -Processing by Devise::VerificationController#new as HTML - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 8ms (Views: 8.0ms | ActiveRecord: 0.0ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:01:58 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:01:58 -0300 -Processing by Devise::VerificationController#new as HTML - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) -  (8.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$QhiiqXP0khVYAyMrHCYycOvBCKlq/A/4/TygPaMCKhVktTmDXzAKy', '2016-04-06 02:02:11', '2016-04-06 02:02:11', 830138774) -  (0.9ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:02:11 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 21ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:02:11 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.9ms) -Completed 200 OK in 245ms (Views: 242.9ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:02:12 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.8ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:02:12 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"email@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "email@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:02:12.170584"], ["current_sign_in_at", "2016-04-06 02:02:12.170584"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:02:12.171288"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:02:12 -0300 -Processing by HomeController#index as HTML - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.3ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:02:12 -0300 -Processing by Devise::VerificationController#new as HTML -Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms) -  (8.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$5eE68Cd1195mU1cSdepD0OgrUxjT33pxbONxpexKZR67dpkbLym9G', '2016-04-06 02:02:33', '2016-04-06 02:02:33', 830138774) -  (9.2ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:02:33 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.8ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (31.7ms) -Completed 200 OK in 306ms (Views: 284.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:02:33 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"email@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "email@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:02:33.781512"], ["current_sign_in_at", "2016-04-06 02:02:33.781512"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:02:33.782844"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 20ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:02:33 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:02:33 -0300 -Processing by Devise::VerificationController#new as HTML -Completed 500 Internal Server Error in 7444ms (ActiveRecord: 0.0ms) -  (0.9ms) rollback transaction -  (0.3ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:02:41 -0300 -Processing by HomeController#index as HTML - User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 10ms (ActiveRecord: 0.5ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:02:41 -0300 -Processing by Devise::VerificationController#new as HTML -Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms) -  (0.4ms) rollback transaction -  (0.4ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$eayEy5QccbmRONQklnS.DuDKAUu5CpN0enqzmouyazpdeh5hCJeke', '2016-04-06 02:02:44', '2016-04-06 02:02:44', 830138774) -  (8.4ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:02:44 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:02:45 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.2ms) -Completed 200 OK in 260ms (Views: 248.8ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:02:45 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:02:45 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"email@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "email@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:02:45.308398"], ["current_sign_in_at", "2016-04-06 02:02:45.308398"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:02:45.309669"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 23ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:02:45 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:02:45 -0300 -Processing by Devise::VerificationController#new as HTML - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.5ms) -Completed 200 OK in 225266ms (Views: 13.6ms | ActiveRecord: 0.0ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:06:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:06:30 -0300 -Processing by Devise::VerificationController#new as HTML - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 1870ms (Views: 2.4ms | ActiveRecord: 0.0ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$Qrl35nLW/El5jMiy44EjBuplyORo3V0wOSuMfkrAA5On.L.fP4mTS', '2016-04-06 02:06:37', '2016-04-06 02:06:37', 830138774) -  (9.3ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:06:37 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 12ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:06:37 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.5ms) -Completed 200 OK in 296ms (Views: 294.3ms | ActiveRecord: 0.0ms) -  (0.2ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:06:38 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:06:38 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"email@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "email@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:06:38.081076"], ["current_sign_in_at", "2016-04-06 02:06:38.081076"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:06:38.081711"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 18ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:06:38 -0300 -Processing by HomeController#index as HTML - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 4ms (ActiveRecord: 0.3ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:06:38 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.5ms) -Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:06:38 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:06:38 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) -  (8.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('email@gmail.com', '$2a$04$uq9JnAcQizsCZWyfKH/1nelK72W2tZXiTv3BC1IJmMkGVar.BCUNS', '2016-04-06 02:06:45', '2016-04-06 02:06:45', 830138774) -  (9.2ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:06:45 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 17ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:06:45 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.5ms) -Completed 200 OK in 283ms (Views: 268.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------- -NavigationTest: test_signed_user_requires_verification ------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:06:45 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:06:45 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"email@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "email@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:06:45.456863"], ["current_sign_in_at", "2016-04-06 02:06:45.456863"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:06:45.457641"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 22ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:06:45 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:06:45 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.4ms) -Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:06:45 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:06:45 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) -  (8.3ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$6N/BWQAoWceUGDX4BW.3U.i3tgd6mxDnjAVPBjN30u45yb3pvHcpu', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$ErdPkc2oqYZErt8uF7TMy.Z3MctyvcCjhBI1rfa1sJfi5EeF89dpO', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 778254699) -  (8.7ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$HaVrv8zn6pWCekqFMYr1D.V1VbemD3n3OR/YyFSuWHbAlZtI22PsW', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$rgypFOwTli8FBfTsGBgOFeNPkrj9BT3FEPQAqNGJaN4UWSQ1mwt1O', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 778254699) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$wQGUEV1kAL6HNDjTLnzdh.u61kit0IZc7FWtz.yi1SSGvGmqn5/g2', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$gFfiw8jcWEcpB6M9nSy.xOMsikYFN3.Vm.q/yVm4P21SbhR/ubD86', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 778254699) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$0pfo2kWe8mBq5z2mWyMH0.N1vL8tFVozBK4SpPu30LYjPI/9bV7xy', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$owaYZAsiVqrfTkemB5Sd0.PefPM.JJEg4vc6FEcTZcG33Q2xVp236', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 778254699) -  (0.3ms) rollback transaction -  (0.0ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$z/USuLDtpKoiZHoKmHg/MOenFWPy/IHfTULczY4OxmYBd11/SuEDO', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$Y5VCytrI5yCKKrm7LthdSOW3gTRjy9bZg58TY746EdLE1iO8WKz5m', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 778254699) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$0hfkVw.KOpo45T6J3qX.CuFAtylmo9DXKcmrNVCD59ADLg93sRRta', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$xIEWXnLdo.GtkaKxwf1PgOnm8LhYgUeow6VWYvOCTb9WGIfj55NIu', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 778254699) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$jMvrxYTtsEQEK59p1aBGj.rZLC8s.KZ5/5ttIMOQvwdXp08L1WPx6', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$Ix2fsCoy1XuRJWNybQ9M0.XyYrdEOAZMpvqwH9SjKPc7a/T1xLawK', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 778254699) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$rO34I6ge9N5ma62pFPuyeugckyN2tprEEHGxacKGeXmQqlB3igecS', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$.aZQCWDkURLZKHzEH6LEEeW/IiK9/YcBD7C5D3VOhw5eDUw/qHhoi', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 778254699) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$.yUX.OrjXUCBTGB5eY5WEu/vvm8ipu0eMbGl76R/aiLbtzdUgZpCe', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$DJSWdCDF0JWIEtaQ8Vu10Onzp4dP5e7pz9.nvXZYZ5oYlPP0N9jFe', '2016-04-06 02:10:02', '2016-04-06 02:10:02', 778254699) -  (0.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$35Zx9bRuSgXD6QJVfSBFA.O885g/cZYgJ5my8IQyMuZI.hJ6Bfy8.', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$UpC.X2hl0AlCisecDEFVR.sfi5Mb8RjbLh9NR4YdC.j1JpD.dC3hy', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 778254699) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$kvNteyuGI9IThcZ.c/rhJOyFnIpVvEEFBZZlv7QhMXseeUrXeD9fy', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$cIhVc5izwnOx4wEJqPO4r.GvDDIYpiVn24LH6PqkwZOj4C6AkQgDe', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 778254699) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$D/F6qbP1HqCs7swMGI0LH.V4M/RBDGoazYd74O1Yn576kYE6h0MTW', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$rhQfTje9URNey8PzPUBkP.spBqFxW2nnNkqA7T6/nIvJkpKTDyk2a', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 778254699) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$FZoEMfqMWYaFdj4dm0.cMu5BKs2WcFYFpXUtAT/tM6kEuqIL2Za3y', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$LGl9XPiddAEDrUDBHaKEduNgP72MiBOOM7Oau5fH5XN/n8E/kIOQC', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 778254699) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$kR08MuXqvP1R0fQ3t6z/8OuyrSB.EdVNHBcwN6jj7dxY8Z.1hNNLC', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$tTa.mhWXggm39064MBIGcO18adXpjkYEBau419Q63uQMoWbue2oWS', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 778254699) -  (0.4ms) rollback transaction -  (0.2ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$L/tws.CnDgjOw2QlXCoY8u3VaDnJsT1txMrRDhRwz46YyTKgEms4.', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$t0zBp/t7zNldjV.JG8gDWuc7JDos7CgDEY30NmGqmLICQluESW/yi', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 778254699) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$Q1MvxOhhDpFDWCCj9zjt5ufZlg6QCOliyNXojFKNL2V1bu82aQBjC', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$uA2sibeurwgRL/QSIAGVkOoJ1mDf32lpEEb0cN1DnNo/7YdAvGtEu', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 778254699) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$JBzNT7hO2AOkEEn.NNjNO.fhARSTtI15C1zSlm6.Z0azH3Ed6B7eO', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$UXcf0M2TWrrYHSoc3pHAQuPk4fvkqew4OqhweGly/znYwd5qvrkdy', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 778254699) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction - Fixture Delete (0.2ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$SVTLiSq6swEKt4g1npoUauNi/okKdRaOBMHfH/3zXHa46J5xmaBDO', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$CF0feHi3lpqN7qN0DPANhutUrnSqD/Jm1NeBqfouqaRiprhMday4a', '2016-04-06 02:10:08', '2016-04-06 02:10:08', 778254699) -  (0.5ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.5ms) DELETE FROM "users" - Fixture Insert (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$CFvDZWe9rOn0ruDnYZ5GoeZtS0pwjC4qunyxwKLJ6oVcMZ7q4mpCu', '2016-04-06 02:10:23', '2016-04-06 02:10:23', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$LGxW1VcDrS0IgSbCQXyo1.VX5EosI9jjvBL1dRudh3fhX26ak1IvS', '2016-04-06 02:10:23', '2016-04-06 02:10:23', 778254699) -  (8.1ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.2ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:10:23 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 21ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:10:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (19.7ms) -Completed 200 OK in 263ms (Views: 260.9ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:10:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:10:23 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:10:23.477544"], ["current_sign_in_at", "2016-04-06 02:10:23.477544"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:10:23.478215"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 17ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:10:23 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:10:23 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:10:23 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:10:23 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.2ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction -------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification +VerifiableTest: test_adding_errors_for_empty_fields_for_verification -------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:10:23 -0300 -Processing by Devise::SessionsController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:10:23 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:10:23 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$kLUIDlNmzGPyMsgnzmWX3.5uATivFs6J8yORLzqryxQ5FR2SLNtCG', '2016-04-06 02:11:11', '2016-04-06 02:11:11', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$dd9Q5/ETkfaLbVXbQpbBD.mxI0dM396bFAP/NGYyqhDbDcZKIq5zG', '2016-04-06 02:11:11', '2016-04-06 02:11:11', 778254699) -  (9.1ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:11:11 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (28.7ms) -Completed 200 OK in 295ms (Views: 281.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:11:11 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:11:11.840958"], ["current_sign_in_at", "2016-04-06 02:11:11.840958"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:11:11.841703"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 20ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:11:11 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:11:11 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:11:11 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:11:11 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms) -  (8.6ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:11:11 -0300 -Processing by Devise::SessionsController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:11:11 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:11:11 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:11:11 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:11:11 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ---------------------------------------------------- VerifiableTest: test_asserting_when_user_is_verified ---------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$uIu89Xx/ITaWpUGoziCuTeWSaDnZKQ7xl5I.Oi1sLfziXUq6DIfvq', '2016-04-06 02:11:40', '2016-04-06 02:11:40', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$boAEYltIuqJw7vABELZ.cuzTPopLy5RygMNjO0oAL8R0Lj9hLYMGC', '2016-04-06 02:11:40', '2016-04-06 02:11:40', 778254699) -  (9.0ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.2ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ----------------------------------------------------- VerifiableTest: test_refuting_when_user_isnt_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:11:40 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.7ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (30.8ms) -Completed 200 OK in 287ms (Views: 269.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:11:41 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:11:41.020981"], ["current_sign_in_at", "2016-04-06 02:11:41.020981"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:11:41.021790"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 17ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:11:41 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:11:41 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:11:41 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:11:41 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (8.4ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:11:41 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:11:41 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:11:41 -0300 -Processing by Devise::SessionsController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:11:41 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:11:41 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$XJXYqym3XD7pzriAaPWnyOOqDKd7SgCyQOW2V9rr160x2MUIHIlb2', '2016-04-06 02:13:15', '2016-04-06 02:13:15', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$dFAgrQsRqpyrqUU8XLDXUefMtky0gMvuRgzGy7swRubP7yxoFP2C6', '2016-04-06 02:13:15', '2016-04-06 02:13:15', 778254699) -  (9.2ms) commit transaction -  (0.2ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.2ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction ----------------------------------------- VerifiableTest: test_Devise_configuration ----------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$kmCV6kobLMVuWeyGul8N5ulshBSPr/yo3Q1vFizqssdM9hF5iKwNO', '2016-04-06 02:17:07', '2016-04-06 02:17:07', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$zbIg1MJJxIGHwGcy9Mb.vOCoRwXSpRaXeM9CaofcgrFUrsAu3Y7B6', '2016-04-06 02:17:07', '2016-04-06 02:17:07', 778254699) -  (9.2ms) commit transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$Gr.7gO0Xvl22uBXYpR8tfu4MimnGt2aw8jmVFz0VSk2Q4e2b14j0a', '2016-04-06 02:18:33', '2016-04-06 02:18:33', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$Ri7nAh0//5X8Wpvd3gb.lua7TlbnpuMWc6Y4excuQyrs6LznAj04y', '2016-04-06 02:18:33', '2016-04-06 02:18:33', 778254699) -  (8.4ms) commit transaction -  (0.2ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$mOwkftlg03LjvOoMxkBFJu1/TuESPc5ck8lesUzu.yg3JFvk6ke/e', '2016-04-06 02:19:48', '2016-04-06 02:19:48', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$fEMmxbUHYiBiLBT5JEKw8ufEumf1wdRgGK6qKLPEH9DpgJNctnJjS', '2016-04-06 02:19:48', '2016-04-06 02:19:48', 778254699) -  (9.2ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$vyZ89n1WgMyyeDxJ.ycSfOrHDt.ARl48T4c/RTtztNXoT7.rdWpZu', '2016-04-06 02:20:43', '2016-04-06 02:20:43', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$jObxBPZtr3MQJTaxrImikOmZ3/uT5qBA.n6sutL2RpHV6x7OWfIjG', '2016-04-06 02:20:43', '2016-04-06 02:20:43', 778254699) -  (9.2ms) commit transaction -  (0.2ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:20:43 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.4ms) -Completed 200 OK in 279ms (Views: 261.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:20:43 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:20:43.851437"], ["current_sign_in_at", "2016-04-06 02:20:43.851437"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:20:43.852292"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 17ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:20:43 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:20:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:20:43 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:20:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:20:43 -0300 -Processing by Devise::SessionsController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:20:43 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:20:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:20:43 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:20:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.9ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$MYcKRH2WbnEhAzUkkPTE1eXx2/4Qr1XvklnVgZP7lSdhJDnYuZ2F2', '2016-04-06 02:20:57', '2016-04-06 02:20:57', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$P34hnzzKxHXVtp.3apDK3.ie.vzrGL67UpzoVGz4r3TvA.tGeA7eO', '2016-04-06 02:20:57', '2016-04-06 02:20:57', 778254699) -  (9.0ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:20:57 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 21ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:20:58 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.9ms) -Completed 200 OK in 262ms (Views: 250.5ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:20:58 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:20:58 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:20:58.339956"], ["current_sign_in_at", "2016-04-06 02:20:58.339956"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:20:58.340788"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 19ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:20:58 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:20:58 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:20:58 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:20:58 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:20:58 -0300 -Processing by Devise::SessionsController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:20:58 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:20:58 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$bV3ygVwjPBjI8OPEMyqH1.aka3QpxasOtM5oFJbG4TTHTooI/Eqxq', '2016-04-06 02:21:31', '2016-04-06 02:21:31', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$2ABm2rnJ3ZdBrE7Uor/rW.2A5kSMiOvVFOF/YgItqlC3BoppS3N.a', '2016-04-06 02:21:31', '2016-04-06 02:21:31', 778254699) -  (8.8ms) commit transaction -  (0.2ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:21:31 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:21:31 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.7ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (26.5ms) -Completed 200 OK in 338ms (Views: 324.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$n/Vy3H9yrwqGA9Yr9ydXI.ZQqwag4wNQVOna/lyRlYxKLv6tk1zYu', '2016-04-06 02:21:47', '2016-04-06 02:21:47', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$Vo5AqPF3nO.8WGrJSjr8QOZhN92vBJRdkOfRoReVN4UyPoBJzZ5ua', '2016-04-06 02:21:47', '2016-04-06 02:21:47', 778254699) -  (9.3ms) commit transaction -  (0.2ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:21:47 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (26.1ms) -Completed 200 OK in 283ms (Views: 267.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:21:48 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:21:48.276820"], ["current_sign_in_at", "2016-04-06 02:21:48.276820"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:21:48.277729"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 18ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:21:48 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:21:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 12ms (Views: 9.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:21:48 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:21:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.2ms) -  (7.8ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:21:48 -0300 -Processing by Devise::SessionsController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:21:48 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:21:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:21:48 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:21:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$5na3aWSGugiblvlx7IeNdOiy1zK1GRCzD98DfgRl9sA0dPdpGcR4m', '2016-04-06 02:23:23', '2016-04-06 02:23:23', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$bvUxVvBrnPmcbTvfxGkG3uosISfXBfgB74e5x46XRyOeSW8SJiYZy', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:23:23', '2016-04-06 02:23:23', 778254699) -  (9.3ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:23:23 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 23ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:23:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.9ms) -Completed 200 OK in 254ms (Views: 251.8ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:23:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:23:23 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:23:23.621397"], ["current_sign_in_at", "2016-04-06 02:23:23.621397"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:23:23.622239"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 19ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:23:23 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.6ms) -Completed 200 OK in 21ms (Views: 18.9ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:23:23 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:23:23 -0300 -Processing by Devise::SessionsController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] -Redirected to http://www.example.com/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:23:23 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$ApY4glv.1Mf4KWarcPZryOFMVH84iCgjaYKAPUEz9dpAOchjvhU9W', '2016-04-06 02:25:11', '2016-04-06 02:25:11', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$1k7iGpH7gyYEK8T1vb/t4uGCf.s4MtbiKFotkTs3ObHJk93E90I2a', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:25:11', '2016-04-06 02:25:11', 778254699) -  (1.0ms) commit transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:25:11 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.4ms) -Completed 200 OK in 279ms (Views: 265.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:25:11 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:25:11.426609"], ["current_sign_in_at", "2016-04-06 02:25:11.426609"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:25:11.427438"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 18ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:25:11 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:25:11 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:25:11 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:25:11 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:25:11 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:25:11 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:25:11 -0300 -Processing by Devise::SessionsController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:25:11 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:25:11 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (1.0ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$7I9TDYKuqgWUU/wj5eNYrO4bq/.APT6NLWvPcufzIR6XGmvQ1occe', '2016-04-06 02:26:29', '2016-04-06 02:26:29', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$/0FVjfAoMnVVeg4oTyIV5udwbT3wvZ37qzSonktpbCS1fddd6qmwu', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:26:29', '2016-04-06 02:26:29', 778254699) -  (9.2ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:26:29 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (26.4ms) -Completed 200 OK in 287ms (Views: 272.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:26:30 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:26:30.283595"], ["current_sign_in_at", "2016-04-06 02:26:30.283595"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:26:30.284359"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 17ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:26:30 -0300 -Processing by Devise::SessionsController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$0F0ghAjV.PhpRJmodc1mwOJ9uIGeaUvj1L/EHMr4GTFwgKwLKRCcK', '2016-04-06 02:26:51', '2016-04-06 02:26:51', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$kwXZqga7URfBn8k8WJ4nVOpn2DFk96s2HaP1cxliYZZ0sgH.zifsS', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:26:51', '2016-04-06 02:26:51', 778254699) -  (9.3ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:26:51 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 17ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:26:52 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.9ms) -Completed 200 OK in 270ms (Views: 259.0ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:26:52 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:26:52 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:26:52.350052"], ["current_sign_in_at", "2016-04-06 02:26:52.350052"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:26:52.350904"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 19ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:26:52 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:26:52 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.6ms) -Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:26:52 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:26:52 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (8.6ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:26:52 -0300 -Processing by Devise::SessionsController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/ -Filter chain halted as :require_no_authentication rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:26:52 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:26:52 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$naomkkEZyprKRTZ1H.ZDOeTgmkBEQ70O5t8u4F9QNUA3.m4p/eL/q', '2016-04-06 02:27:33', '2016-04-06 02:27:33', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$Jifs/8ZWx91QYZ5z7e1iX.bi.6U2f/P47z4VZPrA1BhpRtWEQW3aS', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:27:33', '2016-04-06 02:27:33', 778254699) -  (9.2ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.2ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (25.8ms) -Completed 200 OK in 281ms (Views: 273.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:27:34.330278"], ["current_sign_in_at", "2016-04-06 02:27:34.330278"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:27:34.331065"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 18ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.7ms) -Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:27:34.406856"], ["current_sign_in_at", "2016-04-06 02:27:34.406856"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:27:34.407537"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:34 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$1DA/8y.PRNEm8L0pKqe3nuWEUsYITrALYzthwif.2zwB3cyR/J5J6', '2016-04-06 02:27:40', '2016-04-06 02:27:40', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$eldZ8wCv1n6y.p5niK1f5OzoZ.hURcTUSB5kJ1M2v0IwojxvaAazS', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:27:40', '2016-04-06 02:27:40', 778254699) -  (9.3ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 11ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.9ms) -Completed 200 OK in 265ms (Views: 253.7ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:27:40.845927"], ["current_sign_in_at", "2016-04-06 02:27:40.845927"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:27:40.846751"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 18ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.1ms) -Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:27:40.927456"], ["current_sign_in_at", "2016-04-06 02:27:40.927456"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:27:40.928141"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:40 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$4QOsjmQQFMa3fmLsIy9/geahi2AycHiHQlqK8Dy0dVFMA4KhQvxNS', '2016-04-06 02:27:45', '2016-04-06 02:27:45', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$ad34iLz8ouyu2SUGdTYKg.gJ5YqiHEYM3rccfVBQt1jgel94f/WoC', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:27:45', '2016-04-06 02:27:45', 778254699) -  (8.9ms) commit transaction -  (0.2ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:45 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 8ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:45 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.8ms) -Completed 200 OK in 263ms (Views: 247.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:46 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:46 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:27:46.251129"], ["current_sign_in_at", "2016-04-06 02:27:46.251129"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:27:46.251929"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 19ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:46 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:27:46 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.3ms) -Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:46 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:27:46 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (8.6ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:46 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:27:46 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:27:46.330566"], ["current_sign_in_at", "2016-04-06 02:27:46.330566"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:27:46.331276"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:46 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:27:46 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$oYNZ9lOeF9Qpkpre7OSec.cckA7lCYsnlzZ7EEhpEZvPwZaQWxT.W', '2016-04-06 02:28:35', '2016-04-06 02:28:35', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$yXpkzB3ZeOnIoPKoQuSk7ezbQc.qLqytXCoQT/jIVVY97sFaICELm', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:28:35', '2016-04-06 02:28:35', 778254699) -  (8.8ms) commit transaction -  (0.2ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (24.5ms) -Completed 200 OK in 212ms (Views: 206.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:28:35.780837"], ["current_sign_in_at", "2016-04-06 02:28:35.780837"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:28:35.782255"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 19ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.4ms) -Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:28:35.868265"], ["current_sign_in_at", "2016-04-06 02:28:35.868265"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:28:35.869111"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:28:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$5RnYMgjZCxSA3aFwK9.AUudMmR0RYPOvPGJ6NpnlYcopS.mXf1vxm', '2016-04-06 02:38:15', '2016-04-06 02:38:15', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$0Chkg/uKd89wgexTsHQuY.grikdxAfeGmqX83Q5JXTd284t74EFky', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:38:15', '2016-04-06 02:38:15', 778254699) -  (0.9ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.2ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 4ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (25.5ms) -Completed 200 OK in 280ms (Views: 277.7ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction ------------------------------------------------------------------------------ NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------ - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:35:59 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:38:16.396284"], ["current_sign_in_at", "2016-04-06 02:38:16.396284"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:38:16.397020"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 19ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (3.2ms) -Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (7.7ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:38:16.471799"], ["current_sign_in_at", "2016-04-06 02:38:16.471799"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:38:16.472334"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:38:16.519007"], ["current_sign_in_at", "2016-04-06 02:38:16.519007"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:38:16.519604"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:38:16 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$ZnpxIXcwg9WYiFi5DiLdTu/84oWyMiFBm5CsrFqkj2qwez8dLj.GS', '2016-04-06 02:39:47', '2016-04-06 02:39:47', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$LzicmAOeVxXTyVHWZ3c9juJtRCpGWGEGx5tSf72j.9mkb8V1VLzU6', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:39:47', '2016-04-06 02:39:47', 778254699) -  (9.1ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.2ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:39:47 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.7ms) -Completed 200 OK in 274ms (Views: 269.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:39:47 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:39:47.921509"], ["current_sign_in_at", "2016-04-06 02:39:47.921509"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:39:47.922137"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:39:47 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:39:47 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (8.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:39:47 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:39:47 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:39:47.988220"], ["current_sign_in_at", "2016-04-06 02:39:47.988220"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:39:47.988837"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:39:47 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:39:47 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (3.2ms) -Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:39:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.6ms) -Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (2.0ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (51.6ms) +Completed 200 OK in 333ms (Views: 325.9ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ------------------------------------------------------------ NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------ -Started GET "/" for 127.0.0.1 at 2016-04-05 23:39:48 -0300 +Started GET "/" for 127.0.0.1 at 2017-11-07 23:35:59 -0200 Processing by HomeController#index as HTML Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:39:48 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:39:48 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.7ms) -Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:39:48 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:39:48.065518"], ["current_sign_in_at", "2016-04-06 02:39:48.065518"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:39:48.066643"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:39:48 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:39:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:39:48 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:39:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$2/iUGnqJH5KnzjXTH0VJvuwC.EuR2dgQdk8s.vJK/MFDUKe.6AsGa', '2016-04-06 02:42:23', '2016-04-06 02:42:23', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$DBBccu8JVSAo0.OrTo8Uwuz3B4qtyRASDD0KHE.2f9Sr6FTjfKUF.', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:42:23', '2016-04-06 02:42:23', 778254699) -  (0.8ms) commit transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction ------------------------------------------------------------ -NavigationTest: test_root_path_requires_users_authentication +NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------ -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:23 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 4ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:23 -0300 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:35:59 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (19.4ms) -Completed 200 OK in 286ms (Views: 284.1ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.8ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:42:24.225688"], ["current_sign_in_at", "2016-04-06 02:42:24.225688"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:42:24.226309"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (0.9ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (5.7ms) +Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction -------------------------------------------------------------------- NavigationTest: test_verified_user_is_not_redirected_to_verification -------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 778254699], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:35:59 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:42:24.286618"], ["current_sign_in_at", "2016-04-06 02:42:24.286618"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:42:24.287216"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:42:24.328777"], ["current_sign_in_at", "2016-04-06 02:42:24.328777"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:42:24.329319"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:24 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$WI3bsgFR9hKwXEXrAs/zResscCuLsD0Q.zLiqen.DwyZcEfB8KJbK', '2016-04-06 02:42:49', '2016-04-06 02:42:49', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$C3QMHkPeUxbWpw/5rReuteGs3f2YAC/eHyZ18hd2PbE7wdxZeA6RG', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:42:49', '2016-04-06 02:42:49', 778254699) -  (9.1ms) commit transaction -  (0.2ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (2.2ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (10.0ms) +Completed 200 OK in 36ms (Views: 32.9ms | ActiveRecord: 0.0ms) +  (0.2ms) rollback transaction +  (0.1ms) begin transaction ------------------------------------------------------------------ NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------ - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:35:59 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.8ms) -Completed 200 OK in 285ms (Views: 279.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:42:49.612631"], ["current_sign_in_at", "2016-04-06 02:42:49.612631"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:42:49.613609"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 21ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) -Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:42:49.715201"], ["current_sign_in_at", "2016-04-06 02:42:49.715201"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:42:49.715756"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.8ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:42:49.756130"], ["current_sign_in_at", "2016-04-06 02:42:49.756130"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:42:49.756707"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$QPFg9E6.Vz2uYOycAAo8uOoX898f4YeiqHbksLXBFwjIrpa2k7vbu', '2016-04-06 02:42:57', '2016-04-06 02:42:57', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$R6c8KzV8p4R5Et9om6uHfOHT/lB2v6SPNkBrYHvb.mW6TQj3CVcWK', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:42:57', '2016-04-06 02:42:57', 778254699) -  (9.2ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:57 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 10ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:57 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.5ms) -Completed 200 OK in 273ms (Views: 270.7ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:57 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.8ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:57 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:42:57.939808"], ["current_sign_in_at", "2016-04-06 02:42:57.939808"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:42:57.940626"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 21ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:57 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:57 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.2ms) -Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:57 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:57 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -  (8.6ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:58 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) -Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:58 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:42:58.029727"], ["current_sign_in_at", "2016-04-06 02:42:58.029727"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:42:58.030314"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:58 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:58 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.6ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:42:58 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms) -  (1.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:58 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:42:58 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:42:58.076587"], ["current_sign_in_at", "2016-04-06 02:42:58.076587"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:42:58.077134"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:58 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.5ms) -Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:42:58 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$5MO1.sOJ73XNDaGzyIlTX.2BzR3e6mxDTH5pqhXLb9zkonClMLw4G', '2016-04-06 02:45:15', '2016-04-06 02:45:15', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$Vfyp8JNxafkWNHaoJf1Kc.ePDZwt.wymryjALkuGF1KS6OQ2nM0JC', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:45:15', '2016-04-06 02:45:15', 778254699) -  (0.8ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 10ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (21.6ms) -Completed 200 OK in 298ms (Views: 285.0ms | ActiveRecord: 0.0ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) -Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:45:15.806028"], ["current_sign_in_at", "2016-04-06 02:45:15.806028"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:45:15.807340"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 33ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by HomeController#index as HTML - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.4ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.5ms) -Completed 200 OK in 19ms (Views: 16.6ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:45:15.903633"], ["current_sign_in_at", "2016-04-06 02:45:15.903633"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:45:15.904311"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.5ms) -Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.7ms) -Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) -Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:45:15.960240"], ["current_sign_in_at", "2016-04-06 02:45:15.960240"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:45:15.961003"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.4ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$BFDDuuuhWb/qab/ADXmqK.0U9Yhte/318gmDFOhyaFuSOFMWXiuhC', '2016-04-06 02:45:30', '2016-04-06 02:45:30', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$9XKVz0QuvFHQ9yEYRrs0ZuGXXkHO0wZuvbaUq2U.CewpliwFr3Cr.', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:45:30', '2016-04-06 02:45:30', 778254699) -  (9.1ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.3ms) -Completed 200 OK in 275ms (Views: 269.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.3ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:45:31.077087"], ["current_sign_in_at", "2016-04-06 02:45:31.077087"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:45:31.078094"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.9ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.5ms) -Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:45:31.149114"], ["current_sign_in_at", "2016-04-06 02:45:31.149114"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:45:31.149631"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (3.2ms) -Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.9ms) -Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:45:31.205751"], ["current_sign_in_at", "2016-04-06 02:45:31.205751"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:45:31.206306"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:45:31 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.5ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$5mV4V63S0r2VuAnL8x0ktehrhI/ghrT4Qnz7Cya/gPu7XxBO/l9pu', '2016-04-06 02:46:06', '2016-04-06 02:46:06', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$GzJAlhCJQ.g/wAmvUChfGOx/NJZL5ydKNt0ozfpJdpLcOfuWArEAS', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:46:06', '2016-04-06 02:46:06', 778254699) -  (8.2ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.2ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (25.1ms) -Completed 200 OK in 270ms (Views: 264.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:46:06.860293"], ["current_sign_in_at", "2016-04-06 02:46:06.860293"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:46:06.861452"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 21ms (ActiveRecord: 0.9ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (8.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:46:06.936342"], ["current_sign_in_at", "2016-04-06 02:46:06.936342"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:46:06.936915"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:06 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:46:06.997549"], ["current_sign_in_at", "2016-04-06 02:46:06.997549"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:46:06.998178"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:07 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.5ms) -Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:07 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$viCx3Az18He9M9MAOzcNGediMYhRsASygxz96hhR6Hx6t1mZ9ccNK', '2016-04-06 02:46:14', '2016-04-06 02:46:14', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$3k66RDEWkaf3F1P10IixFe26nenE3kQ9JchX2gLRqy6deEC3qpu6e', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:46:14', '2016-04-06 02:46:14', 778254699) -  (9.2ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:14 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 9ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.3ms) -Completed 200 OK in 256ms (Views: 253.8ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:46:15.302918"], ["current_sign_in_at", "2016-04-06 02:46:15.302918"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:46:15.303542"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (7.7ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) -Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:46:15.365728"], ["current_sign_in_at", "2016-04-06 02:46:15.365728"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:46:15.366566"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:46:15.423745"], ["current_sign_in_at", "2016-04-06 02:46:15.423745"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:46:15.424341"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:46:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$BGcF1G2vI/IvivN1UQV4DOL0Kq5guiAs.Jm.VcpXKMqrg8wkWc3US', '2016-04-06 02:47:25', '2016-04-06 02:47:25', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$F44zEX0NeLHNRFw0mZMT6eGdFZjU5RXbjeg0OR1pS0yBiY9yy8FRC', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:47:25', '2016-04-06 02:47:25', 778254699) -  (9.2ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:47:25 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.1ms) -Completed 200 OK in 258ms (Views: 252.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:47:26.042283"], ["current_sign_in_at", "2016-04-06 02:47:26.042283"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:47:26.043153"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 22ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:47:26.116044"], ["current_sign_in_at", "2016-04-06 02:47:26.116044"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:47:26.116580"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 0.3ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:47:26.192813"], ["current_sign_in_at", "2016-04-06 02:47:26.192813"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:47:26.193398"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:47:26 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$z/v8eREq3imtxMS53VzPgONzceEeXgrfceoZPw/ctC8UvOH7D9cIy', '2016-04-06 02:49:37', '2016-04-06 02:49:37', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$fqKuA3Hbt.2s3eGVD.5nA.Dxb8w05aniEbYRJQE51pP8v44bL3nQi', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:49:37', '2016-04-06 02:49:37', 778254699) -  (8.7ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.9ms) -Completed 200 OK in 260ms (Views: 254.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:49:37.581906"], ["current_sign_in_at", "2016-04-06 02:49:37.581906"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:49:37.582542"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.5ms) -Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:49:37.650056"], ["current_sign_in_at", "2016-04-06 02:49:37.650056"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:49:37.650592"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:49:37.718073"], ["current_sign_in_at", "2016-04-06 02:49:37.718073"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:49:37.718702"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:49:37 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$v0PJum2R7A2sKPuY3QvVV.p3YNXo7Yj0d9VvjQf/PCndPAQWIHe1q', '2016-04-06 02:50:26', '2016-04-06 02:50:26', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$iQ5PXaijp6qjXLkt.J5BCuy59qXA3AtRhvE7ZkpcTqgIyw9H4vzVi', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:50:26', '2016-04-06 02:50:26', 778254699) -  (9.0ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:50:26 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (22.9ms) -Completed 200 OK in 274ms (Views: 268.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:50:27.106802"], ["current_sign_in_at", "2016-04-06 02:50:27.106802"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:50:27.107964"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 24ms (ActiveRecord: 1.0ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (3.4ms) -Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.6ms) -Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:50:27.187868"], ["current_sign_in_at", "2016-04-06 02:50:27.187868"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:50:27.188429"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:50:27.251729"], ["current_sign_in_at", "2016-04-06 02:50:27.251729"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:50:27.252382"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:50:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$9PlsalBwL/HD.Gfg.coGE.qDZNcDB9C0rl3w/DZVLl08U4bThvDdG', '2016-04-06 02:54:28', '2016-04-06 02:54:28', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$1t0FsndF6tUxdNULZCiqbeZ7dwUi/VDEcvygxd3o6VLFBM2PoCstO', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:54:28', '2016-04-06 02:54:28', 778254699) -  (11.4ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (29.5ms) -Completed 200 OK in 253ms (Views: 247.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:54:29.319048"], ["current_sign_in_at", "2016-04-06 02:54:29.319048"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:54:29.319947"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 21ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) -Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:54:29.410187"], ["current_sign_in_at", "2016-04-06 02:54:29.410187"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:54:29.410803"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:54:29.450332"], ["current_sign_in_at", "2016-04-06 02:54:29.450332"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:54:29.450847"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.0ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (8.0ms) +Completed 200 OK in 20ms (Views: 19.7ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction -------------------------------------------------------------------------- NavigationTest: test_verifies_the_user_filling_all_fields_for_verification -------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:35:59 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:54:29.493987"], ["current_sign_in_at", "2016-04-06 02:54:29.493987"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:54:29.494513"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.5ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started PATCH "/users/verification.user" for 127.0.0.1 at 2016-04-05 23:54:29 -0300 -  (0.6ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$8.QbHNpaQeaP3Wb9t69WKuwcJQMI.ghAHT8P4iO4om0lYX2fSnmPm', '2016-04-06 02:55:30', '2016-04-06 02:55:30', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$Yn01AvaA5izOlpaPR2ygAutRAticR.06m7tNeLyaGgEcy3pVGljfu', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:55:30', '2016-04-06 02:55:30', 778254699) -  (9.3ms) commit transaction -  (0.1ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (0.9ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (6.9ms) +Completed 200 OK in 25ms (Views: 24.3ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction -------------------------------- DeviseVerifiableTest: test_truth -------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.6ms) -Completed 200 OK in 255ms (Views: 250.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:30 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:55:30.879041"], ["current_sign_in_at", "2016-04-06 02:55:30.879041"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:55:30.879880"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 18ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:30 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:55:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.8ms) -Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:30 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:55:30.955650"], ["current_sign_in_at", "2016-04-06 02:55:30.955650"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:55:30.956742"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:55:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.8ms) -Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) -Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:30 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:55:30.991768"], ["current_sign_in_at", "2016-04-06 02:55:30.991768"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:55:30.992340"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:31 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:31 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:31 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:55:31.043302"], ["current_sign_in_at", "2016-04-06 02:55:31.043302"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:55:31.043849"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:31 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:55:31 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (0.7ms) -Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:31 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:31 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.8ms) -Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.2ms) rollback transaction -  (0.2ms) begin transaction +  (0.0ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (1.3ms) DELETE FROM "users" + Fixture Insert (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$gDSIIUcXmj66SBL02Hmnw.Ee1A03kYcDIm4YlySrddT4rlKji6nPW', '2017-11-08 01:36:27.428766', '2017-11-08 01:36:27.428766', 830138774) + Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$FCsSd.KeaGpDLNBYJj5ALufQHG9d6zMoCLwfRvRF1Cv7/4BlZWvmu', 'Verified John Doe', '551, 5th Street', '2017-11-08 01:36:27.428766', '2017-11-08 01:36:27.428766', 778254699) +  (8.7ms) commit transaction +  (0.1ms) begin transaction ---------------------------------------------- DefaultRoutingTest: test_map_user_verification ---------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.4ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$PjhUgyc2YRFuDyCzHW76/.88fcE7Tt0rBMSARdvZIuPBqvVeI8PJ2', '2016-04-06 02:55:53', '2016-04-06 02:55:53', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$sZdcxpfx2ALTYnh66Ndf1OWHRYf6..8qpCKG4qO5fS/EXCl5UGZH2', 'Verified John Doe', '551, 5th Street', '2016-04-06 02:55:53', '2016-04-06 02:55:53', 778254699) -  (8.7ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:53 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 11ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (19.6ms) -Completed 200 OK in 284ms (Views: 266.8ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:55:54.357162"], ["current_sign_in_at", "2016-04-06 02:55:54.357162"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:55:54.358007"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 21ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.6ms) -Completed 200 OK in 14ms (Views: 11.2ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) -  (8.6ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:55:54.430030"], ["current_sign_in_at", "2016-04-06 02:55:54.430030"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:55:54.430617"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.2ms) -Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Completed 500 Internal Server Error in 77ms (ActiveRecord: 0.1ms) -  (8.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:55:54.588334"], ["current_sign_in_at", "2016-04-06 02:55:54.588334"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:55:54.589093"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.6ms) -Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) -Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 02:55:54.645831"], ["current_sign_in_at", "2016-04-06 02:55:54.645831"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 02:55:54.646671"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-05 23:55:54 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.5ms) -Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.2ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction -------------------------------------------------- DefaultRoutingTest: test_map_new_user_verification -------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$AcArQBDVl6RsOV/NpvLyuOFX9S.jTSHrtv2JRSPtlzKq4iYAtliNG', '2016-04-06 03:01:52', '2016-04-06 03:01:52', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$vVh0RAJCrvrMWb9h4pNO9eBnXNFkx8rM1wqOtjA0e9iE/OJeTr/5S', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:01:52', '2016-04-06 03:01:52', 778254699) -  (8.2ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ------------------------------------------------------------ NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------ -Started GET "/" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 +Started GET "/" for 127.0.0.1 at 2017-11-07 23:36:27 -0200 Processing by HomeController#index as HTML Completed 401 Unauthorized in 4ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.6ms) -Completed 200 OK in 263ms (Views: 260.5ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) -Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:01:53.388661"], ["current_sign_in_at", "2016-04-06 03:01:53.388661"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:01:53.389836"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 22ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.4ms) -Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:01:53.462487"], ["current_sign_in_at", "2016-04-06 03:01:53.462487"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:01:53.463086"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.2ms) -Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.7ms) -Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:01:53.516812"], ["current_sign_in_at", "2016-04-06 03:01:53.516812"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:01:53.517865"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:01:53.562526"], ["current_sign_in_at", "2016-04-06 03:01:53.562526"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:01:53.563123"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:01:53 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.4ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$tuAOR0OCpkArH.VhqiOIVu9yksay43TYciZBIOONX6TowLziS4bh.', '2016-04-06 03:02:14', '2016-04-06 03:02:14', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$35Xwm/Y7sP8Tk.TuYof.zuuKA4CGCywO5H7wVLELyXUSPlzlafYci', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:02:14', '2016-04-06 03:02:14', 778254699) -  (8.3ms) commit transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.3ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:02:14 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.0ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (30.7ms) -Completed 200 OK in 302ms (Views: 295.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:02:15.048755"], ["current_sign_in_at", "2016-04-06 03:02:15.048755"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:02:15.049635"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 20ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms) -  (8.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:02:15.137259"], ["current_sign_in_at", "2016-04-06 03:02:15.137259"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:02:15.137821"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.5ms) -Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.2ms) -Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) -Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:02:15.180914"], ["current_sign_in_at", "2016-04-06 03:02:15.180914"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:02:15.181474"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:02:15.226128"], ["current_sign_in_at", "2016-04-06 03:02:15.226128"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:02:15.226719"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.2ms) begin transaction ------------------------------------------------------------ -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:02:15 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) -Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$ohsX21SDiy5xv9Y4qoRzv.PuZ8HD5cfw7ESTSONPiAJ.mAwuJMvAa', '2016-04-06 03:07:20', '2016-04-06 03:07:20', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$9.TQ0sJGjM1A77mIghqeSOJmxpy4urep00pd0jEt2eeGWcyjhvROe', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:07:20', '2016-04-06 03:07:20', 778254699) -  (1.0ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:07:20 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 8ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:07:20 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (17.8ms) -Completed 200 OK in 278ms (Views: 266.5ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:07:21.176286"], ["current_sign_in_at", "2016-04-06 03:07:21.176286"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:07:21.177704"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 23ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by HomeController#index as HTML - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.3ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:07:21.249472"], ["current_sign_in_at", "2016-04-06 03:07:21.249472"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:07:21.250055"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:07:21.292829"], ["current_sign_in_at", "2016-04-06 03:07:21.292829"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:07:21.293361"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:07:21.334958"], ["current_sign_in_at", "2016-04-06 03:07:21.334958"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:07:21.335580"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:07:21 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:07:21.359445"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Completed 406 Not Acceptable in 4ms (ActiveRecord: 0.5ms) -  (0.8ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$C5UtG1OLzZp3ituWVcYkt.3icfaDtSVUvRM.I79qDLNjWJNJEKk1.', '2016-04-06 03:08:35', '2016-04-06 03:08:35', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$fWkkeXJL6PKRh3aYFckq/eWkGQW3ILm6Okhshakng8ZiBhHr152vC', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:08:35', '2016-04-06 03:08:35', 778254699) -  (0.9ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (28.7ms) -Completed 200 OK in 284ms (Views: 277.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:08:35.434014"], ["current_sign_in_at", "2016-04-06 03:08:35.434014"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:08:35.434838"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 18ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:08:35.486710"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 5ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.1ms) -  (8.8ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:08:35.535558"], ["current_sign_in_at", "2016-04-06 03:08:35.535558"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:08:35.536104"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:08:35.571462"], ["current_sign_in_at", "2016-04-06 03:08:35.571462"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:08:35.572023"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.2ms) -  (0.5ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:08:35.617545"], ["current_sign_in_at", "2016-04-06 03:08:35.617545"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:08:35.618069"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:08:35 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (1.7ms) DELETE FROM "users" - Fixture Insert (0.7ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$oPQXg4J4ZTuomb1oDe.EK.Z/GiV1NmEtMHDQ5PqzcyVqBLqHzU3ea', '2016-04-06 03:14:43', '2016-04-06 03:14:43', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$KVWPfk/4y45JJKJ2x3TAvuaLBi6zN/NRHiqPhxSKk0QFlHhaswDxu', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:14:43', '2016-04-06 03:14:43', 778254699) -  (1.1ms) commit transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 7ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (32.7ms) -Completed 200 OK in 303ms (Views: 284.5ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:14:43.710215"], ["current_sign_in_at", "2016-04-06 03:14:43.710215"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:14:43.711322"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 22ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:14:43.777118"], ["current_sign_in_at", "2016-04-06 03:14:43.777118"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:14:43.777663"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.5ms) -Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:14:43.820249"], ["current_sign_in_at", "2016-04-06 03:14:43.820249"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:14:43.820806"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) -Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:14:43.866183"], ["current_sign_in_at", "2016-04-06 03:14:43.866183"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:14:43.866748"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:14:43 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:14:43.891671"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.5ms) -  (0.8ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$9OLdlKrFuU9yBBzshAcHeeVpkXT51ZijKAF3nMzWCOrh/aBcHk.k6', '2016-04-06 03:15:36', '2016-04-06 03:15:36', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$rUoOzlauvbuUdTuzdrYHSuGcj602tH1.yOdaRr12/JDeRV4jD8fFq', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:15:36', '2016-04-06 03:15:36', 778254699) -  (9.2ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.2ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:15:36 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.2ms) -Completed 200 OK in 279ms (Views: 273.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:15:37.231616"], ["current_sign_in_at", "2016-04-06 03:15:37.231616"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:15:37.232419"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 19ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.6ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:15:37.284196"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.5ms) -Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.1ms) -  (8.8ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) -Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:15:37.335905"], ["current_sign_in_at", "2016-04-06 03:15:37.335905"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:15:37.336509"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:15:37.381842"], ["current_sign_in_at", "2016-04-06 03:15:37.381842"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:15:37.382395"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:15:37.419741"], ["current_sign_in_at", "2016-04-06 03:15:37.419741"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:15:37.420630"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 10ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:15:37 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (1.4ms) DELETE FROM "users" - Fixture Insert (0.6ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$dIwrT1Sr43aTbYBzBs2ltOwR2ms2/OAq.WX/gPBcTsx.XXPCCJWXi', '2016-04-06 03:17:33', '2016-04-06 03:17:33', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$chkzHjkfuVjt.p5fBBwZdeNW6X2KOPm3OzQLNZqI/BuxSrw6wZJ16', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:17:33', '2016-04-06 03:17:33', 778254699) -  (1.3ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 14ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.7ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (34.6ms) -Completed 200 OK in 325ms (Views: 306.5ms | ActiveRecord: 0.0ms) -  (0.2ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:17:33.677837"], ["current_sign_in_at", "2016-04-06 03:17:33.677837"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:17:33.679483"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 24ms (ActiveRecord: 1.0ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:17:33.756320"], ["current_sign_in_at", "2016-04-06 03:17:33.756320"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:17:33.757003"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.5ms) -Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -  (0.9ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) -Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:17:33.803684"], ["current_sign_in_at", "2016-04-06 03:17:33.803684"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:17:33.804285"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.7ms) -Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:17:33.848783"], ["current_sign_in_at", "2016-04-06 03:17:33.848783"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:17:33.849335"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:17:33.873495"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:33 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms) -  (0.7ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$aQKomQ/ceobK39Tjpw8jQun8mVRz26MA/g8KsE7dA5xpaqYkLzTAW', '2016-04-06 03:17:49', '2016-04-06 03:17:49', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$qMTyuEoK1kwLjZUXxxlMKOdcXom8YdPTtnSCQ6gVst.WkrwJiw/U.', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:17:49', '2016-04-06 03:17:49', 778254699) -  (9.0ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:49 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 10ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (21.9ms) -Completed 200 OK in 285ms (Views: 272.8ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:17:49.935838"], ["current_sign_in_at", "2016-04-06 03:17:49.935838"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:17:49.937052"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 23ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:49 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.7ms) -Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.5ms) -Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.5ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) -Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:17:50.026365"], ["current_sign_in_at", "2016-04-06 03:17:50.026365"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:17:50.026937"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) -Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:17:50.072552"], ["current_sign_in_at", "2016-04-06 03:17:50.072552"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:17:50.073093"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:17:50.122986"], ["current_sign_in_at", "2016-04-06 03:17:50.122986"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:17:50.123694"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:17:50 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.2ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:17:50.149369"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 25991ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:18:16 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.5ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.3ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.5ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$QTwD0Y.s5EIfTDFYec/yWO7915tCsM7MPu5ZAnkMrGpwZCSGA2e5C', '2016-04-06 03:18:25', '2016-04-06 03:18:25', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$uXTy2VFEgFGqQPt33vPqderg7qTVqxus6o39IreHHSpoh/dUSqdiu', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:18:25', '2016-04-06 03:18:25', 778254699) -  (9.0ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.2ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.3ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (25.1ms) -Completed 200 OK in 277ms (Views: 271.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:18:26.343577"], ["current_sign_in_at", "2016-04-06 03:18:26.343577"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:18:26.344242"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.1ms) -Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.6ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) -  (8.6ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) -Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:18:26.427373"], ["current_sign_in_at", "2016-04-06 03:18:26.427373"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:18:26.428053"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:18:26.492675"], ["current_sign_in_at", "2016-04-06 03:18:26.492675"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:18:26.493416"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.5ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:18:26.524266"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:18:26.558209"], ["current_sign_in_at", "2016-04-06 03:18:26.558209"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:18:26.558771"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:18:26 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (1.0ms) DELETE FROM "users" - Fixture Insert (0.4ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$mnG1LECBeP3TOpWAKcO4y.g5f8f7pv.u92oas23t0500cHZlz1kt6', '2016-04-06 03:23:47', '2016-04-06 03:23:47', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$cUdfT7gN4W1SNQ4Qme4j1ep8i/.xCsMRAdJS34hefPa1XTjkpkcLi', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:23:47', '2016-04-06 03:23:47', 778254699) -  (0.7ms) commit transaction -  (0.0ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (33.4ms) -Completed 200 OK in 275ms (Views: 269.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:23:48.349971"], ["current_sign_in_at", "2016-04-06 03:23:48.349971"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:23:48.350710"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 17ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:23:48.404639"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:23:48.440344"], ["current_sign_in_at", "2016-04-06 03:23:48.440344"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:23:48.440937"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) -  (1.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:23:48.476169"], ["current_sign_in_at", "2016-04-06 03:23:48.476169"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:23:48.476845"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:23:48.520574"], ["current_sign_in_at", "2016-04-06 03:23:48.520574"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:23:48.521319"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:23:48 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) begin transaction - Fixture Delete (0.4ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$1pEJiDtZfIoAKm9TQtRcC.FdW2yX4dtu9BkpKla8jhrhobwgne8DC', '2016-04-06 03:24:20', '2016-04-06 03:24:20', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$DiguvWlM448OOXCk4N0su.JbjZSbYI4DpsyN4lPggANrrj3.1p5nG', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:24:20', '2016-04-06 03:24:20', 778254699) -  (8.4ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:20 -0300 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:36:27 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (40.3ms) -Completed 200 OK in 460ms (Views: 452.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:20 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:20.922942"], ["current_sign_in_at", "2016-04-06 03:24:20.922942"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:20.924155"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 32ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:20 -0300 -Processing by HomeController#index as HTML - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.4ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:20 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (3.6ms) -Completed 200 OK in 27ms (Views: 24.9ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.1ms) -Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 0.1ms) -  (8.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.8ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (4.6ms) -Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.2ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:21.072088"], ["current_sign_in_at", "2016-04-06 03:24:21.072088"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:21.075100"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 13ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.2ms) -Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 -  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.5ms) -Completed 200 OK in 29ms (Views: 25.9ms | ActiveRecord: 0.2ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:21.164970"], ["current_sign_in_at", "2016-04-06 03:24:21.164970"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:21.165829"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.1ms) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:21.211878"], ["current_sign_in_at", "2016-04-06 03:24:21.211878"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:21.212528"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:21.272000"], ["current_sign_in_at", "2016-04-06 03:24:21.272000"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:21.272714"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started POST "/users/verification.user" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by Devise::VerificationController#create as - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:24:21.298224"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$WMinPcFcFstSY4zqhACdAegJA2hQPN.oM7dG07GEpsVPJYgXH68w6', '2016-04-06 03:24:43', '2016-04-06 03:24:43', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$uVrq8832gPaetG2iolQ6WuTcaL61.28mZ6yXqekYk/8Qllzddk81S', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:24:43', '2016-04-06 03:24:43', 778254699) -  (8.6ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:43 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (27.7ms) -Completed 200 OK in 268ms (Views: 262.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:44.297041"], ["current_sign_in_at", "2016-04-06 03:24:44.297041"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:44.297756"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 17ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:24:44.352094"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms) -  (8.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:44.394702"], ["current_sign_in_at", "2016-04-06 03:24:44.394702"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:44.395322"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.2ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (17.3ms) +Completed 200 OK in 226ms (Views: 218.5ms | ActiveRecord: 0.0ms) +  (0.2ms) rollback transaction +  (0.1ms) begin transaction ------------------------------------------------------------------------------ NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------ - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:36:27 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:44.433081"], ["current_sign_in_at", "2016-04-06 03:24:44.433081"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:44.433808"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) -Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:44.476625"], ["current_sign_in_at", "2016-04-06 03:24:44.476625"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:44.477238"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:44.541596"], ["current_sign_in_at", "2016-04-06 03:24:44.541596"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:44.542278"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:24:44 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 -  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$29Rc3bDmklzkb3PX9svD/u3RWfcGc7pXbwVANkfpwGEJq0pSJUiCu', '2016-04-06 03:24:54', '2016-04-06 03:24:54', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$WVb5ljCsq0uOtjVAdTaUD.hgfInme/82VrdbdKnC2nhrit1oCGS0C', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:24:54', '2016-04-06 03:24:54', 778254699) -  (8.6ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (26.4ms) -Completed 200 OK in 257ms (Views: 251.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:55.334880"], ["current_sign_in_at", "2016-04-06 03:24:55.334880"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:55.335611"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 17ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (8.3ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:55.407731"], ["current_sign_in_at", "2016-04-06 03:24:55.407731"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:55.408401"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:24:55.433859"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.3ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (6.9ms) +Completed 200 OK in 44ms (Views: 42.7ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction -------------------------------------------------------------------- NavigationTest: test_verified_user_is_not_redirected_to_verification -------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 778254699], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:36:27 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:55.470113"], ["current_sign_in_at", "2016-04-06 03:24:55.470113"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:55.470698"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:55.506451"], ["current_sign_in_at", "2016-04-06 03:24:55.506451"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:55.507041"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 -  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:24:55.559085"], ["current_sign_in_at", "2016-04-06 03:24:55.559085"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:24:55.559697"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:24:55 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$WU21DAX0QEoeEQ90x8VWUe/aHKWUDdpF3PirGh.BgnYSj.xCN5mBe', '2016-04-06 03:25:20', '2016-04-06 03:25:20', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$JqNbAezLG75JSOUCl9SVXOORhyHOmuEixP4wPLwcbgXv/akye.luK', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:25:20', '2016-04-06 03:25:20', 778254699) -  (8.7ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:25:20 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 4ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:25:20 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (21.4ms) -Completed 200 OK in 251ms (Views: 248.3ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:25:21.203946"], ["current_sign_in_at", "2016-04-06 03:25:21.203946"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:25:21.204735"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 18ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:25:21.256546"], ["current_sign_in_at", "2016-04-06 03:25:21.256546"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:25:21.257166"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (3.3ms) -Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.1ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (8.1ms) +Completed 200 OK in 23ms (Views: 22.5ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ------------------------------------------------------------------ NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------ - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:36:27 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:25:21.310469"], ["current_sign_in_at", "2016-04-06 03:25:21.310469"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:25:21.311055"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.3ms) -Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:25:21.355982"], ["current_sign_in_at", "2016-04-06 03:25:21.355982"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:25:21.356607"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 -  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.1ms) -Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.2ms) -  (0.3ms) rollback transaction -  (0.0ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.2ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (6.9ms) +Completed 200 OK in 19ms (Views: 17.8ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction -------------------------------------------------------------------------- NavigationTest: test_verifies_the_user_filling_all_fields_for_verification -------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:36:28 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:25:21.407605"], ["current_sign_in_at", "2016-04-06 03:25:21.407605"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:25:21.408187"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:25:21.435731"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:25:21 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (1.1ms) DELETE FROM "users" - Fixture Insert (0.5ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$8exYRTPY1pZhDUWTEth6F.VxQbOYd9A3.Ux4R2UpZYsKwTxq.wefG', '2016-04-06 03:26:30', '2016-04-06 03:26:30', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$FflvsO7O5LC.fXnVVUgfgulOliFELsViX.KuQAdfBNOoqcEOyDH82', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:26:30', '2016-04-06 03:26:30', 778254699) -  (0.6ms) commit transaction -  (0.0ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (26.4ms) -Completed 200 OK in 268ms (Views: 261.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:26:30.476469"], ["current_sign_in_at", "2016-04-06 03:26:30.476469"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:26:30.477203"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 17ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.2ms) -Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:26:30.526343"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:26:30.561875"], ["current_sign_in_at", "2016-04-06 03:26:30.561875"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:26:30.562521"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", ""], ["address", ""], ["updated_at", "2016-04-06 03:26:30.587567"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:26:30.637463"], ["current_sign_in_at", "2016-04-06 03:26:30.637463"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:26:30.638157"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.3ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:26:30.681391"], ["current_sign_in_at", "2016-04-06 03:26:30.681391"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:26:30.681968"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:26:30.717711"], ["current_sign_in_at", "2016-04-06 03:26:30.717711"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:26:30.718305"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:26:30 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (2.0ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (9.9ms) +Completed 200 OK in 22ms (Views: 21.5ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction -------------------------------- DeviseVerifiableTest: test_truth -------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction ----------------------------------------- VerifiableTest: test_Devise_configuration ----------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$21XHiJTXn2oguwP2GjCGH.YmbqEF9CtUQz.CfF7vCG9RRpdNaxXqO', '2016-04-06 03:27:01', '2016-04-06 03:27:01', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$vxzN.64CtHb5gTFmjnlSw.KrNG3PFbiIxnOgbZ99OIbXM8XZ0qjXC', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:27:01', '2016-04-06 03:27:01', 778254699) -  (9.0ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 5ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (20.2ms) -Completed 200 OK in 248ms (Views: 245.3ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:27:01.434452"], ["current_sign_in_at", "2016-04-06 03:27:01.434452"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:27:01.435190"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 17ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", ""], ["address", ""], ["updated_at", "2016-04-06 03:27:01.479245"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (8.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:27:01.520430"], ["current_sign_in_at", "2016-04-06 03:27:01.520430"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:27:01.521059"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction -------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification +VerifiableTest: test_adding_errors_for_empty_fields_for_verification -------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:27:01.565918"], ["current_sign_in_at", "2016-04-06 03:27:01.565918"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:27:01.566505"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:27:01.608208"], ["current_sign_in_at", "2016-04-06 03:27:01.608208"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:27:01.608974"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:27:01.638105"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 5ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) -Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:27:01.667927"], ["current_sign_in_at", "2016-04-06 03:27:01.667927"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:27:01.668522"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:01 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.4ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$2dYLJlBcJEaj59IBtrMtBeMFDQRh2yu5Te7GrUgT.45Q/bfIlGl7y', '2016-04-06 03:27:19', '2016-04-06 03:27:19', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$wyIaqBvxOoF4gzS/3Iwy9.nG2fl5/M2glkglwDAC991PDvYsI.EQG', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:27:19', '2016-04-06 03:27:19', 778254699) -  (0.8ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:19 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 9ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:19 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (22.1ms) -Completed 200 OK in 265ms (Views: 252.8ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:19 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) -Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:19 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:27:20.003233"], ["current_sign_in_at", "2016-04-06 03:27:20.003233"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:27:20.004106"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 19ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.5ms) -Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.6ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", ""], ["address", ""], ["updated_at", "2016-04-06 03:27:20.056678"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 5ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:27:20.100114"], ["current_sign_in_at", "2016-04-06 03:27:20.100114"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:27:20.100844"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:27:20.148578"], ["current_sign_in_at", "2016-04-06 03:27:20.148578"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:27:20.149240"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:27:20.177277"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) -Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:27:20.214554"], ["current_sign_in_at", "2016-04-06 03:27:20.214554"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:27:20.215234"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:27:20.253705"], ["current_sign_in_at", "2016-04-06 03:27:20.253705"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:27:20.254740"], ["id", 830138774]] -  (2.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 11ms (ActiveRecord: 2.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.1ms) -Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:27:20 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ----------------------------------------------------- VerifiableTest: test_refuting_when_user_isnt_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction ---------------------------------------------------- VerifiableTest: test_asserting_when_user_is_verified ---------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.4ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$qrew16pYv6rsL2nPX5NjxOFt03kGE9NDzjmxNkV5Ep5vBvfTl6D6S', '2016-04-06 03:29:08', '2016-04-06 03:29:08', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$UATtSHnnZpKk6rGDiKY/2OaW0UL2bihfnsnQGZFfscS0/SN.Y8VqO', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:29:08', '2016-04-06 03:29:08', 778254699) -  (8.1ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.2ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (33.0ms) -Completed 200 OK in 326ms (Views: 318.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:29:08.688552"], ["current_sign_in_at", "2016-04-06 03:29:08.688552"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:29:08.690164"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 42ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by HomeController#index as HTML - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.3ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.6ms) -Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.6ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", ""], ["address", ""], ["updated_at", "2016-04-06 03:29:08.779953"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (3.2ms) -Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) -Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:29:08.827692"], ["current_sign_in_at", "2016-04-06 03:29:08.827692"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:29:08.828724"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 11ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction +  (0.0ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (1.1ms) DELETE FROM "users" + Fixture Insert (0.8ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$iuMAfzp.Y6efsxnylynNs.wReSXZeVcrLX61xQcvtv79yXin.p46C', '2017-11-08 01:43:47.675119', '2017-11-08 01:43:47.675119', 830138774) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$UNqH9qEtRnnB65wTIWaINupeD.uJpSp/TYxfYoVDnZucvjxo4VlwG', 'Verified John Doe', '551, 5th Street', '2017-11-08 01:43:47.675119', '2017-11-08 01:43:47.675119', 778254699) +  (1.0ms) commit transaction +  (0.1ms) begin transaction -------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:29:08.881604"], ["current_sign_in_at", "2016-04-06 03:29:08.881604"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:29:08.882599"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.5ms) -Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:29:08.931907"], ["current_sign_in_at", "2016-04-06 03:29:08.931907"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:29:08.932711"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.5ms) -Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.5ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:29:08 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.4ms) -Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:29:09 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:29:09.009737"], ["current_sign_in_at", "2016-04-06 03:29:09.009737"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:29:09.010614"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:29:09 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:29:09 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.7ms) -Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:29:09 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.5ms) -Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.2ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:29:09 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:29:09.048002"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 5ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:29:09 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (1.6ms) DELETE FROM "users" - Fixture Insert (0.5ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$hEi0ocd.1pT8Pb9Z8bX9feyQyZx7kyCgjfazDnxFZi5YqVgyatJFy', '2016-04-06 03:41:50', '2016-04-06 03:41:50', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$l1Vzy7AHDMEuYoVcBfzbUemOGS.zmLlIuDN5H.jxxQmZCVWvXO5Vy', 'Verified John Doe', '551, 5th Street', '2016-04-06 03:41:50', '2016-04-06 03:41:50', 778254699) -  (0.7ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (39.3ms) -Completed 200 OK in 295ms (Views: 286.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:41:50.832489"], ["current_sign_in_at", "2016-04-06 03:41:50.832489"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:41:50.833307"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 19ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (4.7ms) -Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) -Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:41:50.925575"], ["current_sign_in_at", "2016-04-06 03:41:50.925575"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:41:50.926350"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.6ms) -Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", ""], ["address", ""], ["updated_at", "2016-04-06 03:41:50.960767"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.3ms) -Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.1ms) -  (0.7ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:41:50 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:41:51.005943"], ["current_sign_in_at", "2016-04-06 03:41:51.005943"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:41:51.006759"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) -Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:41:51.085000"], ["current_sign_in_at", "2016-04-06 03:41:51.085000"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:41:51.085742"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.8ms) -Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 03:41:51.141916"], ["current_sign_in_at", "2016-04-06 03:41:51.141916"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 03:41:51.142653"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 03:41:51.175324"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 5ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 00:41:51 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (1.4ms) DELETE FROM "users" - Fixture Insert (0.5ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$HjcBq0Z9OUBVr65YCFr5S.P7QKh6TSlLVY1acZwBLjExxeQgEu4t6', '2016-04-06 14:51:13', '2016-04-06 14:51:13', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$62lMwjtlTBFgNAcaBuD7p.9S4TDvrZF7rjwp.uwjiaMjv7XuYPev6', 'Verified John Doe', '551, 5th Street', '2016-04-06 14:51:13', '2016-04-06 14:51:13', 778254699) -  (2.6ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.0ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (49.2ms) -Completed 200 OK in 334ms (Views: 323.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:51:14.388958"], ["current_sign_in_at", "2016-04-06 14:51:14.388958"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:51:14.390144"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 23ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by HomeController#index as HTML - User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.5ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.3ms) -Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 14:51:14.448845"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.1ms) -  (0.7ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:51:14.490877"], ["current_sign_in_at", "2016-04-06 14:51:14.490877"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:51:14.491483"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms) -  (0.7ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:51:14.556490"], ["current_sign_in_at", "2016-04-06 14:51:14.556490"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:51:14.557237"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by HomeController#index as HTML - User Load (2.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 6ms (ActiveRecord: 2.7ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.4ms) -Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.8ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", ""], ["address", ""], ["updated_at", "2016-04-06 14:51:14.602686"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 10ms (ActiveRecord: 1.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.4ms) -Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.1ms) -  (0.8ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) -Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:51:14.649106"], ["current_sign_in_at", "2016-04-06 14:51:14.649106"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:51:14.649847"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.7ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:51:14.698539"], ["current_sign_in_at", "2016-04-06 14:51:14.698539"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:51:14.699250"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:51:14 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- VerifiableTest: test_adding_errors_for_empty_fields_for_verification -------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.1ms) rollback transaction -  (0.1ms) begin transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ---------------------------------------------------- VerifiableTest: test_asserting_when_user_is_verified ---------------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (1.6ms) DELETE FROM "users" - Fixture Insert (0.7ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$mnSYvHe00JXuEL9Gr/xgjO2Su8sc618ZxOQcnSoYHz.duXd26cShC', '2016-04-06 14:53:22', '2016-04-06 14:53:22', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$jjtuY/MI.681JT8EXyg9ku7m/2OM..Vy3YKrfYEKh1.WYCKhg8q1a', 'Verified John Doe', '551, 5th Street', '2016-04-06 14:53:22', '2016-04-06 14:53:22', 778254699) -  (3.3ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.1ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ----------------------------------------------------- VerifiableTest: test_refuting_when_user_isnt_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:22 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (25.0ms) -Completed 200 OK in 265ms (Views: 259.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:22 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:53:22.912372"], ["current_sign_in_at", "2016-04-06 14:53:22.912372"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:53:22.913653"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 23ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:22 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:22 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.9ms) -Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:22 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:53:22 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 14:53:22.977583"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:22 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.1ms) -  (0.7ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:53:23.016239"], ["current_sign_in_at", "2016-04-06 14:53:23.016239"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:53:23.016800"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:53:23.062083"], ["current_sign_in_at", "2016-04-06 14:53:23.062083"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:53:23.062876"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", ""], ["address", ""], ["updated_at", "2016-04-06 14:53:23.090869"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.7ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:53:23.124740"], ["current_sign_in_at", "2016-04-06 14:53:23.124740"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:53:23.125287"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.8ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:53:23.170112"], ["current_sign_in_at", "2016-04-06 14:53:23.170112"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:53:23.170643"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:23 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (4.1ms) -Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$dQGxc14Txpo76Ra/llPV.OexcKdAE/M6tsAiJ2QFCDNLXeIqL6v/u', '2016-04-06 14:53:49', '2016-04-06 14:53:49', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$iZz6fWvOWwqZGYFkbCpYcugcbGO4qgpHlKlrbr7xA7pF3MnfKBPHy', 'Verified John Doe', '551, 5th Street', '2016-04-06 14:53:49', '2016-04-06 14:53:49', 778254699) -  (9.0ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (29.7ms) -Completed 200 OK in 273ms (Views: 268.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:53:49.860869"], ["current_sign_in_at", "2016-04-06 14:53:49.860869"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:53:49.861738"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 18ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (7.7ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) -Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:53:49.927865"], ["current_sign_in_at", "2016-04-06 14:53:49.927865"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:53:49.928533"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:53:49.990451"], ["current_sign_in_at", "2016-04-06 14:53:49.990451"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:53:49.991051"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.1ms) -Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", ""], ["address", ""], ["updated_at", "2016-04-06 14:53:50.019272"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 5ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) -  (0.7ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:53:50.075874"], ["current_sign_in_at", "2016-04-06 14:53:50.075874"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:53:50.076400"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 14:53:50.104503"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:53:50.132271"], ["current_sign_in_at", "2016-04-06 14:53:50.132271"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:53:50.132823"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:53:50 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.5ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.2ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ----------------------------------------- VerifiableTest: test_Devise_configuration ----------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction -------------------------------- DeviseVerifiableTest: test_truth -------------------------------- -  (0.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$ccQRqE/efjW5Pm7ZhHcR3uIG7IExSjU352ZkM9CzybZvrEPsCp7z2', '2016-04-06 14:54:45', '2016-04-06 14:54:45', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$OQDpJlhfaCrranNIhTEOQeDyd2b1PR3DqyWv2TdBOU60/5/HrtHkq', 'Verified John Doe', '551, 5th Street', '2016-04-06 14:54:45', '2016-04-06 14:54:45', 778254699) -  (9.2ms) commit transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.2ms) -Completed 200 OK in 274ms (Views: 269.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:54:45.881735"], ["current_sign_in_at", "2016-04-06 14:54:45.881735"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:54:45.882406"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (8.5ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:54:45.983565"], ["current_sign_in_at", "2016-04-06 14:54:45.983565"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:54:45.984237"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:54:45 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 14:54:46.011158"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.6ms) -Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.1ms) -  (8.9ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:54:46.062379"], ["current_sign_in_at", "2016-04-06 14:54:46.062379"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:54:46.063071"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", ""], ["address", ""], ["updated_at", "2016-04-06 14:54:46.086200"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:54:46.123553"], ["current_sign_in_at", "2016-04-06 14:54:46.123553"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:54:46.124545"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 10ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) -Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:54:46.164609"], ["current_sign_in_at", "2016-04-06 14:54:46.164609"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:54:46.165162"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:54:46 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction -------------------------------------------------- DefaultRoutingTest: test_map_new_user_verification -------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction +  (0.3ms) rollback transaction +  (0.1ms) begin transaction ---------------------------------------------- DefaultRoutingTest: test_map_user_verification ---------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$YHPOa5KyhXTKqb3P6OEJ7evpnIL2mq0sHpxmYJ0/zj0slLKH9/iMG', '2016-04-06 14:55:18', '2016-04-06 14:55:18', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$yoejVYbFoFGcesqUnChmX.nlFPq3.GUVkptN93NQ6oVuVAAWODfXq', 'Verified John Doe', '551, 5th Street', '2016-04-06 14:55:18', '2016-04-06 14:55:18', 778254699) -  (1.0ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (24.6ms) -Completed 200 OK in 284ms (Views: 278.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:55:18.599100"], ["current_sign_in_at", "2016-04-06 14:55:18.599100"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:55:18.600366"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 25ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 14:55:18.666817"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.0ms) begin transaction ------------------------------------------------------------ NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------ - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:43:48 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.9ms) -Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:55:18.708749"], ["current_sign_in_at", "2016-04-06 14:55:18.708749"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:55:18.709304"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.1ms) -Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.6ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", ""], ["address", ""], ["updated_at", "2016-04-06 14:55:18.733608"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 5ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (0.9ms) rollback transaction -  (0.3ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (3.0ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (46.3ms) +Completed 200 OK in 281ms (Views: 273.9ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction -------------------------------------------------------------------- NavigationTest: test_verified_user_is_not_redirected_to_verification -------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 778254699], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:43:48 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:55:18.768081"], ["current_sign_in_at", "2016-04-06 14:55:18.768081"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:55:18.768681"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (4.7ms) -Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:55:18.808501"], ["current_sign_in_at", "2016-04-06 14:55:18.808501"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:55:18.809616"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.1ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (8.0ms) +Completed 200 OK in 20ms (Views: 19.6ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ------------------------------------------------------------------------------ NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------ - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:43:48 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:55:18.879653"], ["current_sign_in_at", "2016-04-06 14:55:18.879653"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:55:18.880183"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.2ms) -Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:55:18 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.5ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.2ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.3ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$LVDvyPkV2CIpn16.IO6F3uI58r/3WPbf7JXFFGMqO.u6mrAsfogqm', '2016-04-06 14:56:26', '2016-04-06 14:56:26', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$Xz06VGGlSErh9QcGVl6LB.wkb/oVZHIOLwxD6Yrvkf8.2pPs7q/P2', 'Verified John Doe', '551, 5th Street', '2016-04-06 14:56:26', '2016-04-06 14:56:26', 778254699) -  (9.1ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:56:26 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (23.4ms) -Completed 200 OK in 266ms (Views: 260.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:56:27.301304"], ["current_sign_in_at", "2016-04-06 14:56:27.301304"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:56:27.301937"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.1ms) -Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 14:56:27.357043"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.1ms) -  (9.1ms) rollback transaction -  (0.2ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.9ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (10.3ms) +Completed 200 OK in 54ms (Views: 52.7ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ------------------------------------------------------------ -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:56:27.408274"], ["current_sign_in_at", "2016-04-06 14:56:27.408274"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:56:27.408949"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.7ms) -Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.8ms) -Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:56:27.465504"], ["current_sign_in_at", "2016-04-06 14:56:27.465504"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:56:27.466070"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) -Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:56:27.509498"], ["current_sign_in_at", "2016-04-06 14:56:27.509498"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:56:27.510087"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) -Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:56:27.545450"], ["current_sign_in_at", "2016-04-06 14:56:27.545450"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:56:27.545972"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------ -Started GET "/" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 +Started GET "/" for 127.0.0.1 at 2017-11-07 23:43:48 -0200 Processing by HomeController#index as HTML Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:56:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.0ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.4ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$ryasKZizP5b8dAve7UDJnej4qnFFWrnvpvthzEpb4EmladcnsJnCy', '2016-04-06 14:57:07', '2016-04-06 14:57:07', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$IlmLhf7MsrXAgwCoxj6CRurHfjIkXVKtreNpVEEKUvdA0.vIyHdtu', 'Verified John Doe', '551, 5th Street', '2016-04-06 14:57:07', '2016-04-06 14:57:07', 778254699) -  (9.2ms) commit transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 11:57:07 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 8ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:57:07 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (16.2ms) -Completed 200 OK in 253ms (Views: 251.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) -Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:57:08.219130"], ["current_sign_in_at", "2016-04-06 14:57:08.219130"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:57:08.219814"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.3ms) -Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (8.4ms) rollback transaction -  (0.2ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ------------------------------------------------------------------ NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------ - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:43:48 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:57:08.298808"], ["current_sign_in_at", "2016-04-06 14:57:08.298808"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:57:08.299333"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (0.3ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:57:08.342384"], ["current_sign_in_at", "2016-04-06 14:57:08.342384"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:57:08.342919"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) -Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:57:08.382900"], ["current_sign_in_at", "2016-04-06 14:57:08.382900"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:57:08.383515"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (0.9ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (6.9ms) +Completed 200 OK in 26ms (Views: 23.4ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction -------------------------------------------------------------------------- NavigationTest: test_verifies_the_user_filling_all_fields_for_verification -------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:43:48 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:57:08.434976"], ["current_sign_in_at", "2016-04-06 14:57:08.434976"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:57:08.435475"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.5ms) -Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 14:57:08.465348"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:57:08 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.9ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.0ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (14.8ms) +Completed 200 OK in 32ms (Views: 31.0ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) begin transaction + Fixture Delete (1.3ms) DELETE FROM "users" + Fixture Insert (0.5ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$DdOzLjefMUgdTevEVyIH9u8cmZL0UD9aVuI9SGHF3m.k3tPG6sE5q', '2017-11-08 01:49:17.711436', '2017-11-08 01:49:17.711436', 830138774) + Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$nbs0Q2cCbInBiu3ziFuBxuhiOszFaFYp366u/CU1aBh8iYemiHEry', 'Verified John Doe', '551, 5th Street', '2017-11-08 01:49:17.711436', '2017-11-08 01:49:17.711436', 778254699) +  (1.1ms) commit transaction +  (0.1ms) begin transaction -------------------------------------------------- DefaultRoutingTest: test_map_new_user_verification -------------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$vLW/Em.AaljMMWxYD39yaek.E06v.s9jmXtXxievUcPoy0QYgU8Ke', '2016-04-06 14:59:49', '2016-04-06 14:59:49', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$h0yLpUQ8Pxxn1pPrauYFBOYJ7hhDvk4EDiR9U63Ld15JXdCvpUWYS', 'Verified John Doe', '551, 5th Street', '2016-04-06 14:59:49', '2016-04-06 14:59:49', 778254699) -  (9.1ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 11ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (18.4ms) -Completed 200 OK in 274ms (Views: 262.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:59:49.453249"], ["current_sign_in_at", "2016-04-06 14:59:49.453249"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:59:49.454337"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 19ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by HomeController#index as HTML - User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.5ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (3.2ms) -Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.1ms) -Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms) -  (8.6ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.0ms) -Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:59:49.550622"], ["current_sign_in_at", "2016-04-06 14:59:49.550622"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:59:49.551311"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:59:49.598769"], ["current_sign_in_at", "2016-04-06 14:59:49.598769"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:59:49.599304"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.7ms) -Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.6ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 14:59:49.627952"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.6ms) -Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.1ms) -  (0.7ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:59:49.670910"], ["current_sign_in_at", "2016-04-06 14:59:49.670910"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:59:49.671462"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 14:59:49.707139"], ["current_sign_in_at", "2016-04-06 14:59:49.707139"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 14:59:49.707690"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 11:59:49 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ---------------------------------------------- DefaultRoutingTest: test_map_user_verification ---------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction +  (0.1ms) rollback transaction +  (0.0ms) begin transaction ----------------------------------------- VerifiableTest: test_Devise_configuration ----------------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.1ms) rollback transaction -  (0.1ms) begin transaction +  (0.0ms) rollback transaction +  (0.1ms) begin transaction ---------------------------------------------------- VerifiableTest: test_asserting_when_user_is_verified ---------------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$OW659N69jOFkLC0c.UZHruuwjqnSa0U.ph7igS8e3X69Jyw6V1s8S', '2016-04-06 15:03:56', '2016-04-06 15:03:56', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$MuKp1s5ttrV/fzFDsWrdJ.mj.s..XHb5QURxWX1E0CpolxaYXbcni', 'Verified John Doe', '551, 5th Street', '2016-04-06 15:03:56', '2016-04-06 15:03:56', 778254699) -  (9.1ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.1ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (32.9ms) -Completed 200 OK in 263ms (Views: 257.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 15:03:56.426515"], ["current_sign_in_at", "2016-04-06 15:03:56.426515"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 15:03:56.427222"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 17ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 15:03:56.479545"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.1ms) -  (8.8ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 15:03:56.527355"], ["current_sign_in_at", "2016-04-06 15:03:56.527355"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 15:03:56.528355"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 10ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 15:03:56.579977"], ["current_sign_in_at", "2016-04-06 15:03:56.579977"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 15:03:56.581058"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.2ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 15:03:56.635631"], ["current_sign_in_at", "2016-04-06 15:03:56.635631"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 15:03:56.636171"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction -------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 15:03:56.677828"], ["current_sign_in_at", "2016-04-06 15:03:56.677828"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 15:03:56.678384"], ["id", 778254699]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:03:56 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.9ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.2ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- VerifiableTest: test_adding_errors_for_empty_fields_for_verification -------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.3ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$G66BrCF0xu.lLodxj49l9u9dUWmJ76SIf4IOY31Vt3XwpR1rjefHG', '2016-04-06 15:04:55', '2016-04-06 15:04:55', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$65TquMse0ZQzQHuaHK5wTei5ep9WQmOA2JIm6TaMxIVEqhPb531P6', 'Verified John Doe', '551, 5th Street', '2016-04-06 15:04:55', '2016-04-06 15:04:55', 778254699) -  (8.3ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (1.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (27.4ms) -Completed 200 OK in 302ms (Views: 295.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 15:04:55.802469"], ["current_sign_in_at", "2016-04-06 15:04:55.802469"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 15:04:55.803183"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 19ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.0ms) -Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.1ms) -Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (1.7ms) -Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 15:04:55.878024"], ["current_sign_in_at", "2016-04-06 15:04:55.878024"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 15:04:55.878654"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.8ms) -Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.2ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 15:04:55.942539"], ["current_sign_in_at", "2016-04-06 15:04:55.942539"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 15:04:55.943611"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 10ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.6ms) -Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.0ms) -Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 15:04:55.993982"], ["current_sign_in_at", "2016-04-06 15:04:55.993982"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 15:04:55.994983"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:04:55 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:04:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:04:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 12:04:56 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.1ms) -Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:04:56 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.2ms) -Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 12:04:56 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 15:04:56.056529"], ["current_sign_in_at", "2016-04-06 15:04:56.056529"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 15:04:56.057437"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:04:56 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:04:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 12:04:56 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (3.1ms) -Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 12:04:56 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 15:04:56.088236"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 5ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 12:04:56 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.0ms) begin transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ----------------------------------------------------- VerifiableTest: test_refuting_when_user_isnt_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction +  (0.1ms) rollback transaction +  (0.1ms) begin transaction -------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.0ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (0.5ms) DELETE FROM "users" - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$zRNyQitUzvCPK1B1FzAky.UCeCAjT3FgXye/X1N1wJmZlX77ecFYa', '2016-04-06 16:16:42', '2016-04-06 16:16:42', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$xLBF9ki6Q36ePURbjy6Zi.nl7S9UldHmhdyHUDFqdDyNr7hX4VEd.', 'Verified John Doe', '551, 5th Street', '2016-04-06 16:16:42', '2016-04-06 16:16:42', 778254699) -  (2.5ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (44.8ms) -Completed 200 OK in 299ms (Views: 292.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 16:16:42.841968"], ["current_sign_in_at", "2016-04-06 16:16:42.841968"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 16:16:42.842992"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 23ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.3ms) -Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.7ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.6ms) -Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 16:16:42.932830"], ["current_sign_in_at", "2016-04-06 16:16:42.932830"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 16:16:42.933674"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.5ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 16:16:42.983497"], ["current_sign_in_at", "2016-04-06 16:16:42.983497"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 16:16:42.984211"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 10ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 13:16:42 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.0ms) -Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-06 16:16:43.015374"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.1ms) -  (0.9ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------------------------- NavigationTest: test_verified_user_is_not_redirected_to_verification -------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 778254699], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/shared/_links.html.erb (1.9ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application (39.8ms) +Completed 200 OK in 318ms (Views: 304.6ms | ActiveRecord: 0.0ms) +Started POST "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 16:16:43.056589"], ["current_sign_in_at", "2016-04-06 16:16:43.056589"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 16:16:43.057204"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "verified-john@gmail.com"], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", "2017-11-08 01:49:18.433431"], ["last_sign_in_at", "2017-11-08 01:49:18.433431"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2017-11-08 01:49:18.434353"], ["id", 778254699]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 +Completed 302 Found in 29ms (ActiveRecord: 0.7ms) +Started GET "/" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 778254699], ["LIMIT", 1]] + Rendering home/index.html.erb within layouts/application + Rendered home/index.html.erb within layouts/application (0.5ms) +Completed 200 OK in 14ms (Views: 9.2ms | ActiveRecord: 0.2ms) +Started GET "/" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-06 16:16:43.094612"], ["current_sign_in_at", "2016-04-06 16:16:43.094612"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-06 16:16:43.095125"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.5ms) -Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 778254699], ["LIMIT", 1]] + Rendering home/index.html.erb within layouts/application + Rendered home/index.html.erb within layouts/application (0.4ms) +Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.2ms) +  (0.6ms) rollback transaction +  (0.1ms) begin transaction ------------------------------------------------------------ NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------ -Started GET "/" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 +Started GET "/" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by HomeController#index as HTML Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-06 13:16:43 -0300 +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (1.6ms) DELETE FROM "users" - Fixture Insert (0.7ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$Yde6klMcVO5U1k9Vkx/IPeALPU8D.gDJBa4RhKTyiYrda9J7mk9sa', '2016-04-07 20:09:27', '2016-04-07 20:09:27', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$eWVWaG6YdPmAqYop8sigC.2x3FFjm6Xkeej3nWcmxPSwUuXO7ZDu6', 'Verified John Doe', '551, 5th Street', '2016-04-07 20:09:27', '2016-04-07 20:09:27', 778254699) -  (3.8ms) commit transaction -  (0.2ms) begin transaction + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/shared/_links.html.erb (1.3ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application (34.0ms) +Completed 200 OK in 49ms (Views: 47.7ms | ActiveRecord: 0.0ms) +  (0.1ms) rollback transaction +  (0.1ms) begin transaction ------------------------------------------------------------ NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------ - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.6ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (53.5ms) -Completed 200 OK in 340ms (Views: 334.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/shared/_links.html.erb (1.2ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application (7.3ms) +Completed 200 OK in 23ms (Views: 21.6ms | ActiveRecord: 0.0ms) +Started POST "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-07 20:09:27.582284"], ["current_sign_in_at", "2016-04-07 20:09:27.582284"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-07 20:09:27.583394"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "john@gmail.com"], ["LIMIT", 1]] +  (0.1ms) SAVEPOINT active_record_1 + SQL (0.5ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", "2017-11-08 01:49:18.589593"], ["last_sign_in_at", "2017-11-08 01:49:18.589593"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2017-11-08 01:49:18.590296"], ["id", 830138774]] +  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ -Completed 302 Found in 24ms (ActiveRecord: 1.0ms) -Started GET "/" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 +Completed 302 Found in 21ms (ActiveRecord: 0.9ms) +Started GET "/" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] Redirected to http://www.example.com/users/verification/new Filter chain halted as :authenticate_verified_user! rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 +Started GET "/users/verification/new" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.5ms) -Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] + Rendering /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application + Rendered /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) +Completed 200 OK in 27ms (Views: 14.7ms | ActiveRecord: 0.1ms) +Started GET "/users/verification/new" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] + Rendering /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application + Rendered /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.7ms) +Completed 200 OK in 19ms (Views: 13.7ms | ActiveRecord: 0.2ms) +Started POST "/users/verification" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::VerificationController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.2ms) -Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms) -  (1.1ms) rollback transaction -  (0.2ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.6ms) -Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-07 20:09:27.682447"], ["current_sign_in_at", "2016-04-07 20:09:27.682447"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-07 20:09:27.683065"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by HomeController#index as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.4ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.7ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-04-07 20:09:27.711257"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 5ms (ActiveRecord: 0.9ms) -Started GET "/" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.5ms) -Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.1ms) -  (0.7ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) -Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-07 20:09:27.755579"], ["current_sign_in_at", "2016-04-07 20:09:27.755579"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-07 20:09:27.756144"], ["id", 830138774]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.4ms) -Started GET "/" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] + Rendering /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application + Rendered /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.9ms) +Completed 200 OK in 19ms (Views: 17.3ms | ActiveRecord: 0.2ms) +  (2.3ms) rollback transaction +  (0.2ms) begin transaction ------------------------------------------------------------------------------ NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------ - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.7ms) -Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/shared/_links.html.erb (2.1ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application (9.8ms) +Completed 200 OK in 25ms (Views: 23.7ms | ActiveRecord: 0.0ms) +Started POST "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-07 20:09:27.806427"], ["current_sign_in_at", "2016-04-07 20:09:27.806427"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-07 20:09:27.807085"], ["id", 830138774]] -  (0.2ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.7ms) -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.6ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-04-07 20:09:27.854909"], ["current_sign_in_at", "2016-04-07 20:09:27.854909"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-04-07 20:09:27.855644"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-04-07 17:09:27 -0300 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.2ms) -Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.0ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.3ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (1.4ms) DELETE FROM "users" - Fixture Insert (0.6ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$clVZDhA0QS8.l5e1lCEIb.68Vpfmaa./XAKVwFqeRoi2OsuH6cYWi', '2016-12-10 14:22:55', '2016-12-10 14:22:55', 830138774) - Fixture Insert (0.2ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$d8zJSRQhJayyUIgq4ogxZO6F4ypls2rzadURf/hi4uWW7GJgLSbTW', 'Verified John Doe', '551, 5th Street', '2016-12-10 14:22:55', '2016-12-10 14:22:55', 778254699) -  (5.9ms) commit transaction -  (0.1ms) begin transaction --------------------------------- -DeviseVerifiableTest: test_truth --------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------------- -NavigationTest: test_verifies_the_user_filling_all_fields_for_verification --------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (2.7ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (39.2ms) -Completed 200 OK in 416ms (Views: 406.8ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-12-10 14:22:56.526812"], ["current_sign_in_at", "2016-12-10 14:22:56.526812"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-12-10 14:22:56.527544"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 22ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by HomeController#index as HTML - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.3ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (3.1ms) -Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.4ms) -Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2016-12-10 14:22:56.608868"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 4ms (ActiveRecord: 0.3ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-12-10 14:22:56.649251"], ["current_sign_in_at", "2016-12-10 14:22:56.649251"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-12-10 14:22:56.649939"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 8ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.7ms) -Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.3ms) -Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.5ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-12-10 14:22:56.701455"], ["current_sign_in_at", "2016-12-10 14:22:56.701455"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-12-10 14:22:56.702163"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.2ms) -Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.5ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (3.1ms) -Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 778254699]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.4ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.3ms) -Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "verified-john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-12-10 14:22:56.792724"], ["current_sign_in_at", "2016-12-10 14:22:56.792724"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-12-10 14:22:56.793349"], ["id", 778254699]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 7ms (ActiveRecord: 0.5ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 778254699]] - Rendered home/index.html.erb within layouts/application (0.1ms) -Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.1ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 830138774]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::SessionsController#new as HTML - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (0.3ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (2.4ms) -Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "john@gmail.com"]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (1.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2016-12-10 14:22:56.834586"], ["current_sign_in_at", "2016-12-10 14:22:56.834586"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2016-12-10 14:22:56.835236"], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 9ms (ActiveRecord: 1.7ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by HomeController#index as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 1ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.2ms) -Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.1ms) -Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-12-10 12:22:56 -0200 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 830138774]] - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.9ms) -Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms) -  (0.4ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction - Fixture Delete (1.6ms) DELETE FROM "users" - Fixture Insert (0.7ms) INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "id") VALUES ('john@gmail.com', '$2a$04$o1lLQ8tAUtsiDrh5ZZfve.UI5mg1NEivIqGjeAArW/yBSN5OjT23i', '2016-12-10 15:01:36.453088', '2016-12-10 15:01:36.453088', 830138774) - Fixture Insert (0.1ms) INSERT INTO "users" ("email", "encrypted_password", "full_name", "address", "created_at", "updated_at", "id") VALUES ('verified-john@gmail.com', '$2a$04$QIA60.iK6RiuX4CCYwKyL.pHf5uSZ8UFYevFFXLwFbtdUL9P3hsMS', 'Verified John Doe', '551, 5th Street', '2016-12-10 15:01:36.453088', '2016-12-10 15:01:36.453088', 778254699) -  (3.6ms) commit transaction -  (0.1ms) begin transaction --------------------------------------------------- -DefaultRoutingTest: test_map_new_user_verification --------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------- -DefaultRoutingTest: test_map_user_verification ----------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_shows_errors_messages_when_invalid_user ------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 13:01:36 -0200 -Processing by Devise::SessionsController#new as HTML - Rendering /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (2.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (53.5ms) -Completed 200 OK in 404ms (Views: 396.0ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "john@gmail.com"], ["LIMIT", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "john@gmail.com"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 - SQL (0.6ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", 2016-12-10 15:01:37 UTC], ["last_sign_in_at", 2016-12-10 15:01:37 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2016-12-10 15:01:37 UTC], ["id", 830138774]] + SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", "2017-11-08 01:49:18.733239"], ["last_sign_in_at", "2017-11-08 01:49:18.733239"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2017-11-08 01:49:18.734000"], ["id", 830138774]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ -Completed 302 Found in 25ms (ActiveRecord: 1.0ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 +Completed 302 Found in 18ms (ActiveRecord: 0.6ms) +Started GET "/" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] Redirected to http://www.example.com/users/verification/new Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +Started GET "/users/verification/new" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::VerificationController#new as HTML - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] - Rendering /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.3ms) -Completed 200 OK in 15ms (Views: 11.6ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] + Rendering /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application + Rendered /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.7ms) +Completed 200 OK in 16ms (Views: 12.0ms | ActiveRecord: 0.2ms) +Started GET "/users/verification/new" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::VerificationController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] - Rendering /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.1ms) -Completed 200 OK in 16ms (Views: 11.7ms | ActiveRecord: 0.2ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by Devise::VerificationController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"", "address"=>""}, "commit"=>"Verify"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] - Rendering /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.5ms) -Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.2ms) -  (0.6ms) rollback transaction + Rendering /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application + Rendered /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.1ms) +Completed 200 OK in 19ms (Views: 13.7ms | ActiveRecord: 0.2ms) +  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------------- NavigationTest: test_verifies_the_user_filling_all_fields_for_verification -------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::SessionsController#new as HTML - Rendering /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.2ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (6.8ms) -Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/shared/_links.html.erb (1.6ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application (7.7ms) +Completed 200 OK in 22ms (Views: 20.9ms | ActiveRecord: 0.0ms) +Started POST "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "john@gmail.com"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", 2016-12-10 15:01:37 UTC], ["last_sign_in_at", 2016-12-10 15:01:37 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2016-12-10 15:01:37 UTC], ["id", 830138774]] + SQL (0.6ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", "2017-11-08 01:49:18.836815"], ["last_sign_in_at", "2017-11-08 01:49:18.836815"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2017-11-08 01:49:18.837487"], ["id", 830138774]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ -Completed 302 Found in 14ms (ActiveRecord: 0.7ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 +Completed 302 Found in 19ms (ActiveRecord: 1.0ms) +Started GET "/" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] Redirected to http://www.example.com/users/verification/new Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 +Completed 302 Found in 2ms (ActiveRecord: 0.2ms) +Started GET "/users/verification/new" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::VerificationController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] - Rendering /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.9ms) -Completed 200 OK in 17ms (Views: 11.8ms | ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 + Rendering /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application + Rendered /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.4ms) +Completed 200 OK in 17ms (Views: 12.9ms | ActiveRecord: 0.2ms) +Started GET "/users/verification/new" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::VerificationController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] - Rendering /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 15ms (Views: 10.3ms | ActiveRecord: 0.2ms) -Started POST "/users/verification" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 + Rendering /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application + Rendered /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.3ms) +Completed 200 OK in 16ms (Views: 12.0ms | ActiveRecord: 0.2ms) +Started POST "/users/verification" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::VerificationController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"full_name"=>"John Doe", "address"=>"555, 5th Street"}, "commit"=>"Verify"} - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", 2016-12-10 15:01:37 UTC], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.2ms) UPDATE "users" SET "full_name" = ?, "address" = ?, "updated_at" = ? WHERE "users"."id" = ? [["full_name", "John Doe"], ["address", "555, 5th Street"], ["updated_at", "2017-11-08 01:49:18.906666"], ["id", 830138774]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ -Completed 302 Found in 6ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 +Completed 302 Found in 6ms (ActiveRecord: 0.5ms) +Started GET "/" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms) -Completed 200 OK in 11ms (Views: 7.3ms | ActiveRecord: 0.1ms) -  (0.6ms) rollback transaction +Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.1ms) +  (19.8ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- -NavigationTest: test_verification_page_shows_form_with_fields_for_verification ------------------------------------------------------------------------------- - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 +------------------------------------------------------------------ +NavigationTest: test_unverified_user_is_redirected_to_verification +------------------------------------------------------------------ + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] +Started GET "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::SessionsController#new as HTML - Rendering /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.1ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (6.9ms) -Completed 200 OK in 20ms (Views: 18.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 + Rendering /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/shared/_links.html.erb (1.6ms) + Rendered /Users/rra/.asdf/installs/ruby/2.4.1/lib/ruby/gems/2.4.0/gems/devise-4.2.1/app/views/devise/sessions/new.html.erb within layouts/application (9.0ms) +Completed 200 OK in 27ms (Views: 26.6ms | ActiveRecord: 0.0ms) +Started POST "/users/sign_in" for 127.0.0.1 at 2017-11-07 23:49:18 -0200 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "john@gmail.com"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", 2016-12-10 15:01:37 UTC], ["last_sign_in_at", 2016-12-10 15:01:37 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2016-12-10 15:01:37 UTC], ["id", 830138774]] + SQL (0.4ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", "2017-11-08 01:49:18.988905"], ["last_sign_in_at", "2017-11-08 01:49:18.988905"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2017-11-08 01:49:18.989827"], ["id", 830138774]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/ -Completed 302 Found in 15ms (ActiveRecord: 0.6ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 +Completed 302 Found in 20ms (ActiveRecord: 0.7ms) +Started GET "/" for 127.0.0.1 at 2017-11-07 23:49:19 -0200 Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] Redirected to http://www.example.com/users/verification/new Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 +Completed 302 Found in 2ms (ActiveRecord: 0.1ms) +Started GET "/users/verification/new" for 127.0.0.1 at 2017-11-07 23:49:19 -0200 Processing by Devise::VerificationController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] - Rendering /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.4ms) -Completed 200 OK in 16ms (Views: 12.8ms | ActiveRecord: 0.1ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by Devise::VerificationController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] - Rendering /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.6ms) -Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 0.2ms) -  (0.5ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------------------- -NavigationTest: test_unverified_user_is_redirected_to_verification ------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by Devise::SessionsController#new as HTML - Rendering /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.0ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (5.9ms) -Completed 200 OK in 18ms (Views: 16.9ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "john@gmail.com"], ["LIMIT", 1]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", 2016-12-10 15:01:37 UTC], ["last_sign_in_at", 2016-12-10 15:01:37 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2016-12-10 15:01:37 UTC], ["id", 830138774]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 16ms (ActiveRecord: 0.8ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 + Rendering /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application + Rendered /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.4ms) +Completed 200 OK in 17ms (Views: 12.8ms | ActiveRecord: 0.1ms) +Started GET "/" for 127.0.0.1 at 2017-11-07 23:49:19 -0200 Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] -Redirected to http://www.example.com/users/verification/new -Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 3ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by Devise::VerificationController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] - Rendering /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (1.8ms) -Completed 200 OK in 14ms (Views: 9.7ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] Redirected to http://www.example.com/users/verification/new Filter chain halted as :authenticate_verified_user! rendered or redirected -Completed 302 Found in 2ms (ActiveRecord: 0.2ms) -Started GET "/users/verification/new" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 +Completed 302 Found in 2ms (ActiveRecord: 0.3ms) +Started GET "/users/verification/new" for 127.0.0.1 at 2017-11-07 23:49:19 -0200 Processing by Devise::VerificationController#new as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] - Rendering /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application - Rendered /Users/rodrigora/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.0ms) -Completed 200 OK in 14ms (Views: 9.8ms | ActiveRecord: 0.2ms) -  (0.4ms) rollback transaction + User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 830138774], ["LIMIT", 1]] + Rendering /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application + Rendered /Users/rra/Projects/devise-verifiable/app/views/devise/verification/new.erb within layouts/application (2.5ms) +Completed 200 OK in 16ms (Views: 11.7ms | ActiveRecord: 0.3ms) +  (13.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------- -NavigationTest: test_root_path_requires_users_authentication ------------------------------------------------------------- -Started GET "/" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by HomeController#index as HTML -Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms) -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by Devise::SessionsController#new as HTML - Rendering /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.0ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (6.9ms) -Completed 200 OK in 24ms (Views: 22.8ms | ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -NavigationTest: test_verified_user_is_not_redirected_to_verification --------------------------------------------------------------------- - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 778254699], ["LIMIT", 1]] -Started GET "/users/sign_in" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by Devise::SessionsController#new as HTML - Rendering /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (1.1ms) - Rendered /Users/rodrigora/.rvm/gems/ruby-2.2.4@devise-verifiable/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (7.4ms) -Completed 200 OK in 19ms (Views: 18.1ms | ActiveRecord: 0.0ms) -Started POST "/users/sign_in" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by Devise::SessionsController#create as HTML - Parameters: {"utf8"=>"✓", "user"=>{"email"=>"verified-john@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"} - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "verified-john@gmail.com"], ["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) UPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["current_sign_in_at", 2016-12-10 15:01:37 UTC], ["last_sign_in_at", 2016-12-10 15:01:37 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2016-12-10 15:01:37 UTC], ["id", 778254699]] -  (0.2ms) RELEASE SAVEPOINT active_record_1 -Redirected to http://www.example.com/ -Completed 302 Found in 20ms (ActiveRecord: 1.0ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 778254699], ["LIMIT", 1]] - Rendering home/index.html.erb within layouts/application - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.2ms) -Started GET "/" for 127.0.0.1 at 2016-12-10 13:01:37 -0200 -Processing by HomeController#index as HTML - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 778254699], ["LIMIT", 1]] - Rendering home/index.html.erb within layouts/application - Rendered home/index.html.erb within layouts/application (0.3ms) -Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.2ms) -  (8.4ms) rollback transaction -  (0.1ms) begin transaction -------------------------------- DeviseVerifiableTest: test_truth -------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ----------------------------------------------------- -VerifiableTest: test_asserting_when_user_is_verified ----------------------------------------------------- -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------ -VerifiableTest: test_Devise_configuration ------------------------------------------ -  (0.1ms) rollback transaction -  (0.1ms) begin transaction --------------------------------------------------------------------- -VerifiableTest: test_adding_errors_for_empty_fields_for_verification --------------------------------------------------------------------- - User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 830138774], ["LIMIT", 1]] -  (0.1ms) rollback transaction -  (0.1ms) begin transaction ------------------------------------------------------ -VerifiableTest: test_refuting_when_user_isnt_verified ------------------------------------------------------  (0.1ms) rollback transaction