contour 2.1.0.rc2 → 2.1.0
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 +1 -1
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +810 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12e5eba2dd09a0acb8f52a0a3a0ca441bcd92189
|
|
4
|
+
data.tar.gz: f7d5684d968716b00258cf95eee6eb35dea3acb6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a8056646cc0c1400719411e4c2251fc03a96021f20ce5286540c3424176c96c831c47c4f737f569e855e799daf5439b29b165de95c1a1f77f50fb6dbc148e1a
|
|
7
|
+
data.tar.gz: 1c5913087cd8c4f95031a690976252a6330d3cb69a2d7319613aa3ce2cbd1f9aa08975c7e242cd19b516c6e81b1ce5e4a49692f08dfac791de90d26455e2cb9a
|
data/CHANGELOG.md
CHANGED
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
data/test/dummy/log/test.log
CHANGED
|
@@ -85745,3 +85745,813 @@ UserTest: test_should_get_reverse_name
|
|
|
85745
85745
|
--------------------------------------
|
|
85746
85746
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
85747
85747
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
85748
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
|
85749
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
|
85750
|
+
[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-09 20:14:51', '2013-09-09 20:14:51', 949717663, 201799169)[0m
|
|
85751
|
+
[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-09 20:14:51', '2013-09-09 20:14:51', 876923740, 201799169)
|
|
85752
|
+
[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-09 20:14:51', '2013-09-09 20:14:51', 864673665, 201799169)[0m
|
|
85753
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
|
85754
|
+
[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-09 20:14:51', '2013-09-09 20:14:51', 201799169)[0m
|
|
85755
|
+
[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-09 20:14:51', '2013-09-09 20:14:51', 999914115)
|
|
85756
|
+
[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-09 20:14:51', '2013-09-09 20:14:51', 725306934)[0m
|
|
85757
|
+
[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-09 20:14:51', '2013-09-09 20:14:51', 349534908)
|
|
85758
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
|
85759
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
85760
|
+
-------------------------------------------------
|
|
85761
|
+
AuthenticationTest: test_should_get_provider_name
|
|
85762
|
+
-------------------------------------------------
|
|
85763
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
85764
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
85765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
85766
|
+
--------------------------------------------------------------------------------
|
|
85767
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
|
85768
|
+
--------------------------------------------------------------------------------
|
|
85769
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
85770
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
85771
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
85772
|
+
-------------------------------------------------------------------------
|
|
85773
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
|
85774
|
+
-------------------------------------------------------------------------
|
|
85775
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
85776
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
85777
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
85778
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
85779
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-09-09 20:14:51 UTC", "updated_at"=>"2013-09-09 20:14:51 UTC"}}
|
|
85780
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
85781
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
85782
|
+
Logged in user found, creating associated authentication.
|
|
85783
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
85784
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 09 Sep 2013 20:14:51 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 09 Sep 2013 20:14:51 UTC +00:00], ["user_id", 201799169]]
|
|
85785
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
85786
|
+
Redirected to http://test.host/authentications
|
|
85787
|
+
Completed 302 Found in 109ms (ActiveRecord: 1.2ms)
|
|
85788
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
85789
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
|
85790
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
85791
|
+
--------------------------------------------------------------------------
|
|
85792
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
|
85793
|
+
--------------------------------------------------------------------------
|
|
85794
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
85795
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
85796
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
85797
|
+
Processing by Contour::AuthenticationsController#destroy as JS
|
|
85798
|
+
Parameters: {"id"=>"949717663"}
|
|
85799
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
85800
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
|
85801
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
85802
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
85803
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
85804
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
|
|
85805
|
+
[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]]
|
|
85806
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
|
|
85807
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1[0m [["user_id", 201799169]]
|
|
85808
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
|
|
85809
|
+
[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]]
|
|
85810
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["user_id", 201799169]]
|
|
85811
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (44.7ms)
|
|
85812
|
+
Completed 200 OK in 139ms (Views: 134.0ms | ActiveRecord: 1.5ms)
|
|
85813
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
85814
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
85815
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
85816
|
+
-------------------------------------------------------------
|
|
85817
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
|
85818
|
+
-------------------------------------------------------------
|
|
85819
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
85820
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
85821
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
85822
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
|
|
85823
|
+
[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]]
|
|
85824
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
|
|
85825
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1[0m [["user_id", 201799169]]
|
|
85826
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
|
|
85827
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1[0m [["user_id", 201799169]]
|
|
85828
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
|
|
85829
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1[0m [["user_id", 201799169]]
|
|
85830
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (7.6ms)
|
|
85831
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_authentications.html.erb (8.8ms)
|
|
85832
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms)
|
|
85833
|
+
Completed 200 OK in 108ms (Views: 107.8ms | ActiveRecord: 0.5ms)
|
|
85834
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
85835
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
85836
|
+
-----------------------------------------------------------------------------
|
|
85837
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
|
|
85838
|
+
-----------------------------------------------------------------------------
|
|
85839
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
85840
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
85841
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
85842
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '5mXdBG21c1ZnH61MqWJy' LIMIT 1[0m
|
|
85843
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
85844
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "5mXdBG21c1ZnH61MqWJy"], ["reset_password_sent_at", Mon, 09 Sep 2013 20:14:52 UTC +00:00], ["updated_at", Mon, 09 Sep 2013 20:14:52 UTC +00:00]]
|
|
85845
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
85846
|
+
|
|
85847
|
+
Sent mail to valid@example.com (17.4ms)
|
|
85848
|
+
Date: Mon, 09 Sep 2013 16:14:52 -0400
|
|
85849
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
85850
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
85851
|
+
To: valid@example.com
|
|
85852
|
+
Message-ID: <522e2c3c4ed49_20473fda894606d87871b@edge.partners.org.mail>
|
|
85853
|
+
Subject: Reset password instructions
|
|
85854
|
+
Mime-Version: 1.0
|
|
85855
|
+
Content-Type: text/html;
|
|
85856
|
+
charset=UTF-8
|
|
85857
|
+
Content-Transfer-Encoding: 7bit
|
|
85858
|
+
|
|
85859
|
+
<p>Hello valid@example.com!</p>
|
|
85860
|
+
|
|
85861
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
|
85862
|
+
|
|
85863
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=5mXdBG21c1ZnH61MqWJy">Change my password</a></p>
|
|
85864
|
+
|
|
85865
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
85866
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
85867
|
+
|
|
85868
|
+
Redirected to http://test.host/users/login
|
|
85869
|
+
Completed 302 Found in 162ms (ActiveRecord: 0.9ms)
|
|
85870
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
85871
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
85872
|
+
-----------------------------------------------------------------------------
|
|
85873
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
|
|
85874
|
+
-----------------------------------------------------------------------------
|
|
85875
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
85876
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
|
|
85877
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.8ms)
|
|
85878
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.3ms)
|
|
85879
|
+
Completed 200 OK in 95ms (Views: 93.9ms | ActiveRecord: 0.0ms)
|
|
85880
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
85881
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
85882
|
+
-------------------------------------------------------------------------------
|
|
85883
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
|
85884
|
+
-------------------------------------------------------------------------------
|
|
85885
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
85886
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
85887
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
|
|
85888
|
+
Unpermitted parameters: spam
|
|
85889
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
85890
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
|
85891
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
85892
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 09 Sep 2013 20:14:52 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$YPuUsODZLjI138OLI0yImO9V/1LfFYovn/UyuOohOD4l3x6Lo6eM2"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 09 Sep 2013 20:14:52 UTC +00:00]]
|
|
85893
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
85894
|
+
Redirected to http://test.host/users/login
|
|
85895
|
+
Completed 302 Found in 81ms (ActiveRecord: 1.1ms)
|
|
85896
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users"
|
|
85897
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
85898
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
85899
|
+
--------------------------------------------------------------------------------------------
|
|
85900
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
|
85901
|
+
--------------------------------------------------------------------------------------------
|
|
85902
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
85903
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
85904
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
85905
|
+
Unpermitted parameters: status
|
|
85906
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
85907
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
|
85908
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
85909
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 09 Sep 2013 20:14:52 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$AwSw7oQ1SSez.YMtQ6E65uYQjSseG9UW4.zpbztplXxFhecaKhhU."], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 09 Sep 2013 20:14:52 UTC +00:00]]
|
|
85910
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
85911
|
+
Redirected to http://test.host/users/login
|
|
85912
|
+
Completed 302 Found in 15ms (ActiveRecord: 1.2ms)
|
|
85913
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
85914
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
85915
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
85916
|
+
---------------------------------------------------------------------------------------------
|
|
85917
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
|
85918
|
+
---------------------------------------------------------------------------------------------
|
|
85919
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
85920
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
85921
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
|
|
85922
|
+
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"}
|
|
85923
|
+
Unpermitted parameters: spam
|
|
85924
|
+
Redirected to http://test.host/users/login
|
|
85925
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
|
85926
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
85927
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
85928
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
85929
|
+
----------------------------------------------------------------------
|
|
85930
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
|
85931
|
+
----------------------------------------------------------------------
|
|
85932
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
85933
|
+
Processing by Contour::SessionsController#create as JSON
|
|
85934
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
85935
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
85936
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
85937
|
+
[1m[35mSQL (0.9ms)[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, 09 Sep 2013 20:14:52 UTC +00:00], ["current_sign_in_at", Mon, 09 Sep 2013 20:14:52 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 09 Sep 2013 20:14:52 UTC +00:00]]
|
|
85938
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
85939
|
+
Completed 200 OK in 88ms (Views: 0.3ms | ActiveRecord: 1.3ms)
|
|
85940
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
85941
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
85942
|
+
----------------------------------------------------------------------------------------------------------
|
|
85943
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
|
|
85944
|
+
----------------------------------------------------------------------------------------------------------
|
|
85945
|
+
Processing by Contour::SessionsController#create as HTML
|
|
85946
|
+
Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
|
|
85947
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
|
85948
|
+
[1m[36m (0.2ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
|
85949
|
+
Redirected to http://test.host/auth/google_apps
|
|
85950
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
|
85951
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
85952
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
85953
|
+
----------------------------------------------------------------------------------------------
|
|
85954
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
|
85955
|
+
----------------------------------------------------------------------------------------------
|
|
85956
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
85957
|
+
Processing by Contour::SessionsController#create as HTML
|
|
85958
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
85959
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
85960
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
|
|
85961
|
+
Redirected to http://test.host/auth/ldap
|
|
85962
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
|
85963
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
85964
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
85965
|
+
--------------------------------------------------------------------------
|
|
85966
|
+
Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
|
|
85967
|
+
--------------------------------------------------------------------------
|
|
85968
|
+
Processing by Contour::SessionsController#create as HTML
|
|
85969
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
85970
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
|
85971
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
|
|
85972
|
+
Completed 401 Unauthorized in 4ms
|
|
85973
|
+
Processing by Contour::SessionsController#new as HTML
|
|
85974
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
85975
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.2ms)
|
|
85976
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
|
|
85977
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
|
|
85978
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.7ms)
|
|
85979
|
+
Completed 200 OK in 100ms (Views: 97.6ms | ActiveRecord: 0.0ms)
|
|
85980
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
85981
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
85982
|
+
-----------------------------------------------------
|
|
85983
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
|
85984
|
+
-----------------------------------------------------
|
|
85985
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
85986
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
85987
|
+
---------------------------------------------------------------------
|
|
85988
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
|
85989
|
+
---------------------------------------------------------------------
|
|
85990
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
85991
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
85992
|
+
-----------------------
|
|
85993
|
+
ContourTest: test_truth
|
|
85994
|
+
-----------------------
|
|
85995
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
85996
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
85997
|
+
--------------------------------------------------------------------
|
|
85998
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
|
85999
|
+
--------------------------------------------------------------------
|
|
86000
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86001
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86002
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86003
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86004
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86005
|
+
Completed 401 Unauthorized in 34ms
|
|
86006
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86007
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
86008
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86009
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 09 Sep 2013 20:14:53 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$216gBi1MQ1wu9nn9udMIIeZWgND.nbB310g4v66ggZ5y2SBFAdp1m"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 09 Sep 2013 20:14:53 UTC +00:00]]
|
|
86010
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86011
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86012
|
+
[1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
86013
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
86014
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86015
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
86016
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
|
86017
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86018
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86019
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
86020
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
|
86021
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86022
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86023
|
+
Completed 401 Unauthorized in 8ms
|
|
86024
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86025
|
+
Processing by Contour::SessionsController#new as HTML
|
|
86026
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
|
86027
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
|
86028
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
|
86029
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.6ms)
|
|
86030
|
+
Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.0ms)
|
|
86031
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
86032
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86033
|
+
--------------------------------------------------------
|
|
86034
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
|
86035
|
+
--------------------------------------------------------
|
|
86036
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86037
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86038
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86039
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86040
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86041
|
+
Completed 401 Unauthorized in 1ms
|
|
86042
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86043
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
86044
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86045
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 09 Sep 2013 20:14:53 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$kzwVx.OmSdZDZsh8V7.qB.Vo3tWr.TWEuOUfGk241g5BO7zKMd4N."], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 09 Sep 2013 20:14:53 UTC +00:00]]
|
|
86046
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86047
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
86048
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
86049
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
86050
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86051
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
86052
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
86053
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86054
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86055
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
86056
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
86057
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86058
|
+
[1m[35mSQL (0.2ms)[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, 09 Sep 2013 20:14:53 UTC +00:00], ["current_sign_in_at", Mon, 09 Sep 2013 20:14:53 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, 09 Sep 2013 20:14:53 UTC +00:00]]
|
|
86059
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86060
|
+
Redirected to http://www.example.com/logged_in_page
|
|
86061
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
|
|
86062
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86063
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86064
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
|
|
86065
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
|
86066
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
86067
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86068
|
+
--------------------------------------------------------------------
|
|
86069
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
|
86070
|
+
--------------------------------------------------------------------
|
|
86071
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86072
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86073
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86074
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86075
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86076
|
+
Completed 401 Unauthorized in 1ms
|
|
86077
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86078
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
|
86079
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86080
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 09 Sep 2013 20:14:53 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$azzOrV7cElrGj.ZWeBISMeCMRRv57qhSn2XW/qENmxpGtj.qzkRKq"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 09 Sep 2013 20:14:53 UTC +00:00]]
|
|
86081
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86082
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
86083
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
86084
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
86085
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86086
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
|
86087
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
86088
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86089
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86090
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
86091
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
86092
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86093
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86094
|
+
Completed 401 Unauthorized in 5ms
|
|
86095
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86096
|
+
Processing by Contour::SessionsController#new as HTML
|
|
86097
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
|
86098
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
|
86099
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.2ms)
|
|
86100
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms)
|
|
86101
|
+
Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms)
|
|
86102
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
86103
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86104
|
+
-------------------------------------------------------------
|
|
86105
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
|
86106
|
+
-------------------------------------------------------------
|
|
86107
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86108
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86109
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86110
|
+
Started GET "/" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86111
|
+
Processing by WelcomeController#index as HTML
|
|
86112
|
+
Completed 401 Unauthorized in 1ms
|
|
86113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86115
|
+
-------------------------------------------------------------------------
|
|
86116
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
|
86117
|
+
-------------------------------------------------------------------------
|
|
86118
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86119
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
86120
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
86121
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86122
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
86123
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
86124
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86125
|
+
[1m[36mSQL (0.6ms)[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, 09 Sep 2013 20:14:53 UTC +00:00], ["current_sign_in_at", Mon, 09 Sep 2013 20:14:53 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 09 Sep 2013 20:14:53 UTC +00:00]]
|
|
86126
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86127
|
+
Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.9ms)
|
|
86128
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
86129
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86130
|
+
------------------------------------------------------------------------------------------------
|
|
86131
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
|
86132
|
+
------------------------------------------------------------------------------------------------
|
|
86133
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86134
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86135
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86136
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-09 16:14:53 -0400
|
|
86137
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
86138
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
86139
|
+
Completed 401 Unauthorized in 82ms
|
|
86140
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86141
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86142
|
+
------------------------------------
|
|
86143
|
+
UserTest: test_should_apply_omniauth
|
|
86144
|
+
------------------------------------
|
|
86145
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86146
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86147
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86148
|
+
--------------------------------------
|
|
86149
|
+
UserTest: test_should_get_reverse_name
|
|
86150
|
+
--------------------------------------
|
|
86151
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86152
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86153
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
86154
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "authentications"
|
|
86155
|
+
[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-09 20:17:03', '2013-09-09 20:17:03', 949717663, 201799169)[0m
|
|
86156
|
+
[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-09 20:17:03', '2013-09-09 20:17:03', 876923740, 201799169)
|
|
86157
|
+
[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-09 20:17:03', '2013-09-09 20:17:03', 864673665, 201799169)[0m
|
|
86158
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
86159
|
+
[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-09 20:17:03', '2013-09-09 20:17:03', 201799169)[0m
|
|
86160
|
+
[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-09 20:17:03', '2013-09-09 20:17:03', 999914115)
|
|
86161
|
+
[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-09 20:17:03', '2013-09-09 20:17:03', 725306934)[0m
|
|
86162
|
+
[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-09 20:17:03', '2013-09-09 20:17:03', 349534908)
|
|
86163
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
|
86164
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86165
|
+
-------------------------------------------------
|
|
86166
|
+
AuthenticationTest: test_should_get_provider_name
|
|
86167
|
+
-------------------------------------------------
|
|
86168
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
86169
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86170
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86171
|
+
--------------------------------------------------------------------------------
|
|
86172
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
|
86173
|
+
--------------------------------------------------------------------------------
|
|
86174
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
86175
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86177
|
+
-------------------------------------------------------------------------
|
|
86178
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
|
86179
|
+
-------------------------------------------------------------------------
|
|
86180
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86181
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
86182
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
86183
|
+
Processing by Contour::AuthenticationsController#create as HTML
|
|
86184
|
+
Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-09-09 20:17:03 UTC", "updated_at"=>"2013-09-09 20:17:03 UTC"}}
|
|
86185
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
86186
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
86187
|
+
Logged in user found, creating associated authentication.
|
|
86188
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86189
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00], ["user_id", 201799169]]
|
|
86190
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86191
|
+
Redirected to http://test.host/authentications
|
|
86192
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.8ms)
|
|
86193
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
86194
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
86195
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86196
|
+
--------------------------------------------------------------------------
|
|
86197
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
|
86198
|
+
--------------------------------------------------------------------------
|
|
86199
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86200
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
86201
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
86202
|
+
Processing by Contour::AuthenticationsController#destroy as JS
|
|
86203
|
+
Parameters: {"id"=>"949717663"}
|
|
86204
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
86205
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
|
86206
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86207
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
86208
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86209
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
|
|
86210
|
+
[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]]
|
|
86211
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
|
|
86212
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1[0m [["user_id", 201799169]]
|
|
86213
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
|
|
86214
|
+
[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]]
|
|
86215
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["user_id", 201799169]]
|
|
86216
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (18.8ms)
|
|
86217
|
+
Completed 200 OK in 39ms (Views: 34.6ms | ActiveRecord: 1.6ms)
|
|
86218
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
86219
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
86220
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86221
|
+
-------------------------------------------------------------
|
|
86222
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
|
86223
|
+
-------------------------------------------------------------
|
|
86224
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86225
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
86226
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
86227
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
|
|
86228
|
+
[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]]
|
|
86229
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
|
|
86230
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1[0m [["user_id", 201799169]]
|
|
86231
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
|
|
86232
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1[0m [["user_id", 201799169]]
|
|
86233
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
|
|
86234
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1[0m [["user_id", 201799169]]
|
|
86235
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (8.3ms)
|
|
86236
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_authentications.html.erb (9.5ms)
|
|
86237
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.2ms)
|
|
86238
|
+
Completed 200 OK in 110ms (Views: 109.2ms | ActiveRecord: 0.5ms)
|
|
86239
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86240
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86241
|
+
-----------------------------------------------------------------------------
|
|
86242
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
|
|
86243
|
+
-----------------------------------------------------------------------------
|
|
86244
|
+
Processing by Contour::PasswordsController#create as HTML
|
|
86245
|
+
Parameters: {"user"=>{"email"=>"valid@example.com"}}
|
|
86246
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
86247
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Fyq5QwyB2zKdAyWLcpoV' LIMIT 1[0m
|
|
86248
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
86249
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "Fyq5QwyB2zKdAyWLcpoV"], ["reset_password_sent_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00], ["updated_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00]]
|
|
86250
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86251
|
+
|
|
86252
|
+
Sent mail to valid@example.com (12.2ms)
|
|
86253
|
+
Date: Mon, 09 Sep 2013 16:17:03 -0400
|
|
86254
|
+
From: please-change-me-at-config-initializers-devise@example.com
|
|
86255
|
+
Reply-To: please-change-me-at-config-initializers-devise@example.com
|
|
86256
|
+
To: valid@example.com
|
|
86257
|
+
Message-ID: <522e2cbf62435_20dc3fd3d9c606dc58322@edge.partners.org.mail>
|
|
86258
|
+
Subject: Reset password instructions
|
|
86259
|
+
Mime-Version: 1.0
|
|
86260
|
+
Content-Type: text/html;
|
|
86261
|
+
charset=UTF-8
|
|
86262
|
+
Content-Transfer-Encoding: 7bit
|
|
86263
|
+
|
|
86264
|
+
<p>Hello valid@example.com!</p>
|
|
86265
|
+
|
|
86266
|
+
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
|
|
86267
|
+
|
|
86268
|
+
<p><a href="http://localhost:3000/users/password/edit?reset_password_token=Fyq5QwyB2zKdAyWLcpoV">Change my password</a></p>
|
|
86269
|
+
|
|
86270
|
+
<p>If you didn't request this, please ignore this email.</p>
|
|
86271
|
+
<p>Your password won't change until you access the link above and create a new one.</p>
|
|
86272
|
+
|
|
86273
|
+
Redirected to http://test.host/users/login
|
|
86274
|
+
Completed 302 Found in 61ms (ActiveRecord: 0.8ms)
|
|
86275
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
86276
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86277
|
+
-----------------------------------------------------------------------------
|
|
86278
|
+
Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
|
|
86279
|
+
-----------------------------------------------------------------------------
|
|
86280
|
+
Processing by Contour::PasswordsController#new as HTML
|
|
86281
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms)
|
|
86282
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
|
|
86283
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.4ms)
|
|
86284
|
+
Completed 200 OK in 55ms (Views: 53.8ms | ActiveRecord: 0.0ms)
|
|
86285
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86286
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86287
|
+
-------------------------------------------------------------------------------
|
|
86288
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
|
86289
|
+
-------------------------------------------------------------------------------
|
|
86290
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
86291
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
86292
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
|
|
86293
|
+
Unpermitted parameters: spam
|
|
86294
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86295
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
|
86296
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86297
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$Hv41AjpqG2VNWw9D6pk2Ve1VXakerk9zgbOE1fGtk0PizJMmD9Gf2"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00]]
|
|
86298
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86299
|
+
Redirected to http://test.host/users/login
|
|
86300
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.7ms)
|
|
86301
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
86302
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
86303
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86304
|
+
--------------------------------------------------------------------------------------------
|
|
86305
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
|
86306
|
+
--------------------------------------------------------------------------------------------
|
|
86307
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
86308
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
86309
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
86310
|
+
Unpermitted parameters: status
|
|
86311
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86312
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
|
86313
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86314
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$ZGFsmZWz1odM7FdnjBSIwOegK8jVqjEJErSzndV7JwNdUprjZdsda"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00]]
|
|
86315
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86316
|
+
Redirected to http://test.host/users/login
|
|
86317
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
|
86318
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
86319
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
86320
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86321
|
+
---------------------------------------------------------------------------------------------
|
|
86322
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
|
86323
|
+
---------------------------------------------------------------------------------------------
|
|
86324
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
86325
|
+
Processing by Contour::RegistrationsController#create as HTML
|
|
86326
|
+
Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
|
|
86327
|
+
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"}
|
|
86328
|
+
Unpermitted parameters: spam
|
|
86329
|
+
Redirected to http://test.host/users/login
|
|
86330
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
|
86331
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
86332
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86333
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86334
|
+
----------------------------------------------------------------------
|
|
86335
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
|
86336
|
+
----------------------------------------------------------------------
|
|
86337
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86338
|
+
Processing by Contour::SessionsController#create as JSON
|
|
86339
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
86340
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
86341
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86342
|
+
[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, 09 Sep 2013 20:17:03 UTC +00:00], ["current_sign_in_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00]]
|
|
86343
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86344
|
+
Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
|
86345
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
86346
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86347
|
+
----------------------------------------------------------------------------------------------------------
|
|
86348
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
|
|
86349
|
+
----------------------------------------------------------------------------------------------------------
|
|
86350
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86351
|
+
Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
|
|
86352
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
|
86353
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
|
86354
|
+
Redirected to http://test.host/auth/google_apps
|
|
86355
|
+
Completed 302 Found in 40ms (ActiveRecord: 0.3ms)
|
|
86356
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86357
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86358
|
+
----------------------------------------------------------------------------------------------
|
|
86359
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
|
86360
|
+
----------------------------------------------------------------------------------------------
|
|
86361
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86362
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86363
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
86364
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
86365
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
|
|
86366
|
+
Redirected to http://test.host/auth/ldap
|
|
86367
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
|
86368
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86369
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86370
|
+
--------------------------------------------------------------------------
|
|
86371
|
+
Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
|
|
86372
|
+
--------------------------------------------------------------------------
|
|
86373
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86374
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
86375
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
|
86376
|
+
[1m[35m (0.1ms)[0m SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
|
|
86377
|
+
Completed 401 Unauthorized in 3ms
|
|
86378
|
+
Processing by Contour::SessionsController#new as HTML
|
|
86379
|
+
Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
|
|
86380
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.7ms)
|
|
86381
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
|
|
86382
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
|
|
86383
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
|
|
86384
|
+
Completed 200 OK in 19ms (Views: 18.2ms | ActiveRecord: 0.0ms)
|
|
86385
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
86386
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86387
|
+
-----------------------------------------------------
|
|
86388
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
|
86389
|
+
-----------------------------------------------------
|
|
86390
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86391
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86392
|
+
---------------------------------------------------------------------
|
|
86393
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
|
86394
|
+
---------------------------------------------------------------------
|
|
86395
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86396
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86397
|
+
-----------------------
|
|
86398
|
+
ContourTest: test_truth
|
|
86399
|
+
-----------------------
|
|
86400
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86401
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
86402
|
+
--------------------------------------------------------------------
|
|
86403
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
|
86404
|
+
--------------------------------------------------------------------
|
|
86405
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86406
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86407
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86408
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-09 16:17:03 -0400
|
|
86409
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86410
|
+
Completed 401 Unauthorized in 20ms
|
|
86411
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86412
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
86413
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86414
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$mEuy00omZAkxye3mhXTbPeXNVUet0muwoX/Ucy17FZH8DaT9awqOa"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00]]
|
|
86415
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86416
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
86417
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
86418
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
86419
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86420
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
86421
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
|
86422
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-09 16:17:03 -0400
|
|
86423
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86424
|
+
Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
|
|
86425
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
|
86426
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86427
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86428
|
+
Completed 401 Unauthorized in 6ms
|
|
86429
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-09 16:17:03 -0400
|
|
86430
|
+
Processing by Contour::SessionsController#new as HTML
|
|
86431
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
|
86432
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
|
|
86433
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
|
86434
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
|
|
86435
|
+
Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.0ms)
|
|
86436
|
+
[1m[36m (11.0ms)[0m [1mrollback transaction[0m
|
|
86437
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86438
|
+
--------------------------------------------------------
|
|
86439
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
|
86440
|
+
--------------------------------------------------------
|
|
86441
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86442
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86443
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86444
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-09 16:17:03 -0400
|
|
86445
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86446
|
+
Completed 401 Unauthorized in 1ms
|
|
86447
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86448
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
86449
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86450
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$bpP.7D4zBxLMF1vubI3lAeIE8qYbBQciV9REdgxl6HiaEBH2yyXOW"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00]]
|
|
86451
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86452
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
86453
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
86454
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
86455
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86456
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
86457
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
86458
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-09 16:17:03 -0400
|
|
86459
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86460
|
+
Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
|
|
86461
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
86462
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86463
|
+
[1m[35mSQL (0.2ms)[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, 09 Sep 2013 20:17:03 UTC +00:00], ["current_sign_in_at", Mon, 09 Sep 2013 20:17: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, 09 Sep 2013 20:17:03 UTC +00:00]]
|
|
86464
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86465
|
+
Redirected to http://www.example.com/logged_in_page
|
|
86466
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.5ms)
|
|
86467
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-09 16:17:03 -0400
|
|
86468
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86469
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
|
|
86470
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
|
86471
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
86472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86473
|
+
--------------------------------------------------------------------
|
|
86474
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
|
86475
|
+
--------------------------------------------------------------------
|
|
86476
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86477
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86478
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86479
|
+
Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-09 16:17:03 -0400
|
|
86480
|
+
Processing by WelcomeController#logged_in_page as HTML
|
|
86481
|
+
Completed 401 Unauthorized in 1ms
|
|
86482
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86483
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
|
86484
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
86485
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$DzHo6EnmnasUh6k9fBqOa.Y72PmDZElt2QlamumdOjqKdQOiwsOyi"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Mon, 09 Sep 2013 20:17:03 UTC +00:00]]
|
|
86486
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86487
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
86488
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
86489
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
86490
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86491
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
|
86492
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
86493
|
+
Started POST "/users/login" for 127.0.0.1 at 2013-09-09 16:17:03 -0400
|
|
86494
|
+
Processing by Contour::SessionsController#create as HTML
|
|
86495
|
+
Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
|
|
86496
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
86497
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
86498
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86499
|
+
Completed 401 Unauthorized in 5ms
|
|
86500
|
+
Started GET "/users/login" for 127.0.0.1 at 2013-09-09 16:17:03 -0400
|
|
86501
|
+
Processing by Contour::SessionsController#new as HTML
|
|
86502
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
|
|
86503
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
|
|
86504
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
|
|
86505
|
+
Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
|
|
86506
|
+
Completed 200 OK in 55ms (Views: 53.5ms | ActiveRecord: 0.0ms)
|
|
86507
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
86508
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86509
|
+
-------------------------------------------------------------
|
|
86510
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
|
86511
|
+
-------------------------------------------------------------
|
|
86512
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86513
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86514
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86515
|
+
Started GET "/" for 127.0.0.1 at 2013-09-09 16:17:03 -0400
|
|
86516
|
+
Processing by WelcomeController#index as HTML
|
|
86517
|
+
Completed 401 Unauthorized in 1ms
|
|
86518
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86519
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86520
|
+
-------------------------------------------------------------------------
|
|
86521
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
|
86522
|
+
-------------------------------------------------------------------------
|
|
86523
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86524
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
86525
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
|
|
86526
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-09 16:17:04 -0400
|
|
86527
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
86528
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
86529
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
86530
|
+
[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", Mon, 09 Sep 2013 20:17:04 UTC +00:00], ["current_sign_in_at", Mon, 09 Sep 2013 20:17:04 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Mon, 09 Sep 2013 20:17:04 UTC +00:00]]
|
|
86531
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
86532
|
+
Completed 200 OK in 77ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
|
86533
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
86534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86535
|
+
------------------------------------------------------------------------------------------------
|
|
86536
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
|
86537
|
+
------------------------------------------------------------------------------------------------
|
|
86538
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86539
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
86540
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 725306934]]
|
|
86541
|
+
Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-09 16:17:04 -0400
|
|
86542
|
+
Processing by WelcomeController#logged_in_page as JSON
|
|
86543
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
86544
|
+
Completed 401 Unauthorized in 74ms
|
|
86545
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
86546
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
86547
|
+
------------------------------------
|
|
86548
|
+
UserTest: test_should_apply_omniauth
|
|
86549
|
+
------------------------------------
|
|
86550
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
86551
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
86552
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
86553
|
+
--------------------------------------
|
|
86554
|
+
UserTest: test_should_get_reverse_name
|
|
86555
|
+
--------------------------------------
|
|
86556
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
86557
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: contour
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.0
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Remo Mueller
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-09-
|
|
11
|
+
date: 2013-09-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -530,9 +530,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
530
530
|
version: '0'
|
|
531
531
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
532
532
|
requirements:
|
|
533
|
-
- - '
|
|
533
|
+
- - '>='
|
|
534
534
|
- !ruby/object:Gem::Version
|
|
535
|
-
version:
|
|
535
|
+
version: '0'
|
|
536
536
|
requirements: []
|
|
537
537
|
rubyforge_project:
|
|
538
538
|
rubygems_version: 2.0.3
|