contour 2.0.0.beta.9 → 2.0.0.rc

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +2 -1
  3. data/app/assets/images/twitter-bootstrap/{v2.3.0 → v2.3.2}/glyphicons-halflings-white.png +0 -0
  4. data/app/assets/images/twitter-bootstrap/{v2.3.0 → v2.3.2}/glyphicons-halflings.png +0 -0
  5. data/app/assets/javascripts/contour.js +1 -1
  6. data/app/assets/javascripts/twitter-bootstrap/{v2.3.0 → v2.3.2}/bootstrap.js +29 -25
  7. data/app/assets/stylesheets/bootstrap-base-overrides.css +4 -4
  8. data/app/assets/stylesheets/contour.css +2 -2
  9. data/app/assets/stylesheets/twitter-bootstrap/{v2.3.0 → v2.3.2}/bootstrap-responsive.css +1 -1
  10. data/app/assets/stylesheets/twitter-bootstrap/{v2.3.0 → v2.3.2}/bootstrap.css +10 -1
  11. data/contour.gemspec +1 -1
  12. data/lib/contour/version.rb +1 -1
  13. data/test/dummy/db/test.sqlite3 +0 -0
  14. data/test/dummy/log/test.log +790 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/015542ca3fee2683eedd21c586e8f4d7 +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/0b793dc498fe65856d1b31a805f114dc +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/1bd3f905d35cb03d2c94ec89e0f14792 +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/284aca0678ccf24803f5feb7236e4c8a +0 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  21. data/test/dummy/tmp/cache/assets/test/sprockets/346128943c5e30fdb088f54a58af54cc +0 -0
  22. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/408c90980fca5a250881bafa3ef0ca63 +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/57199a94a0d7d2804ecb7299ea783759 +0 -0
  25. data/test/dummy/tmp/cache/assets/test/sprockets/5bc2e1947318770b4a07d9bcac5faff6 +0 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/6666059cb20313a69e518d351e00eb1f +0 -0
  27. data/test/dummy/tmp/cache/assets/test/sprockets/995fdf281fb38f250be81a2c769a9a79 +0 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/a7b222735fc6d94f5713fa8e4c00feec +0 -0
  29. data/test/dummy/tmp/cache/assets/test/sprockets/b1af56ecfd1879ac79e3a22e042caf15 +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/b6899690f985b099f7e80d4a0939a9e0 +0 -0
  31. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  32. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  33. data/test/dummy/tmp/cache/assets/test/sprockets/f1555999bb69d971b3a4a7128e83efea +0 -0
  34. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  35. metadata +25 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 562fe265249a5ef27fbcb8cba084dd384afbdcb3
4
- data.tar.gz: 2320a53a8018752adaa00e588eb63857736af1c2
3
+ metadata.gz: ef9bfdaa529bc50b18aa87298eef822e9b956e06
4
+ data.tar.gz: fcb87b5a589d1122fd7f333a12e1b2b012ff795c
5
5
  SHA512:
6
- metadata.gz: 9db17d27f8a91d6975185c7d11136a73ad90a8fd05206a640000f124eef387781faf9d44c1d0956eb22c8bff79e5fa4d1a7bcff451b13d674317cb8ccdc79dba
7
- data.tar.gz: 8ef21845da8e4145bc16d00b580b28cad79e803ee835ca6158146bdd804099b88d6d2add67585d8176ac792ac4457f00884d2e364b2df313315017336895c3b0
6
+ metadata.gz: 5c72ed281ddc9990c5d759d56e86c5583ec20916f6b73fca363752e197ff76f78358e3118280d08f3404794b9688d3302cebe9951f036ce5c5a3fc2c5a98e8e0
7
+ data.tar.gz: 6c0d6be80768ada4822f97fa7a5edcaba6b11951306cd9da0c21ed5a5d77ef855adcb17488f5783796ec2cd9ed876999b1305df4e7077a95ebc43e79c5592184
@@ -4,7 +4,8 @@
4
4
  - Use of Ruby 2.0.0-p247 is now recommended
5
5
  - **Gem Changes**
6
6
  - Updated to Rails 4.0.0
7
- - Updated to Devise 3.0.0.rc
7
+ - Updated to Devise 3.0.0
8
+ - Updated Twitter Bootstrap to 2.3.2
8
9
  - Updated HighCharts to 3.0.2
9
10
  - Added `config.spam_fields` to the configuration allowing application registration pages to be configured with honeypot traps for submitter spam bots
10
11
  - Configuring the invisible `spam_fields` may reduce the number of fake registrations without being a burden to the existing registration process
@@ -6,7 +6,7 @@
6
6
  //
7
7
  //= require external/jquery-ui-1.10.0.custom.min.js
8
8
  //
9
- //= require twitter-bootstrap/v2.3.0/bootstrap
9
+ //= require twitter-bootstrap/v2.3.2/bootstrap
10
10
  //
11
11
  //= require twitter-bootstrap/bootstrap-scroll-modal
12
12
  //= require twitter-bootstrap/bootstrap
