contour 2.0.0.beta.8 → 2.0.0.beta.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -2
  3. data/app/assets/javascripts/contour.js +1 -2
  4. data/app/assets/javascripts/external/{highcharts-2.3.3.src.js → highcharts-3.0.2.src.js} +3359 -2150
  5. data/contour.gemspec +2 -2
  6. data/lib/contour/version.rb +1 -1
  7. data/test/dummy/config.ru +1 -1
  8. data/test/dummy/config/application.rb +3 -2
  9. data/test/dummy/config/environments/development.rb +2 -0
  10. data/test/dummy/config/environments/production.rb +2 -2
  11. data/test/dummy/config/environments/test.rb +1 -1
  12. data/test/dummy/db/test.sqlite3 +0 -0
  13. data/test/dummy/log/test.log +395 -0
  14. data/test/dummy/tmp/cache/assets/test/sprockets/015542ca3fee2683eedd21c586e8f4d7 +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/04f8cd84302394fd96a5a1837da2c435 +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/09eb485019a1180e44fa6e443aa47503 +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/0b793dc498fe65856d1b31a805f114dc +0 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/0e3daa6e1f20f19c7f6f41a866d36e37 +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/10912716ee41871536663637aac9d90b +0 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/10b862dc2fcb57e871b350f99445089a +0 -0
  21. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  22. data/test/dummy/tmp/cache/assets/test/sprockets/1421ef9eb96cc5dd00cd50105a186f79 +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/14fd6f7e69c6174d57c53b4c89ad02e0 +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/2316c3ab821288d9cc78527e3b6272a9 +0 -0
  25. data/test/dummy/tmp/cache/assets/test/sprockets/25129d82803be264eda19543144ce764 +0 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/25e897b572b78b9e7872682d1a1722e0 +0 -0
  27. data/test/dummy/tmp/cache/assets/test/sprockets/27fce4a03552ba23d04992949c900603 +0 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/291c470bea09e91a82ed77cb455b45fc +0 -0
  29. data/test/dummy/tmp/cache/assets/test/sprockets/29e65a0b15bf594999939014080494b0 +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  31. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  32. data/test/dummy/tmp/cache/assets/test/sprockets/3ed734f0003effb5248235744ea7cfbf +0 -0
  33. data/test/dummy/tmp/cache/assets/test/sprockets/408c90980fca5a250881bafa3ef0ca63 +0 -0
  34. data/test/dummy/tmp/cache/assets/test/sprockets/42bbea7a13ce140463a5486a3ae03c94 +0 -0
  35. data/test/dummy/tmp/cache/assets/test/sprockets/43f737dd071b0018e1efcfb1922ff593 +0 -0
  36. data/test/dummy/tmp/cache/assets/test/sprockets/4556873bdb635e908edb1b44651d42e4 +0 -0
  37. data/test/dummy/tmp/cache/assets/test/sprockets/484869e0e90da89451d284b6ea1b97ea +0 -0
  38. data/test/dummy/tmp/cache/assets/test/sprockets/4c1f9630c371980e45f3ae2dfaec8a28 +0 -0
  39. data/test/dummy/tmp/cache/assets/test/sprockets/4e7d7c035444f1095fa7dc67721581db +0 -0
  40. data/test/dummy/tmp/cache/assets/test/sprockets/501011855a4cc902996843acadb9c797 +0 -0
  41. data/test/dummy/tmp/cache/assets/test/sprockets/52cdaf963c787c0aa7e2741ce4340be0 +0 -0
  42. data/test/dummy/tmp/cache/assets/test/sprockets/565a4c5a5681bc36489ea1beae4553b0 +0 -0
  43. data/test/dummy/tmp/cache/assets/test/sprockets/5735b70ef1f983b248a47ab1f71fe267 +0 -0
  44. data/test/dummy/tmp/cache/assets/test/sprockets/5aa48c4b9b88fd0c67e1480c677ac489 +0 -0
  45. data/test/dummy/tmp/cache/assets/test/sprockets/6565915e91061b9bb42eda9dfa4cf3fc +0 -0
  46. data/test/dummy/tmp/cache/assets/test/sprockets/6666059cb20313a69e518d351e00eb1f +0 -0
  47. data/test/dummy/tmp/cache/assets/test/sprockets/6836a9eb9975c10c93f447fc315b8349 +0 -0
  48. data/test/dummy/tmp/cache/assets/test/sprockets/6897902b615db6d106af2822a6e2eb62 +0 -0
  49. data/test/dummy/tmp/cache/assets/test/sprockets/715b9d65172e5d82f05fe7f179e4f641 +0 -0
  50. data/test/dummy/tmp/cache/assets/test/sprockets/768fc2641c0e22c57679e02ed8543d36 +0 -0
  51. data/test/dummy/tmp/cache/assets/test/sprockets/7d06b47b0fa66ce19b154d2355b1ccd1 +0 -0
  52. data/test/dummy/tmp/cache/assets/test/sprockets/7e0eb4be88d9d9a70cd09bbf4007f4a4 +0 -0
  53. data/test/dummy/tmp/cache/assets/test/sprockets/807cd6bd5e0c02ec0772daa3868f9d61 +0 -0
  54. data/test/dummy/tmp/cache/assets/test/sprockets/80cc7db99ad2b64556de9b8229a8f3e7 +0 -0
  55. data/test/dummy/tmp/cache/assets/test/sprockets/844ae5de3828b76089f39336c6f3f6c8 +0 -0
  56. data/test/dummy/tmp/cache/assets/test/sprockets/864e4f1898b310dcf0316a99ba0a3067 +0 -0
  57. data/test/dummy/tmp/cache/assets/test/sprockets/87f0cc2881f608195fdaec58ee54fbfe +0 -0
  58. data/test/dummy/tmp/cache/assets/test/sprockets/884005c51eb580c211fdf86f83cbd7d4 +0 -0
  59. data/test/dummy/tmp/cache/assets/test/sprockets/8c0ac229a3088e0cd0d9db95df428103 +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sprockets/8e0772a1c692d481d2e5ef800602c9b3 +0 -0
  61. data/test/dummy/tmp/cache/assets/test/sprockets/8f0d12234b16caea73d930c4658554e8 +0 -0
  62. data/test/dummy/tmp/cache/assets/test/sprockets/8f6410f2a80e0115a1b8bf6cf7cbf317 +0 -0
  63. data/test/dummy/tmp/cache/assets/test/sprockets/8fdd783b1b18cf2bf735a31f68b32131 +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/939a36ef1c8fe174ef51ff8a4c5322a8 +0 -0
  65. data/test/dummy/tmp/cache/assets/test/sprockets/950cf58a7bd174e827f4a73f6996e8bd +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/a049654e5ab2df058699bd8968c0f493 +0 -0
  67. data/test/dummy/tmp/cache/assets/test/sprockets/a143a0bc0632c5cb89f596cf5272528e +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/a3041faa4e334801f4f495371a8cced2 +0 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/a3a6cd207915c1867e51fa92ea7827b8 +0 -0
  70. data/test/dummy/tmp/cache/assets/test/sprockets/a4faa95d6bafec287fc59ff59eec9625 +0 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/a7b222735fc6d94f5713fa8e4c00feec +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/ac9180e2a5edc87eec65cd47141d2e80 +0 -0
  73. data/test/dummy/tmp/cache/assets/test/sprockets/ae168f5fd9c4439b289abdb476b026b7 +0 -0
  74. data/test/dummy/tmp/cache/assets/test/sprockets/b0b29e7227617890cf734f30d2ec810e +0 -0
  75. data/test/dummy/tmp/cache/assets/test/sprockets/b3b0b443293be8cc1ebeefa441c1d56f +0 -0
  76. data/test/dummy/tmp/cache/assets/test/sprockets/bd73f0158510de99a53a18f4aeb1fb90 +0 -0
  77. data/test/dummy/tmp/cache/assets/test/sprockets/bec5edffa453a85a42afd4849f868e81 +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/c04795d4fdfb36d2041fd2ee97edfdfe +0 -0
  79. data/test/dummy/tmp/cache/assets/test/sprockets/c16b6da8711e06b53e78abd01064762c +0 -0
  80. data/test/dummy/tmp/cache/assets/test/sprockets/c1ccccbc73ad9c18a4f6e82a196a2fc2 +0 -0
  81. data/test/dummy/tmp/cache/assets/test/sprockets/c8030c204c8e82370802bab4d708040d +0 -0
  82. data/test/dummy/tmp/cache/assets/test/sprockets/cc7bd06bb71f2155aeeb684d0d880988 +0 -0
  83. data/test/dummy/tmp/cache/assets/test/sprockets/cd0653a7baafdb4f0f1d06fd848a93ad +0 -0
  84. data/test/dummy/tmp/cache/assets/test/sprockets/cd0d14bed7965532879e84a4b6df7188 +0 -0
  85. data/test/dummy/tmp/cache/assets/test/sprockets/ce2d46fba538c6756b32019ae8500047 +0 -0
  86. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  87. data/test/dummy/tmp/cache/assets/test/sprockets/d3d217eee875712c702e7b5aa7f61a5f +0 -0
  88. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  89. data/test/dummy/tmp/cache/assets/test/sprockets/dda16ed9cc1e54fd0d97a6036e928d8d +0 -0
  90. data/test/dummy/tmp/cache/assets/test/sprockets/e07c4addcee44a21398170318c44a63c +0 -0
  91. data/test/dummy/tmp/cache/assets/test/sprockets/e26d2dade8b9049db6fe17631d69c20e +0 -0
  92. data/test/dummy/tmp/cache/assets/test/sprockets/e988f9e2cbcefc5fc9b5d9961bb5da0d +0 -0
  93. data/test/dummy/tmp/cache/assets/test/sprockets/f1555999bb69d971b3a4a7128e83efea +0 -0
  94. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  95. data/test/dummy/tmp/cache/assets/test/sprockets/f8d0960b0d3d42cba6b481ca483dae33 +0 -0
  96. metadata +17 -10
  97. data/app/assets/javascripts/external/exporting-2.3.3.src.js +0 -736
