contour 2.1.0.rc2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ab845e827492ee8bf78bd85f01aa4603f96746b
4
- data.tar.gz: b3f7421ee8f27527ea245ed81bc317bdb71c482d
3
+ metadata.gz: 12e5eba2dd09a0acb8f52a0a3a0ca441bcd92189
4
+ data.tar.gz: f7d5684d968716b00258cf95eee6eb35dea3acb6
5
5
  SHA512:
6
- metadata.gz: 59abb7f1f2ab328a3a411ad788e639c8ad5a8329866ef1aa1db9ed875acd15d19aca97961137a2eaa81bc2153c357562bb7c5ce42ba69dc645cc8724bc9c8d28
7
- data.tar.gz: 1f25d58bccc22543b2d309f388e50518fd131ecca684653c24e89dcccc4ee64f005a5387e509dced712773abe72bd053e1bd1953d7718873d195db0620dc5dbf
6
+ metadata.gz: 4a8056646cc0c1400719411e4c2251fc03a96021f20ce5286540c3424176c96c831c47c4f737f569e855e799daf5439b29b165de95c1a1f77f50fb6dbc148e1a
7
+ data.tar.gz: 1c5913087cd8c4f95031a690976252a6330d3cb69a2d7319613aa3ce2cbd1f9aa08975c7e242cd19b516c6e81b1ce5e4a49692f08dfac791de90d26455e2cb9a
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## 2.1.0
1
+ ## 2.1.0 (September 9, 2013)
2
2
 
3
3
  - Updated Bootstrap to 3.0.0
4
4
  - Added Twitter-Typeahead to replace BS Typeahead functionality
@@ -3,7 +3,7 @@ module Contour
3
3
  MAJOR = 2
4
4
  MINOR = 1
5
5
  TINY = 0
6
- BUILD = "rc2" # nil, "pre", "rc", "rc2"
6
+ BUILD = nil # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
Binary file
@@ -85745,3 +85745,813 @@ UserTest: test_should_get_reverse_name
85745
85745
  --------------------------------------
85746
85746
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85747
85747
   (0.1ms) rollback transaction