@@ -1,5 +1,5 @@
1
1
  /* ===================================================
2
- * bootstrap-transition.js v2.3.0
2
+ * bootstrap-transition.js v2.3.2
3
3
  * http://twitter.github.com/bootstrap/javascript.html#transitions
4
4
  * ===================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -58,7 +58,7 @@
58
58
  })
59
59
 
60
60
  }(window.jQuery);/* ==========================================================
61
- * bootstrap-alert.js v2.3.0
61
+ * bootstrap-alert.js v2.3.2
62
62
  * http://twitter.github.com/bootstrap/javascript.html#alerts
63
63
  * ==========================================================
64
64
  * Copyright 2012 Twitter, Inc.
@@ -156,7 +156,7 @@
156
156
  $(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
157
157
 
158
158
  }(window.jQuery);/* ============================================================
159
- * bootstrap-button.js v2.3.0
159
+ * bootstrap-button.js v2.3.2
160
160
  * http://twitter.github.com/bootstrap/javascript.html#buttons
161
161
  * ============================================================
162
162
  * Copyright 2012 Twitter, Inc.
@@ -260,7 +260,7 @@
260
260
  })
261
261
 
262
262
  }(window.jQuery);/* ==========================================================
263
- * bootstrap-carousel.js v2.3.0
263
+ * bootstrap-carousel.js v2.3.2
264
264
  * http://twitter.github.com/bootstrap/javascript.html#carousel
265
265
  * ==========================================================
266
266
  * Copyright 2012 Twitter, Inc.
@@ -336,7 +336,7 @@
336
336
  if (!e) this.paused = true
337
337
  if (this.$element.find('.next, .prev').length && $.support.transition.end) {
338
338
  this.$element.trigger($.support.transition.end)
339
- this.cycle()
339
+ this.cycle(true)
340
340
  }
341
341
  clearInterval(this.interval)
342
342
  this.interval = null
@@ -466,7 +466,7 @@
466
466
  })
467
467
 
468
468
  }(window.jQuery);/* =============================================================
469
- * bootstrap-collapse.js v2.3.0
469
+ * bootstrap-collapse.js v2.3.2
470
470
  * http://twitter.github.com/bootstrap/javascript.html#collapse
471
471
  * =============================================================
472
472
  * Copyright 2012 Twitter, Inc.
@@ -632,7 +632,7 @@
632
632
  })
633
633
 
634
634
  }(window.jQuery);/* ============================================================
635
- * bootstrap-dropdown.js v2.3.0
635
+ * bootstrap-dropdown.js v2.3.2
636
636
  * http://twitter.github.com/bootstrap/javascript.html#dropdowns
637
637
  * ============================================================
638
638
  * Copyright 2012 Twitter, Inc.
@@ -685,6 +685,10 @@
685
685
  clearMenus()
686
686
 
687
687
  if (!isActive) {
688
+ if ('ontouchstart' in document.documentElement) {
689
+ // if mobile we we use a backdrop because click events don't delegate
690
+ $('<div class="dropdown-backdrop"/>').insertBefore($(this)).on('click', clearMenus)
691
+ }
688
692
  $parent.toggleClass('open')
689
693
  }
690
694
 
@@ -737,6 +741,7 @@
737
741
  }
738
742
 
739
743
  function clearMenus() {
744
+ $('.dropdown-backdrop').remove()
740
745
  $(toggle).each(function () {
741
746
  getParent($(this)).removeClass('open')
742
747
  })
@@ -791,13 +796,12 @@
791
796
  $(document)
792
797
  .on('click.dropdown.data-api', clearMenus)
793
798
  .on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
794
- .on('.dropdown-menu', function (e) { e.stopPropagation() })
795
799
  .on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
796
800
  .on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
797
801
 
798
802
  }(window.jQuery);
799
803
  /* =========================================================
800
- * bootstrap-modal.js v2.3.0
804
+ * bootstrap-modal.js v2.3.2
801
805
  * http://twitter.github.com/bootstrap/javascript.html#modals
802
806
  * =========================================================
803
807
  * Copyright 2012 Twitter, Inc.
@@ -946,7 +950,7 @@
946
950
  }
947
951
 
948
952
  , removeBackdrop: function () {
949
- this.$backdrop.remove()
953
+ this.$backdrop && this.$backdrop.remove()
950
954
  this.$backdrop = null
951
955
  }
952
956
 
@@ -1044,7 +1048,7 @@
1044
1048
 
1045
1049
  }(window.jQuery);
1046
1050
  /* ===========================================================
1047
- * bootstrap-tooltip.js v2.3.0
1051
+ * bootstrap-tooltip.js v2.3.2
1048
1052
  * http://twitter.github.com/bootstrap/javascript.html#tooltips
1049
1053
  * Inspired by the original jQuery.tipsy by Jason Frame
1050
1054
  * ===========================================================
@@ -1125,15 +1129,15 @@
1125
1129
  }
1126
1130
 
1127
1131
  , enter: function (e) {
1128
- // Added by Contour
1129
- // https://github.com/twitter/bootstrap/issues/6232#issuecomment-13458685
1130
- if (this.options.trigger == 'hover' && 'ontouchstart' in document.documentElement) {
1131
- // Block tooltip event on touch devices since it swallows click events
1132
- return;
1133
- }
1134
- // End of Added by Contour
1132
+ var defaults = $.fn[this.type].defaults
1133
+ , options = {}
1134
+ , self
1135
1135
 
1136
- var self = $(e.currentTarget)[this.type](this._options).data(this.type)
1136
+ this._options && $.each(this._options, function (key, value) {
1137
+ if (defaults[key] != value) options[key] = value
1138
+ }, this)
1139
+
1140
+ self = $(e.currentTarget)[this.type](options).data(this.type)
1137
1141
 
1138
1142
  if (!self.options.delay || !self.options.delay.show) return self.show()
1139
1143
 
@@ -1405,7 +1409,7 @@
1405
1409
 
1406
1410
  }(window.jQuery);
1407
1411
  /* ===========================================================
1408
- * bootstrap-popover.js v2.3.0
1412
+ * bootstrap-popover.js v2.3.2
1409
1413
  * http://twitter.github.com/bootstrap/javascript.html#popovers
1410
1414
  * ===========================================================
1411
1415
  * Copyright 2012 Twitter, Inc.
@@ -1519,7 +1523,7 @@
1519
1523
 
1520
1524
  }(window.jQuery);
1521
1525
  /* =============================================================
1522
- * bootstrap-scrollspy.js v2.3.0
1526
+ * bootstrap-scrollspy.js v2.3.2
1523
1527
  * http://twitter.github.com/bootstrap/javascript.html#scrollspy
1524
1528
  * =============================================================
1525
1529
  * Copyright 2012 Twitter, Inc.
@@ -1680,7 +1684,7 @@
1680
1684
  })
1681
1685
 
1682
1686
  }(window.jQuery);/* ========================================================
1683
- * bootstrap-tab.js v2.3.0
1687
+ * bootstrap-tab.js v2.3.2
1684
1688
  * http://twitter.github.com/bootstrap/javascript.html#tabs
1685
1689
  * ========================================================
1686
1690
  * Copyright 2012 Twitter, Inc.
@@ -1823,7 +1827,7 @@
1823
1827
  })
1824
1828
 
1825
1829
  }(window.jQuery);/* =============================================================
1826
- * bootstrap-typeahead.js v2.3.0
1830
+ * bootstrap-typeahead.js v2.3.2
1827
1831
  * http://twitter.github.com/bootstrap/javascript.html#typeahead
1828
1832
  * =============================================================
1829
1833
  * Copyright 2012 Twitter, Inc.
@@ -2158,7 +2162,7 @@
2158
2162
 
2159
2163
  }(window.jQuery);
2160
2164
  /* ==========================================================
2161
- * bootstrap-affix.js v2.3.0
2165
+ * bootstrap-affix.js v2.3.2
2162
2166
  * http://twitter.github.com/bootstrap/javascript.html#affix
2163
2167
  * ==========================================================
2164
2168
  * Copyright 2012 Twitter, Inc.
@@ -2273,4 +2277,4 @@
2273
2277
  })
2274
2278
 
2275
2279
 
2276
- }(window.jQuery);
2280
+ }(window.jQuery);
@@ -4,7 +4,7 @@
4
4
  /* Line 2276 */