data/contour.gemspec CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |s|
24
24
  s.files = Dir['{app,config,db,lib}/**/*'] + ['CHANGELOG.md', 'contour.gemspec', 'LICENSE', 'Rakefile', 'README.md']
25
25
  s.test_files = Dir['test/**/*']
26
26
 
27
- s.add_dependency 'rails', '~> 4.0.0.rc1'
28
- s.add_dependency 'jquery-rails', '~> 2.2.1'
27
+ s.add_dependency 'rails', '~> 4.0.0'
28
+ s.add_dependency 'jquery-rails', '>= 2.2.2'
29
29
  s.add_dependency 'coffee-rails', '~> 4.0.0'
30
30
  s.add_dependency 'devise', '~> 3.0.0.rc'
31
31
  s.add_dependency 'omniauth', '~> 1.1.3'
@@ -3,7 +3,7 @@ module Contour
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
5
  TINY = 0
6
- BUILD = "beta.8" # nil, "pre", "rc", "rc2"
6
+ BUILD = "beta.9" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
data/test/dummy/config.ru CHANGED
@@ -1,4 +1,4 @@
1
1
  # This file is used by Rack-based servers to start the application.
2
2
 
3
3
  require ::File.expand_path('../config/environment', __FILE__)
4
- run Dummy::Application
4
+ run Rails.application
@@ -2,8 +2,9 @@ require File.expand_path('../boot', __FILE__)
2
2
 
3
3
  require 'rails/all'
4
4
 
5
- # Assets should be precompiled for production (so we don't need the gems loaded then)
6
- Bundler.require(*Rails.groups(assets: %w(development test)))
5
+ # Require the gems listed in Gemfile, including any gems
6
+ # you've limited to :test, :development, or :production.
7
+ Bundler.require(:default, Rails.env)
7
8
 
8
9
  require "contour"
9
10
 
@@ -23,5 +23,7 @@ Dummy::Application.configure do
23
23
  config.active_record.migration_error = :page_load
24
24
 
25
25
  # Debug mode disables concatenation and preprocessing of assets.
26
+ # This option may cause significant delays in view rendering with a large
27
+ # number of complex assets.
26
28
  config.assets.debug = true
27
29
  end
@@ -23,10 +23,10 @@ Dummy::Application.configure do
23
23
  config.serve_static_assets = false
24
24
 
25
25
  # Compress JavaScripts and CSS.
26
- config.assets.js_compressor = :uglifier
26
+ config.assets.js_compressor = :uglifier
27
27
  # config.assets.css_compressor = :sass
28
28
 
29
- # Whether to fallback to assets pipeline if a precompiled asset is missed.
29
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
30
30
  config.assets.compile = false
31
31
 
32
32
  # Generate digests for assets URLs.
