contour 2.1.0.rc → 2.1.0.rc2

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: 6eeafc1e71115e595174207a08eecefb9fef34b6
4
- data.tar.gz: 084f8740106fc73858ccc8e4b39541bbd8d5edae
3
+ metadata.gz: 3ab845e827492ee8bf78bd85f01aa4603f96746b
4
+ data.tar.gz: b3f7421ee8f27527ea245ed81bc317bdb71c482d
5
5
  SHA512:
6
- metadata.gz: b66c708d48d51b7e688c5f91c63270e6f54367f5dd209b787dc2e65970e7f1dec4033382a2fe053c299d3c5bc8adeba8ef33f760a685f1b49fee467ee3e6d25c
7
- data.tar.gz: bf7230763663e68a6ea71a467a412a789873c2e3c2d1d7c43c7229cc48969d9bf2a8ec60290998e8ff38fb4d902a3c097760097d0450e4ebadf459368a4c080b
6
+ metadata.gz: 59abb7f1f2ab328a3a411ad788e639c8ad5a8329866ef1aa1db9ed875acd15d19aca97961137a2eaa81bc2153c357562bb7c5ce42ba69dc645cc8724bc9c8d28
7
+ data.tar.gz: 1f25d58bccc22543b2d309f388e50518fd131ecca684653c24e89dcccc4ee64f005a5387e509dced712773abe72bd053e1bd1953d7718873d195db0620dc5dbf
@@ -1,6 +1,7 @@
1
- <ul class="pagination pull-right <%= "pagination-#{pagination_size}" if defined?(pagination_size) and ['large', 'small'].include?(pagination_size) %>">
1
+ <% pagination_size_hash = { 'large' => 'lg', 'small' => 'sm' } %>
2
+ <ul class="pagination pull-right <%= "pagination-#{pagination_size_hash[pagination_size]}" if defined?(pagination_size) and ['large', 'small'].include?(pagination_size) %>">
2
3
  <li class="disabled"><span>Per Page</span></li>
3
- <li class="active per_page"><%= link_to (defined?(per_page) and per_page ? per_page : 20), "#" %></li>
4
+ <li class="active per_page"><%= link_to (defined?(per_page) && per_page ? per_page : '20'), "#" %></li>
4
5
  <% if defined?(object_count) and object_count %><li class="disabled"><span>out of <%= object_count %></span></li><% end %>
5
6
  </ul>
6
7
 
@@ -7,7 +7,7 @@
7
7
  paginator: the paginator that renders the pagination tags inside
8
8
  -%>
9
9
  <%= paginator.render do -%>
10
- <ul class="pagination pagination-centered pagination-large">
10
+ <ul class="pagination pagination-lg">
11
11
  <%= first_page_tag %> <%# unless current_page.first? %>
12
12
  <%= prev_page_tag %> <%# unless current_page.first? %>
13
13
  <% each_page do |page| -%>
@@ -7,7 +7,7 @@
7
7
  paginator: the paginator that renders the pagination tags inside
8
8
  -%>
9
9
  <%= paginator.render do -%>
10
- <ul class="pagination pagination-centered pagination-small">
10
+ <ul class="pagination pagination-sm">
11
11
  <%= first_page_tag %> <%# unless current_page.first? %>
12
12
  <%= prev_page_tag %> <%# unless current_page.first? %>
13
13
  <% each_page do |page| -%>
@@ -7,7 +7,7 @@
7
7
  paginator: the paginator that renders the pagination tags inside
8
8
  -%>
9
9
  <%= paginator.render do -%>
10
- <ul class="pagination pagination-centered">
10
+ <ul class="pagination">
11
11
  <%= first_page_tag %> <%# unless current_page.first? %>
12
12
  <%= prev_page_tag %> <%# unless current_page.first? %>
13
13
  <% each_page do |page| -%>
@@ -3,7 +3,7 @@ module Contour
3
3
  MAJOR = 2
4
4
  MINOR = 1
5
5
  TINY = 0
6
- BUILD = "rc" # nil, "pre", "rc", "rc2"
6
+ BUILD = "rc2" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
Binary file
@@ -84932,6 +84932,816 @@ UserTest: test_should_apply_omniauth
84932
84932
   (0.0ms) begin transaction
84933
84933
  --------------------------------------
84934
84934
  UserTest: test_should_get_reverse_name