5
5
  [class^="icon-"],
6
6
  [class*=" icon-"] {
7
- background-image: url(twitter-bootstrap/v2.3.0/glyphicons-halflings.png);
7
+ background-image: url(twitter-bootstrap/v2.3.2/glyphicons-halflings.png);
8
8
  }
9
9
 
10
10
  /* Line 2292 */
@@ -21,15 +21,15 @@
21
21
  .dropdown-menu > .active > a > [class*=" icon-"],
22
22
  .dropdown-submenu:hover > a > [class^="icon-"],
23
23
  .dropdown-submenu:hover > a > [class*=" icon-"] {
24
- background-image: url(twitter-bootstrap/v2.3.0/glyphicons-halflings-white.png);
24
+ background-image: url(twitter-bootstrap/v2.3.2/glyphicons-halflings-white.png);
25
25
  }
26
26
 
27
- /* Line 4412 */
27
+ /* Line 4414 */
28
28
  .navbar .brand {
29
29
  color: #ffffff;
30
30
  }
31
31
 
32
- /* Line 4848 */
32
+ /* Line 4853 */
33
33
  .navbar-inverse .nav li.dropdown.open > .dropdown-toggle,
34
34
  .navbar-inverse .nav li.dropdown.active > .dropdown-toggle,
35
35
  .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle {
@@ -3,10 +3,10 @@
3
3
  * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
4
  * the top of the compiled file, but it's generally better to create a new file per style scope.
5
5
  *= require_self
6
- *= require twitter-bootstrap/v2.3.0/bootstrap
6
+ *= require twitter-bootstrap/v2.3.2/bootstrap
7
7
  *= require bootstrap-base-overrides
8
8
  *= require twitter-bootstrap/bootstrap-scroll-modal
9
- *= require twitter-bootstrap/v2.3.0/bootstrap-responsive
9
+ *= require twitter-bootstrap/v2.3.2/bootstrap-responsive
10
10
  *= require bootstrap-responsive-overrides
11
11
  *= require jquery-ui-1.10.0.custom
12
12
  *= require datepicker
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Responsive v2.3.0
2
+ * Bootstrap Responsive v2.3.2
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap v2.3.0
2
+ * Bootstrap v2.3.2
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
@@ -3009,6 +3009,15 @@ table th[class*="span"],
3009
3009
  display: block;
3010
3010
  }
3011
3011
 
