contour 2.0.0.beta.9 → 2.0.0.rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/app/assets/images/twitter-bootstrap/{v2.3.0 → v2.3.2}/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/twitter-bootstrap/{v2.3.0 → v2.3.2}/glyphicons-halflings.png +0 -0
- data/app/assets/javascripts/contour.js +1 -1
- data/app/assets/javascripts/twitter-bootstrap/{v2.3.0 → v2.3.2}/bootstrap.js +29 -25
- data/app/assets/stylesheets/bootstrap-base-overrides.css +4 -4
- data/app/assets/stylesheets/contour.css +2 -2
- data/app/assets/stylesheets/twitter-bootstrap/{v2.3.0 → v2.3.2}/bootstrap-responsive.css +1 -1
- data/app/assets/stylesheets/twitter-bootstrap/{v2.3.0 → v2.3.2}/bootstrap.css +10 -1
- data/contour.gemspec +1 -1
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +790 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/015542ca3fee2683eedd21c586e8f4d7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0b793dc498fe65856d1b31a805f114dc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1bd3f905d35cb03d2c94ec89e0f14792 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/284aca0678ccf24803f5feb7236e4c8a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/346128943c5e30fdb088f54a58af54cc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/408c90980fca5a250881bafa3ef0ca63 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/57199a94a0d7d2804ecb7299ea783759 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/5bc2e1947318770b4a07d9bcac5faff6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6666059cb20313a69e518d351e00eb1f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/995fdf281fb38f250be81a2c769a9a79 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a7b222735fc6d94f5713fa8e4c00feec +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b1af56ecfd1879ac79e3a22e042caf15 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b6899690f985b099f7e80d4a0939a9e0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f1555999bb69d971b3a4a7128e83efea +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +25 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef9bfdaa529bc50b18aa87298eef822e9b956e06
|
|
4
|
+
data.tar.gz: fcb87b5a589d1122fd7f333a12e1b2b012ff795c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c72ed281ddc9990c5d759d56e86c5583ec20916f6b73fca363752e197ff76f78358e3118280d08f3404794b9688d3302cebe9951f036ce5c5a3fc2c5a98e8e0
|
|
7
|
+
data.tar.gz: 6c0d6be80768ada4822f97fa7a5edcaba6b11951306cd9da0c21ed5a5d77ef855adcb17488f5783796ec2cd9ed876999b1305df4e7077a95ebc43e79c5592184
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
24
|
+
background-image: url(twitter-bootstrap/v2.3.2/glyphicons-halflings-white.png);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
/* Line
|
|
27
|
+
/* Line 4414 */
|
|
28
28
|
.navbar .brand {
|
|
29
29
|
color: #ffffff;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
/* Line
|
|
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.
|
|
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.
|
|
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 v2.3.
|
|
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;
|
data/contour.gemspec
CHANGED
|
@@ -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
|
|
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'
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
data/test/dummy/log/test.log
CHANGED
|
@@ -78579,6 +78579,796 @@ UserTest: test_should_apply_omniauth
|
|
|
78579
78579
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
78580
78580
|
--------------------------------------
|
|
78581
78581
|
UserTest: test_should_get_reverse_name
|
|
78582
|
+
--------------------------------------
|
|
78583
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
78584
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78585
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
78586
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
|
78587
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 949717663, 201799169)[0m
|
|
78588
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 876923740, 201799169)
|
|
78589
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 864673665, 201799169)[0m
|
|
78590
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users"
|
|
78591
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 201799169)[0m
|
|
78592
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 999914115)
|
|
78593
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 725306934)[0m
|
|
78594
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-17 12:31:09', '2013-07-17 12:31:09', 349534908)
|
|
78595
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
|
78596
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78597
|
+
-------------------------------------------------
|
|
78598
|
+
AuthenticationTest: test_should_get_provider_name
|
|
78599
|
+
-------------------------------------------------
|
|
78600
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
78601
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
78602
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
78603
|
+
--------------------------------------------------------------------------------
|
|
78604
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
|
78605
|
+
--------------------------------------------------------------------------------
|
|
78606
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
78607
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78608
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
78609
|
+
-------------------------------------------------------------------------
|
|
78610
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
|
78611
|
+
-------------------------------------------------------------------------
|
|
78612
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78613
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
78614
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
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
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
78618
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
78619
|
+
Logged in user found, creating associated authentication.
|
|
78620
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78621
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
78623
|
+
Redirected to http://test.host/authentications
|
|
78624
|
+
Completed 302 Found in 134ms (ActiveRecord: 1.3ms)
|
|
78625
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
78626
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
|
78627
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
78628
|
+
--------------------------------------------------------------------------
|
|
78629
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
|
78630
|
+
--------------------------------------------------------------------------
|
|
78631
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
78632
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
78633
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
78634
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
78635
|
+
Parameters: {"id"=>"949717663"}
|
|
78636
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
78637
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
|
78638
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
78639
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
78640
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78641
|
+
Redirected to http://test.host/authentications
|
|
78642
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
|
78643
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
78644
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
78645
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78646
|
+
-------------------------------------------------------------
|
|
78647
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
|
78648
|
+
-------------------------------------------------------------
|
|
78649
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78650
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
78651
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
78652
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
78653
|
+
[1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]]
|
|
78654
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
78659
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
78666
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'sJKG47j5nNsjLNxKU6qS' LIMIT 1[0m
|
|
78667
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78668
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
78695
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78705
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78706
|
+
-------------------------------------------------------------------------------
|
|
78707
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
|
78708
|
+
-------------------------------------------------------------------------------
|
|
78709
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78714
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
|
78715
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
78716
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78718
|
+
Redirected to http://test.host/users/login
|
|
78719
|
+
Completed 302 Found in 38ms (ActiveRecord: 1.0ms)
|
|
78720
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users"
|
|
78721
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
78722
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78723
|
+
--------------------------------------------------------------------------------------------
|
|
78724
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
|
78725
|
+
--------------------------------------------------------------------------------------------
|
|
78726
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78731
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
|
78732
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
78733
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78735
|
+
Redirected to http://test.host/users/login
|
|
78736
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.8ms)
|
|
78737
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
78738
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
78739
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78740
|
+
---------------------------------------------------------------------------------------------
|
|
78741
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
|
78742
|
+
---------------------------------------------------------------------------------------------
|
|
78743
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
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
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users"
|
|
78751
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
78752
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78753
|
+
----------------------------------------------------------------------
|
|
78754
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
|
78755
|
+
----------------------------------------------------------------------
|
|
78756
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78757
|
+
Processing by Contour::SessionsController#create as JSON
|
|
78758
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
78759
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
78760
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
78761
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78763
|
+
Completed 200 OK in 82ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
|
78764
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
|
78765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
|
78772
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
|
78773
|
+
Redirected to http://test.host/auth/google_apps
|
|
78774
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
|
78775
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
78776
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
78777
|
+
----------------------------------------------------------------------------------------------
|
|
78778
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
|
78779
|
+
----------------------------------------------------------------------------------------------
|
|
78780
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
78784
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78788
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
|
78795
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78806
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78807
|
+
-----------------------------------------------------
|
|
78808
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
|
78809
|
+
-----------------------------------------------------
|
|
78810
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78811
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78812
|
+
---------------------------------------------------------------------
|
|
78813
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
|
78814
|
+
---------------------------------------------------------------------
|
|
78815
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78816
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78817
|
+
-----------------------
|
|
78818
|
+
ContourTest: test_truth
|
|
78819
|
+
-----------------------
|
|
78820
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78821
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78822
|
+
--------------------------------------------------------------------
|
|
78823
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
|
78824
|
+
--------------------------------------------------------------------
|
|
78825
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78826
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
78827
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78832
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
78833
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
78834
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
78837
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
78838
|
+
[1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
78839
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78840
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
78841
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
|
78846
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
78847
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
78858
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78859
|
+
--------------------------------------------------------
|
|
78860
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
|
78861
|
+
--------------------------------------------------------
|
|
78862
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78863
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
78864
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78869
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
78870
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
78871
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78873
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
78874
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
78875
|
+
[1m[35mAuthentication Exists (0.1ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
78876
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78877
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
78878
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
78883
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
78884
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 999914116 [["last_sign_in_at", 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
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
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
78893
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78894
|
+
--------------------------------------------------------------------
|
|
78895
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
|
78896
|
+
--------------------------------------------------------------------
|
|
78897
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78898
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
78899
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78904
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
|
78905
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
78906
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78908
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
78909
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
78910
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
78911
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
78912
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
|
78913
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
78918
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
78919
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
78930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78931
|
+
-------------------------------------------------------------
|
|
78932
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
|
78933
|
+
-------------------------------------------------------------
|
|
78934
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78935
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
78936
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
78941
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
78942
|
+
-------------------------------------------------------------------------
|
|
78943
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
|
78944
|
+
-------------------------------------------------------------------------
|
|
78945
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
78946
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
78947
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
78951
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
78952
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", 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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
78954
|
+
Completed 200 OK in 84ms (Views: 0.2ms | ActiveRecord: 0.8ms)
|
|
78955
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
78956
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78957
|
+
------------------------------------------------------------------------------------------------
|
|
78958
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
|
78959
|
+
------------------------------------------------------------------------------------------------
|
|
78960
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78961
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
78962
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
78966
|
+
Completed 401 Unauthorized in 81ms
|
|
78967
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78968
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78969
|
+
------------------------------------
|
|
78970
|
+
UserTest: test_should_apply_omniauth
|
|
78971
|
+
------------------------------------
|
|
78972
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
78973
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
78974
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
78975
|
+
--------------------------------------
|
|
78976
|
+
UserTest: test_should_get_reverse_name
|
|
78977
|
+
--------------------------------------
|
|
78978
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
78979
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
78980
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
78981
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "authentications"
|
|
78982
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('open_id', 'open_id@open_id.com', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 949717663, 201799169)[0m
|
|
78983
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('google_apps', 'test@gmail.com', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 876923740, 201799169)
|
|
78984
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "authentications" ("provider", "uid", "created_at", "updated_at", "id", "user_id") VALUES ('ldap', 'CN=ldapid,CN=Users,DC=example,DC=com', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 864673665, 201799169)[0m
|
|
78985
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
|
78986
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('FirstName', 'LastName', 'active', 'f', 'valid@example.com', '$2a$10$ZgXIxDCn.TjuCgsnS9iEp.Z1LlmQ71FGKgZe/kdCaVvgvnAAcUaz2', 'ResetTokenOne', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 201799169)[0m
|
|
78987
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'inactive', 'f', 'EmailTwo', 'MyString', 'ResetTokenTwo', 'MyDate', 'MyDate', 0, 'MyDate', 'MyDate', 'MyString', 'MyString', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 999914115)
|
|
78988
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('Deleted', 'User', 'active', 't', 'deleted@example.com', 'MyString', 'ResetTokenFive', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 725306934)[0m
|
|
78989
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("first_name", "last_name", "status", "deleted", "email", "encrypted_password", "reset_password_token", "reset_password_sent_at", "remember_created_at", "sign_in_count", "current_sign_in_at", "last_sign_in_at", "current_sign_in_ip", "last_sign_in_ip", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'pending', 'f', 'pending@example.com', 'MyString', 'ResetTokenFour', 'MyDate', '2011-02-23', 0, '2011-02-23', '2011-02-23', 'MyString', 'MyString', '2013-07-17 12:39:33', '2013-07-17 12:39:33', 349534908)
|
|
78990
|
+
[1m[36m (41.4ms)[0m [1mcommit transaction[0m
|
|
78991
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
78992
|
+
-------------------------------------------------
|
|
78993
|
+
AuthenticationTest: test_should_get_provider_name
|
|
78994
|
+
-------------------------------------------------
|
|
78995
|
+
[1m[36mAuthentication Load (0.3ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 876923740]]
|
|
78996
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
78997
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
78998
|
+
--------------------------------------------------------------------------------
|
|
78999
|
+
AuthenticationTest: test_should_get_provider_name_and_handle_OpenID_special_case
|
|
79000
|
+
--------------------------------------------------------------------------------
|
|
79001
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
79002
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79003
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79004
|
+
-------------------------------------------------------------------------
|
|
79005
|
+
Contour::AuthenticationsControllerTest: test_should_create_authentication
|
|
79006
|
+
-------------------------------------------------------------------------
|
|
79007
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79008
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
79009
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
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
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."provider" = 'google_apps' AND "authentications"."uid" = 'test@example.com' LIMIT 1
|
|
79013
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
79014
|
+
Logged in user found, creating associated authentication.
|
|
79015
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79016
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "authentications" ("created_at", "provider", "uid", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
79018
|
+
Redirected to http://test.host/authentications
|
|
79019
|
+
Completed 302 Found in 21ms (ActiveRecord: 0.9ms)
|
|
79020
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "authentications"[0m
|
|
79021
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
79022
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
79023
|
+
--------------------------------------------------------------------------
|
|
79024
|
+
Contour::AuthenticationsControllerTest: test_should_destroy_authentication
|
|
79025
|
+
--------------------------------------------------------------------------
|
|
79026
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
79027
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1[0m [["id", 949717663]]
|
|
79028
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
79029
|
+
Processing by Contour::AuthenticationsController#destroy as HTML
|
|
79030
|
+
Parameters: {"id"=>"949717663"}
|
|
79031
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
79032
|
+
[1m[35mAuthentication Load (0.2ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ? AND "authentications"."id" = ? LIMIT 1 [["user_id", 201799169], ["id", "949717663"]]
|
|
79033
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
79034
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "authentications" WHERE "authentications"."id" = ? [["id", 949717663]]
|
|
79035
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79036
|
+
Redirected to http://test.host/authentications
|
|
79037
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
|
79038
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "authentications"
|
|
79039
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
79040
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79041
|
+
-------------------------------------------------------------
|
|
79042
|
+
Contour::AuthenticationsControllerTest: test_should_get_index
|
|
79043
|
+
-------------------------------------------------------------
|
|
79044
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79045
|
+
[1m[35mAuthentication Load (0.1ms)[0m SELECT "authentications".* FROM "authentications" WHERE "authentications"."id" = ? LIMIT 1 [["id", 949717663]]
|
|
79046
|
+
Processing by Contour::AuthenticationsController#index as HTML
|
|
79047
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 201799169 ORDER BY "users"."id" ASC LIMIT 1[0m
|
|
79048
|
+
[1m[35mAuthentication Exists (0.2ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 201799169]]
|
|
79049
|
+
[1m[36mAuthentication Load (0.1ms)[0m [1mSELECT "authentications".* FROM "authentications" WHERE "authentications"."user_id" = ?[0m [["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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
79054
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
79061
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '9U9XDNUuBZ8sxdy5x6HS' LIMIT 1[0m
|
|
79062
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
79063
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "reset_password_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["reset_password_token", "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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
79090
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79100
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79101
|
+
-------------------------------------------------------------------------------
|
|
79102
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_be_able_to_sign_up
|
|
79103
|
+
-------------------------------------------------------------------------------
|
|
79104
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79109
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_user@example.com' LIMIT 1[0m
|
|
79110
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
79111
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79113
|
+
Redirected to http://test.host/users/login
|
|
79114
|
+
Completed 302 Found in 15ms (ActiveRecord: 0.8ms)
|
|
79115
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users"
|
|
79116
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
79117
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79118
|
+
--------------------------------------------------------------------------------------------
|
|
79119
|
+
Contour::RegistrationsControllerTest: test_a_new_user_should_not_be_able_to_set_their_status
|
|
79120
|
+
--------------------------------------------------------------------------------------------
|
|
79121
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79126
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'new_registration@example.com' LIMIT 1[0m
|
|
79127
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
79128
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79130
|
+
Redirected to http://test.host/users/login
|
|
79131
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
|
79132
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
79133
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
|
79134
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79135
|
+
---------------------------------------------------------------------------------------------
|
|
79136
|
+
Contour::RegistrationsControllerTest: test_a_submitter_spam_bot_should_not_be_able_to_sign_up
|
|
79137
|
+
---------------------------------------------------------------------------------------------
|
|
79138
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users"[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
|
79146
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79147
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79148
|
+
----------------------------------------------------------------------
|
|
79149
|
+
Contour::SessionsControllerTest: test_return_user_json_object_on_login
|
|
79150
|
+
----------------------------------------------------------------------
|
|
79151
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79152
|
+
Processing by Contour::SessionsController#create as JSON
|
|
79153
|
+
Parameters: {"user"=>{"email"=>"valid@example.com", "password"=>"[FILTERED]"}}
|
|
79154
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
79155
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
79156
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169 [["last_sign_in_at", 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79158
|
+
Completed 200 OK in 83ms (Views: 0.3ms | ActiveRecord: 0.9ms)
|
|
79159
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
|
79160
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@gmail.com' LIMIT 1
|
|
79167
|
+
[1m[36m (0.1ms)[0m [1mSELECT "authentications"."provider" FROM "authentications" WHERE "authentications"."uid" = 'test@gmail.com'[0m
|
|
79168
|
+
Redirected to http://test.host/auth/google_apps
|
|
79169
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
|
79170
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
79171
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
79172
|
+
----------------------------------------------------------------------------------------------
|
|
79173
|
+
Contour::SessionsControllerTest: test_should_do_a_graceful_redirect_to_ldap_with_primary_email
|
|
79174
|
+
----------------------------------------------------------------------------------------------
|
|
79175
|
+
[1m[35mUser Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
79179
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79183
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = '' LIMIT 1[0m
|
|
79190
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79201
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79202
|
+
-----------------------------------------------------
|
|
79203
|
+
ContourHelperTest: test_should_show_sort_field_helper
|
|
79204
|
+
-----------------------------------------------------
|
|
79205
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79206
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
79207
|
+
---------------------------------------------------------------------
|
|
79208
|
+
ContourHelperTest: test_should_show_sort_field_helper_with_same_order
|
|
79209
|
+
---------------------------------------------------------------------
|
|
79210
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79211
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79212
|
+
-----------------------
|
|
79213
|
+
ContourTest: test_truth
|
|
79214
|
+
-----------------------
|
|
79215
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79216
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
79217
|
+
--------------------------------------------------------------------
|
|
79218
|
+
NavigationTest: test_deleted_users_should_be_not_be_allowed_to_login
|
|
79219
|
+
--------------------------------------------------------------------
|
|
79220
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79221
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
79222
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79227
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1[0m
|
|
79228
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
79229
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79231
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
79232
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
79233
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
79234
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79235
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
79236
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 't' WHERE "users"."id" = 999914116[0m
|
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'deleted-2@example.com' LIMIT 1
|
|
79241
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
79242
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
79253
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79254
|
+
--------------------------------------------------------
|
|
79255
|
+
NavigationTest: test_friendly_url_forwarding_after_login
|
|
79256
|
+
--------------------------------------------------------
|
|
79257
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79258
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
79259
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79264
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1[0m
|
|
79265
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
79266
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79268
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
79269
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
79270
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
79271
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79272
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'active' WHERE "users"."id" = 999914116
|
|
79273
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid-2@example.com' LIMIT 1
|
|
79278
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
79279
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 999914116 [["last_sign_in_at", 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
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
|
+
[1m[35mUser Load (0.2ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
79288
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79289
|
+
--------------------------------------------------------------------
|
|
79290
|
+
NavigationTest: test_pending_users_should_be_not_be_allowed_to_login
|
|
79291
|
+
--------------------------------------------------------------------
|
|
79292
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79293
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
79294
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79299
|
+
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1[0m
|
|
79300
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
|
79301
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79303
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
79304
|
+
[1m[36mAuthentication Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1[0m [["user_id", 999914116]]
|
|
79305
|
+
[1m[35mAuthentication Exists (0.0ms)[0m SELECT 1 AS one FROM "authentications" WHERE "authentications"."user_id" = ? LIMIT 1 [["user_id", 999914116]]
|
|
79306
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
79307
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "status" = 'pending' WHERE "users"."id" = 999914116
|
|
79308
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "deleted" = 'f' WHERE "users"."id" = 999914116[0m
|
|
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
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'pending-2@example.com' LIMIT 1
|
|
79313
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
79314
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
79325
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79326
|
+
-------------------------------------------------------------
|
|
79327
|
+
NavigationTest: test_root_navigation_redirected_to_login_page
|
|
79328
|
+
-------------------------------------------------------------
|
|
79329
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79330
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
79331
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
79336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
79337
|
+
-------------------------------------------------------------------------
|
|
79338
|
+
NavigationTest: test_valid_users_should_be_able_to_login_using_basic_http
|
|
79339
|
+
-------------------------------------------------------------------------
|
|
79340
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
79341
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 349534908]]
|
|
79342
|
+
[1m[35mUser Load (0.0ms)[0m 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
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1[0m
|
|
79346
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
79347
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 201799169[0m [["last_sign_in_at", 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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
79349
|
+
Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
|
79350
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
79351
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79352
|
+
------------------------------------------------------------------------------------------------
|
|
79353
|
+
NavigationTest: test_valid_users_should_not_be_able_to_login_using_basic_http_and_wrong_password
|
|
79354
|
+
------------------------------------------------------------------------------------------------
|
|
79355
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79356
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 349534908]]
|
|
79357
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'valid@example.com' LIMIT 1
|
|
79361
|
+
Completed 401 Unauthorized in 79ms
|
|
79362
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
79363
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
79364
|
+
------------------------------------
|
|
79365
|
+
UserTest: test_should_apply_omniauth
|
|
79366
|
+
------------------------------------
|
|
79367
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 201799169]]
|
|
79368
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
79369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
79370
|
+
--------------------------------------
|
|
79371
|
+
UserTest: test_should_get_reverse_name
|
|
78582
79372
|
--------------------------------------
|
|
78583
79373
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 201799169]]
|
|
78584
79374
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|