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 +4 -4
- data/app/views/contour/layouts/_per_page.html.erb +3 -2
- data/app/views/kaminari/contour-large/_paginator.html.erb +1 -1
- data/app/views/kaminari/contour-small/_paginator.html.erb +1 -1
- data/app/views/kaminari/contour/_paginator.html.erb +1 -1
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +810 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ab845e827492ee8bf78bd85f01aa4603f96746b
|
4
|
+
data.tar.gz: b3f7421ee8f27527ea245ed81bc317bdb71c482d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59abb7f1f2ab328a3a411ad788e639c8ad5a8329866ef1aa1db9ed875acd15d19aca97961137a2eaa81bc2153c357562bb7c5ce42ba69dc645cc8724bc9c8d28
|
7
|
+
data.tar.gz: 1f25d58bccc22543b2d309f388e50518fd131ecca684653c24e89dcccc4ee64f005a5387e509dced712773abe72bd053e1bd1953d7718873d195db0620dc5dbf
|
@@ -1,6 +1,7 @@
|
|
1
|
-
|
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)
|
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-
|
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-
|
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
|
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| -%>
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -84932,6 +84932,816 @@ UserTest: test_should_apply_omniauth
|
|
84932
84932
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
84933
84933
|
--------------------------------------
|
84934
84934
|
UserTest: test_should_get_reverse_name
|
84935
|
+
--------------------------------------
|
84936
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
84937
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
84938
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
84939
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "authentications"
|
84940
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
|
84941
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-09-06 16:10:51', '2013-09-06 16:10:51', 876923740, 201799169)
|
84942
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-09-06 16:10:51', '2013-09-06 16:10:51', 864673665, 201799169)[0m
|
84943
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
84944
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-09-06 16:10:51', '2013-09-06 16:10:51', 201799169)[0m
|
84945
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-09-06 16:10:51', '2013-09-06 16:10:51', 999914115)
|
84946
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-09-06 16:10:51', '2013-09-06 16:10:51', 725306934)[0m
|
84947
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-09-06 16:10:51', '2013-09-06 16:10:51', 349534908)
|
84948
|
+
[1m[36m (84.1ms)[0m [1mcommit transaction[0m
|
84949
|
+
[1m[35m (0.1ms)[0m begin transaction
|
84950
|
+
-------------------------------------------------
|
84951
|
+
AuthenticationTest: test_should_get_provider_name
|
84952
|
+
-------------------------------------------------
|
84953
|
+
[1m[36mAuthentication Load (0.4ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
84954
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
84955
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
84956
|
+
--------------------------------------------------------------------------------
|
84957
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
84958
|
+
--------------------------------------------------------------------------------
|
84959
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
84960
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
84961
|
+
[1m[35m (0.1ms)[0m begin transaction
|
84962
|
+
-------------------------------------------------------------------------
|
84963
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
84964
|
+
-------------------------------------------------------------------------
|
84965
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
84966
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
84967
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
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
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
84971
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
84972
|
+
Logged in user found, creating associated authentication.
|
84973
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
84974
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
84976
|
+
Redirected to http://test.host/authentications
|
84977
|
+
Completed 302 Found in 276ms (ActiveRecord: 1.2ms)
|
84978
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
84979
|
+
[1m[35m (45.0ms)[0m rollback transaction
|
84980
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
84981
|
+
--------------------------------------------------------------------------
|
84982
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
84983
|
+
--------------------------------------------------------------------------
|
84984
|
+
[1m[35mUser Load (6.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
84985
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
84986
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "authentications"
|
84987
|
+
Processing by Contour::AuthenticationsController#destroy as JS
|
84988
|
+
Parameters: {"id"=>"949717663"}
|
84989
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
84990
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
84991
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
84992
|
+
[1m[35mSQL (173.0ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
84993
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
84994
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
|
84995
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1[0m [["user_id", 201799169]]
|
84996
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
|
84997
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1[0m [["user_id", 201799169]]
|
84998
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
|
84999
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1[0m [["user_id", 201799169]]
|
85000
|
+
[1m[35mAuthentication Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
85004
|
+
[1m[35m (43.9ms)[0m rollback transaction
|
85005
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
85006
|
+
-------------------------------------------------------------
|
85007
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
85008
|
+
-------------------------------------------------------------
|
85009
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
85010
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
85011
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
85012
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
|
85013
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1[0m [["user_id", 201799169]]
|
85014
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
|
85015
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1[0m [["user_id", 201799169]]
|
85016
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
|
85017
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1[0m [["user_id", 201799169]]
|
85018
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
|
85019
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
85025
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
85032
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'xD2jJsWM1cdj77qcmY6M' LIMIT 1[0m
|
85033
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85034
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (175.3ms)[0m [1mrollback transaction[0m
|
85061
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85071
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85072
|
+
-------------------------------------------------------------------------------
|
85073
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
85074
|
+
-------------------------------------------------------------------------------
|
85075
|
+
[1m[36m (18.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85080
|
+
[1m[36mUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
85081
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
85082
|
+
[1m[35mSQL (47.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85084
|
+
Redirected to http://test.host/users/login
|
85085
|
+
Completed 302 Found in 260ms (ActiveRecord: 47.7ms)
|
85086
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
85087
|
+
[1m[36m (100.9ms)[0m [1mrollback transaction[0m
|
85088
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85089
|
+
--------------------------------------------------------------------------------------------
|
85090
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
85091
|
+
--------------------------------------------------------------------------------------------
|
85092
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85097
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
85098
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
85099
|
+
[1m[35mSQL (128.6ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85101
|
+
Redirected to http://test.host/users/login
|
85102
|
+
Completed 302 Found in 151ms (ActiveRecord: 129.0ms)
|
85103
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
85104
|
+
[1m[36m (8.6ms)[0m [1mrollback transaction[0m
|
85105
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85106
|
+
---------------------------------------------------------------------------------------------
|
85107
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
85108
|
+
---------------------------------------------------------------------------------------------
|
85109
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
85117
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85118
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85119
|
+
----------------------------------------------------------------------
|
85120
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
85121
|
+
----------------------------------------------------------------------
|
85122
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85123
|
+
Processing by Contour::SessionsController#create as JSON
|
85124
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
85125
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
85126
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85127
|
+
[1m[35mSQL (18.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85129
|
+
Completed 200 OK in 99ms (Views: 0.5ms | ActiveRecord: 18.9ms)
|
85130
|
+
[1m[35m (13.9ms)[0m rollback transaction
|
85131
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
85138
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
85139
|
+
Redirected to http://test.host/auth/google_apps
|
85140
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
85141
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
85142
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
85143
|
+
----------------------------------------------------------------------------------------------
|
85144
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
85145
|
+
----------------------------------------------------------------------------------------------
|
85146
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
85150
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85154
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
85161
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85171
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85172
|
+
-----------------------------------------------------
|
85173
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
85174
|
+
-----------------------------------------------------
|
85175
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85177
|
+
---------------------------------------------------------------------
|
85178
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
85179
|
+
---------------------------------------------------------------------
|
85180
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85181
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85182
|
+
-----------------------
|
85183
|
+
ContourTest: test_truth
|
85184
|
+
-----------------------
|
85185
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85186
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85187
|
+
--------------------------------------------------------------------
|
85188
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
85189
|
+
--------------------------------------------------------------------
|
85190
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85191
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
85192
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85197
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
85198
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
85199
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85201
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85202
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
85203
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
85204
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85205
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
85206
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
85211
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85212
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (147.0ms)[0m [1mrollback transaction[0m
|
85222
|
+
[1m[35m (0.2ms)[0m begin transaction
|
85223
|
+
--------------------------------------------------------
|
85224
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
85225
|
+
--------------------------------------------------------
|
85226
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85227
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
85228
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85233
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
85234
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
85235
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85237
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85238
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
85239
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
85240
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85241
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
85242
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
85247
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85248
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 999914116 [["last_sign_in_at", 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36m (22.7ms)[0m [1mrollback transaction[0m
|
85257
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85258
|
+
--------------------------------------------------------------------
|
85259
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
85260
|
+
--------------------------------------------------------------------
|
85261
|
+
[1m[36mUser Load (46.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85262
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
85263
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
85268
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
85269
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
85270
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85272
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85273
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
85274
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
85275
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85276
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
85277
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
85282
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85283
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (32.4ms)[0m [1mrollback transaction[0m
|
85293
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85294
|
+
-------------------------------------------------------------
|
85295
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
85296
|
+
-------------------------------------------------------------
|
85297
|
+
[1m[36mUser Load (20.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85298
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
85299
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
85304
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
85305
|
+
-------------------------------------------------------------------------
|
85306
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
85307
|
+
-------------------------------------------------------------------------
|
85308
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
85309
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
85310
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
85314
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85315
|
+
[1m[36mSQL (2.2ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", 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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85317
|
+
Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 2.6ms)
|
85318
|
+
[1m[36m (38.9ms)[0m [1mrollback transaction[0m
|
85319
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85320
|
+
------------------------------------------------------------------------------------------------
|
85321
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
85322
|
+
------------------------------------------------------------------------------------------------
|
85323
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85324
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
85325
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
85329
|
+
Completed 401 Unauthorized in 79ms
|
85330
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85331
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85332
|
+
------------------------------------
|
85333
|
+
UserTest: test_should_apply_omniauth
|
85334
|
+
------------------------------------
|
85335
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85336
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
85337
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
85338
|
+
--------------------------------------
|
85339
|
+
UserTest: test_should_get_reverse_name
|
85340
|
+
--------------------------------------
|
85341
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
85342
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85343
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
85344
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
85345
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-09-06 16:28:09', '2013-09-06 16:28:09', 949717663, 201799169)[0m
|
85346
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-09-06 16:28:09', '2013-09-06 16:28:09', 876923740, 201799169)
|
85347
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-09-06 16:28:09', '2013-09-06 16:28:09', 864673665, 201799169)[0m
|
85348
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
85349
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-09-06 16:28:09', '2013-09-06 16:28:09', 201799169)[0m
|
85350
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-09-06 16:28:09', '2013-09-06 16:28:09', 999914115)
|
85351
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-09-06 16:28:09', '2013-09-06 16:28:09', 725306934)[0m
|
85352
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-09-06 16:28:09', '2013-09-06 16:28:09', 349534908)
|
85353
|
+
[1m[36m (239.2ms)[0m [1mcommit transaction[0m
|
85354
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85355
|
+
-------------------------------------------------
|
85356
|
+
AuthenticationTest: test_should_get_provider_name
|
85357
|
+
-------------------------------------------------
|
85358
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
85359
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
85360
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
85361
|
+
--------------------------------------------------------------------------------
|
85362
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
85363
|
+
--------------------------------------------------------------------------------
|
85364
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
85365
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85366
|
+
[1m[35m (0.0ms)[0m begin transaction
|
85367
|
+
-------------------------------------------------------------------------
|
85368
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
85369
|
+
-------------------------------------------------------------------------
|
85370
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85371
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
85372
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
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
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
85376
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
85377
|
+
Logged in user found, creating associated authentication.
|
85378
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85379
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85381
|
+
Redirected to http://test.host/authentications
|
85382
|
+
Completed 302 Found in 20ms (ActiveRecord: 0.9ms)
|
85383
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
85384
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
85385
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
85386
|
+
--------------------------------------------------------------------------
|
85387
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
85388
|
+
--------------------------------------------------------------------------
|
85389
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
85390
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
85391
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
85392
|
+
Processing by Contour::AuthenticationsController#destroy as JS
|
85393
|
+
Parameters: {"id"=>"949717663"}
|
85394
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
85395
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
85396
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85397
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
85398
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85399
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1 [["user_id", 201799169]]
|
85400
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1[0m [["user_id", 201799169]]
|
85401
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1 [["user_id", 201799169]]
|
85402
|
+
[1m[36mAuthentication Load (0.2ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1[0m [["user_id", 201799169]]
|
85403
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1 [["user_id", 201799169]]
|
85404
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1[0m [["user_id", 201799169]]
|
85405
|
+
[1m[35mAuthentication Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
85409
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
85410
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
85411
|
+
-------------------------------------------------------------
|
85412
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
85413
|
+
-------------------------------------------------------------
|
85414
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
85415
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
85416
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
85417
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
|
85418
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'google_apps' LIMIT 1[0m [["user_id", 201799169]]
|
85419
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'open_id' LIMIT 1 [["user_id", 201799169]]
|
85420
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'ldap' LIMIT 1[0m [["user_id", 201799169]]
|
85421
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'twitter' LIMIT 1 [["user_id", 201799169]]
|
85422
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'facebook' LIMIT 1[0m [["user_id", 201799169]]
|
85423
|
+
[1m[35mAuthentication Load (0.0ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'linked_in' LIMIT 1 [["user_id", 201799169]]
|
85424
|
+
[1m[36mAuthentication Load (0.0ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."provider" = 'cas' LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
85430
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
85437
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'XssgkpUqEqEdhZdvDAjW' LIMIT 1[0m
|
85438
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85439
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
85466
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85476
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85477
|
+
-------------------------------------------------------------------------------
|
85478
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
85479
|
+
-------------------------------------------------------------------------------
|
85480
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85485
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
85486
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
85487
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85489
|
+
Redirected to http://test.host/users/login
|
85490
|
+
Completed 302 Found in 19ms (ActiveRecord: 0.8ms)
|
85491
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
85492
|
+
[1m[36m (4.4ms)[0m [1mrollback transaction[0m
|
85493
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85494
|
+
--------------------------------------------------------------------------------------------
|
85495
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
85496
|
+
--------------------------------------------------------------------------------------------
|
85497
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85502
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
85503
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
85504
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85506
|
+
Redirected to http://test.host/users/login
|
85507
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.8ms)
|
85508
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
85509
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
85510
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85511
|
+
---------------------------------------------------------------------------------------------
|
85512
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
85513
|
+
---------------------------------------------------------------------------------------------
|
85514
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
85522
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85523
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85524
|
+
----------------------------------------------------------------------
|
85525
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
85526
|
+
----------------------------------------------------------------------
|
85527
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85528
|
+
Processing by Contour::SessionsController#create as JSON
|
85529
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
85530
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
85531
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85532
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85534
|
+
Completed 200 OK in 83ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
85535
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
85536
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
85543
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
85544
|
+
Redirected to http://test.host/auth/google_apps
|
85545
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
85546
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
85547
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
85548
|
+
----------------------------------------------------------------------------------------------
|
85549
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
85550
|
+
----------------------------------------------------------------------------------------------
|
85551
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
85555
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85559
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
85566
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85576
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85577
|
+
-----------------------------------------------------
|
85578
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
85579
|
+
-----------------------------------------------------
|
85580
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85581
|
+
[1m[35m (0.0ms)[0m begin transaction
|
85582
|
+
---------------------------------------------------------------------
|
85583
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
85584
|
+
---------------------------------------------------------------------
|
85585
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85586
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85587
|
+
-----------------------
|
85588
|
+
ContourTest: test_truth
|
85589
|
+
-----------------------
|
85590
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85591
|
+
[1m[35m (0.0ms)[0m begin transaction
|
85592
|
+
--------------------------------------------------------------------
|
85593
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
85594
|
+
--------------------------------------------------------------------
|
85595
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85596
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
85597
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85602
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
85603
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
85604
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85606
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85607
|
+
[1m[36mAuthentication Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
85608
|
+
[1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
85609
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85610
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
85611
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
85616
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85617
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
85627
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85628
|
+
--------------------------------------------------------
|
85629
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
85630
|
+
--------------------------------------------------------
|
85631
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85632
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
85633
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85638
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
85639
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
85640
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85642
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85643
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
85644
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
85645
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85646
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
85647
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
85652
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85653
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 999914116 [["last_sign_in_at", 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
85662
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85663
|
+
--------------------------------------------------------------------
|
85664
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
85665
|
+
--------------------------------------------------------------------
|
85666
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85667
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
85668
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85673
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
85674
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
85675
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85677
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85678
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
85679
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
85680
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85681
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
85682
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
85687
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85688
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
85698
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85699
|
+
-------------------------------------------------------------
|
85700
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
85701
|
+
-------------------------------------------------------------
|
85702
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85703
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
85704
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
85709
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
85710
|
+
-------------------------------------------------------------------------
|
85711
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
85712
|
+
-------------------------------------------------------------------------
|
85713
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
85714
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
85715
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
85719
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85720
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", 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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85722
|
+
Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.9ms)
|
85723
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
85724
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85725
|
+
------------------------------------------------------------------------------------------------
|
85726
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
85727
|
+
------------------------------------------------------------------------------------------------
|
85728
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85729
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
85730
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
85734
|
+
Completed 401 Unauthorized in 78ms
|
85735
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
85736
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85737
|
+
------------------------------------
|
85738
|
+
UserTest: test_should_apply_omniauth
|
85739
|
+
------------------------------------
|
85740
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
85741
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
85742
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
85743
|
+
--------------------------------------
|
85744
|
+
UserTest: test_should_get_reverse_name
|
84935
85745
|
--------------------------------------
|
84936
85746
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
84937
85747
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.0.
|
4
|
+
version: 2.1.0.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-
|
11
|
+
date: 2013-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|