3012
+ .dropdown-backdrop {
3013
+ position: fixed;
3014
+ top: 0;
3015
+ right: 0;
3016
+ bottom: 0;
3017
+ left: 0;
3018
+ z-index: 990;
3019
+ }
3020
+
3012
3021
  .pull-right > .dropdown-menu {
3013
3022
  right: 0;
3014
3023
  left: auto;
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.add_dependency 'rails', '~> 4.0.0'
28
28
  s.add_dependency 'jquery-rails', '>= 2.2.2'
29
29
  s.add_dependency 'coffee-rails', '~> 4.0.0'
30
- s.add_dependency 'devise', '~> 3.0.0.rc'
30
+ s.add_dependency 'devise', '~> 3.0.0'
31
31
  s.add_dependency 'omniauth', '~> 1.1.3'
32
32
  s.add_dependency 'omniauth-cas', '~> 1.0.1'
33
33
  s.add_dependency 'omniauth-facebook', '~> 1.4.1'
@@ -3,7 +3,7 @@ module Contour
3
3
  MAJOR = 2
4
4
  MINOR = 0
5
5
  TINY = 0
6
- BUILD = "beta.9" # nil, "pre", "rc", "rc2"
6
+ BUILD = "rc" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
Binary file
@@ -78579,6 +78579,796 @@ UserTest: test_should_apply_omniauth
78579
78579
   (0.1ms) begin transaction
78580
78580
  --------------------------------------
78581
78581
  UserTest: test_should_get_reverse_name
78582
+ --------------------------------------
78583
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78584
+  (0.1ms) rollback transaction
78585
+  (0.4ms) begin transaction
78586
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
78587
+ Fixture Insert (0.3ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 949717663, 201799169)
78588
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 876923740, 201799169)
78589
+ 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-17 12:31:09', '2013-07-17 12:31:09', 864673665, 201799169)
78590
+ Fixture Delete (0.2ms) DELETE FROM "users"
78591
+ 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-17 12:31:09', '2013-07-17 12:31:09', 201799169)
78592
+ 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-17 12:31:09', '2013-07-17 12:31:09', 999914115)
78593
+ 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-17 12:31:09', '2013-07-17 12:31:09', 725306934)
78594
+ 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-17 12:31:09', '2013-07-17 12:31:09', 349534908)
78595
+  (1.4ms) commit transaction
78596
+  (0.1ms) begin transaction
78597
+ -------------------------------------------------
78598
+ AuthenticationTest: test_should_get_provider_name
78599
+ -------------------------------------------------
78600
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
78601
+  (0.1ms) rollback transaction
78602
+  (0.1ms) begin transaction
78603
+ --------------------------------------------------------------------------------
78604
+ AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
78605
+ --------------------------------------------------------------------------------
78606
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
78607
+  (0.1ms) rollback transaction
78608
+  (0.0ms) begin transaction
78609
+ -------------------------------------------------------------------------
78610
+ Contour::AuthenticationsControllerTest: test_should_create_authentication
78611
+ -------------------------------------------------------------------------
78612
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78613
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
78614
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
78615
+ Processing by Contour::AuthenticationsController#create as HTML
78616
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-17 12:31:09 UTC", "updated_at"=>"2013-07-17 12:31:09 UTC"}}
78617
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
78618
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
78619
+ Logged in user found, creating associated authentication.
78620
+  (0.1ms) SAVEPOINT active_record_1
78621
+ SQL (0.6ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:31:09 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 17 Jul 2013 12:31:09 UTC +00:00], ["user_id", 201799169]]
78622
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78623
+ Redirected to http://test.host/authentications
78624
+ Completed 302 Found in 134ms (ActiveRecord: 1.3ms)
78625
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
78626
+  (0.7ms) rollback transaction
78627
+  (0.1ms) begin transaction
78628
+ --------------------------------------------------------------------------
78629
+ Contour::AuthenticationsControllerTest: test_should_destroy_authentication
78630
+ --------------------------------------------------------------------------
78631
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78632
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
78633
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
78634
+ Processing by Contour::AuthenticationsController#destroy as HTML
78635
+ Parameters: {"id"=>"949717663"}
78636
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
78637
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
78638
+  (0.0ms) SAVEPOINT active_record_1
78639
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
78640
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78641
+ Redirected to http://test.host/authentications
78642
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
78643
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
78644
+  (0.6ms) rollback transaction
78645
+  (0.1ms) begin transaction
78646
+ -------------------------------------------------------------
78647
+ Contour::AuthenticationsControllerTest: test_should_get_index
78648
+ -------------------------------------------------------------
78649
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78650
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
78651
+ Processing by Contour::AuthenticationsController#index as HTML
78652
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
78653
+ Authentication Exists (0.2ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]]
78654
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
78655
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (10.5ms)
78656
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.3ms)
78657
+ Completed 200 OK in 202ms (Views: 199.1ms | ActiveRecord: 0.4ms)
78658
+  (0.1ms) rollback transaction
78659
+  (0.1ms) begin transaction
78660
+ -----------------------------------------------------------------------------
78661
+ Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
78662
+ -----------------------------------------------------------------------------
78663
+ Processing by Contour::PasswordsController#create as HTML
78664
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
78665
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
78666
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'sJKG47j5nNsjLNxKU6qS' LIMIT 1
78667
+  (0.1ms) SAVEPOINT active_record_1
78668
+ SQL (0.6ms) UPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["reset_password_token", "sJKG47j5nNsjLNxKU6qS"], ["reset_password_sent_at", Wed, 17 Jul 2013 12:31:09 UTC +00:00], ["updated_at", Wed, 17 Jul 2013 12:31:09 UTC +00:00]]
78669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78670
+
78671
+ Sent mail to valid@example.com (33.0ms)
78672
+ Date: Wed, 17 Jul 2013 08:31:10 -0400
78673
+ From: please-change-me-at-config-initializers-devise@example.com
78674
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
78675
+ To: valid@example.com
78676
+ Message-ID: <51e68e8e1efc7_1223c3ff7410606d025b2@edge2.partners.org.mail>
78677
+ Subject: Reset password instructions
78678
+ Mime-Version: 1.0
78679
+ Content-Type: text/html;
78680
+ charset=UTF-8
78681
+ Content-Transfer-Encoding: 7bit
78682
+
78683
+ <p>Hello valid@example.com!</p>
78684
+
78685
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
78686
+
78687
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=sJKG47j5nNsjLNxKU6qS">Change my password</a></p>
78688
+
78689
+ <p>If you didn't request this, please ignore this email.</p>
78690
+ <p>Your password won't change until you access the link above and create a new one.</p>
78691
+
78692
+ Redirected to http://test.host/users/login
78693
+ Completed 302 Found in 189ms (ActiveRecord: 1.2ms)
78694
+  (0.5ms) rollback transaction
78695
+  (0.1ms) begin transaction
78696
+ -----------------------------------------------------------------------------
78697
+ Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
78698
+ -----------------------------------------------------------------------------
78699
+ Processing by Contour::PasswordsController#new as HTML
78700
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.8ms)
78701
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (9.1ms)
78702
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (12.2ms)
78703
+ Completed 200 OK in 33ms (Views: 32.0ms | ActiveRecord: 0.0ms)
78704
+  (0.1ms) rollback transaction
78705
+  (0.1ms) begin transaction
78706
+ -------------------------------------------------------------------------------
78707
+ Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
78708
+ -------------------------------------------------------------------------------
78709
+  (0.3ms) SELECT COUNT(*) FROM "users"
78710
+ Processing by Contour::RegistrationsController#create as HTML
78711
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
78712
+ Unpermitted parameters: spam
78713
+  (0.1ms) SAVEPOINT active_record_1
78714
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1
78715
+ Binary data inserted for `string` type on column `encrypted_password`
78716
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$voClO1Rs/Ap6F4xiH0AY9OHHmyiVfeGLrNP3/223vVZKzpmqsGJUe"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]]
78717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78718
+ Redirected to http://test.host/users/login
78719
+ Completed 302 Found in 38ms (ActiveRecord: 1.0ms)
78720
+  (0.2ms) SELECT COUNT(*) FROM "users"
78721
+  (0.6ms) rollback transaction
78722
+  (0.1ms) begin transaction
78723
+ --------------------------------------------------------------------------------------------
78724
+ Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
78725
+ --------------------------------------------------------------------------------------------
78726
+  (0.3ms) SELECT COUNT(*) FROM "users"
78727
+ Processing by Contour::RegistrationsController#create as HTML
78728
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
78729
+ Unpermitted parameters: status
78730
+  (0.1ms) SAVEPOINT active_record_1
78731
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1
78732
+ Binary data inserted for `string` type on column `encrypted_password`
78733
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$BmPYjhAbZhyBhHF4c4DEJ.Mfu9YZdB5hyzKJ.q/ziYoNqP2rVbFra"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]]
78734
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78735
+ Redirected to http://test.host/users/login
78736
+ Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
78737
+  (0.1ms) SELECT COUNT(*) FROM "users"
78738
+  (0.6ms) rollback transaction
78739
+  (0.1ms) begin transaction
78740
+ ---------------------------------------------------------------------------------------------
78741
+ Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
78742
+ ---------------------------------------------------------------------------------------------
78743
+  (0.1ms) SELECT COUNT(*) FROM "users"
78744
+ Processing by Contour::RegistrationsController#create as HTML
78745
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
78746
+ 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"}
78747
+ Unpermitted parameters: spam
78748
+ Redirected to http://test.host/users/login
78749
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
78750
+  (0.2ms) SELECT COUNT(*) FROM "users"
78751
+  (0.2ms) rollback transaction
78752
+  (0.1ms) begin transaction
78753
+ ----------------------------------------------------------------------
78754
+ Contour::SessionsControllerTest: test_return_user_json_object_on_login
78755
+ ----------------------------------------------------------------------
78756
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78757
+ Processing by Contour::SessionsController#create as JSON
78758
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
78759
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
78760
+  (0.1ms) SAVEPOINT active_record_1
78761
+ 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", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]]
78762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78763
+ Completed 200 OK in 82ms (Views: 0.3ms | ActiveRecord: 0.7ms)
78764
+  (0.6ms) rollback transaction
78765
+  (0.1ms) begin transaction
78766
+ ----------------------------------------------------------------------------------------------------------
78767
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
78768
+ ----------------------------------------------------------------------------------------------------------
78769
+ Processing by Contour::SessionsController#create as HTML
78770
+ Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
78771
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
78772
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'
78773
+ Redirected to http://test.host/auth/google_apps
78774
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
78775
+  (0.1ms) rollback transaction
78776
+  (0.0ms) begin transaction
78777
+ ----------------------------------------------------------------------------------------------
78778
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
78779
+ ----------------------------------------------------------------------------------------------
78780
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78781
+ Processing by Contour::SessionsController#create as HTML
78782
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
78783
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
78784
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
78785
+ Redirected to http://test.host/auth/ldap
78786
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
78787
+  (0.1ms) rollback transaction
78788
+  (0.0ms) begin transaction
78789
+ --------------------------------------------------------------------------
78790
+ Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
78791
+ --------------------------------------------------------------------------
78792
+ Processing by Contour::SessionsController#create as HTML
78793
+ Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
78794
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1
78795
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
78796
+ Completed 401 Unauthorized in 3ms
78797
+ Processing by Contour::SessionsController#new as HTML
78798
+ Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
78799
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
78800
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.8ms)
78801
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.5ms)
78802
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.5ms)
78803
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
78804
+ Completed 200 OK in 31ms (Views: 29.2ms | ActiveRecord: 0.0ms)
78805
+  (0.1ms) rollback transaction
78806
+  (0.1ms) begin transaction
78807
+ -----------------------------------------------------
78808
+ ContourHelperTest: test_should_show_sort_field_helper
78809
+ -----------------------------------------------------
78810
+  (0.1ms) rollback transaction
78811
+  (0.1ms) begin transaction
78812
+ ---------------------------------------------------------------------
78813
+ ContourHelperTest: test_should_show_sort_field_helper_with_same_order
78814
+ ---------------------------------------------------------------------
78815
+  (0.1ms) rollback transaction
78816
+  (0.1ms) begin transaction
78817
+ -----------------------
78818
+ ContourTest: test_truth
78819
+ -----------------------
78820
+  (0.1ms) rollback transaction
78821
+  (0.1ms) begin transaction
78822
+ --------------------------------------------------------------------
78823
+ NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
78824
+ --------------------------------------------------------------------
78825
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78826
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78827
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78828
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78829
+ Processing by WelcomeController#logged_in_page as HTML
78830
+ Completed 401 Unauthorized in 33ms
78831
+  (0.1ms) SAVEPOINT active_record_1
78832
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
78833
+ Binary data inserted for `string` type on column `encrypted_password`
78834
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$cjoyDhICSHo77qSJL6d6Te6AMI8p0W3cNKoY0HMxbU8W/PIRz1Y2G"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]]
78835
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78836
+  (0.0ms) SAVEPOINT active_record_1
78837
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78838
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78840
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
78841
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
78842
+ Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78843
+ Processing by Contour::SessionsController#create as HTML
78844
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
78845
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
78846
+  (0.1ms) SAVEPOINT active_record_1
78847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78848
+ Completed 401 Unauthorized in 48ms
78849
+ Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78850
+ Processing by Contour::SessionsController#new as HTML
78851
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
78852
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms)
78853
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
78854
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.6ms)
78855
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.7ms)
78856
+ Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.0ms)
78857
+  (0.8ms) rollback transaction
78858
+  (0.1ms) begin transaction
78859
+ --------------------------------------------------------
78860
+ NavigationTest: test_friendly_url_forwarding_after_login
78861
+ --------------------------------------------------------
78862
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78863
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78864
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78865
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78866
+ Processing by WelcomeController#logged_in_page as HTML
78867
+ Completed 401 Unauthorized in 1ms
78868
+  (0.1ms) SAVEPOINT active_record_1
78869
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
78870
+ Binary data inserted for `string` type on column `encrypted_password`
78871
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$FcxH5lRYenXHzQE6E1W9bupDOh63/hmD9r1DxHdQWtNDotsHbIonu"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]]
78872
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78873
+  (0.0ms) SAVEPOINT active_record_1
78874
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78875
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78876
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78877
+ SQL (0.4ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
78878
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
78879
+ Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78880
+ Processing by Contour::SessionsController#create as HTML
78881
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
78882
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
78883
+  (0.1ms) SAVEPOINT active_record_1
78884
+ 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", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:31:10 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", Wed, 17 Jul 2013 12:31:10 UTC +00:00]]
78885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78886
+ Redirected to http://www.example.com/logged_in_page
78887
+ Completed 302 Found in 11ms (ActiveRecord: 0.6ms)
78888
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78889
+ Processing by WelcomeController#logged_in_page as HTML
78890
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
78891
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
78892
+  (0.9ms) rollback transaction
78893
+  (0.1ms) begin transaction
78894
+ --------------------------------------------------------------------
78895
+ NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
78896
+ --------------------------------------------------------------------
78897
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78898
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78899
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78900
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78901
+ Processing by WelcomeController#logged_in_page as HTML
78902
+ Completed 401 Unauthorized in 1ms
78903
+  (0.1ms) SAVEPOINT active_record_1
78904
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
78905
+ Binary data inserted for `string` type on column `encrypted_password`
78906
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$GhK6ZknTKFOUri6wl2qJTOl8x73bmcMLJGgCfhsiqw9UZJY0LJRDO"], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]]
78907
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78908
+  (0.0ms) SAVEPOINT active_record_1
78909
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78910
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
78911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78912
+ SQL (0.3ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
78913
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
78914
+ Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78915
+ Processing by Contour::SessionsController#create as HTML
78916
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
78917
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
78918
+  (0.1ms) SAVEPOINT active_record_1
78919
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78920
+ Completed 401 Unauthorized in 5ms
78921
+ Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78922
+ Processing by Contour::SessionsController#new as HTML
78923
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.5ms)
78924
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms)
78925
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.0ms)
78926
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
78927
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
78928
+ Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms)
78929
+  (0.7ms) rollback transaction
78930
+  (0.1ms) begin transaction
78931
+ -------------------------------------------------------------
78932
+ NavigationTest: test_root_navigation_redirected_to_login_page
78933
+ -------------------------------------------------------------
78934
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78935
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78936
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78937
+ Started GET "/" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78938
+ Processing by WelcomeController#index as HTML
78939
+ Completed 401 Unauthorized in 1ms
78940
+  (0.1ms) rollback transaction
78941
+  (0.1ms) begin transaction
78942
+ -------------------------------------------------------------------------
78943
+ NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
78944
+ -------------------------------------------------------------------------
78945
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78946
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78947
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78948
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78949
+ Processing by WelcomeController#logged_in_page as JSON
78950
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
78951
+  (0.1ms) SAVEPOINT active_record_1
78952
+ SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:31:10 UTC +00:00]]
78953
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78954
+ Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.8ms)
78955
+  (0.5ms) rollback transaction
78956
+  (0.1ms) begin transaction
78957
+ ------------------------------------------------------------------------------------------------
78958
+ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
78959
+ ------------------------------------------------------------------------------------------------
78960
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78961
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
78962
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
78963
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:31:10 -0400
78964
+ Processing by WelcomeController#logged_in_page as JSON
78965
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
78966
+ Completed 401 Unauthorized in 81ms
78967
+  (0.1ms) rollback transaction
78968
+  (0.1ms) begin transaction
78969
+ ------------------------------------
78970
+ UserTest: test_should_apply_omniauth
78971
+ ------------------------------------
78972
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78973
+  (0.1ms) rollback transaction
78974
+  (0.1ms) begin transaction
78975
+ --------------------------------------
78976
+ UserTest: test_should_get_reverse_name
78977
+ --------------------------------------
78978
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78979
+  (0.1ms) rollback transaction
78980
+  (0.4ms) begin transaction
78981
+ Fixture Delete (0.3ms) DELETE FROM "authentications"
78982
+ 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-17 12:39:33', '2013-07-17 12:39:33', 949717663, 201799169)
78983
+ Fixture Insert (0.1ms) INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 876923740, 201799169)
78984
+ 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-17 12:39:33', '2013-07-17 12:39:33', 864673665, 201799169)
78985
+ Fixture Delete (0.1ms) DELETE FROM "users"
78986
+ 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-17 12:39:33', '2013-07-17 12:39:33', 201799169)
78987
+ 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-17 12:39:33', '2013-07-17 12:39:33', 999914115)
78988
+ 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-17 12:39:33', '2013-07-17 12:39:33', 725306934)
78989
+ 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-17 12:39:33', '2013-07-17 12:39:33', 349534908)
78990
+  (41.4ms) commit transaction
78991
+  (0.1ms) begin transaction
78992
+ -------------------------------------------------
78993
+ AuthenticationTest: test_should_get_provider_name
78994
+ -------------------------------------------------
78995
+ Authentication Load (0.3ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 876923740]]
78996
+  (0.1ms) rollback transaction
78997
+  (0.1ms) begin transaction
78998
+ --------------------------------------------------------------------------------
78999
+ AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
79000
+ --------------------------------------------------------------------------------
79001
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
79002
+  (0.1ms) rollback transaction
79003
+  (0.1ms) begin transaction
79004
+ -------------------------------------------------------------------------
79005
+ Contour::AuthenticationsControllerTest: test_should_create_authentication
79006
+ -------------------------------------------------------------------------
79007
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79008
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
79009
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
79010
+ Processing by Contour::AuthenticationsController#create as HTML
79011
+ Parameters: {"authentication"=>{"id"=>"949717663", "user_id"=>"201799169", "provider"=>"open_id", "uid"=>"open_id@open_id.com", "created_at"=>"2013-07-17 12:39:33 UTC", "updated_at"=>"2013-07-17 12:39:33 UTC"}}
79012
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
79013
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
79014
+ Logged in user found, creating associated authentication.
79015
+  (0.1ms) SAVEPOINT active_record_1
79016
+ SQL (0.5ms) INSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["provider", "google_apps"], ["uid", "test@example.com"], ["updated_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["user_id", 201799169]]
79017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79018
+ Redirected to http://test.host/authentications
79019
+ Completed 302 Found in 21ms (ActiveRecord: 0.9ms)
79020
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
79021
+  (0.8ms) rollback transaction
79022
+  (0.1ms) begin transaction
79023
+ --------------------------------------------------------------------------
79024
+ Contour::AuthenticationsControllerTest: test_should_destroy_authentication
79025
+ --------------------------------------------------------------------------
79026
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79027
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
79028
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
79029
+ Processing by Contour::AuthenticationsController#destroy as HTML
79030
+ Parameters: {"id"=>"949717663"}
79031
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
79032
+ Authentication Load (0.2ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
79033
+  (0.1ms) SAVEPOINT active_record_1
79034
+ SQL (0.3ms) DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
79035
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79036
+ Redirected to http://test.host/authentications
79037
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
79038
+  (0.1ms) SELECT COUNT(*) FROM "authentications"
79039
+  (0.8ms) rollback transaction
79040
+  (0.1ms) begin transaction
79041
+ -------------------------------------------------------------
79042
+ Contour::AuthenticationsControllerTest: test_should_get_index
79043
+ -------------------------------------------------------------
79044
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79045
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
79046
+ Processing by Contour::AuthenticationsController#index as HTML
79047
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1
79048
+ Authentication Exists (0.2ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]]
79049
+ Authentication Load (0.1ms) SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
79050
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_index.html.erb (11.1ms)
79051
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
79052
+ Completed 200 OK in 187ms (Views: 185.1ms | ActiveRecord: 0.4ms)
79053
+  (0.2ms) rollback transaction
79054
+  (0.1ms) begin transaction
79055
+ -----------------------------------------------------------------------------
79056
+ Contour::PasswordsControllerTest: test_should_be_able_to_request_new_password
79057
+ -----------------------------------------------------------------------------
79058
+ Processing by Contour::PasswordsController#create as HTML
79059
+ Parameters: {"user"=>{"email"=>"valid@example.com"}}
79060
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
79061
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '9U9XDNUuBZ8sxdy5x6HS' LIMIT 1
79062
+  (0.0ms) SAVEPOINT active_record_1
79063
+ SQL (0.5ms) UPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["reset_password_token", "9U9XDNUuBZ8sxdy5x6HS"], ["reset_password_sent_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["updated_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00]]
79064
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79065
+
79066
+ Sent mail to valid@example.com (14.5ms)
79067
+ Date: Wed, 17 Jul 2013 08:39:33 -0400
79068
+ From: please-change-me-at-config-initializers-devise@example.com
79069
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
79070
+ To: valid@example.com
79071
+ Message-ID: <51e69085a3ddf_1245e3fdfe84606d8316d8@edge2.partners.org.mail>
79072
+ Subject: Reset password instructions
79073
+ Mime-Version: 1.0
79074
+ Content-Type: text/html;
79075
+ charset=UTF-8
79076
+ Content-Transfer-Encoding: 7bit
79077
+
79078
+ <p>Hello valid@example.com!</p>
79079
+
79080
+ <p>Someone has requested a link to change your password. You can do this through the link below.</p>
79081
+
79082
+ <p><a href="http://localhost:3000/users/password/edit?reset_password_token=9U9XDNUuBZ8sxdy5x6HS">Change my password</a></p>
79083
+
79084
+ <p>If you didn't request this, please ignore this email.</p>
79085
+ <p>Your password won't change until you access the link above and create a new one.</p>
79086
+
79087
+ Redirected to http://test.host/users/login
79088
+ Completed 302 Found in 67ms (ActiveRecord: 0.9ms)
79089
+  (0.7ms) rollback transaction
79090
+  (0.1ms) begin transaction
79091
+ -----------------------------------------------------------------------------
79092
+ Contour::PasswordsControllerTest: test_should_be_able_to_view_forget_password
79093
+ -----------------------------------------------------------------------------
79094
+ Processing by Contour::PasswordsController#new as HTML
79095
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (1.4ms)
79096
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (8.5ms)
79097
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (11.4ms)
79098
+ Completed 200 OK in 28ms (Views: 26.9ms | ActiveRecord: 0.0ms)
79099
+  (0.1ms) rollback transaction
79100
+  (0.1ms) begin transaction
79101
+ -------------------------------------------------------------------------------
79102
+ Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
79103
+ -------------------------------------------------------------------------------
79104
+  (0.2ms) SELECT COUNT(*) FROM "users"
79105
+ Processing by Contour::RegistrationsController#create as HTML
79106
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>""}}
79107
+ Unpermitted parameters: spam
79108
+  (0.1ms) SAVEPOINT active_record_1
79109
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1
79110
+ Binary data inserted for `string` type on column `encrypted_password`
79111
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["email", "new_user@example.com"], ["encrypted_password", "$2a$04$kwjBl5Jk3zAtiUlSrBdQKeWyqJa2vidYEzQ2dIuHxydcDEDAFgW9q"], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00]]
79112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79113
+ Redirected to http://test.host/users/login
79114
+ Completed 302 Found in 15ms (ActiveRecord: 0.8ms)
79115
+  (0.2ms) SELECT COUNT(*) FROM "users"
79116
+  (0.8ms) rollback transaction
79117
+  (0.1ms) begin transaction
79118
+ --------------------------------------------------------------------------------------------
79119
+ Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
79120
+ --------------------------------------------------------------------------------------------
79121
+  (0.1ms) SELECT COUNT(*) FROM "users"
79122
+ Processing by Contour::RegistrationsController#create as HTML
79123
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "status"=>"active", "email"=>"new_registration@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
79124
+ Unpermitted parameters: status
79125
+  (0.1ms) SAVEPOINT active_record_1
79126
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1
79127
+ Binary data inserted for `string` type on column `encrypted_password`
79128
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["email", "new_registration@example.com"], ["encrypted_password", "$2a$04$mSbWwokFPEKJuL6UCa0u4.wWrYP3PRqwcCoiboorFXk9DROdQ58w."], ["first_name", "First Name"], ["last_name", "Last Name"], ["updated_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00]]
79129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79130
+ Redirected to http://test.host/users/login
79131
+ Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
79132
+  (0.1ms) SELECT COUNT(*) FROM "users"
79133
+  (0.7ms) rollback transaction
79134
+  (0.1ms) begin transaction
79135
+ ---------------------------------------------------------------------------------------------
79136
+ Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
79137
+ ---------------------------------------------------------------------------------------------
79138
+  (0.1ms) SELECT COUNT(*) FROM "users"
79139
+ Processing by Contour::RegistrationsController#create as HTML
79140
+ Parameters: {"user"=>{"first_name"=>"First Name", "last_name"=>"Last Name", "email"=>"new_user@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "spam"=>"http://buystuffhere.com"}}
79141
+ 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"}
79142
+ Unpermitted parameters: spam
79143
+ Redirected to http://test.host/users/login
79144
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
79145
+  (0.1ms) SELECT COUNT(*) FROM "users"
79146
+  (0.1ms) rollback transaction
79147
+  (0.1ms) begin transaction
79148
+ ----------------------------------------------------------------------
79149
+ Contour::SessionsControllerTest: test_return_user_json_object_on_login
79150
+ ----------------------------------------------------------------------
79151
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79152
+ Processing by Contour::SessionsController#create as JSON
79153
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
79154
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
79155
+  (0.1ms) SAVEPOINT active_record_1
79156
+ SQL (0.5ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:39:33 UTC +00:00]]
79157
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79158
+ Completed 200 OK in 83ms (Views: 0.3ms | ActiveRecord: 0.9ms)
79159
+  (0.8ms) rollback transaction
79160
+  (0.1ms) begin transaction
79161
+ ----------------------------------------------------------------------------------------------------------
79162
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_google_apps_through_secondary_email
79163
+ ----------------------------------------------------------------------------------------------------------
79164
+ Processing by Contour::SessionsController#create as HTML
79165
+ Parameters: {"user"=>{"email"=>"test@gmail.com", "password"=>"[FILTERED]"}}
79166
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
79167
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'
79168
+ Redirected to http://test.host/auth/google_apps
79169
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
79170
+  (0.1ms) rollback transaction
79171
+  (0.1ms) begin transaction
79172
+ ----------------------------------------------------------------------------------------------
79173
+ Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
79174
+ ----------------------------------------------------------------------------------------------
79175
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79176
+ Processing by Contour::SessionsController#create as HTML
79177
+ Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
79178
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
79179
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."user_id" = ? [["user_id", 201799169]]
79180
+ Redirected to http://test.host/auth/ldap
79181
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
79182
+  (0.1ms) rollback transaction
79183
+  (0.1ms) begin transaction
79184
+ --------------------------------------------------------------------------
79185
+ Contour::SessionsControllerTest: test_should_not_login_invalid_credentials
79186
+ --------------------------------------------------------------------------
79187
+ Processing by Contour::SessionsController#create as HTML
79188
+ Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
79189
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1
79190
+  (0.1ms) SELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = ''
79191
+ Completed 401 Unauthorized in 3ms
79192
+ Processing by Contour::SessionsController#new as HTML
79193
+ Parameters: {"user"=>{"email"=>"", "password"=>"[FILTERED]"}}
79194
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
79195
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.9ms)
79196
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (1.0ms)
79197
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.4ms)
79198
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.0ms)
79199
+ Completed 200 OK in 24ms (Views: 22.2ms | ActiveRecord: 0.0ms)
79200
+  (0.1ms) rollback transaction
79201
+  (0.1ms) begin transaction
79202
+ -----------------------------------------------------
79203
+ ContourHelperTest: test_should_show_sort_field_helper
79204
+ -----------------------------------------------------
79205
+  (0.1ms) rollback transaction
79206
+  (0.0ms) begin transaction
79207
+ ---------------------------------------------------------------------
79208
+ ContourHelperTest: test_should_show_sort_field_helper_with_same_order
79209
+ ---------------------------------------------------------------------
79210
+  (0.1ms) rollback transaction
79211
+  (0.1ms) begin transaction
79212
+ -----------------------
79213
+ ContourTest: test_truth
79214
+ -----------------------
79215
+  (0.1ms) rollback transaction
79216
+  (0.0ms) begin transaction
79217
+ --------------------------------------------------------------------
79218
+ NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
79219
+ --------------------------------------------------------------------
79220
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79221
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
79222
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
79223
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79224
+ Processing by WelcomeController#logged_in_page as HTML
79225
+ Completed 401 Unauthorized in 18ms
79226
+  (0.1ms) SAVEPOINT active_record_1
79227
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
79228
+ Binary data inserted for `string` type on column `encrypted_password`
79229
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["email", "deleted-2@example.com"], ["encrypted_password", "$2a$04$cPmzghLwBtkN.W3FwVgg7uDuQ0v20htgDlEXmVG3Xu4aRUJG4aewC"], ["first_name", "Deleted"], ["last_name", "User"], ["updated_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00]]
79230
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79231
+  (0.0ms) SAVEPOINT active_record_1
79232
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
79233
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
79234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79235
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
79236
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116
79237
+ Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79238
+ Processing by Contour::SessionsController#create as HTML
79239
+ Parameters: {"user"=>{"email"=>"deleted-2@example.com", "password"=>"[FILTERED]"}}
79240
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
79241
+  (0.1ms) SAVEPOINT active_record_1
79242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79243
+ Completed 401 Unauthorized in 7ms
79244
+ Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79245
+ Processing by Contour::SessionsController#new as HTML
79246
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.4ms)
79247
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.2ms)
79248
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
79249
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
79250
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (2.9ms)
79251
+ Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.0ms)
79252
+  (0.9ms) rollback transaction
79253
+  (0.1ms) begin transaction
79254
+ --------------------------------------------------------
79255
+ NavigationTest: test_friendly_url_forwarding_after_login
79256
+ --------------------------------------------------------
79257
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79258
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
79259
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
79260
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79261
+ Processing by WelcomeController#logged_in_page as HTML
79262
+ Completed 401 Unauthorized in 1ms
79263
+  (0.1ms) SAVEPOINT active_record_1
79264
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
79265
+ Binary data inserted for `string` type on column `encrypted_password`
79266
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["email", "valid-2@example.com"], ["encrypted_password", "$2a$04$TseIVp7wm3BeBfy0OYCGFuRShkN24ZaYfWgfoRzATnv6RNY3KfCEy"], ["first_name", "FirstName"], ["last_name", "LastName"], ["updated_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00]]
79267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79268
+  (0.0ms) SAVEPOINT active_record_1
79269
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
79270
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
79271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79272
+ SQL (0.3ms) UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
79273
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
79274
+ Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79275
+ Processing by Contour::SessionsController#create as HTML
79276
+ Parameters: {"user"=>{"email"=>"valid-2@example.com", "password"=>"[FILTERED]"}}
79277
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
79278
+  (0.1ms) SAVEPOINT active_record_1
79279
+ 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", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00]]
79280
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79281
+ Redirected to http://www.example.com/logged_in_page
79282
+ Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
79283
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79284
+ Processing by WelcomeController#logged_in_page as HTML
79285
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 999914116 ORDER BY "users"."id" ASC LIMIT 1
79286
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
79287
+  (0.8ms) rollback transaction
79288
+  (0.1ms) begin transaction
79289
+ --------------------------------------------------------------------
79290
+ NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
79291
+ --------------------------------------------------------------------
79292
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79293
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
79294
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
79295
+ Started GET "/logged_in_page" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79296
+ Processing by WelcomeController#logged_in_page as HTML
79297
+ Completed 401 Unauthorized in 1ms
79298
+  (0.1ms) SAVEPOINT active_record_1
79299
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
79300
+ Binary data inserted for `string` type on column `encrypted_password`
79301
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "email", "encrypted_password", "first_name", "last_name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["email", "pending-2@example.com"], ["encrypted_password", "$2a$04$HjM5dG1g9KYuCiL3/jNWq.JTorIIBBL3OgWbJ6vrjXMsUDb3lQnC."], ["first_name", "MyString"], ["last_name", "MyString"], ["updated_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00]]
79302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
79303
+  (0.0ms) SAVEPOINT active_record_1
79304
+ Authentication Exists (0.1ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
79305
+ Authentication Exists (0.0ms) SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
79306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79307
+ SQL (0.3ms) UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
79308
+ SQL (0.1ms) UPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116
79309
+ Started POST "/users/login" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79310
+ Processing by Contour::SessionsController#create as HTML
79311
+ Parameters: {"user"=>{"email"=>"pending-2@example.com", "password"=>"[FILTERED]"}}
79312
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
79313
+  (0.1ms) SAVEPOINT active_record_1
79314
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79315
+ Completed 401 Unauthorized in 5ms
79316
+ Started GET "/users/login" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79317
+ Processing by Contour::SessionsController#new as HTML
79318
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/_links.html.erb (0.8ms)
79319
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_login_table.html.erb (1.4ms)
79320
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_latest_news.html.erb (0.1ms)
79321
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/authentications/_menu.html.erb (1.3ms)
79322
+ Rendered /Users/remo/code/ruby/gems/contour/app/views/contour/layouts/_menu.html.erb (3.1ms)
79323
+ Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 0.0ms)
79324
+  (0.6ms) rollback transaction
79325
+  (0.1ms) begin transaction
79326
+ -------------------------------------------------------------
79327
+ NavigationTest: test_root_navigation_redirected_to_login_page
79328
+ -------------------------------------------------------------
79329
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79330
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
79331
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
79332
+ Started GET "/" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79333
+ Processing by WelcomeController#index as HTML
79334
+ Completed 401 Unauthorized in 1ms
79335
+  (0.1ms) rollback transaction
79336
+  (0.1ms) begin transaction
79337
+ -------------------------------------------------------------------------
79338
+ NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
79339
+ -------------------------------------------------------------------------
79340
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79341
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
79342
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
79343
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79344
+ Processing by WelcomeController#logged_in_page as JSON
79345
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
79346
+  (0.1ms) SAVEPOINT active_record_1
79347
+ 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", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["current_sign_in_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", Wed, 17 Jul 2013 12:39:34 UTC +00:00]]
79348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79349
+ Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.7ms)
79350
+  (0.5ms) rollback transaction
79351
+  (0.1ms) begin transaction
79352
+ ------------------------------------------------------------------------------------------------
79353
+ NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
79354
+ ------------------------------------------------------------------------------------------------
79355
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79356
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
79357
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 725306934]]
79358
+ Started GET "/logged_in_page.json" for 127.0.0.1 at 2013-07-17 08:39:34 -0400
79359
+ Processing by WelcomeController#logged_in_page as JSON
79360
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
79361
+ Completed 401 Unauthorized in 79ms
79362
+  (0.1ms) rollback transaction
79363
+  (0.1ms) begin transaction
79364
+ ------------------------------------
79365
+ UserTest: test_should_apply_omniauth
79366
+ ------------------------------------
79367
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
79368
+  (0.1ms) rollback transaction
79369
+  (0.0ms) begin transaction
79370
+ --------------------------------------
79371
+ UserTest: test_should_get_reverse_name
78582
79372
  --------------------------------------
78583
79373
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
78584
79374
   (0.1ms) rollback transaction