@@ -13,7 +13,7 @@ Dummy::Application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static asset server for tests with Cache-Control for performance.
16
- config.serve_static_assets = true
16
+ config.serve_static_assets = true
17
17
  config.static_cache_control = "public, max-age=3600"
18
18
 
19
19
  # Show full error reports and disable caching.
Binary file
@@ -78184,6 +78184,401 @@ UserTest: test_should_apply_omniauth
78184
78184
   (0.1ms) begin transaction
78185
78185
  --------------------------------------
78186
78186
  UserTest: test_should_get_reverse_name
78187
+ --------------------------------------
78188
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78189
+  (0.1ms) rollback transaction
78190
+  (0.5ms) begin transaction
78191
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
78192
+ 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-07-16 14:00:22', '2013-07-16 14:00:22', 949717663, 201799169)
78193
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-16 14:00:22', '2013-07-16 14:00:22', 876923740, 201799169)
78194
+ 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-07-16 14:00:22', '2013-07-16 14:00:22', 864673665, 201799169)
78195
+ Fixture Delete (0.1ms) DELETE FROM "users"
78196
+ 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-07-16 14:00:22', '2013-07-16 14:00:22', 201799169)
78197
+ 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-07-16 14:00:22', '2013-07-16 14:00:22', 999914115)
78198
+ 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-07-16 14:00:22', '2013-07-16 14:00:22', 725306934)
78199
+ 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-07-16 14:00:22', '2013-07-16 14:00:22', 349534908)
78200
+  (186.5ms) commit transaction
78201
+  (0.2ms) begin transaction
78202
+ -------------------------------------------------
78203
+ AuthenticationTest: test_should_get_provider_name
78204
+ -------------------------------------------------
78205
+ Authentication Load (0.4ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
78206
+  (0.1ms) rollback transaction
78207
+  (0.1ms) begin transaction
78208
+ --------------------------------------------------------------------------------
78209
+ AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
78210
+ --------------------------------------------------------------------------------
78211
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
78212
+  (0.1ms) rollback transaction
78213
+  (0.0ms) begin transaction
78214
+ -------------------------------------------------------------------------
78215
+ Contour::AuthenticationsControllerTest: test_should_create_authentication
78216
+ -------------------------------------------------------------------------
78217
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78218
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
78219
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
78220
+ Processing by Contour::AuthenticationsController#create as HTML
78221
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-16 14:00:22 UTC", "updated_at"=>"2013-07-16 14:00:22 UTC"}}
78222
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
78223
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
78224
+ Logged in user found, creating associated authentication.
78225
+  (0.1ms) SAVEPOINT active_record_1
78226
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:22 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Tue, 16 Jul 2013 14:00:22 UTC +00:00], ["user_id", 201799169]]
78227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78228
+ Redirected to http://test.host/authentications
78229
+ Completed 302 Found in 20ms (ActiveRecord: 0.9ms)
78230
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
78231
+  (22.0ms) rollback transaction
78232
+  (0.1ms) begin transaction
78233
+ --------------------------------------------------------------------------
78234
+ Contour::AuthenticationsControllerTest: test_should_destroy_authentication
78235
+ --------------------------------------------------------------------------
78236
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78237
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
78238
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
78239
+ Processing by Contour::AuthenticationsController#destroy as HTML
78240
+ Parameters: {"id"=>"949717663"}
78241
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
78242
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
78243
+  (0.1ms) SAVEPOINT active_record_1
78244
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
78245
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78246
+ Redirected to http://test.host/authentications
78247
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
78248
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
78249
+  (0.5ms) rollback transaction
78250
+  (0.1ms) begin transaction
78251
+ -------------------------------------------------------------
78252
+ Contour::AuthenticationsControllerTest: test_should_get_index
78253
+ -------------------------------------------------------------
78254
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78255
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
78256
+ Processing by Contour::AuthenticationsController#index as HTML
78257
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
78258
+ Authentication Exists (0.2ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]]
78259
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
78260
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (56.4ms)
78261
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.4ms)
78262
+ Completed 200 OK in 801ms (Views: 798.5ms | ActiveRecord: 0.4ms)
78263
+  (0.2ms) rollback transaction
78264
+  (0.1ms) begin transaction
78265
+ -----------------------------------------------------------------------------
78266
+ Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
78267
+ -----------------------------------------------------------------------------
78268
+ Processing by Contour::PasswordsController#create as HTML
78269
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
78270
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
78271
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'Eqq2u4RYAXPMmTd3jNmA' LIMIT 1
78272
+  (0.1ms) SAVEPOINT active_record_1
78273
+ SQL (0.6ms) UPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["reset_password_token", "Eqq2u4RYAXPMmTd3jNmA"], ["reset_password_sent_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]]
78274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78275
+
78276
+ Sent mail to valid@example.com (14.0ms)
78277
+ Date: Tue, 16 Jul 2013 10:00:23 -0400
78278
+ From: please-change-me-at-config-initializers-devise@example.com
78279
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
78280
+ To: valid@example.com
78281
+ Message-ID: <51e551f7907a4_380f3fec5a0606cc5485b@edge.partners.org.mail>
78282
+ Subject: Reset password instructions
78283
+ Mime-Version: 1.0
78284
+ Content-Type: text/html;
78285
+ charset=UTF-8
78286
+ Content-Transfer-Encoding: 7bit
78287
+
78288
+ <p>Hello valid@example.com!</p>
78289
+
78290
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
78291
+
78292
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=Eqq2u4RYAXPMmTd3jNmA">Change my password</a></p>
78293
+
78294
+ <p>If you didn't request this, please ignore this email.</p>
78295
+ <p>Your password won't change until you access the link above and create a new one.</p>
78296
+
78297
+ Redirected to http://test.host/users/login
78298
+ Completed 302 Found in 108ms (ActiveRecord: 1.2ms)
78299
+  (0.9ms) rollback transaction
78300
+  (0.1ms) begin transaction
78301
+ -----------------------------------------------------------------------------
78302
+ Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
78303
+ -----------------------------------------------------------------------------
78304
+ Processing by Contour::PasswordsController#new as HTML
78305
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.6ms)
78306
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (11.5ms)
78307
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (14.7ms)
78308
+ Completed 200 OK in 31ms (Views: 30.1ms | ActiveRecord: 0.0ms)
78309
+  (0.1ms) rollback transaction
78310
+  (0.1ms) begin transaction
78311
+ -------------------------------------------------------------------------------
78312
+ Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
78313
+ -------------------------------------------------------------------------------
78314
+  (0.3ms) SELECT COUNT(*) FROM "users"
78315
+ Processing by Contour::RegistrationsController#create as HTML
78316
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
78317
+ Unpermitted parameters: spam
78318
+  (0.1ms) SAVEPOINT active_record_1
78319
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1
78320
+ Binary data inserted for `string` type on column `encrypted_password`
78321
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$ff6x5zer6PwqUR1uELldqOrsVLl4PfERzCpfcrfJ30UJ/MwyOpG6i"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]]
78322
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78323
+ Redirected to http://test.host/users/login
78324
+ Completed 302 Found in 17ms (ActiveRecord: 0.9ms)
78325
+  (0.1ms) SELECT COUNT(*) FROM "users"
78326
+  (0.9ms) rollback transaction
78327
+  (0.1ms) begin transaction
78328
+ --------------------------------------------------------------------------------------------
78329
+ Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
78330
+ --------------------------------------------------------------------------------------------
78331
+  (0.1ms) SELECT COUNT(*) FROM "users"
78332
+ Processing by Contour::RegistrationsController#create as HTML
78333
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
78334
+ Unpermitted parameters: status
78335
+  (0.1ms) SAVEPOINT active_record_1
78336
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1
78337
+ Binary data inserted for `string` type on column `encrypted_password`
78338
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$HVhUJH1wReTcxkPd9wW7I.CwZBSzoEJGfiDYd5cMDerIqNVGZ7aum"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]]
78339
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78340
+ Redirected to http://test.host/users/login
78341
+ Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
78342
+  (0.1ms) SELECT COUNT(*) FROM "users"
78343
+  (0.7ms) rollback transaction
78344
+  (0.1ms) begin transaction
78345
+ ---------------------------------------------------------------------------------------------
78346
+ Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
78347
+ ---------------------------------------------------------------------------------------------
78348
+  (0.1ms) SELECT COUNT(*) FROM "users"
78349
+ Processing by Contour::RegistrationsController#create as HTML
78350
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
78351
+ 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"}
78352
+ Unpermitted parameters: spam
78353
+ Redirected to http://test.host/users/login
78354
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
78355
+  (0.1ms) SELECT COUNT(*) FROM "users"
78356
+  (0.1ms) rollback transaction
78357
+  (0.1ms) begin transaction
78358
+ ----------------------------------------------------------------------
78359
+ Contour::SessionsControllerTest: test_return_user_json_object_on_login
78360
+ ----------------------------------------------------------------------
78361
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78362
+ Processing by Contour::SessionsController#create as JSON
78363
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
78364
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
78365
+  (0.1ms) SAVEPOINT active_record_1
78366
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["current_sign_in_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Tue, 16 Jul 2013 14:00:23 UTC +00:00]]
78367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78368
+ Completed 200 OK in 82ms (Views: 0.3ms | ActiveRecord: 0.8ms)
78369
+  (38.8ms) rollback transaction
78370
+  (0.1ms) begin transaction
78371
+ ----------------------------------------------------------------------------------------------------------
78372
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
78373
+ ----------------------------------------------------------------------------------------------------------
78374
+ Processing by Contour::SessionsController#create as HTML
78375
+ Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
78376
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
78377
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'
78378
+ Redirected to http://test.host/auth/google_apps
78379
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
78380
+  (0.1ms) rollback transaction
78381
+  (0.0ms) begin transaction
78382
+ ----------------------------------------------------------------------------------------------
78383
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
78384
+ ----------------------------------------------------------------------------------------------
78385
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78386
+ Processing by Contour::SessionsController#create as HTML
78387
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
78388
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
78389
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
78390
+ Redirected to http://test.host/auth/ldap
78391
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
78392
+  (0.1ms) rollback transaction
78393
+  (0.0ms) begin transaction
78394
+ --------------------------------------------------------------------------
78395
+ Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
78396
+ --------------------------------------------------------------------------
78397
+ Processing by Contour::SessionsController#create as HTML
78398
+ Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
78399
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1
78400
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
78401
+ Completed 401 Unauthorized in 3ms
78402
+ Processing by Contour::SessionsController#new as HTML
78403
+ Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
78404
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.0ms)
78405
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (2.0ms)
78406
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.6ms)
78407
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (2.3ms)
78408
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (4.5ms)
78409
+ Completed 200 OK in 23ms (Views: 22.1ms | ActiveRecord: 0.0ms)
78410
+  (0.1ms) rollback transaction
78411
+  (0.1ms) begin transaction
78412
+ -----------------------------------------------------
78413
+ ContourHelperTest: test_should_show_sort_field_helper
78414
+ -----------------------------------------------------
78415
+  (0.1ms) rollback transaction
78416
+  (0.1ms) begin transaction
78417
+ ---------------------------------------------------------------------
78418
+ ContourHelperTest: test_should_show_sort_field_helper_with_same_order
78419
+ ---------------------------------------------------------------------
78420
+  (0.1ms) rollback transaction
78421
+  (0.1ms) begin transaction
78422
+ -----------------------
78423
+ ContourTest: test_truth
78424
+ -----------------------
78425
+  (0.1ms) rollback transaction
78426
+  (0.0ms) begin transaction
78427
+ --------------------------------------------------------------------
78428
+ NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
78429
+ --------------------------------------------------------------------
78430
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78431
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78432
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78433
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78434
+ Processing by WelcomeController#logged_in_page as HTML
78435
+ Completed 401 Unauthorized in 19ms
78436
+  (0.1ms) SAVEPOINT active_record_1
78437
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
78438
+ Binary data inserted for `string` type on column `encrypted_password`
78439
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$gLVQxl4shOXOTiCSvtDT1OE36hMvOqwPqbPpWGQNA4jJ6AFXA98IC"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]]
78440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78441
+  (0.0ms) SAVEPOINT active_record_1
78442
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78443
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78445
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
78446
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
78447
+ Started POST "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78448
+ Processing by Contour::SessionsController#create as HTML
78449
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
78450
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
78451
+  (0.1ms) SAVEPOINT active_record_1
78452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78453
+ Completed 401 Unauthorized in 7ms
78454
+ Started GET "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78455
+ Processing by Contour::SessionsController#new as HTML
78456
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
78457
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms)
78458
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
78459
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
78460
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
78461
+ Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.0ms)
78462
+  (0.9ms) rollback transaction
78463
+  (0.1ms) begin transaction
78464
+ --------------------------------------------------------
78465
+ NavigationTest: test_friendly_url_forwarding_after_login
78466
+ --------------------------------------------------------
78467
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78468
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78469
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78470
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78471
+ Processing by WelcomeController#logged_in_page as HTML
78472
+ Completed 401 Unauthorized in 1ms
78473
+  (0.1ms) SAVEPOINT active_record_1
78474
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
78475
+ Binary data inserted for `string` type on column `encrypted_password`
78476
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$lap/W4602ocpBcsr.WyEvO78uOzOVLqYiSghSn8p28S.CVsZ8bPs2"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]]
78477
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78478
+  (0.0ms) SAVEPOINT active_record_1
78479
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78480
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78482
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
78483
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
78484
+ Started POST "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78485
+ Processing by Contour::SessionsController#create as HTML
78486
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
78487
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
78488
+  (0.1ms) SAVEPOINT active_record_1
78489
+ 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", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["current_sign_in_at", Tue, 16 Jul 2013 14:00:24 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", Tue, 16 Jul 2013 14:00:24 UTC +00:00]]
78490
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78491
+ Redirected to http://www.example.com/logged_in_page
78492
+ Completed 302 Found in 10ms (ActiveRecord: 0.6ms)
78493
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78494
+ Processing by WelcomeController#logged_in_page as HTML
78495
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
78496
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
78497
+  (0.9ms) rollback transaction
78498
+  (0.1ms) begin transaction
78499
+ --------------------------------------------------------------------
78500
+ NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
78501
+ --------------------------------------------------------------------
78502
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78503
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78504
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78505
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78506
+ Processing by WelcomeController#logged_in_page as HTML
78507
+ Completed 401 Unauthorized in 1ms
78508
+  (0.1ms) SAVEPOINT active_record_1
78509
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
78510
+ Binary data inserted for `string` type on column `encrypted_password`
78511
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$Ab/oFrXrPAuNoiWHetQKvO//xq/91sAzfISm4Ni6i4xoUr8bjqDIW"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]]
78512
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78513
+  (0.0ms) SAVEPOINT active_record_1
78514
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78515
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78517
+ SQL (0.4ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
78518
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
78519
+ Started POST "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78520
+ Processing by Contour::SessionsController#create as HTML
78521
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
78522
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
78523
+  (0.1ms) SAVEPOINT active_record_1
78524
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78525
+ Completed 401 Unauthorized in 6ms
78526
+ Started GET "/users/login" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78527
+ Processing by Contour::SessionsController#new as HTML
78528
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
78529
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.3ms)
78530
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
78531
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
78532
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
78533
+ Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms)
78534
+  (0.8ms) rollback transaction
78535
+  (0.1ms) begin transaction
78536
+ -------------------------------------------------------------
78537
+ NavigationTest: test_root_navigation_redirected_to_login_page
78538
+ -------------------------------------------------------------
78539
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78540
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78541
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78542
+ Started GET "/" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78543
+ Processing by WelcomeController#index as HTML
78544
+ Completed 401 Unauthorized in 1ms
78545
+  (0.1ms) rollback transaction
78546
+  (0.1ms) begin transaction
78547
+ -------------------------------------------------------------------------
78548
+ NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
78549
+ -------------------------------------------------------------------------
78550
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78551
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78552
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78553
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78554
+ Processing by WelcomeController#logged_in_page as JSON
78555
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
78556
+  (0.1ms) SAVEPOINT active_record_1
78557
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["current_sign_in_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Tue, 16 Jul 2013 14:00:24 UTC +00:00]]
78558
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78559
+ Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.7ms)
78560
+  (0.6ms) rollback transaction
78561
+  (0.1ms) begin transaction
78562
+ ------------------------------------------------------------------------------------------------
78563
+ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
78564
+ ------------------------------------------------------------------------------------------------
78565
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78566
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78567
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78568
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-16 10:00:24 -0400
78569
+ Processing by WelcomeController#logged_in_page as JSON
78570
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
78571
+ Completed 401 Unauthorized in 78ms
78572
+  (0.1ms) rollback transaction
78573
+  (0.1ms) begin transaction
78574
+ ------------------------------------
78575
+ UserTest: test_should_apply_omniauth
78576
+ ------------------------------------
78577
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78578
+  (0.1ms) rollback transaction
78579
+  (0.1ms) begin transaction
78580
+ --------------------------------------
78581
+ UserTest: test_should_get_reverse_name
78187
78582
  --------------------------------------
78188
78583
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78189
78584
   (0.1ms) rollback transaction