contour 2.2.0.beta1 → 2.2.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/app/assets/javascripts/contour/global.js.coffee +0 -4
- data/app/assets/stylesheets/contour.css +0 -1
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +810 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0b793dc498fe65856d1b31a805f114dc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/408c90980fca5a250881bafa3ef0ca63 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6666059cb20313a69e518d351e00eb1f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/864e4f1898b310dcf0316a99ba0a3067 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a3a6cd207915c1867e51fa92ea7827b8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a7b222735fc6d94f5713fa8e4c00feec +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +2 -4
- data/app/assets/javascripts/external/bootstrap-timepicker.js +0 -837
- data/app/assets/stylesheets/timepicker.css +0 -82
data/test/dummy/log/test.log
CHANGED
@@ -87362,6 +87362,816 @@ UserTest: test_should_apply_omniauth
|
|
87362
87362
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87363
87363
|
--------------------------------------
|
87364
87364
|
UserTest: test_should_get_reverse_name
|
87365
|
+
--------------------------------------
|
87366
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
87367
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87368
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
87369
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
87370
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-09-24 16:08:51', '2013-09-24 16:08:51', 949717663, 201799169)[0m
|
87371
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-09-24 16:08:51', '2013-09-24 16:08:51', 876923740, 201799169)
|
87372
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-09-24 16:08:51', '2013-09-24 16:08:51', 864673665, 201799169)[0m
|
87373
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
87374
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-09-24 16:08:51', '2013-09-24 16:08:51', 201799169)[0m
|
87375
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-09-24 16:08:51', '2013-09-24 16:08:51', 999914115)
|
87376
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-09-24 16:08:51', '2013-09-24 16:08:51', 725306934)[0m
|
87377
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-09-24 16:08:51', '2013-09-24 16:08:51', 349534908)
|
87378
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
87379
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87380
|
+
-------------------------------------------------
|
87381
|
+
AuthenticationTest: test_should_get_provider_name
|
87382
|
+
-------------------------------------------------
|
87383
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
87384
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87385
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87386
|
+
--------------------------------------------------------------------------------
|
87387
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
87388
|
+
--------------------------------------------------------------------------------
|
87389
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
87390
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87391
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87392
|
+
-------------------------------------------------------------------------
|
87393
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
87394
|
+
-------------------------------------------------------------------------
|
87395
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
87396
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
87397
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
87398
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
87399
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-09-24 16:08:51 UTC", "updated_at"=>"2013-09-24 16:08:51 UTC"}}
|
87400
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
87401
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
87402
|
+
Logged in user found, creating associated authentication.
|
87403
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87404
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 24 Sep 2013 16:08:51 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 24 Sep 2013 16:08:51 UTC +00:00], ["user_id", 201799169]]
|
87405
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87406
|
+
Redirected to http://test.host/authentications
|
87407
|
+
Completed 302 Found in 54ms (ActiveRecord: 0.9ms)
|
87408
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
87409
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
87410
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87411
|
+
--------------------------------------------------------------------------
|
87412
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
87413
|
+
--------------------------------------------------------------------------
|
87414
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
87415
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
87416
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
87417
|
+
Processing by Contour::AuthenticationsController#destroy as JS
|
87418
|
+
Parameters: {"id"=>"949717663"}
|
87419
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
87420
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
87421
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87422
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
87423
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87424
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
|
87425
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1[0m [["user_id", 201799169]]
|
87426
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
|
87427
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1[0m [["user_id", 201799169]]
|
87428
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
|
87429
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1[0m [["user_id", 201799169]]
|
87430
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["user_id", 201799169]]
|
87431
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (17.3ms)
|
87432
|
+
Completed 200 OK in 41ms (Views: 35.4ms | ActiveRecord: 1.8ms)
|
87433
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
87434
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
87435
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87436
|
+
-------------------------------------------------------------
|
87437
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
87438
|
+
-------------------------------------------------------------
|
87439
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
87440
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
87441
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
87442
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
|
87443
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1[0m [["user_id", 201799169]]
|
87444
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
|
87445
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1[0m [["user_id", 201799169]]
|
87446
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
|
87447
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1[0m [["user_id", 201799169]]
|
87448
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
|
87449
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1[0m [["user_id", 201799169]]
|
87450
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (12.0ms)
|
87451
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_authentications.html.erb (13.2ms)
|
87452
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms)
|
87453
|
+
Completed 200 OK in 89ms (Views: 87.6ms | ActiveRecord: 0.9ms)
|
87454
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
87455
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87456
|
+
-----------------------------------------------------------------------------
|
87457
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
|
87458
|
+
-----------------------------------------------------------------------------
|
87459
|
+
Processing by Contour::PasswordsController#create as HTML
|
87460
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
87461
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
87462
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'NNt3wz3tJXrnyY4LoS96' LIMIT 1[0m
|
87463
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87464
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "NNt3wz3tJXrnyY4LoS96"], ["reset_password_sent_at", Tue, 24 Sep 2013 16:08:51 UTC +00:00], ["updated_at", Tue, 24 Sep 2013 16:08:51 UTC +00:00]]
|
87465
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87466
|
+
|
87467
|
+
Sent mail to valid@example.com (12.2ms)
|
87468
|
+
Date: Tue, 24 Sep 2013 12:08:51 -0400
|
87469
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
87470
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
87471
|
+
To: valid@example.com
|
87472
|
+
Message-ID: <5241b91382802_138643ffa418606d4920ec@edge.partners.org.mail>
|
87473
|
+
Subject: Reset password instructions
|
87474
|
+
Mime-Version: 1.0
|
87475
|
+
Content-Type: text/html;
|
87476
|
+
charset=UTF-8
|
87477
|
+
Content-Transfer-Encoding: 7bit
|
87478
|
+
|
87479
|
+
<p>Hello valid@example.com!</p>
|
87480
|
+
|
87481
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
87482
|
+
|
87483
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=NNt3wz3tJXrnyY4LoS96">Change my password</a></p>
|
87484
|
+
|
87485
|
+
<p>If you didn't request this, please ignore this email.</p>
|
87486
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
87487
|
+
|
87488
|
+
Redirected to http://test.host/users/login
|
87489
|
+
Completed 302 Found in 125ms (ActiveRecord: 0.9ms)
|
87490
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
87491
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87492
|
+
-----------------------------------------------------------------------------
|
87493
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
|
87494
|
+
-----------------------------------------------------------------------------
|
87495
|
+
Processing by Contour::PasswordsController#new as HTML
|
87496
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms)
|
87497
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
87498
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.7ms)
|
87499
|
+
Completed 200 OK in 57ms (Views: 56.4ms | ActiveRecord: 0.0ms)
|
87500
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87501
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87502
|
+
-------------------------------------------------------------------------------
|
87503
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
87504
|
+
-------------------------------------------------------------------------------
|
87505
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
87506
|
+
Processing by Contour::RegistrationsController#create as HTML
|
87507
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
|
87508
|
+
Unpermitted parameters: spam
|
87509
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87510
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
87511
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
87512
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 24 Sep 2013 16:08:51 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$uh7N/kNL5ZpY4zxSqi69H.kjnFaJ4OiZIFa4QDH3BuRVkIIKa9c0O"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 24 Sep 2013 16:08:51 UTC +00:00]]
|
87513
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87514
|
+
Redirected to http://test.host/users/login
|
87515
|
+
Completed 302 Found in 18ms (ActiveRecord: 0.8ms)
|
87516
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
87517
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
87518
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87519
|
+
--------------------------------------------------------------------------------------------
|
87520
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
87521
|
+
--------------------------------------------------------------------------------------------
|
87522
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
87523
|
+
Processing by Contour::RegistrationsController#create as HTML
|
87524
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
87525
|
+
Unpermitted parameters: status
|
87526
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87527
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
87528
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
87529
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 24 Sep 2013 16:08:51 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$Bbi0GMkNnntfhsp7byjEUeMqAlNGBWert3G5fOITZbR9cWtAMfVLG"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 24 Sep 2013 16:08:51 UTC +00:00]]
|
87530
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87531
|
+
Redirected to http://test.host/users/login
|
87532
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
87533
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
87534
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
87535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87536
|
+
---------------------------------------------------------------------------------------------
|
87537
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
87538
|
+
---------------------------------------------------------------------------------------------
|
87539
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
87540
|
+
Processing by Contour::RegistrationsController#create as HTML
|
87541
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
|
87542
|
+
SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"}
|
87543
|
+
Unpermitted parameters: spam
|
87544
|
+
Redirected to http://test.host/users/login
|
87545
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
87546
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users"
|
87547
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87548
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87549
|
+
----------------------------------------------------------------------
|
87550
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
87551
|
+
----------------------------------------------------------------------
|
87552
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
87553
|
+
Processing by Contour::SessionsController#create as JSON
|
87554
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
87555
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
87556
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87557
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 24 Sep 2013 16:08:51 UTC +00:00], ["current_sign_in_at", Tue, 24 Sep 2013 16:08:51 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 24 Sep 2013 16:08:51 UTC +00:00]]
|
87558
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87559
|
+
Completed 200 OK in 84ms (Views: 0.4ms | ActiveRecord: 0.8ms)
|
87560
|
+
[1m[35m (32.5ms)[0m rollback transaction
|
87561
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
87562
|
+
----------------------------------------------------------------------------------------------------------
|
87563
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
|
87564
|
+
----------------------------------------------------------------------------------------------------------
|
87565
|
+
Processing by Contour::SessionsController#create as HTML
|
87566
|
+
Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
|
87567
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
87568
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
87569
|
+
Redirected to http://test.host/auth/google_apps
|
87570
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
87571
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87572
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87573
|
+
----------------------------------------------------------------------------------------------
|
87574
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
87575
|
+
----------------------------------------------------------------------------------------------
|
87576
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
87577
|
+
Processing by Contour::SessionsController#create as HTML
|
87578
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
87579
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
87580
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
|
87581
|
+
Redirected to http://test.host/auth/ldap
|
87582
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
87583
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87584
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87585
|
+
--------------------------------------------------------------------------
|
87586
|
+
Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
|
87587
|
+
--------------------------------------------------------------------------
|
87588
|
+
Processing by Contour::SessionsController#create as HTML
|
87589
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
87590
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
87591
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
|
87592
|
+
Completed 401 Unauthorized in 3ms
|
87593
|
+
Processing by Contour::SessionsController#new as HTML
|
87594
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
87595
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
87596
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
87597
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
87598
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
87599
|
+
Completed 200 OK in 21ms (Views: 19.8ms | ActiveRecord: 0.0ms)
|
87600
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87601
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87602
|
+
-----------------------------------------------------
|
87603
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
87604
|
+
-----------------------------------------------------
|
87605
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87606
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87607
|
+
---------------------------------------------------------------------
|
87608
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
87609
|
+
---------------------------------------------------------------------
|
87610
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87611
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87612
|
+
-----------------------
|
87613
|
+
ContourTest: test_truth
|
87614
|
+
-----------------------
|
87615
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87616
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87617
|
+
--------------------------------------------------------------------
|
87618
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
87619
|
+
--------------------------------------------------------------------
|
87620
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
87621
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
87622
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
87623
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-24 12:08:51 -0400
|
87624
|
+
Processing by WelcomeController#logged_in_page as HTML
|
87625
|
+
Completed 401 Unauthorized in 18ms
|
87626
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87627
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
87628
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
87629
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$MmF5cWW82iBFK6nHBS5pBu62U5TeZqCZIRWqE4bPQzQ17thmLM7Hq"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00]]
|
87630
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87631
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87632
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
87633
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
87634
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87635
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
87636
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
87637
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-24 12:08:52 -0400
|
87638
|
+
Processing by Contour::SessionsController#create as HTML
|
87639
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
87640
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
87641
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87642
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87643
|
+
Completed 401 Unauthorized in 6ms
|
87644
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-24 12:08:52 -0400
|
87645
|
+
Processing by Contour::SessionsController#new as HTML
|
87646
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
87647
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
87648
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (3.5ms)
|
87649
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.3ms)
|
87650
|
+
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.0ms)
|
87651
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
87652
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87653
|
+
--------------------------------------------------------
|
87654
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
87655
|
+
--------------------------------------------------------
|
87656
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
87657
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
87658
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
87659
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-24 12:08:52 -0400
|
87660
|
+
Processing by WelcomeController#logged_in_page as HTML
|
87661
|
+
Completed 401 Unauthorized in 1ms
|
87662
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87663
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
87664
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
87665
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$OY0YaMuxMTDn9zo.BGIBfOmvWlrB0CF8JHVQHfiHRuvZL7tTMrQum"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00]]
|
87666
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87667
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87668
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
87669
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
87670
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87671
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
87672
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
87673
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-24 12:08:52 -0400
|
87674
|
+
Processing by Contour::SessionsController#create as HTML
|
87675
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
87676
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
87677
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87678
|
+
[1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00], ["current_sign_in_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00]]
|
87679
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87680
|
+
Redirected to http://www.example.com/logged_in_page
|
87681
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.5ms)
|
87682
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-24 12:08:52 -0400
|
87683
|
+
Processing by WelcomeController#logged_in_page as HTML
|
87684
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
|
87685
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
87686
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
87687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87688
|
+
--------------------------------------------------------------------
|
87689
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
87690
|
+
--------------------------------------------------------------------
|
87691
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
87692
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
87693
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
87694
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-24 12:08:52 -0400
|
87695
|
+
Processing by WelcomeController#logged_in_page as HTML
|
87696
|
+
Completed 401 Unauthorized in 1ms
|
87697
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87698
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
87699
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
87700
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$ulrE/nlk1qXvSuzfS3yqzOSudk0/8MG.TGNwGGBwtVM3iSkx1HhhO"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00]]
|
87701
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87702
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87703
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
87704
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
87705
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87706
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
87707
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
87708
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-24 12:08:52 -0400
|
87709
|
+
Processing by Contour::SessionsController#create as HTML
|
87710
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
87711
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
87712
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87713
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87714
|
+
Completed 401 Unauthorized in 5ms
|
87715
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-24 12:08:52 -0400
|
87716
|
+
Processing by Contour::SessionsController#new as HTML
|
87717
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.9ms)
|
87718
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
87719
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
87720
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
87721
|
+
Completed 200 OK in 61ms (Views: 59.2ms | ActiveRecord: 0.0ms)
|
87722
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
87723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87724
|
+
-------------------------------------------------------------
|
87725
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
87726
|
+
-------------------------------------------------------------
|
87727
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
87728
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
87729
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
87730
|
+
Started GET "/" for 127.0.0.1 at 2013-09-24 12:08:52 -0400
|
87731
|
+
Processing by WelcomeController#index as HTML
|
87732
|
+
Completed 401 Unauthorized in 1ms
|
87733
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87735
|
+
-------------------------------------------------------------------------
|
87736
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
87737
|
+
-------------------------------------------------------------------------
|
87738
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
87739
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
87740
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
87741
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-24 12:08:52 -0400
|
87742
|
+
Processing by WelcomeController#logged_in_page as JSON
|
87743
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
87744
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87745
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00], ["current_sign_in_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 24 Sep 2013 16:08:52 UTC +00:00]]
|
87746
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87747
|
+
Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
87748
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
87749
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87750
|
+
------------------------------------------------------------------------------------------------
|
87751
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
87752
|
+
------------------------------------------------------------------------------------------------
|
87753
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
87754
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
87755
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
87756
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-24 12:08:52 -0400
|
87757
|
+
Processing by WelcomeController#logged_in_page as JSON
|
87758
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
87759
|
+
Completed 401 Unauthorized in 79ms
|
87760
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87761
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87762
|
+
------------------------------------
|
87763
|
+
UserTest: test_should_apply_omniauth
|
87764
|
+
------------------------------------
|
87765
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
87766
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87767
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87768
|
+
--------------------------------------
|
87769
|
+
UserTest: test_should_get_reverse_name
|
87770
|
+
--------------------------------------
|
87771
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
87772
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87773
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
87774
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "authentications"
|
87775
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-09-24 16:12:22', '2013-09-24 16:12:22', 949717663, 201799169)[0m
|
87776
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-09-24 16:12:22', '2013-09-24 16:12:22', 876923740, 201799169)
|
87777
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-09-24 16:12:22', '2013-09-24 16:12:22', 864673665, 201799169)[0m
|
87778
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
87779
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-09-24 16:12:22', '2013-09-24 16:12:22', 201799169)[0m
|
87780
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-09-24 16:12:22', '2013-09-24 16:12:22', 999914115)
|
87781
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-09-24 16:12:22', '2013-09-24 16:12:22', 725306934)[0m
|
87782
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-09-24 16:12:22', '2013-09-24 16:12:22', 349534908)
|
87783
|
+
[1m[36m (32.1ms)[0m [1mcommit transaction[0m
|
87784
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87785
|
+
-------------------------------------------------
|
87786
|
+
AuthenticationTest: test_should_get_provider_name
|
87787
|
+
-------------------------------------------------
|
87788
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
87789
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87790
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87791
|
+
--------------------------------------------------------------------------------
|
87792
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
87793
|
+
--------------------------------------------------------------------------------
|
87794
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
87795
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87796
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87797
|
+
-------------------------------------------------------------------------
|
87798
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
87799
|
+
-------------------------------------------------------------------------
|
87800
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
87801
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
87802
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
87803
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
87804
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-09-24 16:12:22 UTC", "updated_at"=>"2013-09-24 16:12:22 UTC"}}
|
87805
|
+
[1m[35mAuthentication Load (0.4ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
87806
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
87807
|
+
Logged in user found, creating associated authentication.
|
87808
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87809
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 24 Sep 2013 16:12:22 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 24 Sep 2013 16:12:22 UTC +00:00], ["user_id", 201799169]]
|
87810
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87811
|
+
Redirected to http://test.host/authentications
|
87812
|
+
Completed 302 Found in 57ms (ActiveRecord: 1.3ms)
|
87813
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
87814
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
87815
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87816
|
+
--------------------------------------------------------------------------
|
87817
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
87818
|
+
--------------------------------------------------------------------------
|
87819
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
87820
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
87821
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
87822
|
+
Processing by Contour::AuthenticationsController#destroy as JS
|
87823
|
+
Parameters: {"id"=>"949717663"}
|
87824
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
87825
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
87826
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87827
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
87828
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87829
|
+
[1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
|
87830
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1[0m [["user_id", 201799169]]
|
87831
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
|
87832
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1[0m [["user_id", 201799169]]
|
87833
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
|
87834
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1[0m [["user_id", 201799169]]
|
87835
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["user_id", 201799169]]
|
87836
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (22.6ms)
|
87837
|
+
Completed 200 OK in 44ms (Views: 38.5ms | ActiveRecord: 1.9ms)
|
87838
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
87839
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
87840
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87841
|
+
-------------------------------------------------------------
|
87842
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
87843
|
+
-------------------------------------------------------------
|
87844
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
87845
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
87846
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
87847
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
|
87848
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1[0m [["user_id", 201799169]]
|
87849
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
|
87850
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1[0m [["user_id", 201799169]]
|
87851
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
|
87852
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1[0m [["user_id", 201799169]]
|
87853
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
|
87854
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1[0m [["user_id", 201799169]]
|
87855
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (8.0ms)
|
87856
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_authentications.html.erb (9.3ms)
|
87857
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.4ms)
|
87858
|
+
Completed 200 OK in 678ms (Views: 677.3ms | ActiveRecord: 0.5ms)
|
87859
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
87860
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87861
|
+
-----------------------------------------------------------------------------
|
87862
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
|
87863
|
+
-----------------------------------------------------------------------------
|
87864
|
+
Processing by Contour::PasswordsController#create as HTML
|
87865
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
87866
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
87867
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'zVcmRtqm85XaMykd89z3' LIMIT 1[0m
|
87868
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87869
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "zVcmRtqm85XaMykd89z3"], ["reset_password_sent_at", Tue, 24 Sep 2013 16:12:23 UTC +00:00], ["updated_at", Tue, 24 Sep 2013 16:12:23 UTC +00:00]]
|
87870
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87871
|
+
|
87872
|
+
Sent mail to valid@example.com (12.9ms)
|
87873
|
+
Date: Tue, 24 Sep 2013 12:12:23 -0400
|
87874
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
87875
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
87876
|
+
To: valid@example.com
|
87877
|
+
Message-ID: <5241b9e79a6e1_138f93feaed4606dc638e2@edge.partners.org.mail>
|
87878
|
+
Subject: Reset password instructions
|
87879
|
+
Mime-Version: 1.0
|
87880
|
+
Content-Type: text/html;
|
87881
|
+
charset=UTF-8
|
87882
|
+
Content-Transfer-Encoding: 7bit
|
87883
|
+
|
87884
|
+
<p>Hello valid@example.com!</p>
|
87885
|
+
|
87886
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
87887
|
+
|
87888
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=zVcmRtqm85XaMykd89z3">Change my password</a></p>
|
87889
|
+
|
87890
|
+
<p>If you didn't request this, please ignore this email.</p>
|
87891
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
87892
|
+
|
87893
|
+
Redirected to http://test.host/users/login
|
87894
|
+
Completed 302 Found in 67ms (ActiveRecord: 1.1ms)
|
87895
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
87896
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87897
|
+
-----------------------------------------------------------------------------
|
87898
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
|
87899
|
+
-----------------------------------------------------------------------------
|
87900
|
+
Processing by Contour::PasswordsController#new as HTML
|
87901
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
|
87902
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (4.3ms)
|
87903
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (7.1ms)
|
87904
|
+
Completed 200 OK in 25ms (Views: 23.9ms | ActiveRecord: 0.0ms)
|
87905
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87906
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87907
|
+
-------------------------------------------------------------------------------
|
87908
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
87909
|
+
-------------------------------------------------------------------------------
|
87910
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
87911
|
+
Processing by Contour::RegistrationsController#create as HTML
|
87912
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
|
87913
|
+
Unpermitted parameters: spam
|
87914
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87915
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
87916
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
87917
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 24 Sep 2013 16:12:23 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$Urr2Kbwhs.XHkRS5tdeDhuB.SNQQoliHwi3iGnADfzs5aQ9q7r68i"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 24 Sep 2013 16:12:23 UTC +00:00]]
|
87918
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87919
|
+
Redirected to http://test.host/users/login
|
87920
|
+
Completed 302 Found in 54ms (ActiveRecord: 0.8ms)
|
87921
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
87922
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
87923
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87924
|
+
--------------------------------------------------------------------------------------------
|
87925
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
87926
|
+
--------------------------------------------------------------------------------------------
|
87927
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
87928
|
+
Processing by Contour::RegistrationsController#create as HTML
|
87929
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
87930
|
+
Unpermitted parameters: status
|
87931
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87932
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
87933
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
87934
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 24 Sep 2013 16:12:23 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$Z3gLQacth0XoMzCTcBhfRek.43Ws9aYS5kaYw8ejNTjcDAtgx54Oa"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 24 Sep 2013 16:12:23 UTC +00:00]]
|
87935
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87936
|
+
Redirected to http://test.host/users/login
|
87937
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
87938
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
87939
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
87940
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87941
|
+
---------------------------------------------------------------------------------------------
|
87942
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
87943
|
+
---------------------------------------------------------------------------------------------
|
87944
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
87945
|
+
Processing by Contour::RegistrationsController#create as HTML
|
87946
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
|
87947
|
+
SPAM BOT SIGNUP: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"password", "password_confirmation"=>"password", "spam"=>"http://buystuffhere.com"}, "controller"=>"contour/registrations", "action"=>"create"}
|
87948
|
+
Unpermitted parameters: spam
|
87949
|
+
Redirected to http://test.host/users/login
|
87950
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
87951
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
87952
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87953
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87954
|
+
----------------------------------------------------------------------
|
87955
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
87956
|
+
----------------------------------------------------------------------
|
87957
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
87958
|
+
Processing by Contour::SessionsController#create as JSON
|
87959
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
87960
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
87961
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87962
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 24 Sep 2013 16:12:23 UTC +00:00], ["current_sign_in_at", Tue, 24 Sep 2013 16:12:23 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 24 Sep 2013 16:12:23 UTC +00:00]]
|
87963
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87964
|
+
Completed 200 OK in 86ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
87965
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
87966
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87967
|
+
----------------------------------------------------------------------------------------------------------
|
87968
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
|
87969
|
+
----------------------------------------------------------------------------------------------------------
|
87970
|
+
Processing by Contour::SessionsController#create as HTML
|
87971
|
+
Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
|
87972
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
87973
|
+
[1m[36m (0.2ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
87974
|
+
Redirected to http://test.host/auth/google_apps
|
87975
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
87976
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87977
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87978
|
+
----------------------------------------------------------------------------------------------
|
87979
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
87980
|
+
----------------------------------------------------------------------------------------------
|
87981
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
87982
|
+
Processing by Contour::SessionsController#create as HTML
|
87983
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
87984
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
87985
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
|
87986
|
+
Redirected to http://test.host/auth/ldap
|
87987
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
87988
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87989
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87990
|
+
--------------------------------------------------------------------------
|
87991
|
+
Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
|
87992
|
+
--------------------------------------------------------------------------
|
87993
|
+
Processing by Contour::SessionsController#create as HTML
|
87994
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
87995
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
87996
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
|
87997
|
+
Completed 401 Unauthorized in 4ms
|
87998
|
+
Processing by Contour::SessionsController#new as HTML
|
87999
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
88000
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
|
88001
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
|
88002
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
|
88003
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
|
88004
|
+
Completed 200 OK in 22ms (Views: 20.9ms | ActiveRecord: 0.0ms)
|
88005
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88006
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88007
|
+
-----------------------------------------------------
|
88008
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
88009
|
+
-----------------------------------------------------
|
88010
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88011
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88012
|
+
---------------------------------------------------------------------
|
88013
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
88014
|
+
---------------------------------------------------------------------
|
88015
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88016
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88017
|
+
-----------------------
|
88018
|
+
ContourTest: test_truth
|
88019
|
+
-----------------------
|
88020
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88022
|
+
--------------------------------------------------------------------
|
88023
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
88024
|
+
--------------------------------------------------------------------
|
88025
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
88026
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
88027
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
88028
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88029
|
+
Processing by WelcomeController#logged_in_page as HTML
|
88030
|
+
Completed 401 Unauthorized in 20ms
|
88031
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88032
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
88033
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
88034
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$zP3d9t7omEZxDsehz0NbUeGceW5eAG9aZI.IxDjdl2PGADF.brMC6"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00]]
|
88035
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88036
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
88037
|
+
[1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
88038
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
88039
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88040
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
88041
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
88042
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88043
|
+
Processing by Contour::SessionsController#create as HTML
|
88044
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
88045
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
88046
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88047
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
88048
|
+
Completed 401 Unauthorized in 8ms
|
88049
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88050
|
+
Processing by Contour::SessionsController#new as HTML
|
88051
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
88052
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
88053
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
88054
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
88055
|
+
Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.0ms)
|
88056
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
88057
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88058
|
+
--------------------------------------------------------
|
88059
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
88060
|
+
--------------------------------------------------------
|
88061
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
88062
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
88063
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
88064
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88065
|
+
Processing by WelcomeController#logged_in_page as HTML
|
88066
|
+
Completed 401 Unauthorized in 1ms
|
88067
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88068
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
88069
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
88070
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$gBBfeb/my0xPxxImEJVwBu3ld1ddVXihcq.9zJIou6pBPE6LpNa/W"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00]]
|
88071
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88072
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
88073
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
88074
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
88075
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88076
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
88077
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
88078
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88079
|
+
Processing by Contour::SessionsController#create as HTML
|
88080
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
88081
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
88082
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88083
|
+
[1m[35mSQL (0.3ms)[0m 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" = 999914116 [["last_sign_in_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00], ["current_sign_in_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00]]
|
88084
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88085
|
+
Redirected to http://www.example.com/logged_in_page
|
88086
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
|
88087
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88088
|
+
Processing by WelcomeController#logged_in_page as HTML
|
88089
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
|
88090
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
88091
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
88092
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88093
|
+
--------------------------------------------------------------------
|
88094
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
88095
|
+
--------------------------------------------------------------------
|
88096
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
88097
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
88098
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
88099
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88100
|
+
Processing by WelcomeController#logged_in_page as HTML
|
88101
|
+
Completed 401 Unauthorized in 1ms
|
88102
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88103
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
88104
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
88105
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$rPw.ekLmaJentkP95bsIH.atxb81UUFof1d/x8TMQeGQaFvW743uK"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00]]
|
88106
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88107
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
88108
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
88109
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
88110
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88111
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
88112
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
88113
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88114
|
+
Processing by Contour::SessionsController#create as HTML
|
88115
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
88116
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
88117
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88118
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
88119
|
+
Completed 401 Unauthorized in 6ms
|
88120
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88121
|
+
Processing by Contour::SessionsController#new as HTML
|
88122
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
88123
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
88124
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
88125
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
|
88126
|
+
Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.0ms)
|
88127
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
88128
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88129
|
+
-------------------------------------------------------------
|
88130
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
88131
|
+
-------------------------------------------------------------
|
88132
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
88133
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
88134
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
88135
|
+
Started GET "/" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88136
|
+
Processing by WelcomeController#index as HTML
|
88137
|
+
Completed 401 Unauthorized in 1ms
|
88138
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
88139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88140
|
+
-------------------------------------------------------------------------
|
88141
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
88142
|
+
-------------------------------------------------------------------------
|
88143
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
88144
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
88145
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
88146
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88147
|
+
Processing by WelcomeController#logged_in_page as JSON
|
88148
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
88149
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88150
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00], ["current_sign_in_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 24 Sep 2013 16:12:24 UTC +00:00]]
|
88151
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
88152
|
+
Completed 200 OK in 78ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
88153
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
88154
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88155
|
+
------------------------------------------------------------------------------------------------
|
88156
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
88157
|
+
------------------------------------------------------------------------------------------------
|
88158
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
88159
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
88160
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
88161
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-24 12:12:24 -0400
|
88162
|
+
Processing by WelcomeController#logged_in_page as JSON
|
88163
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
88164
|
+
Completed 401 Unauthorized in 78ms
|
88165
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88166
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88167
|
+
------------------------------------
|
88168
|
+
UserTest: test_should_apply_omniauth
|
88169
|
+
------------------------------------
|
88170
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
88171
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88172
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88173
|
+
--------------------------------------
|
88174
|
+
UserTest: test_should_get_reverse_name
|
87365
88175
|
--------------------------------------
|
87366
88176
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
87367
88177
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|