85748
+  (0.7ms) begin transaction
85749
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
85750
+ Fixture Insert (0.2ms) INSERT 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)
85751
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
85753
+ Fixture Delete (0.2ms) DELETE FROM "users"
85754
+ Fixture Insert (0.1ms) 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 ('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)
85755
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
85757
+ Fixture Insert (0.1ms) 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
+  (2.8ms) commit transaction
85759
+  (0.1ms) begin transaction
85760
+ -------------------------------------------------
85761
+ AuthenticationTest: test_should_get_provider_name
85762
+ -------------------------------------------------
85763
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
85764
+  (0.1ms) rollback transaction
85765
+  (0.1ms) begin transaction
85766
+ --------------------------------------------------------------------------------
85767
+ AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
85768
+ --------------------------------------------------------------------------------
85769
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
85770
+  (0.1ms) rollback transaction
85771
+  (0.0ms) begin transaction
85772
+ -------------------------------------------------------------------------
85773
+ Contour::AuthenticationsControllerTest: test_should_create_authentication
85774
+ -------------------------------------------------------------------------
85775
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85776
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
85777
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
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
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
85781
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
85782
+ Logged in user found, creating associated authentication.
85783
+  (0.2ms) SAVEPOINT active_record_1
85784
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85786
+ Redirected to http://test.host/authentications
85787
+ Completed 302 Found in 109ms (ActiveRecord: 1.2ms)
85788
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
85789
+  (0.9ms) rollback transaction
85790
+  (0.1ms) begin transaction
85791
+ --------------------------------------------------------------------------
85792
+ Contour::AuthenticationsControllerTest: test_should_destroy_authentication
85793
+ --------------------------------------------------------------------------
85794
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85795
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
85796
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
85797
+ Processing by Contour::AuthenticationsController#destroy as JS
85798
+ Parameters: {"id"=>"949717663"}
85799
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
85800
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
85801
+  (0.0ms) SAVEPOINT active_record_1
85802
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
85803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85804
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
85805
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
85806
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
85807
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
85808
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
85809
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
85810
+ Authentication Load (0.1ms) 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
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
85814
+  (0.7ms) rollback transaction
85815
+  (0.1ms) begin transaction
85816
+ -------------------------------------------------------------
85817
+ Contour::AuthenticationsControllerTest: test_should_get_index
85818
+ -------------------------------------------------------------
85819
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85820
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
85821
+ Processing by Contour::AuthenticationsController#index as HTML
85822
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
85823
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
85824
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
85825
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
85826
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
85827
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
85828
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
85829
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["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
+  (0.1ms) rollback transaction
85835
+  (0.1ms) begin transaction
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85842
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '5mXdBG21c1ZnH61MqWJy' LIMIT 1
85843
+  (0.0ms) SAVEPOINT active_record_1
85844
+ SQL (0.4ms) UPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["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
+  (0.1ms) 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
+  (0.8ms) rollback transaction
85871
+  (0.1ms) 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
+  (0.1ms) rollback transaction
85881
+  (0.1ms) begin transaction
85882
+ -------------------------------------------------------------------------------
85883
+ Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
85884
+ -------------------------------------------------------------------------------
85885
+  (0.2ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SAVEPOINT active_record_1
85890
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1
85891
+ Binary data inserted for `string` type on column `encrypted_password`
85892
+ SQL (0.8ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85894
+ Redirected to http://test.host/users/login
85895
+ Completed 302 Found in 81ms (ActiveRecord: 1.1ms)
85896
+  (0.2ms) SELECT COUNT(*) FROM "users"
85897
+  (0.6ms) rollback transaction
85898
+  (0.1ms) begin transaction
85899
+ --------------------------------------------------------------------------------------------
85900
+ Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
85901
+ --------------------------------------------------------------------------------------------
85902
+  (0.2ms) SELECT COUNT(*) FROM "users"
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
+  (0.2ms) SAVEPOINT active_record_1
85907
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1
85908
+ Binary data inserted for `string` type on column `encrypted_password`
85909
+ SQL (0.8ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85911
+ Redirected to http://test.host/users/login
85912
+ Completed 302 Found in 15ms (ActiveRecord: 1.2ms)
85913
+  (0.1ms) SELECT COUNT(*) FROM "users"
85914
+  (0.6ms) rollback transaction
85915
+  (0.1ms) begin transaction
85916
+ ---------------------------------------------------------------------------------------------
85917
+ Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
85918
+ ---------------------------------------------------------------------------------------------
85919
+  (0.2ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
85927
+  (0.1ms) rollback transaction
85928
+  (0.1ms) begin transaction
85929
+ ----------------------------------------------------------------------
85930
+ Contour::SessionsControllerTest: test_return_user_json_object_on_login
85931
+ ----------------------------------------------------------------------
85932
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85933
+ Processing by Contour::SessionsController#create as JSON
85934
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
85935
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85936
+  (0.1ms) SAVEPOINT active_record_1
85937
+ SQL (0.9ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85939
+ Completed 200 OK in 88ms (Views: 0.3ms | ActiveRecord: 1.3ms)
85940
+  (0.5ms) rollback transaction
85941
+  (0.1ms) begin transaction
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
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
85948
+  (0.2ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'
85949
+ Redirected to http://test.host/auth/google_apps
85950
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
85951
+  (0.1ms) rollback transaction
85952
+  (0.1ms) begin transaction
85953
+ ----------------------------------------------------------------------------------------------
85954
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
85955
+ ----------------------------------------------------------------------------------------------
85956
+ User Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85960
+  (0.1ms) 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
+  (0.1ms) rollback transaction
85964
+  (0.1ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1
85971
+  (0.1ms) 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
+  (0.2ms) rollback transaction
85981
+  (0.1ms) begin transaction
85982
+ -----------------------------------------------------
85983
+ ContourHelperTest: test_should_show_sort_field_helper
85984
+ -----------------------------------------------------
85985
+  (0.1ms) rollback transaction
85986
+  (0.1ms) begin transaction
85987
+ ---------------------------------------------------------------------
85988
+ ContourHelperTest: test_should_show_sort_field_helper_with_same_order
85989
+ ---------------------------------------------------------------------
85990
+  (0.1ms) rollback transaction
85991
+  (0.1ms) begin transaction
85992
+ -----------------------
85993
+ ContourTest: test_truth
85994
+ -----------------------
85995
+  (0.1ms) rollback transaction
85996
+  (0.1ms) begin transaction
85997
+ --------------------------------------------------------------------
85998
+ NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
85999
+ --------------------------------------------------------------------
86000
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86001
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86002
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
86007
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
86008
+ Binary data inserted for `string` type on column `encrypted_password`
86009
+ SQL (0.6ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86011
+  (0.1ms) SAVEPOINT active_record_1
86012
+ Authentication Exists (0.2ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86013
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86014
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86015
+ SQL (0.4ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
86016
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
86021
+  (0.1ms) SAVEPOINT active_record_1
86022
+  (0.1ms) 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
+  (0.8ms) rollback transaction
86032
+  (0.1ms) begin transaction
86033
+ --------------------------------------------------------
86034
+ NavigationTest: test_friendly_url_forwarding_after_login
86035
+ --------------------------------------------------------
86036
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86037
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86038
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
86043
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
86044
+ Binary data inserted for `string` type on column `encrypted_password`
86045
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86047
+  (0.0ms) SAVEPOINT active_record_1
86048
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86049
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86051
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
86052
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
86057
+  (0.1ms) SAVEPOINT active_record_1
86058
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) 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
+  (0.7ms) rollback transaction
86067
+  (0.1ms) begin transaction
86068
+ --------------------------------------------------------------------
86069
+ NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
86070
+ --------------------------------------------------------------------
86071
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86072
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86073
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
86078
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
86079
+ Binary data inserted for `string` type on column `encrypted_password`
86080
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86082
+  (0.0ms) SAVEPOINT active_record_1
86083
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86084
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86085
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86086
+ SQL (0.3ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
86087
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
86092
+  (0.1ms) SAVEPOINT active_record_1
86093
+  (0.0ms) 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
+  (0.9ms) rollback transaction
86103
+  (0.1ms) begin transaction
86104
+ -------------------------------------------------------------
86105
+ NavigationTest: test_root_navigation_redirected_to_login_page
86106
+ -------------------------------------------------------------
86107
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86108
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86109
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
86114
+  (0.1ms) begin transaction
86115
+ -------------------------------------------------------------------------
86116
+ NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
86117
+ -------------------------------------------------------------------------
86118
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86119
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86120
+ User Load (0.0ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
86124
+  (0.1ms) SAVEPOINT active_record_1
86125
+ SQL (0.6ms) 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: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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86127
+ Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 0.9ms)
86128
+  (0.5ms) rollback transaction
86129
+  (0.1ms) begin transaction
86130
+ ------------------------------------------------------------------------------------------------
86131
+ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
86132
+ ------------------------------------------------------------------------------------------------
86133
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86134
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86135
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
86139
+ Completed 401 Unauthorized in 82ms
86140
+  (0.1ms) rollback transaction
86141
+  (0.1ms) begin transaction
86142
+ ------------------------------------
86143
+ UserTest: test_should_apply_omniauth
86144
+ ------------------------------------
86145
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86146
+  (0.1ms) rollback transaction
86147
+  (0.1ms) begin transaction
86148
+ --------------------------------------
86149
+ UserTest: test_should_get_reverse_name
86150
+ --------------------------------------
86151
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86152
+  (0.1ms) rollback transaction
86153
+  (0.3ms) begin transaction
86154
+ Fixture Delete (0.2ms) DELETE FROM "authentications"
86155
+ Fixture Insert (0.1ms) INSERT 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)
86156
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
86158
+ Fixture Delete (0.1ms) DELETE FROM "users"
86159
+ Fixture Insert (0.1ms) 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 ('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)
86160
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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 ('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)
86162
+ Fixture Insert (0.1ms) 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
+  (2.9ms) commit transaction
86164
+  (0.1ms) begin transaction
86165
+ -------------------------------------------------
86166
+ AuthenticationTest: test_should_get_provider_name
86167
+ -------------------------------------------------
86168
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
86169
+  (0.1ms) rollback transaction
86170
+  (0.1ms) begin transaction
86171
+ --------------------------------------------------------------------------------
86172
+ AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
86173
+ --------------------------------------------------------------------------------
86174
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
86175
+  (0.1ms) rollback transaction
86176
+  (0.1ms) begin transaction
86177
+ -------------------------------------------------------------------------
86178
+ Contour::AuthenticationsControllerTest: test_should_create_authentication
86179
+ -------------------------------------------------------------------------
86180
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86181
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
86182
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
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
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
86186
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
86187
+ Logged in user found, creating associated authentication.
86188
+  (0.1ms) SAVEPOINT active_record_1
86189
+ SQL (0.4ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86191
+ Redirected to http://test.host/authentications
86192
+ Completed 302 Found in 17ms (ActiveRecord: 0.8ms)
86193
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
86194
+  (0.7ms) rollback transaction
86195
+  (0.1ms) begin transaction
86196
+ --------------------------------------------------------------------------
86197
+ Contour::AuthenticationsControllerTest: test_should_destroy_authentication
86198
+ --------------------------------------------------------------------------
86199
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86200
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
86201
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
86202
+ Processing by Contour::AuthenticationsController#destroy as JS
86203
+ Parameters: {"id"=>"949717663"}
86204
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
86205
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
86206
+  (0.0ms) SAVEPOINT active_record_1
86207
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
86208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86209
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
86210
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
86211
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
86212
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
86213
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
86214
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
86215
+ Authentication Load (0.1ms) 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
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
86219
+  (1.0ms) rollback transaction
86220
+  (0.1ms) begin transaction
86221
+ -------------------------------------------------------------
86222
+ Contour::AuthenticationsControllerTest: test_should_get_index
86223
+ -------------------------------------------------------------
86224
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86225
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
86226
+ Processing by Contour::AuthenticationsController#index as HTML
86227
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
86228
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
86229
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
86230
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
86231
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
86232
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
86233
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
86234
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["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
+  (0.1ms) rollback transaction
86240
+  (0.1ms) begin transaction
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
86247
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Fyq5QwyB2zKdAyWLcpoV' LIMIT 1
86248
+  (0.0ms) SAVEPOINT active_record_1
86249
+ SQL (0.4ms) UPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["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
+  (0.1ms) 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
+  (0.8ms) rollback transaction
86276
+  (0.1ms) 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
+  (0.1ms) rollback transaction
86286
+  (0.1ms) begin transaction
86287
+ -------------------------------------------------------------------------------
86288
+ Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
86289
+ -------------------------------------------------------------------------------
86290
+  (0.2ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SAVEPOINT active_record_1
86295
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1
86296
+ Binary data inserted for `string` type on column `encrypted_password`
86297
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86299
+ Redirected to http://test.host/users/login
86300
+ Completed 302 Found in 16ms (ActiveRecord: 0.7ms)
86301
+  (0.1ms) SELECT COUNT(*) FROM "users"
86302
+  (0.8ms) rollback transaction
86303
+  (0.1ms) begin transaction
86304
+ --------------------------------------------------------------------------------------------
86305
+ Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
86306
+ --------------------------------------------------------------------------------------------
86307
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SAVEPOINT active_record_1
86312
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1
86313
+ Binary data inserted for `string` type on column `encrypted_password`
86314
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86316
+ Redirected to http://test.host/users/login
86317
+ Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
86318
+  (0.1ms) SELECT COUNT(*) FROM "users"
86319
+  (0.5ms) rollback transaction
86320
+  (0.1ms) begin transaction
86321
+ ---------------------------------------------------------------------------------------------
86322
+ Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
86323
+ ---------------------------------------------------------------------------------------------
86324
+  (0.1ms) SELECT COUNT(*) FROM "users"
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
+  (0.1ms) SELECT COUNT(*) FROM "users"
86332
+  (0.1ms) rollback transaction
86333
+  (0.1ms) begin transaction
86334
+ ----------------------------------------------------------------------
86335
+ Contour::SessionsControllerTest: test_return_user_json_object_on_login
86336
+ ----------------------------------------------------------------------
86337
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86338
+ Processing by Contour::SessionsController#create as JSON
86339
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
86340
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
86341
+  (0.1ms) SAVEPOINT active_record_1
86342
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86344
+ Completed 200 OK in 77ms (Views: 0.3ms | ActiveRecord: 0.7ms)
86345
+  (0.7ms) rollback transaction
86346
+  (0.1ms) begin transaction
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
86353
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'
86354
+ Redirected to http://test.host/auth/google_apps
86355
+ Completed 302 Found in 40ms (ActiveRecord: 0.3ms)
86356
+  (0.1ms) rollback transaction
86357
+  (0.1ms) begin transaction
86358
+ ----------------------------------------------------------------------------------------------
86359
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
86360
+ ----------------------------------------------------------------------------------------------
86361
+ User Load (0.1ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
86365
+  (0.1ms) 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
+  (0.1ms) rollback transaction
86369
+  (0.1ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1
86376
+  (0.1ms) 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
+  (0.2ms) rollback transaction
86386
+  (0.1ms) begin transaction
86387
+ -----------------------------------------------------
86388
+ ContourHelperTest: test_should_show_sort_field_helper
86389
+ -----------------------------------------------------
86390
+  (0.1ms) rollback transaction
86391
+  (0.1ms) begin transaction
86392
+ ---------------------------------------------------------------------
86393
+ ContourHelperTest: test_should_show_sort_field_helper_with_same_order
86394
+ ---------------------------------------------------------------------
86395
+  (0.1ms) rollback transaction
86396
+  (0.1ms) begin transaction
86397
+ -----------------------
86398
+ ContourTest: test_truth
86399
+ -----------------------
86400
+  (0.1ms) rollback transaction
86401
+  (0.0ms) begin transaction
86402
+ --------------------------------------------------------------------
86403
+ NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
86404
+ --------------------------------------------------------------------
86405
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86406
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86407
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
86412
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
86413
+ Binary data inserted for `string` type on column `encrypted_password`
86414
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86416
+  (0.0ms) SAVEPOINT active_record_1
86417
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86418
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86420
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
86421
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
86426
+  (0.1ms) SAVEPOINT active_record_1
86427
+  (0.0ms) 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
+  (11.0ms) rollback transaction
86437
+  (0.1ms) begin transaction
86438
+ --------------------------------------------------------
86439
+ NavigationTest: test_friendly_url_forwarding_after_login
86440
+ --------------------------------------------------------
86441
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86442
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86443
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
86448
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
86449
+ Binary data inserted for `string` type on column `encrypted_password`
86450
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86452
+  (0.0ms) SAVEPOINT active_record_1
86453
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86454
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86456
+ SQL (0.2ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
86457
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
86462
+  (0.1ms) SAVEPOINT active_record_1
86463
+ SQL (0.2ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ User Load (0.1ms) 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
+  (0.8ms) rollback transaction
86472
+  (0.1ms) begin transaction
86473
+ --------------------------------------------------------------------
86474
+ NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
86475
+ --------------------------------------------------------------------
86476
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86477
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86478
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) SAVEPOINT active_record_1
86483
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
86484
+ Binary data inserted for `string` type on column `encrypted_password`
86485
+ SQL (0.5ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
86487
+  (0.0ms) SAVEPOINT active_record_1
86488
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86489
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
86490
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86491
+ SQL (0.2ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
86492
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
86497
+  (0.1ms) SAVEPOINT active_record_1
86498
+  (0.0ms) 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
+  (0.8ms) rollback transaction
86508
+  (0.1ms) begin transaction
86509
+ -------------------------------------------------------------
86510
+ NavigationTest: test_root_navigation_redirected_to_login_page
86511
+ -------------------------------------------------------------
86512
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86513
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86514
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+  (0.1ms) rollback transaction
86519
+  (0.1ms) begin transaction
86520
+ -------------------------------------------------------------------------
86521
+ NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
86522
+ -------------------------------------------------------------------------
86523
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86524
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86525
+ User Load (0.1ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
86529
+  (0.1ms) SAVEPOINT active_record_1
86530
+ SQL (0.4ms) 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: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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
86532
+ Completed 200 OK in 77ms (Views: 0.2ms | ActiveRecord: 0.6ms)
86533
+  (0.7ms) rollback transaction
86534
+  (0.1ms) begin transaction
86535
+ ------------------------------------------------------------------------------------------------
86536
+ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
86537
+ ------------------------------------------------------------------------------------------------
86538
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86539
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
86540
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
86544
+ Completed 401 Unauthorized in 74ms
86545
+  (0.1ms) rollback transaction
86546
+  (0.1ms) begin transaction
86547
+ ------------------------------------
86548
+ UserTest: test_should_apply_omniauth
86549
+ ------------------------------------
86550
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86551
+  (0.1ms) rollback transaction
86552
+  (0.1ms) begin transaction
86553
+ --------------------------------------
86554
+ UserTest: test_should_get_reverse_name
86555
+ --------------------------------------
86556
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
86557
+  (0.1ms) rollback transaction
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.rc2
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-06 00:00:00.000000000 Z
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: 1.3.1
535
+ version: '0'
536
536
  requirements: []
537
537
  rubyforge_project:
538
538
  rubygems_version: 2.0.3