84935
+ --------------------------------------
84936
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
84937
+  (0.1ms) rollback transaction
84938
+  (0.4ms) begin transaction
84939
+ Fixture Delete (0.9ms) DELETE FROM "authentications"
84940
+ Fixture Insert (0.3ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-09-06 16:10:51', '2013-09-06 16:10:51', 949717663, 201799169)
84941
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-09-06 16:10:51', '2013-09-06 16:10:51', 876923740, 201799169)
84942
+ 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-06 16:10:51', '2013-09-06 16:10:51', 864673665, 201799169)
84943
+ Fixture Delete (0.2ms) DELETE FROM "users"
84944
+ Fixture Insert (0.2ms) 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-06 16:10:51', '2013-09-06 16:10:51', 201799169)
84945
+ Fixture Insert (0.2ms) 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-06 16:10:51', '2013-09-06 16:10:51', 999914115)
84946
+ Fixture Insert (0.2ms) 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-06 16:10:51', '2013-09-06 16:10:51', 725306934)
84947
+ 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-06 16:10:51', '2013-09-06 16:10:51', 349534908)
84948
+  (84.1ms) commit transaction
84949
+  (0.1ms) begin transaction
84950
+ -------------------------------------------------
84951
+ AuthenticationTest: test_should_get_provider_name
84952
+ -------------------------------------------------
84953
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
84954
+  (0.1ms) rollback transaction
84955
+  (0.1ms) begin transaction
84956
+ --------------------------------------------------------------------------------
84957
+ AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
84958
+ --------------------------------------------------------------------------------
84959
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
84960
+  (0.1ms) rollback transaction
84961
+  (0.1ms) begin transaction
84962
+ -------------------------------------------------------------------------
84963
+ Contour::AuthenticationsControllerTest: test_should_create_authentication
84964
+ -------------------------------------------------------------------------
84965
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
84966
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
84967
+  (0.2ms) SELECT COUNT(*) FROM "authentications"
84968
+ Processing by Contour::AuthenticationsController#create as HTML
84969
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-09-06 16:10:51 UTC", "updated_at"=>"2013-09-06 16:10:51 UTC"}}
84970
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
84971
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
84972
+ Logged in user found, creating associated authentication.
84973
+  (0.1ms) SAVEPOINT active_record_1
84974
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:10:52 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 06 Sep 2013 16:10:52 UTC +00:00], ["user_id", 201799169]]
84975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
84976
+ Redirected to http://test.host/authentications
84977
+ Completed 302 Found in 276ms (ActiveRecord: 1.2ms)
84978
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
84979
+  (45.0ms) rollback transaction
84980
+  (0.1ms) begin transaction
84981
+ --------------------------------------------------------------------------
84982
+ Contour::AuthenticationsControllerTest: test_should_destroy_authentication
84983
+ --------------------------------------------------------------------------
84984
+ User Load (6.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
84985
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
84986
+  (0.2ms) SELECT COUNT(*) FROM "authentications"
84987
+ Processing by Contour::AuthenticationsController#destroy as JS
84988
+ Parameters: {"id"=>"949717663"}
84989
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
84990
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
84991
+  (0.0ms) SAVEPOINT active_record_1
84992
+ SQL (173.0ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
84993
+  (0.2ms) RELEASE SAVEPOINT active_record_1
84994
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
84995
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
84996
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
84997
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
84998
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
84999
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
85000
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["user_id", 201799169]]
85001
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (22.1ms)
85002
+ Completed 200 OK in 477ms (Views: 298.7ms | ActiveRecord: 174.7ms)
85003
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
85004
+  (43.9ms) rollback transaction
85005
+  (0.1ms) begin transaction
85006
+ -------------------------------------------------------------
85007
+ Contour::AuthenticationsControllerTest: test_should_get_index
85008
+ -------------------------------------------------------------
85009
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85010
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
85011
+ Processing by Contour::AuthenticationsController#index as HTML
85012
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
85013
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
85014
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
85015
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
85016
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
85017
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
85018
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
85019
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["user_id", 201799169]]
85020
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (9.2ms)
85021
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_authentications.html.erb (10.5ms)
85022
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms)
85023
+ Completed 200 OK in 127ms (Views: 126.3ms | ActiveRecord: 0.6ms)
85024
+  (0.1ms) rollback transaction
85025
+  (0.1ms) begin transaction
85026
+ -----------------------------------------------------------------------------
85027
+ Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
85028
+ -----------------------------------------------------------------------------
85029
+ Processing by Contour::PasswordsController#create as HTML
85030
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
85031
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85032
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'xD2jJsWM1cdj77qcmY6M' LIMIT 1
85033
+  (0.0ms) SAVEPOINT active_record_1
85034
+ SQL (0.5ms) UPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["reset_password_token", "xD2jJsWM1cdj77qcmY6M"], ["reset_password_sent_at", Fri, 06 Sep 2013 16:10:53 UTC +00:00], ["updated_at", Fri, 06 Sep 2013 16:10:53 UTC +00:00]]
85035
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85036
+
85037
+ Sent mail to valid@example.com (13.5ms)
85038
+ Date: Fri, 06 Sep 2013 12:10:53 -0400
85039
+ From: please-change-me-at-config-initializers-devise@example.com
85040
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
85041
+ To: valid@example.com
85042
+ Message-ID: <5229fe8d51aab_157b63fcae98606d45550@edge.partners.org.mail>
85043
+ Subject: Reset password instructions
85044
+ Mime-Version: 1.0
85045
+ Content-Type: text/html;
85046
+ charset=UTF-8
85047
+ Content-Transfer-Encoding: 7bit
85048
+
85049
+ <p>Hello valid@example.com!</p>
85050
+
85051
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
85052
+
85053
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=xD2jJsWM1cdj77qcmY6M">Change my password</a></p>
85054
+
85055
+ <p>If you didn't request this, please ignore this email.</p>
85056
+ <p>Your password won't change until you access the link above and create a new one.</p>
85057
+
85058
+ Redirected to http://test.host/users/login
85059
+ Completed 302 Found in 403ms (ActiveRecord: 1.1ms)
85060
+  (175.3ms) rollback transaction
85061
+  (0.1ms) begin transaction
85062
+ -----------------------------------------------------------------------------
85063
+ Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
85064
+ -----------------------------------------------------------------------------
85065
+ Processing by Contour::PasswordsController#new as HTML
85066
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (2.6ms)
85067
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.1ms)
85068
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (5.0ms)
85069
+ Completed 200 OK in 76ms (Views: 74.3ms | ActiveRecord: 0.0ms)
85070
+  (0.1ms) rollback transaction
85071
+  (0.1ms) begin transaction
85072
+ -------------------------------------------------------------------------------
85073
+ Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
85074
+ -------------------------------------------------------------------------------
85075
+  (18.1ms) SELECT COUNT(*) FROM "users"
85076
+ Processing by Contour::RegistrationsController#create as HTML
85077
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
85078
+ Unpermitted parameters: spam
85079
+  (0.1ms) SAVEPOINT active_record_1
85080
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1
85081
+ Binary data inserted for `string` type on column `encrypted_password`
85082
+ SQL (47.3ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:10:53 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$5UCedhTDmsUdzEPy3LY5oe4oqEoSErsQd.kaEr1CPbZmIwDnjHlGC"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Fri, 06 Sep 2013 16:10:53 UTC +00:00]]
85083
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85084
+ Redirected to http://test.host/users/login
85085
+ Completed 302 Found in 260ms (ActiveRecord: 47.7ms)
85086
+  (0.1ms) SELECT COUNT(*) FROM "users"
85087
+  (100.9ms) rollback transaction
85088
+  (0.1ms) begin transaction
85089
+ --------------------------------------------------------------------------------------------
85090
+ Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
85091
+ --------------------------------------------------------------------------------------------
85092
+  (0.2ms) SELECT COUNT(*) FROM "users"
85093
+ Processing by Contour::RegistrationsController#create as HTML
85094
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
85095
+ Unpermitted parameters: status
85096
+  (0.1ms) SAVEPOINT active_record_1
85097
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1
85098
+ Binary data inserted for `string` type on column `encrypted_password`
85099
+ SQL (128.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:10:54 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$jn2Kra7Qk8dlOOcvDg537up4IIEv7Q.i2NM1ZRNhooA30G0uDQydC"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Fri, 06 Sep 2013 16:10:54 UTC +00:00]]
85100
+  (0.2ms) RELEASE SAVEPOINT active_record_1
85101
+ Redirected to http://test.host/users/login
85102
+ Completed 302 Found in 151ms (ActiveRecord: 129.0ms)
85103
+  (0.1ms) SELECT COUNT(*) FROM "users"
85104
+  (8.6ms) rollback transaction
85105
+  (0.1ms) begin transaction
85106
+ ---------------------------------------------------------------------------------------------
85107
+ Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
85108
+ ---------------------------------------------------------------------------------------------
85109
+  (0.1ms) SELECT COUNT(*) FROM "users"
85110
+ Processing by Contour::RegistrationsController#create as HTML
85111
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
85112
+ 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"}
85113
+ Unpermitted parameters: spam
85114
+ Redirected to http://test.host/users/login
85115
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
85116
+  (0.1ms) SELECT COUNT(*) FROM "users"
85117
+  (0.1ms) rollback transaction
85118
+  (0.1ms) begin transaction
85119
+ ----------------------------------------------------------------------
85120
+ Contour::SessionsControllerTest: test_return_user_json_object_on_login
85121
+ ----------------------------------------------------------------------
85122
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85123
+ Processing by Contour::SessionsController#create as JSON
85124
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
85125
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85126
+  (0.1ms) SAVEPOINT active_record_1
85127
+ SQL (18.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", Fri, 06 Sep 2013 16:10:54 UTC +00:00], ["current_sign_in_at", Fri, 06 Sep 2013 16:10:54 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Fri, 06 Sep 2013 16:10:54 UTC +00:00]]
85128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85129
+ Completed 200 OK in 99ms (Views: 0.5ms | ActiveRecord: 18.9ms)
85130
+  (13.9ms) rollback transaction
85131
+  (0.1ms) begin transaction
85132
+ ----------------------------------------------------------------------------------------------------------
85133
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
85134
+ ----------------------------------------------------------------------------------------------------------
85135
+ Processing by Contour::SessionsController#create as HTML
85136
+ Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
85137
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
85138
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'
85139
+ Redirected to http://test.host/auth/google_apps
85140
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
85141
+  (0.1ms) rollback transaction
85142
+  (0.1ms) begin transaction
85143
+ ----------------------------------------------------------------------------------------------
85144
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
85145
+ ----------------------------------------------------------------------------------------------
85146
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85147
+ Processing by Contour::SessionsController#create as HTML
85148
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
85149
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85150
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
85151
+ Redirected to http://test.host/auth/ldap
85152
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
85153
+  (0.1ms) rollback transaction
85154
+  (0.1ms) begin transaction
85155
+ --------------------------------------------------------------------------
85156
+ Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
85157
+ --------------------------------------------------------------------------
85158
+ Processing by Contour::SessionsController#create as HTML
85159
+ Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
85160
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1
85161
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
85162
+ Completed 401 Unauthorized in 3ms
85163
+ Processing by Contour::SessionsController#new as HTML
85164
+ Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
85165
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.3ms)
85166
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
85167
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
85168
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.7ms)
85169
+ Completed 200 OK in 56ms (Views: 55.1ms | ActiveRecord: 0.0ms)
85170
+  (0.1ms) rollback transaction
85171
+  (0.1ms) begin transaction
85172
+ -----------------------------------------------------
85173
+ ContourHelperTest: test_should_show_sort_field_helper
85174
+ -----------------------------------------------------
85175
+  (0.1ms) rollback transaction
85176
+  (0.1ms) begin transaction
85177
+ ---------------------------------------------------------------------
85178
+ ContourHelperTest: test_should_show_sort_field_helper_with_same_order
85179
+ ---------------------------------------------------------------------
85180
+  (0.1ms) rollback transaction
85181
+  (0.1ms) begin transaction
85182
+ -----------------------
85183
+ ContourTest: test_truth
85184
+ -----------------------
85185
+  (0.1ms) rollback transaction
85186
+  (0.1ms) begin transaction
85187
+ --------------------------------------------------------------------
85188
+ NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
85189
+ --------------------------------------------------------------------
85190
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85191
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85192
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85193
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-06 12:10:54 -0400
85194
+ Processing by WelcomeController#logged_in_page as HTML
85195
+ Completed 401 Unauthorized in 18ms
85196
+  (0.1ms) SAVEPOINT active_record_1
85197
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
85198
+ Binary data inserted for `string` type on column `encrypted_password`
85199
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:10:54 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$EGH28Ywf.hOGhQKClJXgYeVdVuRO9XIGDcdwhWEiZy1WzunxWNUdy"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Fri, 06 Sep 2013 16:10:54 UTC +00:00]]
85200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85201
+  (0.0ms) SAVEPOINT active_record_1
85202
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85203
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85205
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
85206
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
85207
+ Started POST "/users/login" for 127.0.0.1 at 2013-09-06 12:10:54 -0400
85208
+ Processing by Contour::SessionsController#create as HTML
85209
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
85210
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
85211
+  (0.1ms) SAVEPOINT active_record_1
85212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85213
+ Completed 401 Unauthorized in 6ms
85214
+ Started GET "/users/login" for 127.0.0.1 at 2013-09-06 12:10:54 -0400
85215
+ Processing by Contour::SessionsController#new as HTML
85216
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
85217
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
85218
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
85219
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
85220
+ Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.0ms)
85221
+  (147.0ms) rollback transaction
85222
+  (0.2ms) begin transaction
85223
+ --------------------------------------------------------
85224
+ NavigationTest: test_friendly_url_forwarding_after_login
85225
+ --------------------------------------------------------
85226
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85227
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85228
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85229
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-06 12:10:55 -0400
85230
+ Processing by WelcomeController#logged_in_page as HTML
85231
+ Completed 401 Unauthorized in 1ms
85232
+  (0.1ms) SAVEPOINT active_record_1
85233
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
85234
+ Binary data inserted for `string` type on column `encrypted_password`
85235
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:10:55 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$eMXcg7WCBsOYH7zDrS7.ZunqNcek2/3rSoqjXUlQ.HApQ6gmTyj6S"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Fri, 06 Sep 2013 16:10:55 UTC +00:00]]
85236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85237
+  (0.0ms) SAVEPOINT active_record_1
85238
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85239
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85241
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
85242
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
85243
+ Started POST "/users/login" for 127.0.0.1 at 2013-09-06 12:10:55 -0400
85244
+ Processing by Contour::SessionsController#create as HTML
85245
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
85246
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
85247
+  (0.1ms) SAVEPOINT active_record_1
85248
+ 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", Fri, 06 Sep 2013 16:10:55 UTC +00:00], ["current_sign_in_at", Fri, 06 Sep 2013 16:10:55 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", Fri, 06 Sep 2013 16:10:55 UTC +00:00]]
85249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85250
+ Redirected to http://www.example.com/logged_in_page
85251
+ Completed 302 Found in 11ms (ActiveRecord: 0.5ms)
85252
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-06 12:10:55 -0400
85253
+ Processing by WelcomeController#logged_in_page as HTML
85254
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
85255
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
85256
+  (22.7ms) rollback transaction
85257
+  (0.1ms) begin transaction
85258
+ --------------------------------------------------------------------
85259
+ NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
85260
+ --------------------------------------------------------------------
85261
+ User Load (46.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85262
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85263
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85264
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-06 12:10:55 -0400
85265
+ Processing by WelcomeController#logged_in_page as HTML
85266
+ Completed 401 Unauthorized in 1ms
85267
+  (0.2ms) SAVEPOINT active_record_1
85268
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
85269
+ Binary data inserted for `string` type on column `encrypted_password`
85270
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:10:55 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$YJyGglDVmhsyZ5rhUV3G0ODSahEjBqSNn7Ptgo6FxAuwBhiGZ0ZEC"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Fri, 06 Sep 2013 16:10:55 UTC +00:00]]
85271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85272
+  (0.0ms) SAVEPOINT active_record_1
85273
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85274
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85276
+ SQL (0.3ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
85277
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
85278
+ Started POST "/users/login" for 127.0.0.1 at 2013-09-06 12:10:55 -0400
85279
+ Processing by Contour::SessionsController#create as HTML
85280
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
85281
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
85282
+  (0.1ms) SAVEPOINT active_record_1
85283
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85284
+ Completed 401 Unauthorized in 5ms
85285
+ Started GET "/users/login" for 127.0.0.1 at 2013-09-06 12:10:55 -0400
85286
+ Processing by Contour::SessionsController#new as HTML
85287
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
85288
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
85289
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.2ms)
85290
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
85291
+ Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
85292
+  (32.4ms) rollback transaction
85293
+  (0.1ms) begin transaction
85294
+ -------------------------------------------------------------
85295
+ NavigationTest: test_root_navigation_redirected_to_login_page
85296
+ -------------------------------------------------------------
85297
+ User Load (20.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85298
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85299
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85300
+ Started GET "/" for 127.0.0.1 at 2013-09-06 12:10:55 -0400
85301
+ Processing by WelcomeController#index as HTML
85302
+ Completed 401 Unauthorized in 1ms
85303
+  (0.1ms) rollback transaction
85304
+  (0.1ms) begin transaction
85305
+ -------------------------------------------------------------------------
85306
+ NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
85307
+ -------------------------------------------------------------------------
85308
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85309
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85310
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85311
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-06 12:10:55 -0400
85312
+ Processing by WelcomeController#logged_in_page as JSON
85313
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85314
+  (0.1ms) SAVEPOINT active_record_1
85315
+ SQL (2.2ms) 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", Fri, 06 Sep 2013 16:10:55 UTC +00:00], ["current_sign_in_at", Fri, 06 Sep 2013 16:10:55 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 06 Sep 2013 16:10:55 UTC +00:00]]
85316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85317
+ Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 2.6ms)
85318
+  (38.9ms) rollback transaction
85319
+  (0.1ms) begin transaction
85320
+ ------------------------------------------------------------------------------------------------
85321
+ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
85322
+ ------------------------------------------------------------------------------------------------
85323
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85324
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85325
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85326
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-06 12:10:55 -0400
85327
+ Processing by WelcomeController#logged_in_page as JSON
85328
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85329
+ Completed 401 Unauthorized in 79ms
85330
+  (0.1ms) rollback transaction
85331
+  (0.1ms) begin transaction
85332
+ ------------------------------------
85333
+ UserTest: test_should_apply_omniauth
85334
+ ------------------------------------
85335
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85336
+  (0.2ms) rollback transaction
85337
+  (0.1ms) begin transaction
85338
+ --------------------------------------
85339
+ UserTest: test_should_get_reverse_name
85340
+ --------------------------------------
85341
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85342
+  (0.1ms) rollback transaction
85343
+  (0.3ms) begin transaction
85344
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
85345
+ 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-06 16:28:09', '2013-09-06 16:28:09', 949717663, 201799169)
85346
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-09-06 16:28:09', '2013-09-06 16:28:09', 876923740, 201799169)
85347
+ 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-06 16:28:09', '2013-09-06 16:28:09', 864673665, 201799169)
85348
+ Fixture Delete (0.1ms) DELETE FROM "users"
85349
+ 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-06 16:28:09', '2013-09-06 16:28:09', 201799169)
85350
+ 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-06 16:28:09', '2013-09-06 16:28:09', 999914115)
85351
+ 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-06 16:28:09', '2013-09-06 16:28:09', 725306934)
85352
+ 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-06 16:28:09', '2013-09-06 16:28:09', 349534908)
85353
+  (239.2ms) commit transaction
85354
+  (0.1ms) begin transaction
85355
+ -------------------------------------------------
85356
+ AuthenticationTest: test_should_get_provider_name
85357
+ -------------------------------------------------
85358
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
85359
+  (0.1ms) rollback transaction
85360
+  (0.1ms) begin transaction
85361
+ --------------------------------------------------------------------------------
85362
+ AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
85363
+ --------------------------------------------------------------------------------
85364
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
85365
+  (0.1ms) rollback transaction
85366
+  (0.0ms) begin transaction
85367
+ -------------------------------------------------------------------------
85368
+ Contour::AuthenticationsControllerTest: test_should_create_authentication
85369
+ -------------------------------------------------------------------------
85370
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85371
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
85372
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
85373
+ Processing by Contour::AuthenticationsController#create as HTML
85374
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-09-06 16:28:09 UTC", "updated_at"=>"2013-09-06 16:28:09 UTC"}}
85375
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
85376
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
85377
+ Logged in user found, creating associated authentication.
85378
+  (0.1ms) SAVEPOINT active_record_1
85379
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:28:10 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Fri, 06 Sep 2013 16:28:10 UTC +00:00], ["user_id", 201799169]]
85380
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85381
+ Redirected to http://test.host/authentications
85382
+ Completed 302 Found in 20ms (ActiveRecord: 0.9ms)
85383
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
85384
+  (1.0ms) rollback transaction
85385
+  (0.1ms) begin transaction
85386
+ --------------------------------------------------------------------------
85387
+ Contour::AuthenticationsControllerTest: test_should_destroy_authentication
85388
+ --------------------------------------------------------------------------
85389
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85390
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
85391
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
85392
+ Processing by Contour::AuthenticationsController#destroy as JS
85393
+ Parameters: {"id"=>"949717663"}
85394
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
85395
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
85396
+  (0.0ms) SAVEPOINT active_record_1
85397
+ SQL (0.4ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
85398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85399
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
85400
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
85401
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
85402
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
85403
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
85404
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
85405
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["user_id", 201799169]]
85406
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (20.8ms)
85407
+ Completed 200 OK in 44ms (Views: 38.4ms | ActiveRecord: 2.0ms)
85408
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
85409
+  (0.7ms) rollback transaction
85410
+  (0.1ms) begin transaction
85411
+ -------------------------------------------------------------
85412
+ Contour::AuthenticationsControllerTest: test_should_get_index
85413
+ -------------------------------------------------------------
85414
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85415
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
85416
+ Processing by Contour::AuthenticationsController#index as HTML
85417
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
85418
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
85419
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
85420
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
85421
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
85422
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
85423
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
85424
+ Authentication Load (0.0ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1 [["user_id", 201799169]]
85425
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_add_remove_table.html.erb (8.8ms)
85426
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_authentications.html.erb (10.2ms)
85427
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.5ms)
85428
+ Completed 200 OK in 122ms (Views: 121.2ms | ActiveRecord: 0.5ms)
85429
+  (0.1ms) rollback transaction
85430
+  (0.1ms) begin transaction
85431
+ -----------------------------------------------------------------------------
85432
+ Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
85433
+ -----------------------------------------------------------------------------
85434
+ Processing by Contour::PasswordsController#create as HTML
85435
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
85436
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85437
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'XssgkpUqEqEdhZdvDAjW' LIMIT 1
85438
+  (0.1ms) SAVEPOINT active_record_1
85439
+ SQL (0.5ms) UPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["reset_password_token", "XssgkpUqEqEdhZdvDAjW"], ["reset_password_sent_at", Fri, 06 Sep 2013 16:28:10 UTC +00:00], ["updated_at", Fri, 06 Sep 2013 16:28:10 UTC +00:00]]
85440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85441
+
85442
+ Sent mail to valid@example.com (15.4ms)
85443
+ Date: Fri, 06 Sep 2013 12:28:10 -0400
85444
+ From: please-change-me-at-config-initializers-devise@example.com
85445
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
85446
+ To: valid@example.com
85447
+ Message-ID: <522a029a983e4_15aa13fde6a0606d427421@edge.partners.org.mail>
85448
+ Subject: Reset password instructions
85449
+ Mime-Version: 1.0
85450
+ Content-Type: text/html;
85451
+ charset=UTF-8
85452
+ Content-Transfer-Encoding: 7bit
85453
+
85454
+ <p>Hello valid@example.com!</p>
85455
+
85456
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
85457
+
85458
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=XssgkpUqEqEdhZdvDAjW">Change my password</a></p>
85459
+
85460
+ <p>If you didn't request this, please ignore this email.</p>
85461
+ <p>Your password won't change until you access the link above and create a new one.</p>
85462
+
85463
+ Redirected to http://test.host/users/login
85464
+ Completed 302 Found in 81ms (ActiveRecord: 1.0ms)
85465
+  (0.9ms) rollback transaction
85466
+  (0.1ms) begin transaction
85467
+ -----------------------------------------------------------------------------
85468
+ Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
85469
+ -----------------------------------------------------------------------------
85470
+ Processing by Contour::PasswordsController#new as HTML
85471
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
85472
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.9ms)
85473
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
85474
+ Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.0ms)
85475
+  (0.1ms) rollback transaction
85476
+  (0.1ms) begin transaction
85477
+ -------------------------------------------------------------------------------
85478
+ Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
85479
+ -------------------------------------------------------------------------------
85480
+  (0.2ms) SELECT COUNT(*) FROM "users"
85481
+ Processing by Contour::RegistrationsController#create as HTML
85482
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
85483
+ Unpermitted parameters: spam
85484
+  (0.1ms) SAVEPOINT active_record_1
85485
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1
85486
+ Binary data inserted for `string` type on column `encrypted_password`
85487
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:28:10 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$l6IhJSmLJZMakrXBOn.vVewB.byxCPh4dRgOssxK8d2BrdbTa7rK."], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Fri, 06 Sep 2013 16:28:10 UTC +00:00]]
85488
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85489
+ Redirected to http://test.host/users/login
85490
+ Completed 302 Found in 19ms (ActiveRecord: 0.8ms)
85491
+  (0.1ms) SELECT COUNT(*) FROM "users"
85492
+  (4.4ms) rollback transaction
85493
+  (0.1ms) begin transaction
85494
+ --------------------------------------------------------------------------------------------
85495
+ Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
85496
+ --------------------------------------------------------------------------------------------
85497
+  (0.1ms) SELECT COUNT(*) FROM "users"
85498
+ Processing by Contour::RegistrationsController#create as HTML
85499
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
85500
+ Unpermitted parameters: status
85501
+  (0.1ms) SAVEPOINT active_record_1
85502
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1
85503
+ Binary data inserted for `string` type on column `encrypted_password`
85504
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:28:10 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$kzh3vathuSels3uRAoNEHusKvGZcBpq8LQDeyco92gwn/N1MTTtTy"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Fri, 06 Sep 2013 16:28:10 UTC +00:00]]
85505
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85506
+ Redirected to http://test.host/users/login
85507
+ Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
85508
+  (0.1ms) SELECT COUNT(*) FROM "users"
85509
+  (0.5ms) rollback transaction
85510
+  (0.1ms) begin transaction
85511
+ ---------------------------------------------------------------------------------------------
85512
+ Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
85513
+ ---------------------------------------------------------------------------------------------
85514
+  (0.2ms) SELECT COUNT(*) FROM "users"
85515
+ Processing by Contour::RegistrationsController#create as HTML
85516
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
85517
+ 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"}
85518
+ Unpermitted parameters: spam
85519
+ Redirected to http://test.host/users/login
85520
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
85521
+  (0.1ms) SELECT COUNT(*) FROM "users"
85522
+  (0.1ms) rollback transaction
85523
+  (0.1ms) begin transaction
85524
+ ----------------------------------------------------------------------
85525
+ Contour::SessionsControllerTest: test_return_user_json_object_on_login
85526
+ ----------------------------------------------------------------------
85527
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85528
+ Processing by Contour::SessionsController#create as JSON
85529
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
85530
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85531
+  (0.1ms) SAVEPOINT active_record_1
85532
+ 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", Fri, 06 Sep 2013 16:28:10 UTC +00:00], ["current_sign_in_at", Fri, 06 Sep 2013 16:28:10 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Fri, 06 Sep 2013 16:28:10 UTC +00:00]]
85533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85534
+ Completed 200 OK in 83ms (Views: 0.3ms | ActiveRecord: 0.8ms)
85535
+  (0.6ms) rollback transaction
85536
+  (0.1ms) begin transaction
85537
+ ----------------------------------------------------------------------------------------------------------
85538
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
85539
+ ----------------------------------------------------------------------------------------------------------
85540
+ Processing by Contour::SessionsController#create as HTML
85541
+ Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
85542
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
85543
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'
85544
+ Redirected to http://test.host/auth/google_apps
85545
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
85546
+  (0.1ms) rollback transaction
85547
+  (0.1ms) begin transaction
85548
+ ----------------------------------------------------------------------------------------------
85549
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
85550
+ ----------------------------------------------------------------------------------------------
85551
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85552
+ Processing by Contour::SessionsController#create as HTML
85553
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
85554
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85555
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
85556
+ Redirected to http://test.host/auth/ldap
85557
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
85558
+  (0.1ms) rollback transaction
85559
+  (0.0ms) begin transaction
85560
+ --------------------------------------------------------------------------
85561
+ Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
85562
+ --------------------------------------------------------------------------
85563
+ Processing by Contour::SessionsController#create as HTML
85564
+ Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
85565
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1
85566
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
85567
+ Completed 401 Unauthorized in 3ms
85568
+ Processing by Contour::SessionsController#new as HTML
85569
+ Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
85570
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
85571
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
85572
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
85573
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
85574
+ Completed 200 OK in 59ms (Views: 57.6ms | ActiveRecord: 0.0ms)
85575
+  (0.1ms) rollback transaction
85576
+  (0.1ms) begin transaction
85577
+ -----------------------------------------------------
85578
+ ContourHelperTest: test_should_show_sort_field_helper
85579
+ -----------------------------------------------------
85580
+  (0.1ms) rollback transaction
85581
+  (0.0ms) begin transaction
85582
+ ---------------------------------------------------------------------
85583
+ ContourHelperTest: test_should_show_sort_field_helper_with_same_order
85584
+ ---------------------------------------------------------------------
85585
+  (0.1ms) rollback transaction
85586
+  (0.1ms) begin transaction
85587
+ -----------------------
85588
+ ContourTest: test_truth
85589
+ -----------------------
85590
+  (0.1ms) rollback transaction
85591
+  (0.0ms) begin transaction
85592
+ --------------------------------------------------------------------
85593
+ NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
85594
+ --------------------------------------------------------------------
85595
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85596
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85597
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85598
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85599
+ Processing by WelcomeController#logged_in_page as HTML
85600
+ Completed 401 Unauthorized in 22ms
85601
+  (0.1ms) SAVEPOINT active_record_1
85602
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
85603
+ Binary data inserted for `string` type on column `encrypted_password`
85604
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:28:11 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$CAw342To1yp3BhRE49IwAON1rocAh8fuqra/tTP3ydQ9o2CH5hYg2"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Fri, 06 Sep 2013 16:28:11 UTC +00:00]]
85605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85606
+  (0.1ms) SAVEPOINT active_record_1
85607
+ Authentication Exists (0.2ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85608
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85609
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85610
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
85611
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
85612
+ Started POST "/users/login" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85613
+ Processing by Contour::SessionsController#create as HTML
85614
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
85615
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
85616
+  (0.1ms) SAVEPOINT active_record_1
85617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85618
+ Completed 401 Unauthorized in 7ms
85619
+ Started GET "/users/login" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85620
+ Processing by Contour::SessionsController#new as HTML
85621
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
85622
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
85623
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
85624
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.8ms)
85625
+ Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.0ms)
85626
+  (0.9ms) rollback transaction
85627
+  (0.1ms) begin transaction
85628
+ --------------------------------------------------------
85629
+ NavigationTest: test_friendly_url_forwarding_after_login
85630
+ --------------------------------------------------------
85631
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85632
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85633
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85634
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85635
+ Processing by WelcomeController#logged_in_page as HTML
85636
+ Completed 401 Unauthorized in 1ms
85637
+  (0.1ms) SAVEPOINT active_record_1
85638
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
85639
+ Binary data inserted for `string` type on column `encrypted_password`
85640
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:28:11 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$7Jm22eQ/paqY/WzPJPmdce1dbqh.ORX8pnygAP4XmlLozLG47HQ7u"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Fri, 06 Sep 2013 16:28:11 UTC +00:00]]
85641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85642
+  (0.0ms) SAVEPOINT active_record_1
85643
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85644
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85646
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
85647
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
85648
+ Started POST "/users/login" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85649
+ Processing by Contour::SessionsController#create as HTML
85650
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
85651
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
85652
+  (0.1ms) SAVEPOINT active_record_1
85653
+ 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", Fri, 06 Sep 2013 16:28:11 UTC +00:00], ["current_sign_in_at", Fri, 06 Sep 2013 16:28:11 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", Fri, 06 Sep 2013 16:28:11 UTC +00:00]]
85654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85655
+ Redirected to http://www.example.com/logged_in_page
85656
+ Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
85657
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85658
+ Processing by WelcomeController#logged_in_page as HTML
85659
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
85660
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.2ms)
85661
+  (1.0ms) rollback transaction
85662
+  (0.1ms) begin transaction
85663
+ --------------------------------------------------------------------
85664
+ NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
85665
+ --------------------------------------------------------------------
85666
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85667
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85668
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85669
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85670
+ Processing by WelcomeController#logged_in_page as HTML
85671
+ Completed 401 Unauthorized in 1ms
85672
+  (0.1ms) SAVEPOINT active_record_1
85673
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
85674
+ Binary data inserted for `string` type on column `encrypted_password`
85675
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 06 Sep 2013 16:28:11 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$gy5ViPLpJVmyMg2aFy7NM.cm5Yad7IYJwSXw8XUWKxjhO0Gt1SBye"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Fri, 06 Sep 2013 16:28:11 UTC +00:00]]
85676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85677
+  (0.0ms) SAVEPOINT active_record_1
85678
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85679
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
85680
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85681
+ SQL (0.3ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
85682
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
85683
+ Started POST "/users/login" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85684
+ Processing by Contour::SessionsController#create as HTML
85685
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
85686
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
85687
+  (0.1ms) SAVEPOINT active_record_1
85688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85689
+ Completed 401 Unauthorized in 6ms
85690
+ Started GET "/users/login" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85691
+ Processing by Contour::SessionsController#new as HTML
85692
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
85693
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
85694
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
85695
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.2ms)
85696
+ Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.0ms)
85697
+  (0.8ms) rollback transaction
85698
+  (0.1ms) begin transaction
85699
+ -------------------------------------------------------------
85700
+ NavigationTest: test_root_navigation_redirected_to_login_page
85701
+ -------------------------------------------------------------
85702
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85703
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85704
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85705
+ Started GET "/" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85706
+ Processing by WelcomeController#index as HTML
85707
+ Completed 401 Unauthorized in 1ms
85708
+  (0.2ms) rollback transaction
85709
+  (0.1ms) begin transaction
85710
+ -------------------------------------------------------------------------
85711
+ NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
85712
+ -------------------------------------------------------------------------
85713
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85714
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85715
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85716
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85717
+ Processing by WelcomeController#logged_in_page as JSON
85718
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85719
+  (0.1ms) SAVEPOINT active_record_1
85720
+ 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", Fri, 06 Sep 2013 16:28:11 UTC +00:00], ["current_sign_in_at", Fri, 06 Sep 2013 16:28:11 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Fri, 06 Sep 2013 16:28:11 UTC +00:00]]
85721
+  (0.1ms) RELEASE SAVEPOINT active_record_1
85722
+ Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.9ms)
85723
+  (0.7ms) rollback transaction
85724
+  (0.1ms) begin transaction
85725
+ ------------------------------------------------------------------------------------------------
85726
+ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
85727
+ ------------------------------------------------------------------------------------------------
85728
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85729
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
85730
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
85731
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-09-06 12:28:11 -0400
85732
+ Processing by WelcomeController#logged_in_page as JSON
85733
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
85734
+ Completed 401 Unauthorized in 78ms
85735
+  (0.1ms) rollback transaction
85736
+  (0.1ms) begin transaction
85737
+ ------------------------------------
85738
+ UserTest: test_should_apply_omniauth
85739
+ ------------------------------------
85740
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
85741
+  (0.1ms) rollback transaction
85742
+  (0.1ms) begin transaction
85743
+ --------------------------------------
85744
+ UserTest: test_should_get_reverse_name
84935
85745
  --------------------------------------
84936
85746
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
84937
85747
   (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.rc
4
+ version: 2.1.0.rc2
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-03 00:00:00.000000000 Z
11
+ date: 2013-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails