contour 2.1.0 → 2.2.0.beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/app/assets/javascripts/contour.js +0 -2
- data/lib/contour/version.rb +2 -2
- 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/2f5173deea6c795b8fdde723bb4b63af +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/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +4 -5
- data/app/assets/javascripts/external/highcharts-3.0.5.src.js +0 -16814
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1dbd5a10cbce2f1b24f7bc68e33fced11ca3563a
|
|
4
|
+
data.tar.gz: 4ddc4b4b00cb9de21bfe134eefbbe64ffa3668d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e03d3b47086de8506a1061d47fafc3b8533a874076462b2171af7c6ab0ad8ca58bb42b81e780a2c02443e25412f768355c1e00cf92ed836f6f0010252268410
|
|
7
|
+
data.tar.gz: 1add0e5ec37ebf4d068acdc37c08595211c9f98d4e44315960af08bb21fbc91c0d77d3230134a7885884bf1c9c9fe38ec65cdeb53f0d8e954baa57ec6e913109
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
## 2.2.0
|
|
2
|
+
|
|
3
|
+
### Breaking Changes
|
|
4
|
+
- Removed HighCharts JavaScript to reduce the overall JavaScript footprint
|
|
5
|
+
|
|
1
6
|
## 2.1.0 (September 9, 2013)
|
|
2
7
|
|
|
8
|
+
### Enhancements
|
|
3
9
|
- Updated Bootstrap to 3.0.0
|
|
4
10
|
- Added Twitter-Typeahead to replace BS Typeahead functionality
|
|
5
11
|
- Removed contour-mini pagination theme as the only options in BS3 are pagination-large, pagination, and pagination-small
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
data/test/dummy/log/test.log
CHANGED
|
@@ -86555,3 +86555,813 @@ UserTest: test_should_get_reverse_name
|
|
|
86555
86555
|
--------------------------------------
|
|
86556
86556
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86557
86557
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86558
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
86559
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
|
86560
|
+
[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-23 15:30:33', '2013-09-23 15:30:33', 949717663, 201799169)[0m
|
|
86561
|
+
[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-23 15:30:33', '2013-09-23 15:30:33', 876923740, 201799169)
|
|
86562
|
+
[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-23 15:30:33', '2013-09-23 15:30:33', 864673665, 201799169)[0m
|
|
86563
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
86564
|
+
[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-23 15:30:33', '2013-09-23 15:30:33', 201799169)[0m
|
|
86565
|
+
[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-23 15:30:33', '2013-09-23 15:30:33', 999914115)
|
|
86566
|
+
[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-23 15:30:33', '2013-09-23 15:30:33', 725306934)[0m
|
|
86567
|
+
[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-23 15:30:33', '2013-09-23 15:30:33', 349534908)
|
|
86568
|
+
[1m[36m (14.1ms)[0m [1mcommit transaction[0m
|
|
86569
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86570
|
+
-------------------------------------------------
|
|
86571
|
+
AuthenticationTest: test_should_get_provider_name
|
|
86572
|
+
-------------------------------------------------
|
|
86573
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
86574
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86575
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86576
|
+
--------------------------------------------------------------------------------
|
|
86577
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
|
86578
|
+
--------------------------------------------------------------------------------
|
|
86579
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
86580
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86581
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86582
|
+
-------------------------------------------------------------------------
|
|
86583
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
|
86584
|
+
-------------------------------------------------------------------------
|
|
86585
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86586
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
86587
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
86588
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
86589
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-09-23 15:30:33 UTC", "updated_at"=>"2013-09-23 15:30:33 UTC"}}
|
|
86590
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
86591
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
86592
|
+
Logged in user found, creating associated authentication.
|
|
86593
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86594
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Sep 2013 15:30:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 23 Sep 2013 15:30:33 UTC +00:00], ["user_id", 201799169]]
|
|
86595
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86596
|
+
Redirected to http://test.host/authentications
|
|
86597
|
+
Completed 302 Found in 21ms (ActiveRecord: 1.1ms)
|
|
86598
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
86599
|
+
[1m[35m (22.8ms)[0m rollback transaction
|
|
86600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86601
|
+
--------------------------------------------------------------------------
|
|
86602
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
|
86603
|
+
--------------------------------------------------------------------------
|
|
86604
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86605
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
86606
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
86607
|
+
Processing by Contour::AuthenticationsController#destroy as JS
|
|
86608
|
+
Parameters: {"id"=>"949717663"}
|
|
86609
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
86610
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
|
86611
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86612
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
86613
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86614
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
|
|
86615
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1[0m [["user_id", 201799169]]
|
|
86616
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
|
|
86617
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1[0m [["user_id", 201799169]]
|
|
86618
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
|
|
86619
|
+
[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]]
|
|
86620
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["user_id", 201799169]]
|
|
86621
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (20.5ms)
|
|
86622
|
+
Completed 200 OK in 56ms (Views: 50.9ms | ActiveRecord: 1.7ms)
|
|
86623
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
86624
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
86625
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86626
|
+
-------------------------------------------------------------
|
|
86627
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
|
86628
|
+
-------------------------------------------------------------
|
|
86629
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86630
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
86631
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
86632
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
|
|
86633
|
+
[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]]
|
|
86634
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
|
|
86635
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1[0m [["user_id", 201799169]]
|
|
86636
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
|
|
86637
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1[0m [["user_id", 201799169]]
|
|
86638
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
|
|
86639
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1[0m [["user_id", 201799169]]
|
|
86640
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (9.1ms)
|
|
86641
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_authentications.html.erb (10.5ms)
|
|
86642
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
|
86643
|
+
Completed 200 OK in 140ms (Views: 139.4ms | ActiveRecord: 0.6ms)
|
|
86644
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86645
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86646
|
+
-----------------------------------------------------------------------------
|
|
86647
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
|
|
86648
|
+
-----------------------------------------------------------------------------
|
|
86649
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
86650
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
86651
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
86652
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'pJptvCucyMpkYJCqToU7' LIMIT 1[0m
|
|
86653
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
86654
|
+
[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", "pJptvCucyMpkYJCqToU7"], ["reset_password_sent_at", Mon, 23 Sep 2013 15:30:33 UTC +00:00], ["updated_at", Mon, 23 Sep 2013 15:30:33 UTC +00:00]]
|
|
86655
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86656
|
+
|
|
86657
|
+
Sent mail to valid@example.com (14.1ms)
|
|
86658
|
+
Date: Mon, 23 Sep 2013 11:30:34 -0400
|
|
86659
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
86660
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
86661
|
+
To: valid@example.com
|
|
86662
|
+
Message-ID: <52405e9a6fa2_74c73ffefc8606d8584df@edge.partners.org.mail>
|
|
86663
|
+
Subject: Reset password instructions
|
|
86664
|
+
Mime-Version: 1.0
|
|
86665
|
+
Content-Type: text/html;
|
|
86666
|
+
charset=UTF-8
|
|
86667
|
+
Content-Transfer-Encoding: 7bit
|
|
86668
|
+
|
|
86669
|
+
<p>Hello valid@example.com!</p>
|
|
86670
|
+
|
|
86671
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
|
86672
|
+
|
|
86673
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=pJptvCucyMpkYJCqToU7">Change my password</a></p>
|
|
86674
|
+
|
|
86675
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
86676
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
86677
|
+
|
|
86678
|
+
Redirected to http://test.host/users/login
|
|
86679
|
+
Completed 302 Found in 63ms (ActiveRecord: 1.0ms)
|
|
86680
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
86681
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86682
|
+
-----------------------------------------------------------------------------
|
|
86683
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
|
|
86684
|
+
-----------------------------------------------------------------------------
|
|
86685
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
86686
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms)
|
|
86687
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
|
|
86688
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
|
|
86689
|
+
Completed 200 OK in 57ms (Views: 55.9ms | ActiveRecord: 0.0ms)
|
|
86690
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86691
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86692
|
+
-------------------------------------------------------------------------------
|
|
86693
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
|
86694
|
+
-------------------------------------------------------------------------------
|
|
86695
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
86696
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
86697
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
|
|
86698
|
+
Unpermitted parameters: spam
|
|
86699
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86700
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
|
86701
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86702
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$aAyeR2LEv2IofH.bSE4G0O9xO4XdYZfq/LpBjumqrfej1Idx6xwj2"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00]]
|
|
86703
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86704
|
+
Redirected to http://test.host/users/login
|
|
86705
|
+
Completed 302 Found in 18ms (ActiveRecord: 0.9ms)
|
|
86706
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
86707
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
86708
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86709
|
+
--------------------------------------------------------------------------------------------
|
|
86710
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
|
86711
|
+
--------------------------------------------------------------------------------------------
|
|
86712
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
86713
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
86714
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
86715
|
+
Unpermitted parameters: status
|
|
86716
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86717
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
|
86718
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86719
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$cXIGQkcS.UTYSHD6JT2jqOumedqqHrFw5BRTlCEfHC4qOL4TFLVQG"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00]]
|
|
86720
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86721
|
+
Redirected to http://test.host/users/login
|
|
86722
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
|
86723
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
86724
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
86725
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86726
|
+
---------------------------------------------------------------------------------------------
|
|
86727
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
|
86728
|
+
---------------------------------------------------------------------------------------------
|
|
86729
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
86730
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
86731
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
|
|
86732
|
+
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"}
|
|
86733
|
+
Unpermitted parameters: spam
|
|
86734
|
+
Redirected to http://test.host/users/login
|
|
86735
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
|
86736
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
86737
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86738
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86739
|
+
----------------------------------------------------------------------
|
|
86740
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
|
86741
|
+
----------------------------------------------------------------------
|
|
86742
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86743
|
+
Processing by Contour::SessionsController#create as JSON
|
|
86744
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
86745
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
86746
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86747
|
+
[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", Mon, 23 Sep 2013 15:30:34 UTC +00:00], ["current_sign_in_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00]]
|
|
86748
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86749
|
+
Completed 200 OK in 82ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
|
86750
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
86751
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86752
|
+
----------------------------------------------------------------------------------------------------------
|
|
86753
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
|
|
86754
|
+
----------------------------------------------------------------------------------------------------------
|
|
86755
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86756
|
+
Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
|
|
86757
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
|
86758
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
|
86759
|
+
Redirected to http://test.host/auth/google_apps
|
|
86760
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
|
86761
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86762
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86763
|
+
----------------------------------------------------------------------------------------------
|
|
86764
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
|
86765
|
+
----------------------------------------------------------------------------------------------
|
|
86766
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86767
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86768
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
86769
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
86770
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
|
|
86771
|
+
Redirected to http://test.host/auth/ldap
|
|
86772
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
|
86773
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86774
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
86775
|
+
--------------------------------------------------------------------------
|
|
86776
|
+
Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
|
|
86777
|
+
--------------------------------------------------------------------------
|
|
86778
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86779
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
86780
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
|
86781
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
|
|
86782
|
+
Completed 401 Unauthorized in 3ms
|
|
86783
|
+
Processing by Contour::SessionsController#new as HTML
|
|
86784
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
86785
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
|
|
86786
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms)
|
|
86787
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
|
|
86788
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.6ms)
|
|
86789
|
+
Completed 200 OK in 22ms (Views: 20.7ms | ActiveRecord: 0.0ms)
|
|
86790
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86791
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86792
|
+
-----------------------------------------------------
|
|
86793
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
|
86794
|
+
-----------------------------------------------------
|
|
86795
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86796
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
86797
|
+
---------------------------------------------------------------------
|
|
86798
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
|
86799
|
+
---------------------------------------------------------------------
|
|
86800
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86801
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86802
|
+
-----------------------
|
|
86803
|
+
ContourTest: test_truth
|
|
86804
|
+
-----------------------
|
|
86805
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86806
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86807
|
+
--------------------------------------------------------------------
|
|
86808
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
|
86809
|
+
--------------------------------------------------------------------
|
|
86810
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86811
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86812
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86813
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86814
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86815
|
+
Completed 401 Unauthorized in 20ms
|
|
86816
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86817
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
86818
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86819
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$PgFY4dCbXxdSc.1UI7Nj/OJAdXEwOtHtdaA5cxqY0OdteTcQelONy"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00]]
|
|
86820
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86821
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
86822
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
86823
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
86824
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86825
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
86826
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
|
86827
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86828
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86829
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
86830
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
|
86831
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86832
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86833
|
+
Completed 401 Unauthorized in 7ms
|
|
86834
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86835
|
+
Processing by Contour::SessionsController#new as HTML
|
|
86836
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
|
86837
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
86838
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
|
|
86839
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
|
|
86840
|
+
Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.0ms)
|
|
86841
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
86842
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86843
|
+
--------------------------------------------------------
|
|
86844
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
|
86845
|
+
--------------------------------------------------------
|
|
86846
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86847
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86848
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86849
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86850
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86851
|
+
Completed 401 Unauthorized in 1ms
|
|
86852
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86853
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
86854
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86855
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$pXiuRUOLWe.glTndZ1IDl.3n8qcX8ilTixhD/bxk2Yrk03a1vKsCG"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00]]
|
|
86856
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86857
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
86858
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
86859
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
86860
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86861
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
86862
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
86863
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86864
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86865
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
86866
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
86867
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86868
|
+
[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", Mon, 23 Sep 2013 15:30:34 UTC +00:00], ["current_sign_in_at", Mon, 23 Sep 2013 15:30:34 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", Mon, 23 Sep 2013 15:30:34 UTC +00:00]]
|
|
86869
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86870
|
+
Redirected to http://www.example.com/logged_in_page
|
|
86871
|
+
Completed 302 Found in 53ms (ActiveRecord: 0.6ms)
|
|
86872
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86873
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86874
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
|
|
86875
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
|
86876
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
86877
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86878
|
+
--------------------------------------------------------------------
|
|
86879
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
|
86880
|
+
--------------------------------------------------------------------
|
|
86881
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86882
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86883
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86884
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86885
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86886
|
+
Completed 401 Unauthorized in 1ms
|
|
86887
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86888
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
|
86889
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86890
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$4AL23lTB0vvx/mr/fVliLuTOjj08iRfXrZki4kBHQdGleb1BVvjrS"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00]]
|
|
86891
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86892
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
86893
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
86894
|
+
[1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
86895
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86896
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
|
86897
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
86898
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86899
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86900
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
86901
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
86902
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86903
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86904
|
+
Completed 401 Unauthorized in 6ms
|
|
86905
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86906
|
+
Processing by Contour::SessionsController#new as HTML
|
|
86907
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
|
|
86908
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
86909
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
|
86910
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
|
86911
|
+
Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.0ms)
|
|
86912
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
86913
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86914
|
+
-------------------------------------------------------------
|
|
86915
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
|
86916
|
+
-------------------------------------------------------------
|
|
86917
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86918
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86919
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86920
|
+
Started GET "/" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86921
|
+
Processing by WelcomeController#index as HTML
|
|
86922
|
+
Completed 401 Unauthorized in 1ms
|
|
86923
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86924
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86925
|
+
-------------------------------------------------------------------------
|
|
86926
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
|
86927
|
+
-------------------------------------------------------------------------
|
|
86928
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86929
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
86930
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
86931
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86932
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
86933
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
86934
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86935
|
+
[1m[36mSQL (0.5ms)[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", Mon, 23 Sep 2013 15:30:34 UTC +00:00], ["current_sign_in_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 23 Sep 2013 15:30:34 UTC +00:00]]
|
|
86936
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86937
|
+
Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
|
86938
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
86939
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86940
|
+
------------------------------------------------------------------------------------------------
|
|
86941
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
|
86942
|
+
------------------------------------------------------------------------------------------------
|
|
86943
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86944
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86945
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86946
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-23 11:30:34 -0400
|
|
86947
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
86948
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
86949
|
+
Completed 401 Unauthorized in 80ms
|
|
86950
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86951
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86952
|
+
------------------------------------
|
|
86953
|
+
UserTest: test_should_apply_omniauth
|
|
86954
|
+
------------------------------------
|
|
86955
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86956
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86957
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86958
|
+
--------------------------------------
|
|
86959
|
+
UserTest: test_should_get_reverse_name
|
|
86960
|
+
--------------------------------------
|
|
86961
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86962
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86963
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
86964
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
|
86965
|
+
[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-23 15:49:02', '2013-09-23 15:49:02', 949717663, 201799169)[0m
|
|
86966
|
+
[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-23 15:49:02', '2013-09-23 15:49:02', 876923740, 201799169)
|
|
86967
|
+
[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-23 15:49:02', '2013-09-23 15:49:02', 864673665, 201799169)[0m
|
|
86968
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
86969
|
+
[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-23 15:49:02', '2013-09-23 15:49:02', 201799169)[0m
|
|
86970
|
+
[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-23 15:49:02', '2013-09-23 15:49:02', 999914115)
|
|
86971
|
+
[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-23 15:49:02', '2013-09-23 15:49:02', 725306934)[0m
|
|
86972
|
+
[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-23 15:49:02', '2013-09-23 15:49:02', 349534908)
|
|
86973
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
|
86974
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86975
|
+
-------------------------------------------------
|
|
86976
|
+
AuthenticationTest: test_should_get_provider_name
|
|
86977
|
+
-------------------------------------------------
|
|
86978
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
86979
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86980
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86981
|
+
--------------------------------------------------------------------------------
|
|
86982
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
|
86983
|
+
--------------------------------------------------------------------------------
|
|
86984
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
86985
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86986
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86987
|
+
-------------------------------------------------------------------------
|
|
86988
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
|
86989
|
+
-------------------------------------------------------------------------
|
|
86990
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86991
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
86992
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
86993
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
86994
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-09-23 15:49:02 UTC", "updated_at"=>"2013-09-23 15:49:02 UTC"}}
|
|
86995
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
86996
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
86997
|
+
Logged in user found, creating associated authentication.
|
|
86998
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86999
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 23 Sep 2013 15:49:02 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 23 Sep 2013 15:49:02 UTC +00:00], ["user_id", 201799169]]
|
|
87000
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
87001
|
+
Redirected to http://test.host/authentications
|
|
87002
|
+
Completed 302 Found in 57ms (ActiveRecord: 1.0ms)
|
|
87003
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
87004
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
87005
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
87006
|
+
--------------------------------------------------------------------------
|
|
87007
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
|
87008
|
+
--------------------------------------------------------------------------
|
|
87009
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
87010
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
87011
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
87012
|
+
Processing by Contour::AuthenticationsController#destroy as JS
|
|
87013
|
+
Parameters: {"id"=>"949717663"}
|
|
87014
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
87015
|
+
[1m[35mAuthentication Load (0.3ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
|
87016
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
87017
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
87018
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
87019
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
|
|
87020
|
+
[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]]
|
|
87021
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
|
|
87022
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1[0m [["user_id", 201799169]]
|
|
87023
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
|
|
87024
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1[0m [["user_id", 201799169]]
|
|
87025
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["user_id", 201799169]]
|
|
87026
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (21.3ms)
|
|
87027
|
+
Completed 200 OK in 46ms (Views: 38.9ms | ActiveRecord: 1.9ms)
|
|
87028
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
87029
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
87030
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
87031
|
+
-------------------------------------------------------------
|
|
87032
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
|
87033
|
+
-------------------------------------------------------------
|
|
87034
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
87035
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
87036
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
87037
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
|
|
87038
|
+
[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]]
|
|
87039
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
|
|
87040
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1[0m [["user_id", 201799169]]
|
|
87041
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
|
|
87042
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1[0m [["user_id", 201799169]]
|
|
87043
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
|
|
87044
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1[0m [["user_id", 201799169]]
|
|
87045
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (8.7ms)
|
|
87046
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_authentications.html.erb (10.1ms)
|
|
87047
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
|
|
87048
|
+
Completed 200 OK in 85ms (Views: 83.9ms | ActiveRecord: 0.6ms)
|
|
87049
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
87050
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
87051
|
+
-----------------------------------------------------------------------------
|
|
87052
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
|
|
87053
|
+
-----------------------------------------------------------------------------
|
|
87054
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
87055
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
87056
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
87057
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Uq1eFngR8ebzKfhCRaqR' LIMIT 1[0m
|
|
87058
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
87059
|
+
[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", "Uq1eFngR8ebzKfhCRaqR"], ["reset_password_sent_at", Mon, 23 Sep 2013 15:49:02 UTC +00:00], ["updated_at", Mon, 23 Sep 2013 15:49:02 UTC +00:00]]
|
|
87060
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
87061
|
+
|
|
87062
|
+
Sent mail to valid@example.com (13.0ms)
|
|
87063
|
+
Date: Mon, 23 Sep 2013 11:49:03 -0400
|
|
87064
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
87065
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
87066
|
+
To: valid@example.com
|
|
87067
|
+
Message-ID: <524062efabc8_78333ff2894606d428572@edge.partners.org.mail>
|
|
87068
|
+
Subject: Reset password instructions
|
|
87069
|
+
Mime-Version: 1.0
|
|
87070
|
+
Content-Type: text/html;
|
|
87071
|
+
charset=UTF-8
|
|
87072
|
+
Content-Transfer-Encoding: 7bit
|
|
87073
|
+
|
|
87074
|
+
<p>Hello valid@example.com!</p>
|
|
87075
|
+
|
|
87076
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
|
87077
|
+
|
|
87078
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=Uq1eFngR8ebzKfhCRaqR">Change my password</a></p>
|
|
87079
|
+
|
|
87080
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
87081
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
87082
|
+
|
|
87083
|
+
Redirected to http://test.host/users/login
|
|
87084
|
+
Completed 302 Found in 145ms (ActiveRecord: 1.0ms)
|
|
87085
|
+
[1m[36m (31.8ms)[0m [1mrollback transaction[0m
|
|
87086
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87087
|
+
-----------------------------------------------------------------------------
|
|
87088
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
|
|
87089
|
+
-----------------------------------------------------------------------------
|
|
87090
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
87091
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.7ms)
|
|
87092
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
|
87093
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.8ms)
|
|
87094
|
+
Completed 200 OK in 61ms (Views: 60.6ms | ActiveRecord: 0.0ms)
|
|
87095
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
87096
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87097
|
+
-------------------------------------------------------------------------------
|
|
87098
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
|
87099
|
+
-------------------------------------------------------------------------------
|
|
87100
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
87101
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
87102
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
|
|
87103
|
+
Unpermitted parameters: spam
|
|
87104
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
87105
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
|
87106
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
87107
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$JU6FdKcO0L2F.0FYpPWrTu2cd8ExpybkkVfmmNVscIEGFPlYAQFCe"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00]]
|
|
87108
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
87109
|
+
Redirected to http://test.host/users/login
|
|
87110
|
+
Completed 302 Found in 21ms (ActiveRecord: 0.9ms)
|
|
87111
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
87112
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
87113
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87114
|
+
--------------------------------------------------------------------------------------------
|
|
87115
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
|
87116
|
+
--------------------------------------------------------------------------------------------
|
|
87117
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
87118
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
87119
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
87120
|
+
Unpermitted parameters: status
|
|
87121
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
87122
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
|
87123
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
87124
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$fIOyGkUY39ea3KpeNz4mGOjRb6hEpetdI63gCPqR1Ar8oHGBS/oCe"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00]]
|
|
87125
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
87126
|
+
Redirected to http://test.host/users/login
|
|
87127
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
|
87128
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
87129
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
87130
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87131
|
+
---------------------------------------------------------------------------------------------
|
|
87132
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
|
87133
|
+
---------------------------------------------------------------------------------------------
|
|
87134
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
87135
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
87136
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
|
|
87137
|
+
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"}
|
|
87138
|
+
Unpermitted parameters: spam
|
|
87139
|
+
Redirected to http://test.host/users/login
|
|
87140
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
|
87141
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
87142
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
87143
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87144
|
+
----------------------------------------------------------------------
|
|
87145
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
|
87146
|
+
----------------------------------------------------------------------
|
|
87147
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
87148
|
+
Processing by Contour::SessionsController#create as JSON
|
|
87149
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
87150
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
87151
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
87152
|
+
[1m[35mSQL (0.7ms)[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", Mon, 23 Sep 2013 15:49:03 UTC +00:00], ["current_sign_in_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00]]
|
|
87153
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
87154
|
+
Completed 200 OK in 94ms (Views: 0.3ms | ActiveRecord: 1.0ms)
|
|
87155
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
87156
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
87157
|
+
----------------------------------------------------------------------------------------------------------
|
|
87158
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
|
|
87159
|
+
----------------------------------------------------------------------------------------------------------
|
|
87160
|
+
Processing by Contour::SessionsController#create as HTML
|
|
87161
|
+
Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
|
|
87162
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
|
87163
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
|
87164
|
+
Redirected to http://test.host/auth/google_apps
|
|
87165
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
|
87166
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
87167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
87168
|
+
----------------------------------------------------------------------------------------------
|
|
87169
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
|
87170
|
+
----------------------------------------------------------------------------------------------
|
|
87171
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
87172
|
+
Processing by Contour::SessionsController#create as HTML
|
|
87173
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
87174
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
87175
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
|
|
87176
|
+
Redirected to http://test.host/auth/ldap
|
|
87177
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
|
87178
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
87179
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87180
|
+
--------------------------------------------------------------------------
|
|
87181
|
+
Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
|
|
87182
|
+
--------------------------------------------------------------------------
|
|
87183
|
+
Processing by Contour::SessionsController#create as HTML
|
|
87184
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
87185
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
|
87186
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
|
|
87187
|
+
Completed 401 Unauthorized in 3ms
|
|
87188
|
+
Processing by Contour::SessionsController#new as HTML
|
|
87189
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
87190
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
|
87191
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.8ms)
|
|
87192
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.6ms)
|
|
87193
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.8ms)
|
|
87194
|
+
Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.0ms)
|
|
87195
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
87196
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
87197
|
+
-----------------------------------------------------
|
|
87198
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
|
87199
|
+
-----------------------------------------------------
|
|
87200
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
87201
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87202
|
+
---------------------------------------------------------------------
|
|
87203
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
|
87204
|
+
---------------------------------------------------------------------
|
|
87205
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
87206
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87207
|
+
-----------------------
|
|
87208
|
+
ContourTest: test_truth
|
|
87209
|
+
-----------------------
|
|
87210
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
87211
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87212
|
+
--------------------------------------------------------------------
|
|
87213
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
|
87214
|
+
--------------------------------------------------------------------
|
|
87215
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
87216
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
87217
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
87218
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87219
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
87220
|
+
Completed 401 Unauthorized in 21ms
|
|
87221
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
87222
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
87223
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
87224
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$DoP3OSQLNM/9ZuNjbstSR.v6xGZEo88YLone8fEhFatAUdm/MbFUW"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00]]
|
|
87225
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
87226
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
87227
|
+
[1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
87228
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
87229
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
87230
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
87231
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
|
87232
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87233
|
+
Processing by Contour::SessionsController#create as HTML
|
|
87234
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
87235
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
|
87236
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
87237
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
87238
|
+
Completed 401 Unauthorized in 7ms
|
|
87239
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87240
|
+
Processing by Contour::SessionsController#new as HTML
|
|
87241
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
|
87242
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
87243
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.0ms)
|
|
87244
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.8ms)
|
|
87245
|
+
Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 0.0ms)
|
|
87246
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
|
87247
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87248
|
+
--------------------------------------------------------
|
|
87249
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
|
87250
|
+
--------------------------------------------------------
|
|
87251
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
87252
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
87253
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
87254
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87255
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
87256
|
+
Completed 401 Unauthorized in 1ms
|
|
87257
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
87258
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
87259
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
87260
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$p0IRcJLjOCZJWwZGl/fGk.VXBZDmkirCFVhNcv4DxTt/6XJgnpQti"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00]]
|
|
87261
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
87262
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
87263
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
87264
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
87265
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
87266
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
87267
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
87268
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87269
|
+
Processing by Contour::SessionsController#create as HTML
|
|
87270
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
87271
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
87272
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
87273
|
+
[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", Mon, 23 Sep 2013 15:49:03 UTC +00:00], ["current_sign_in_at", Mon, 23 Sep 2013 15:49:03 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", Mon, 23 Sep 2013 15:49:03 UTC +00:00]]
|
|
87274
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
87275
|
+
Redirected to http://www.example.com/logged_in_page
|
|
87276
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.6ms)
|
|
87277
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87278
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
87279
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
|
|
87280
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
|
87281
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
87282
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87283
|
+
--------------------------------------------------------------------
|
|
87284
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
|
87285
|
+
--------------------------------------------------------------------
|
|
87286
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
87287
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
87288
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
87289
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87290
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
87291
|
+
Completed 401 Unauthorized in 1ms
|
|
87292
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
87293
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
|
87294
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
87295
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$5.hE793eTJnXvedhl0G1MOMZbmKwXBCx0AGbTaNevgnAvahwUsCmG"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00]]
|
|
87296
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
87297
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
87298
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
87299
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
87300
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
87301
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
|
87302
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
87303
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87304
|
+
Processing by Contour::SessionsController#create as HTML
|
|
87305
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
87306
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
87307
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
87308
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
87309
|
+
Completed 401 Unauthorized in 6ms
|
|
87310
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87311
|
+
Processing by Contour::SessionsController#new as HTML
|
|
87312
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
|
|
87313
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
87314
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
|
87315
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
|
|
87316
|
+
Completed 200 OK in 59ms (Views: 57.5ms | ActiveRecord: 0.0ms)
|
|
87317
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
87318
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87319
|
+
-------------------------------------------------------------
|
|
87320
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
|
87321
|
+
-------------------------------------------------------------
|
|
87322
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
87323
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
87324
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
87325
|
+
Started GET "/" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87326
|
+
Processing by WelcomeController#index as HTML
|
|
87327
|
+
Completed 401 Unauthorized in 1ms
|
|
87328
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
87329
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
87330
|
+
-------------------------------------------------------------------------
|
|
87331
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
|
87332
|
+
-------------------------------------------------------------------------
|
|
87333
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
87334
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
87335
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
87336
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87337
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
87338
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
87339
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
87340
|
+
[1m[36mSQL (0.5ms)[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", Mon, 23 Sep 2013 15:49:03 UTC +00:00], ["current_sign_in_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 23 Sep 2013 15:49:03 UTC +00:00]]
|
|
87341
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
87342
|
+
Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 0.8ms)
|
|
87343
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
87344
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87345
|
+
------------------------------------------------------------------------------------------------
|
|
87346
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
|
87347
|
+
------------------------------------------------------------------------------------------------
|
|
87348
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
87349
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
87350
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
87351
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-23 11:49:03 -0400
|
|
87352
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
87353
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
87354
|
+
Completed 401 Unauthorized in 79ms
|
|
87355
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
87356
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
87357
|
+
------------------------------------
|
|
87358
|
+
UserTest: test_should_apply_omniauth
|
|
87359
|
+
------------------------------------
|
|
87360
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
87361
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
87362
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
87363
|
+
--------------------------------------
|
|
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
|