contour 2.1.0 → 2.2.0.beta1

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