authpro 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,207 +1,135 @@
1
- ----------------------------------------------------------------
2
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
3
- ----------------------------------------------------------------
4
- -----------------------
5
- AuthproTest: test_truth
6
- -----------------------
7
- ----------------------------------------------------------------
8
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
9
- ----------------------------------------------------------------
10
- -----------------------
11
- AuthproTest: test_truth
12
- -----------------------
13
- ----------------------------------------------------------------
14
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
15
- ----------------------------------------------------------------
16
- ----------------------------------------------------------------
17
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
18
- ----------------------------------------------------------------
19
- ----------------------------------------------------------------
20
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
21
- ----------------------------------------------------------------
22
- ----------------------------------------------------------------
23
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
24
- ----------------------------------------------------------------
25
- ----------------------------------------------------------------
26
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
27
- ----------------------------------------------------------------
28
- ----------------------------------------------------------------
29
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
30
- ----------------------------------------------------------------
31
-  (0.2ms) begin transaction
32
-  (0.0ms) rollback transaction
33
- ----------------------------------------------------------------
34
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
35
- ----------------------------------------------------------------
36
-  (0.2ms) begin transaction
37
-  (0.1ms) rollback transaction
38
- ----------------------------------------------------------------
39
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
40
- ----------------------------------------------------------------
41
-  (0.2ms) begin transaction
42
-  (0.1ms) rollback transaction
43
- ----------------------------------------------------------------
44
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
45
- ----------------------------------------------------------------
46
-  (0.2ms) begin transaction
47
-  (0.1ms) rollback transaction
48
- ----------------------------------------------------------------
49
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
50
- ----------------------------------------------------------------
51
-  (0.2ms) begin transaction
52
-  (0.1ms) rollback transaction
53
- ----------------------------------------------------------------
54
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
55
- ----------------------------------------------------------------
56
-  (0.2ms) begin transaction
57
-  (0.1ms) rollback transaction
58
- ----------------------------------------------------------------
59
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
60
- ----------------------------------------------------------------
61
-  (0.2ms) begin transaction
62
-  (0.0ms) rollback transaction
63
- ----------------------------------------------------------------
64
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
65
- ----------------------------------------------------------------
66
-  (0.2ms) begin transaction
67
-  (0.1ms) rollback transaction
68
- ----------------------------------------------------------------
69
- AuthproGeneratorTest: test_Assert_all_files_are_properly_created
70
- ----------------------------------------------------------------
71
-  (0.3ms) begin transaction
72
-  (0.1ms) rollback transaction
73
1
   (0.2ms) begin transaction
74
2
  ------------------------------------------
75
3
  AuthproGeneratorTest: test_generated_files
76
4
  ------------------------------------------
77
-  (0.2ms) rollback transaction
5
+  (0.1ms) rollback transaction
78
6
  ----------------------------------
79
7
  AuthproIntegrationTest: test_login
80
8
  ----------------------------------
81
9
   (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
82
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
83
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
84
- Migrating to CreateUsers (20131111172934)
85
-  (0.1ms) begin transaction
86
-  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "password_digest" varchar(255), "auth_token" varchar(255), "password_reset_token" varchar(255), "password_reset_sent_at" datetime, "created_at" datetime, "updated_at" datetime) 
87
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131111172934"]]
88
-  (0.7ms) commit transaction
10
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
+ Migrating to CreateUsers (20140423203148)
89
13
   (0.1ms) begin transaction
90
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '_JyTcLfjYdLeZSHyVV2mPQ@sample.com' LIMIT 1
91
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'vvSM1cD70zJBZ67nW8W4nw' LIMIT 1
14
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "password_digest" varchar(255), "auth_token" varchar(255), "password_reset_token" varchar(255), "password_reset_sent_at" datetime, "created_at" datetime, "updated_at" datetime) 
15
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140423203148"]]
16
+  (0.8ms) commit transaction
17
+  (0.3ms) begin transaction
18
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'vSIDz2edGIi_6erWCG9Ixw@sample.com' LIMIT 1
19
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'JTOPXMzb0vQQbdYgBrHGkg' LIMIT 1
92
20
  Binary data inserted for `string` type on column `password_digest`
93
- SQL (2.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "vvSM1cD70zJBZ67nW8W4nw"], ["created_at", Mon, 11 Nov 2013 17:29:34 UTC +00:00], ["email", "_JyTcLfjYdLeZSHyVV2mPQ@sample.com"], ["password_digest", "$2a$04$9B3F5ns4w3ZOvkgOkb8yUeXjxoxSz4q9nYeig187qGIvsz0z7mO4C"], ["updated_at", Mon, 11 Nov 2013 17:29:34 UTC +00:00]]
94
-  (0.8ms) commit transaction
95
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
21
+ SQL (2.7ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "JTOPXMzb0vQQbdYgBrHGkg"], ["created_at", Wed, 23 Apr 2014 20:31:48 UTC +00:00], ["email", "vSIDz2edGIi_6erWCG9Ixw@sample.com"], ["password_digest", "$2a$04$0h7lImGNuhN.h.b0XjWvwOp.YEKYQUik5KgSaAg/k1DFByh1.jA8a"], ["updated_at", Wed, 23 Apr 2014 20:31:48 UTC +00:00]]
22
+  (1.1ms) commit transaction
23
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
96
24
  Processing by HomeController#index as HTML
97
- Rendered home/index.html.erb within layouts/application (1.5ms)
98
- Completed 200 OK in 39ms (Views: 38.2ms | ActiveRecord: 0.0ms)
99
- Started GET "/login" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
25
+ Rendered home/index.html.erb within layouts/application (1.0ms)
26
+ Completed 200 OK in 26ms (Views: 25.9ms | ActiveRecord: 0.0ms)
27
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
100
28
  Processing by SessionsController#new as HTML
101
- Rendered sessions/new.html.erb within layouts/application (2.1ms)
102
- Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)
103
- Started POST "/sessions" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
29
+ Rendered sessions/new.html.erb within layouts/application (1.1ms)
30
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
31
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
104
32
  Processing by SessionsController#create as HTML
105
- Parameters: {"utf8"=>"✓", "email"=>"_JyTcLfjYdLeZSHyVV2mPQ@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
106
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = '_JyTcLfjYdLeZSHyVV2mPQ@sample.com' LIMIT 1
33
+ Parameters: {"utf8"=>"✓", "email"=>"vSIDz2edGIi_6erWCG9Ixw@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
34
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'vSIDz2edGIi_6erWCG9Ixw@sample.com' LIMIT 1
107
35
  Redirected to http://www.example.com/
108
- Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
109
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
36
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
37
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
110
38
  Processing by HomeController#index as HTML
111
39
  Rendered home/index.html.erb within layouts/application (0.1ms)
112
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'vvSM1cD70zJBZ67nW8W4nw' LIMIT 1
113
- Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)
114
-  (0.9ms) DELETE FROM "users";
115
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
116
-  (9.7ms) DELETE FROM sqlite_sequence where name = 'users';
40
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'JTOPXMzb0vQQbdYgBrHGkg' LIMIT 1
41
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)
42
+  (0.8ms) DELETE FROM "users";
43
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
44
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
117
45
  ------------------------------------------
118
46
  AuthproIntegrationTest: test_login_failing
119
47
  ------------------------------------------
120
48
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
121
49
   (0.1ms) begin transaction
122
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'vQLa7xngK5yFAaKMSsDpFA@sample.com' LIMIT 1
123
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'Vor-gs4ED38S7JGCGz04UA' LIMIT 1
50
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'gZss5woFry0ZuIhRLl46SA@sample.com' LIMIT 1
51
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'WCJUVoRJSHng2Rnpjtz5UA' LIMIT 1
124
52
  Binary data inserted for `string` type on column `password_digest`
125
- SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "Vor-gs4ED38S7JGCGz04UA"], ["created_at", Mon, 11 Nov 2013 17:29:34 UTC +00:00], ["email", "vQLa7xngK5yFAaKMSsDpFA@sample.com"], ["password_digest", "$2a$04$U4G8xWHpfFq2XgZ0vBgFdOSRjq8T2ZqRwRwsNr9c2qqmt/RgucbVS"], ["updated_at", Mon, 11 Nov 2013 17:29:34 UTC +00:00]]
126
-  (0.6ms) commit transaction
127
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
53
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "WCJUVoRJSHng2Rnpjtz5UA"], ["created_at", Wed, 23 Apr 2014 20:31:48 UTC +00:00], ["email", "gZss5woFry0ZuIhRLl46SA@sample.com"], ["password_digest", "$2a$04$WwwDzCUJysSfjUOCVhClGOckH2BMPn3DaV0HWnxc599NsposuPKKK"], ["updated_at", Wed, 23 Apr 2014 20:31:48 UTC +00:00]]
54
+  (0.8ms) commit transaction
55
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
128
56
  Processing by HomeController#index as HTML
129
- Completed 200 OK in 38ms (Views: 38.2ms | ActiveRecord: 0.0ms)
130
- Started GET "/login" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
57
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
58
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
131
59
  Processing by SessionsController#new as HTML
132
- Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
133
- Started POST "/sessions" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
60
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
61
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
134
62
  Processing by SessionsController#create as HTML
135
- Parameters: {"utf8"=>"✓", "email"=>"vQLa7xngK5yFAaKMSsDpFA@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
136
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'vQLa7xngK5yFAaKMSsDpFA@sample.com' LIMIT 1
137
- Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)
138
-  (0.7ms) DELETE FROM "users";
139
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
140
-  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
63
+ Parameters: {"utf8"=>"✓", "email"=>"gZss5woFry0ZuIhRLl46SA@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
64
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'gZss5woFry0ZuIhRLl46SA@sample.com' LIMIT 1
65
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)
66
+  (0.9ms) DELETE FROM "users";
67
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
68
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
141
69
  -----------------------------------
142
70
  AuthproIntegrationTest: test_logout
143
71
  -----------------------------------
144
72
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
145
73
   (0.1ms) begin transaction
146
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pRT0ip5dPpWHYFaRL5Qs7A@sample.com' LIMIT 1
147
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '66Ef0a0ArrJ8ZJ3foO5u4A' LIMIT 1
74
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'S2pIwpRkmIE5irako3UrYA@sample.com' LIMIT 1
75
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'EwMwNIu0oonCA8-KghmDwA' LIMIT 1
148
76
  Binary data inserted for `string` type on column `password_digest`
149
- SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "66Ef0a0ArrJ8ZJ3foO5u4A"], ["created_at", Mon, 11 Nov 2013 17:29:34 UTC +00:00], ["email", "pRT0ip5dPpWHYFaRL5Qs7A@sample.com"], ["password_digest", "$2a$04$ehdz5jwyZJZso.TSccknWeCWvXKtRexUfP3JbkqNYX8BkNOB65BfO"], ["updated_at", Mon, 11 Nov 2013 17:29:34 UTC +00:00]]
77
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "EwMwNIu0oonCA8-KghmDwA"], ["created_at", Wed, 23 Apr 2014 20:31:48 UTC +00:00], ["email", "S2pIwpRkmIE5irako3UrYA@sample.com"], ["password_digest", "$2a$04$Unv5zybIczgEPS8HtPdSw.zkq.fc1yA1JmLle88yCCwiEHZAjb5ei"], ["updated_at", Wed, 23 Apr 2014 20:31:48 UTC +00:00]]
150
78
   (0.7ms) commit transaction
151
- Started GET "/login" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
79
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
152
80
  Processing by SessionsController#new as HTML
153
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
154
- Started POST "/sessions" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
81
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
82
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
155
83
  Processing by SessionsController#create as HTML
156
- Parameters: {"utf8"=>"✓", "email"=>"pRT0ip5dPpWHYFaRL5Qs7A@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
157
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pRT0ip5dPpWHYFaRL5Qs7A@sample.com' LIMIT 1
84
+ Parameters: {"utf8"=>"✓", "email"=>"S2pIwpRkmIE5irako3UrYA@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
85
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'S2pIwpRkmIE5irako3UrYA@sample.com' LIMIT 1
158
86
  Redirected to http://www.example.com/
159
- Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
160
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
87
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
88
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
161
89
  Processing by HomeController#index as HTML
162
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = '66Ef0a0ArrJ8ZJ3foO5u4A' LIMIT 1
163
- Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
164
- Started GET "/logout" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
90
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'EwMwNIu0oonCA8-KghmDwA' LIMIT 1
91
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms)
92
+ Started GET "/logout" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
165
93
  Processing by SessionsController#destroy as HTML
166
94
  Redirected to http://www.example.com/
167
95
  Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
168
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
96
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
169
97
  Processing by HomeController#index as HTML
170
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
171
-  (1.1ms) DELETE FROM "users";
98
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
99
+  (0.8ms) DELETE FROM "users";
172
100
   (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
173
-  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
101
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';
174
102
  -------------------------------------------
175
103
  AuthproIntegrationTest: test_reset_password
176
104
  -------------------------------------------
177
105
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
178
106
   (0.1ms) begin transaction
179
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'ZJmh8v5VTZI4ireE-kpf-g@sample.com' LIMIT 1
180
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '4-slhKhSkGFGCpZAtuuRlw' LIMIT 1
107
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'oZo7301roOTH6SqLSiF20Q@sample.com' LIMIT 1
108
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'mENVKXio1Qf64wvFKm2XXw' LIMIT 1
181
109
  Binary data inserted for `string` type on column `password_digest`
182
- SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "4-slhKhSkGFGCpZAtuuRlw"], ["created_at", Mon, 11 Nov 2013 17:29:34 UTC +00:00], ["email", "ZJmh8v5VTZI4ireE-kpf-g@sample.com"], ["password_digest", "$2a$04$ksMwqvlkTo45kUo3m7IZ2.iykeHFbWBCxLgJLe8cJJKMhADZfgkCu"], ["updated_at", Mon, 11 Nov 2013 17:29:34 UTC +00:00]]
110
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "mENVKXio1Qf64wvFKm2XXw"], ["created_at", Wed, 23 Apr 2014 20:31:48 UTC +00:00], ["email", "oZo7301roOTH6SqLSiF20Q@sample.com"], ["password_digest", "$2a$04$jr9FpHp3nz96/Uv3kbFAfujAkZIuMGLboTVlDH7qRdboUBfoG7hKi"], ["updated_at", Wed, 23 Apr 2014 20:31:48 UTC +00:00]]
183
111
   (0.8ms) commit transaction
184
- Started GET "/login" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
112
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
185
113
  Processing by SessionsController#new as HTML
186
- Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
187
- Started GET "/password_resets/new" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
114
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
115
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
188
116
  Processing by PasswordResetsController#new as HTML
189
- Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
190
- Started POST "/password_resets" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
117
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
118
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:31:48 +0200
191
119
  Processing by PasswordResetsController#create as HTML
192
- Parameters: {"utf8"=>"✓", "email"=>"ZJmh8v5VTZI4ireE-kpf-g@sample.com", "commit"=>"Reset password"}
193
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'ZJmh8v5VTZI4ireE-kpf-g@sample.com' LIMIT 1
194
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'xNsqiCpC7M-mh4y-iDHSoA' LIMIT 1
120
+ Parameters: {"utf8"=>"✓", "email"=>"oZo7301roOTH6SqLSiF20Q@sample.com", "commit"=>"Reset password"}
121
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'oZo7301roOTH6SqLSiF20Q@sample.com' LIMIT 1
122
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'U7nsU0mcU1kjxW93-seMVA' LIMIT 1
195
123
   (0.0ms) begin transaction
196
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'ZJmh8v5VTZI4ireE-kpf-g@sample.com' AND "users"."id" != 1) LIMIT 1
197
- SQL (0.4ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "xNsqiCpC7M-mh4y-iDHSoA"], ["password_reset_sent_at", Mon, 11 Nov 2013 17:29:34 UTC +00:00], ["updated_at", Mon, 11 Nov 2013 17:29:34 UTC +00:00]]
198
-  (0.9ms) commit transaction
124
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'oZo7301roOTH6SqLSiF20Q@sample.com' AND "users"."id" != 1) LIMIT 1
125
+ SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "U7nsU0mcU1kjxW93-seMVA"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:31:48 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:31:48 UTC +00:00]]
126
+  (0.8ms) commit transaction
199
127
 
200
- Sent mail to ZJmh8v5VTZI4ireE-kpf-g@sample.com (7.1ms)
201
- Date: Mon, 11 Nov 2013 18:29:34 +0100
128
+ Sent mail to oZo7301roOTH6SqLSiF20Q@sample.com (10.2ms)
129
+ Date: Wed, 23 Apr 2014 22:31:49 +0200
202
130
  From: from@example.com
203
- To: ZJmh8v5VTZI4ireE-kpf-g@sample.com
204
- Message-ID: <528113fee1b80_a79a3fec1485e6d035964@unknown.lan.mail>
131
+ To: oZo7301roOTH6SqLSiF20Q@sample.com
132
+ Message-ID: <535823351c43e_49ee3fe75882dbb899065@air.lan.mail>
205
133
  Subject: Password Reset
206
134
  Mime-Version: 1.0
207
135
  Content-Type: text/plain;
@@ -210,91 +138,91 @@ Content-Transfer-Encoding: 7bit
210
138
 
211
139
  To reset your password, click the URL below.
212
140
 
213
- http://localhost:3000/password_resets/xNsqiCpC7M-mh4y-iDHSoA/edit
141
+ http://localhost:3000/password_resets/U7nsU0mcU1kjxW93-seMVA/edit
214
142
 
215
143
  If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
216
144
  Redirected to http://www.example.com/
217
- Completed 302 Found in 227ms (ActiveRecord: 1.7ms)
218
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
145
+ Completed 302 Found in 201ms (ActiveRecord: 1.5ms)
146
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
219
147
  Processing by HomeController#index as HTML
220
148
  Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
221
- Started GET "/password_resets/xNsqiCpC7M-mh4y-iDHSoA/edit" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
149
+ Started GET "/password_resets/U7nsU0mcU1kjxW93-seMVA/edit" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
222
150
  Processing by PasswordResetsController#edit as HTML
223
- Parameters: {"id"=>"xNsqiCpC7M-mh4y-iDHSoA"}
224
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'xNsqiCpC7M-mh4y-iDHSoA' LIMIT 1
225
- Completed 200 OK in 37ms (Views: 36.2ms | ActiveRecord: 0.2ms)
226
- Started PATCH "/password_resets/xNsqiCpC7M-mh4y-iDHSoA" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
151
+ Parameters: {"id"=>"U7nsU0mcU1kjxW93-seMVA"}
152
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'U7nsU0mcU1kjxW93-seMVA' LIMIT 1
153
+ Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.2ms)
154
+ Started PATCH "/password_resets/U7nsU0mcU1kjxW93-seMVA" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
227
155
  Processing by PasswordResetsController#update as HTML
228
- Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"xNsqiCpC7M-mh4y-iDHSoA"}
229
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'xNsqiCpC7M-mh4y-iDHSoA' LIMIT 1
156
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"U7nsU0mcU1kjxW93-seMVA"}
157
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'U7nsU0mcU1kjxW93-seMVA' LIMIT 1
230
158
   (0.0ms) begin transaction
231
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'ZJmh8v5VTZI4ireE-kpf-g@sample.com' AND "users"."id" != 1) LIMIT 1
159
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'oZo7301roOTH6SqLSiF20Q@sample.com' AND "users"."id" != 1) LIMIT 1
232
160
  Binary data inserted for `string` type on column `password_digest`
233
- SQL (0.3ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$mpcjPnybjGU3wjssIS0o6OsuAxDOlZqKuty2gOlxvE6dpjL/u0H9m"], ["updated_at", Mon, 11 Nov 2013 17:29:34 UTC +00:00]]
234
-  (1.9ms) commit transaction
161
+ SQL (0.5ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$QWcHzQ2oTUr0ONnx.kXZpOU4zTeORnugUuw94PEwNzitkepgoaXjy"], ["updated_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00]]
162
+  (0.9ms) commit transaction
235
163
  Redirected to http://localhost:3000/
236
- Completed 302 Found in 7ms (ActiveRecord: 2.5ms)
237
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:34 +0100
164
+ Completed 302 Found in 7ms (ActiveRecord: 1.8ms)
165
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
238
166
  Processing by HomeController#index as HTML
239
- Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
167
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
240
168
   (0.9ms) DELETE FROM "users";
241
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
169
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
242
170
   (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
243
171
  --------------------------------------------------------------------------------
244
172
  AuthproIntegrationTest: test_reset_password_failing_because_email_does_not_exist
245
173
  --------------------------------------------------------------------------------
246
174
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
247
175
   (0.1ms) begin transaction
248
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'sjnvNxtaf2EbcMPcpYGkUw@sample.com' LIMIT 1
249
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'x1ZH1IrCz2SypeLxAztvBA' LIMIT 1
176
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'rgiDtRncDetrvKmVdfdT9Q@sample.com' LIMIT 1
177
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '3uU_OYgQ3ufX6NUPD-_Dwg' LIMIT 1
250
178
  Binary data inserted for `string` type on column `password_digest`
251
- SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "x1ZH1IrCz2SypeLxAztvBA"], ["created_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00], ["email", "sjnvNxtaf2EbcMPcpYGkUw@sample.com"], ["password_digest", "$2a$04$mlwJUpi1YJzKEYI2HG0Uju2mbsbhBH7kjhv0NJk92qrMdNh1JjwbO"], ["updated_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00]]
179
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "3uU_OYgQ3ufX6NUPD-_Dwg"], ["created_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00], ["email", "rgiDtRncDetrvKmVdfdT9Q@sample.com"], ["password_digest", "$2a$04$ASaZsbMK3yCoBITNxXgVHegoXY3tbPct5NjBDZXVDom8LyNZKCmdu"], ["updated_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00]]
252
180
   (0.8ms) commit transaction
253
- Started GET "/login" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
181
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
254
182
  Processing by SessionsController#new as HTML
255
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
256
- Started GET "/password_resets/new" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
257
- Processing by PasswordResetsController#new as HTML
258
183
  Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
259
- Started POST "/password_resets" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
184
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
185
+ Processing by PasswordResetsController#new as HTML
186
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
187
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
260
188
  Processing by PasswordResetsController#create as HTML
261
189
  Parameters: {"utf8"=>"✓", "email"=>"nosense@example.com", "commit"=>"Reset password"}
262
190
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nosense@example.com' LIMIT 1
263
- Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.2ms)
191
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms)
264
192
   (0.9ms) DELETE FROM "users";
265
193
   (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
266
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
194
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
267
195
  -------------------------------------------------------------------------
268
196
  AuthproIntegrationTest: test_reset_password_failing_because_of_expiration
269
197
  -------------------------------------------------------------------------
270
198
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
271
199
   (0.1ms) begin transaction
272
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'UOr6gi2aemV0IT_qxqGRig@sample.com' LIMIT 1
273
- User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '1nxZ1PCxBGIfN2fojqZ5ZA' LIMIT 1
200
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'Vj3dlIMb1aJI3AZG5y5UWA@sample.com' LIMIT 1
201
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'Zoa9_c8FuctQz1ErbWciVw' LIMIT 1
274
202
  Binary data inserted for `string` type on column `password_digest`
275
- SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "1nxZ1PCxBGIfN2fojqZ5ZA"], ["created_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00], ["email", "UOr6gi2aemV0IT_qxqGRig@sample.com"], ["password_digest", "$2a$04$ydFiXGqVBNdHCn7pyUPYK.cks5vMQ3ZhsTqPtlY1ODNGOuMzXmfr2"], ["updated_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00]]
203
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "Zoa9_c8FuctQz1ErbWciVw"], ["created_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00], ["email", "Vj3dlIMb1aJI3AZG5y5UWA@sample.com"], ["password_digest", "$2a$04$APRyb4TLNjMOx0tlQPJxO.9cKuEZGFGmuRN1NfQ3CZ.FVx8yKKsdi"], ["updated_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00]]
276
204
   (0.8ms) commit transaction
277
- Started GET "/login" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
205
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
278
206
  Processing by SessionsController#new as HTML
279
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
280
- Started GET "/password_resets/new" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
207
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
208
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
281
209
  Processing by PasswordResetsController#new as HTML
282
210
  Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
283
- Started POST "/password_resets" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
211
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
284
212
  Processing by PasswordResetsController#create as HTML
285
- Parameters: {"utf8"=>"✓", "email"=>"UOr6gi2aemV0IT_qxqGRig@sample.com", "commit"=>"Reset password"}
286
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'UOr6gi2aemV0IT_qxqGRig@sample.com' LIMIT 1
287
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'lDQEVH06DTKMMEdyPuWD2A' LIMIT 1
213
+ Parameters: {"utf8"=>"✓", "email"=>"Vj3dlIMb1aJI3AZG5y5UWA@sample.com", "commit"=>"Reset password"}
214
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'Vj3dlIMb1aJI3AZG5y5UWA@sample.com' LIMIT 1
215
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'yXJaGO6lae4P1PbmadSFtg' LIMIT 1
288
216
   (0.0ms) begin transaction
289
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'UOr6gi2aemV0IT_qxqGRig@sample.com' AND "users"."id" != 1) LIMIT 1
290
- SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "lDQEVH06DTKMMEdyPuWD2A"], ["password_reset_sent_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00], ["updated_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00]]
291
-  (0.8ms) commit transaction
217
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'Vj3dlIMb1aJI3AZG5y5UWA@sample.com' AND "users"."id" != 1) LIMIT 1
218
+ SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "yXJaGO6lae4P1PbmadSFtg"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00]]
219
+  (0.9ms) commit transaction
292
220
 
293
- Sent mail to UOr6gi2aemV0IT_qxqGRig@sample.com (7.5ms)
294
- Date: Mon, 11 Nov 2013 18:29:35 +0100
221
+ Sent mail to Vj3dlIMb1aJI3AZG5y5UWA@sample.com (5.4ms)
222
+ Date: Wed, 23 Apr 2014 22:31:49 +0200
295
223
  From: from@example.com
296
- To: UOr6gi2aemV0IT_qxqGRig@sample.com
297
- Message-ID: <528113ff142b6_a79a3fec1485e6d03603b@unknown.lan.mail>
224
+ To: Vj3dlIMb1aJI3AZG5y5UWA@sample.com
225
+ Message-ID: <535823353bab0_49ee3fe75882dbb89919a@air.lan.mail>
298
226
  Subject: Password Reset
299
227
  Mime-Version: 1.0
300
228
  Content-Type: text/plain;
@@ -303,62 +231,62 @@ Content-Transfer-Encoding: 7bit
303
231
 
304
232
  To reset your password, click the URL below.
305
233
 
306
- http://localhost:3000/password_resets/lDQEVH06DTKMMEdyPuWD2A/edit
234
+ http://localhost:3000/password_resets/yXJaGO6lae4P1PbmadSFtg/edit
307
235
 
308
236
  If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
309
237
  Redirected to http://www.example.com/
310
- Completed 302 Found in 19ms (ActiveRecord: 1.4ms)
311
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
238
+ Completed 302 Found in 15ms (ActiveRecord: 1.5ms)
239
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
312
240
  Processing by HomeController#index as HTML
313
- Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
314
- Started GET "/password_resets/lDQEVH06DTKMMEdyPuWD2A/edit" for 127.0.0.1 at 2013-11-13 01:00:00 +0100
241
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
242
+ Started GET "/password_resets/yXJaGO6lae4P1PbmadSFtg/edit" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
315
243
  Processing by PasswordResetsController#edit as HTML
316
- Parameters: {"id"=>"lDQEVH06DTKMMEdyPuWD2A"}
317
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'lDQEVH06DTKMMEdyPuWD2A' LIMIT 1
244
+ Parameters: {"id"=>"yXJaGO6lae4P1PbmadSFtg"}
245
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'yXJaGO6lae4P1PbmadSFtg' LIMIT 1
318
246
  Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
319
- Started PATCH "/password_resets/lDQEVH06DTKMMEdyPuWD2A" for 127.0.0.1 at 2013-11-13 01:00:00 +0100
247
+ Started PATCH "/password_resets/yXJaGO6lae4P1PbmadSFtg" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
320
248
  Processing by PasswordResetsController#update as HTML
321
- Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"lDQEVH06DTKMMEdyPuWD2A"}
322
- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'lDQEVH06DTKMMEdyPuWD2A' LIMIT 1
249
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"yXJaGO6lae4P1PbmadSFtg"}
250
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'yXJaGO6lae4P1PbmadSFtg' LIMIT 1
323
251
  Redirected to http://localhost:3000/password_resets/new
324
252
  Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
325
- Started GET "/password_resets/new" for 127.0.0.1 at 2013-11-13 01:00:00 +0100
253
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
326
254
  Processing by PasswordResetsController#new as HTML
327
255
  Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
328
-  (1.0ms) DELETE FROM "users";
256
+  (0.8ms) DELETE FROM "users";
329
257
   (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
330
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
258
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
331
259
  -------------------------------------------------------------------------------------------
332
260
  AuthproIntegrationTest: test_reset_password_failing_because_we_enter_a_new_invalid_password
333
261
  -------------------------------------------------------------------------------------------
334
262
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
335
263
   (0.1ms) begin transaction
336
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'bgOLrIb4d9HsSGx_Eiy8SA@sample.com' LIMIT 1
337
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'DXH9WbBcMDnFi3thfkRRFg' LIMIT 1
264
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'FrQwp-vsKPH9d46yqVeZrA@sample.com' LIMIT 1
265
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '_IigZ0GUEarQNzUJRvlUvg' LIMIT 1
338
266
  Binary data inserted for `string` type on column `password_digest`
339
- SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "DXH9WbBcMDnFi3thfkRRFg"], ["created_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00], ["email", "bgOLrIb4d9HsSGx_Eiy8SA@sample.com"], ["password_digest", "$2a$04$U0jOoqSv121j.k1F7Np/O.2EOFqBel03yG8RsRVWOE0bpwYaPl5GC"], ["updated_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00]]
340
-  (0.8ms) commit transaction
341
- Started GET "/login" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
267
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "_IigZ0GUEarQNzUJRvlUvg"], ["created_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00], ["email", "FrQwp-vsKPH9d46yqVeZrA@sample.com"], ["password_digest", "$2a$04$NgAbkgrGCyd8vRJyE2FMgu7R/jyIOM4eQTlQNMvCXL6TErviI32rq"], ["updated_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00]]
268
+  (0.9ms) commit transaction
269
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
342
270
  Processing by SessionsController#new as HTML
343
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
344
- Started GET "/password_resets/new" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
271
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
272
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
345
273
  Processing by PasswordResetsController#new as HTML
346
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
347
- Started POST "/password_resets" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
274
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
275
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
348
276
  Processing by PasswordResetsController#create as HTML
349
- Parameters: {"utf8"=>"✓", "email"=>"bgOLrIb4d9HsSGx_Eiy8SA@sample.com", "commit"=>"Reset password"}
350
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'bgOLrIb4d9HsSGx_Eiy8SA@sample.com' LIMIT 1
351
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'ms_xh3YCTKFnhV-6-N60Vg' LIMIT 1
277
+ Parameters: {"utf8"=>"✓", "email"=>"FrQwp-vsKPH9d46yqVeZrA@sample.com", "commit"=>"Reset password"}
278
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'FrQwp-vsKPH9d46yqVeZrA@sample.com' LIMIT 1
279
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'OojeQOotAJgQLyj_LMBX1A' LIMIT 1
352
280
   (0.0ms) begin transaction
353
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'bgOLrIb4d9HsSGx_Eiy8SA@sample.com' AND "users"."id" != 1) LIMIT 1
354
- SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "ms_xh3YCTKFnhV-6-N60Vg"], ["password_reset_sent_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00], ["updated_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00]]
355
-  (0.8ms) commit transaction
281
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'FrQwp-vsKPH9d46yqVeZrA@sample.com' AND "users"."id" != 1) LIMIT 1
282
+ SQL (0.2ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "OojeQOotAJgQLyj_LMBX1A"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00]]
283
+  (0.9ms) commit transaction
356
284
 
357
- Sent mail to bgOLrIb4d9HsSGx_Eiy8SA@sample.com (4.4ms)
358
- Date: Mon, 11 Nov 2013 18:29:35 +0100
285
+ Sent mail to FrQwp-vsKPH9d46yqVeZrA@sample.com (4.9ms)
286
+ Date: Wed, 23 Apr 2014 22:31:49 +0200
359
287
  From: from@example.com
360
- To: bgOLrIb4d9HsSGx_Eiy8SA@sample.com
361
- Message-ID: <528113ff2fac5_a79a3fec1485e6d0361be@unknown.lan.mail>
288
+ To: FrQwp-vsKPH9d46yqVeZrA@sample.com
289
+ Message-ID: <5358233552f69_49ee3fe75882dbb8992e4@air.lan.mail>
362
290
  Subject: Password Reset
363
291
  Mime-Version: 1.0
364
292
  Content-Type: text/plain;
@@ -367,61 +295,61 @@ Content-Transfer-Encoding: 7bit
367
295
 
368
296
  To reset your password, click the URL below.
369
297
 
370
- http://localhost:3000/password_resets/ms_xh3YCTKFnhV-6-N60Vg/edit
298
+ http://localhost:3000/password_resets/OojeQOotAJgQLyj_LMBX1A/edit
371
299
 
372
300
  If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
373
301
  Redirected to http://www.example.com/
374
- Completed 302 Found in 15ms (ActiveRecord: 1.4ms)
375
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
302
+ Completed 302 Found in 17ms (ActiveRecord: 1.4ms)
303
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
376
304
  Processing by HomeController#index as HTML
377
- Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
378
- Started GET "/password_resets/ms_xh3YCTKFnhV-6-N60Vg/edit" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
305
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
306
+ Started GET "/password_resets/OojeQOotAJgQLyj_LMBX1A/edit" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
379
307
  Processing by PasswordResetsController#edit as HTML
380
- Parameters: {"id"=>"ms_xh3YCTKFnhV-6-N60Vg"}
381
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'ms_xh3YCTKFnhV-6-N60Vg' LIMIT 1
308
+ Parameters: {"id"=>"OojeQOotAJgQLyj_LMBX1A"}
309
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'OojeQOotAJgQLyj_LMBX1A' LIMIT 1
382
310
  Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)
383
- Started PATCH "/password_resets/ms_xh3YCTKFnhV-6-N60Vg" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
311
+ Started PATCH "/password_resets/OojeQOotAJgQLyj_LMBX1A" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
384
312
  Processing by PasswordResetsController#update as HTML
385
- Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"ms_xh3YCTKFnhV-6-N60Vg"}
386
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'ms_xh3YCTKFnhV-6-N60Vg' LIMIT 1
313
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"OojeQOotAJgQLyj_LMBX1A"}
314
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'OojeQOotAJgQLyj_LMBX1A' LIMIT 1
387
315
   (0.0ms) begin transaction
388
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'bgOLrIb4d9HsSGx_Eiy8SA@sample.com' AND "users"."id" != 1) LIMIT 1
316
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'FrQwp-vsKPH9d46yqVeZrA@sample.com' AND "users"."id" != 1) LIMIT 1
389
317
   (0.0ms) rollback transaction
390
- Completed 200 OK in 9ms (Views: 4.7ms | ActiveRecord: 0.3ms)
391
-  (0.8ms) DELETE FROM "users";
392
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
318
+ Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.3ms)
319
+  (0.9ms) DELETE FROM "users";
320
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
393
321
   (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
394
322
  -----------------------------------
395
323
  AuthproIntegrationTest: test_signup
396
324
  -----------------------------------
397
325
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
398
326
   (0.1ms) begin transaction
399
- User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'EYugVqv2TvFRvil8Zr-xGA@sample.com' LIMIT 1
400
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '8PhUrxPrTxHvFAtpd_8MDA' LIMIT 1
327
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'tvuWNAeD_56dstvCO6BjVg@sample.com' LIMIT 1
328
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'LH3HROteORwVOUL0Ir0PBA' LIMIT 1
401
329
  Binary data inserted for `string` type on column `password_digest`
402
- SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "8PhUrxPrTxHvFAtpd_8MDA"], ["created_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00], ["email", "EYugVqv2TvFRvil8Zr-xGA@sample.com"], ["password_digest", "$2a$04$Balb/5M/3LzxvwlP3u5RxewGCKL9lv1J1K8GG64UkIP8no0r4VAzm"], ["updated_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00]]
403
-  (0.7ms) commit transaction
404
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
330
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "LH3HROteORwVOUL0Ir0PBA"], ["created_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00], ["email", "tvuWNAeD_56dstvCO6BjVg@sample.com"], ["password_digest", "$2a$04$x84NnYVR9azMo7wcUDjKxe2gQ68DkU1RVKabp3QYoZgsQDdVXIh1K"], ["updated_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00]]
331
+  (0.9ms) commit transaction
332
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
405
333
  Processing by HomeController#index as HTML
406
- Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
407
- Started GET "/signup" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
334
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
335
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
408
336
  Processing by UsersController#new as HTML
409
- Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
410
- Started POST "/users" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
337
+ Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
338
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
411
339
  Processing by UsersController#create as HTML
412
- Parameters: {"utf8"=>"✓", "user"=>{"email"=>"uCzM1BNV-9G2N0dJiadRzQ@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
340
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"dw0ww67R5DcTPcYCP3k2iA@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
413
341
   (0.1ms) begin transaction
414
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'uCzM1BNV-9G2N0dJiadRzQ@sample.com' LIMIT 1
415
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'RpZbtO3VLcEz9dKfQtzdlw' LIMIT 1
342
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'dw0ww67R5DcTPcYCP3k2iA@sample.com' LIMIT 1
343
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'AmlnxmmbTR1Guflp3kCiAg' LIMIT 1
416
344
  Binary data inserted for `string` type on column `password_digest`
417
- SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "RpZbtO3VLcEz9dKfQtzdlw"], ["created_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00], ["email", "uCzM1BNV-9G2N0dJiadRzQ@sample.com"], ["password_digest", "$2a$04$9.3AG5Is/ocQIFx4X0uJIOPgnrlHlVJqpfEVS/3O62N7ZXWJh/cI2"], ["updated_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00]]
418
-  (0.8ms) commit transaction
345
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "AmlnxmmbTR1Guflp3kCiAg"], ["created_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00], ["email", "dw0ww67R5DcTPcYCP3k2iA@sample.com"], ["password_digest", "$2a$04$.QlRPaftmslSs0YxTc/MwuY.TRtogQp63p98biCDxmqVm.IXvnMNK"], ["updated_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00]]
346
+  (0.9ms) commit transaction
419
347
  Redirected to http://www.example.com/
420
- Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
421
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
348
+ Completed 302 Found in 6ms (ActiveRecord: 1.5ms)
349
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
422
350
  Processing by HomeController#index as HTML
423
351
  Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
424
-  (1.0ms) DELETE FROM "users";
352
+  (0.9ms) DELETE FROM "users";
425
353
   (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
426
354
   (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
427
355
  -------------------------------------------
@@ -429,40 +357,2833 @@ AuthproIntegrationTest: test_signup_failing
429
357
  -------------------------------------------
430
358
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
431
359
   (0.1ms) begin transaction
432
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'j6K3kRuZOMtc4cIrdUnC3A@sample.com' LIMIT 1
433
- User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'pnPEeQmbMmxDprqM_bxsKQ' LIMIT 1
360
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'iFdXiLm9YLw2dUBl7xyB7A@sample.com' LIMIT 1
361
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'rpl4AbvL5x1vjrYDd-Y_0g' LIMIT 1
434
362
  Binary data inserted for `string` type on column `password_digest`
435
- SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "pnPEeQmbMmxDprqM_bxsKQ"], ["created_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00], ["email", "j6K3kRuZOMtc4cIrdUnC3A@sample.com"], ["password_digest", "$2a$04$zRg/fziOjKcmUpsDEla1c.nfY5rUULtVBhMqpCPjiHzz1QpiWlPF2"], ["updated_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00]]
436
-  (1.1ms) commit transaction
437
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
363
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "rpl4AbvL5x1vjrYDd-Y_0g"], ["created_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00], ["email", "iFdXiLm9YLw2dUBl7xyB7A@sample.com"], ["password_digest", "$2a$04$y6lRLJTkwFYgzwtNTAZmv.OPyAW2lIm.vOL5g/IQGMUYbAeOVh5IG"], ["updated_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00]]
364
+  (0.8ms) commit transaction
365
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
438
366
  Processing by HomeController#index as HTML
439
- Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
440
- Started GET "/signup" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
367
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
368
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
441
369
  Processing by UsersController#new as HTML
442
- Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
443
- Started POST "/users" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
370
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
371
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
444
372
  Processing by UsersController#create as HTML
445
- Parameters: {"utf8"=>"✓", "user"=>{"email"=>"yPZef8MxLlNfDSD2hH0OYA@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
373
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"Kk36uaQBjdar0smAmUuS6w@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
446
374
   (0.1ms) begin transaction
447
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'yPZef8MxLlNfDSD2hH0OYA@sample.com' LIMIT 1
448
-  (0.0ms) rollback transaction
449
- Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms)
375
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'Kk36uaQBjdar0smAmUuS6w@sample.com' LIMIT 1
376
+  (0.1ms) rollback transaction
377
+ Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.3ms)
450
378
   (0.9ms) DELETE FROM "users";
451
379
   (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
452
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
380
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
453
381
  ---------------------------------------
454
382
  AuthproIntegrationTest: test_visit_home
455
383
  ---------------------------------------
456
384
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
457
385
   (0.1ms) begin transaction
458
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'Z0Ea__1z0AyG3q5xGW9vDg@sample.com' LIMIT 1
459
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'Gnj6HKuuXm91hkGFcqtivg' LIMIT 1
386
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '2EInV3A1WmZfT-WAeaBfIA@sample.com' LIMIT 1
387
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'xUqieAtfYfRCNvC9282B7w' LIMIT 1
388
+ Binary data inserted for `string` type on column `password_digest`
389
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "xUqieAtfYfRCNvC9282B7w"], ["created_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00], ["email", "2EInV3A1WmZfT-WAeaBfIA@sample.com"], ["password_digest", "$2a$04$lbOxiDC4T9NtOjcKYC6zr.boH1dT7ph1UUTwVedfLlQ/S.EYLzrEa"], ["updated_at", Wed, 23 Apr 2014 20:31:49 UTC +00:00]]
390
+  (1.0ms) commit transaction
391
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:31:49 +0200
392
+ Processing by HomeController#index as HTML
393
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
394
+  (1.0ms) DELETE FROM "users";
395
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
396
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
397
+  (0.2ms) begin transaction
398
+ ------------------------------------------
399
+ AuthproGeneratorTest: test_generated_files
400
+ ------------------------------------------
401
+  (0.1ms) rollback transaction
402
+ ----------------------------------
403
+ AuthproIntegrationTest: test_login
404
+ ----------------------------------
405
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
406
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
407
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
408
+ Migrating to CreateUsers (20140423203225)
409
+  (0.1ms) begin transaction
410
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "password_digest" varchar(255), "auth_token" varchar(255), "password_reset_token" varchar(255), "password_reset_sent_at" datetime, "created_at" datetime, "updated_at" datetime) 
411
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140423203225"]]
412
+  (0.8ms) commit transaction
413
+  (0.1ms) begin transaction
414
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'uwCtFVZjOBqQvw6eTUmnrQ@sample.com' LIMIT 1
415
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'r3DvqInQobjZR9lVKF7rkg' LIMIT 1
416
+ Binary data inserted for `string` type on column `password_digest`
417
+ SQL (2.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "r3DvqInQobjZR9lVKF7rkg"], ["created_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00], ["email", "uwCtFVZjOBqQvw6eTUmnrQ@sample.com"], ["password_digest", "$2a$04$y14WSKtVnSbNKXk2mZabeOOkwiaSWDxyvrO9z5zml4QCbl9HhaNn2"], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
418
+  (0.9ms) commit transaction
419
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
420
+ Processing by HomeController#index as HTML
421
+ Rendered home/index.html.erb within layouts/application (1.1ms)
422
+ Completed 200 OK in 21ms (Views: 20.4ms | ActiveRecord: 0.0ms)
423
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
424
+ Processing by SessionsController#new as HTML
425
+ Rendered sessions/new.html.erb within layouts/application (1.0ms)
426
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
427
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
428
+ Processing by SessionsController#create as HTML
429
+ Parameters: {"utf8"=>"✓", "email"=>"uwCtFVZjOBqQvw6eTUmnrQ@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
430
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'uwCtFVZjOBqQvw6eTUmnrQ@sample.com' LIMIT 1
431
+ Redirected to http://www.example.com/
432
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
433
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
434
+ Processing by HomeController#index as HTML
435
+ Rendered home/index.html.erb within layouts/application (0.1ms)
436
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'r3DvqInQobjZR9lVKF7rkg' LIMIT 1
437
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)
438
+  (2.8ms) DELETE FROM "users";
439
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
440
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
441
+ ------------------------------------------
442
+ AuthproIntegrationTest: test_login_failing
443
+ ------------------------------------------
444
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
445
+  (0.1ms) begin transaction
446
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'd0X0dL-umXWXX7ZWyW1V7g@sample.com' LIMIT 1
447
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'uuaU6a10qbOv15h6pEphLw' LIMIT 1
448
+ Binary data inserted for `string` type on column `password_digest`
449
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "uuaU6a10qbOv15h6pEphLw"], ["created_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00], ["email", "d0X0dL-umXWXX7ZWyW1V7g@sample.com"], ["password_digest", "$2a$04$vftYivgCOljNzpEmXMUlyO8jRIxh60EhoPkSeU8dF.x/7DuB1pl8G"], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
450
+  (0.9ms) commit transaction
451
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
452
+ Processing by HomeController#index as HTML
453
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
454
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
455
+ Processing by SessionsController#new as HTML
456
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
457
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
458
+ Processing by SessionsController#create as HTML
459
+ Parameters: {"utf8"=>"✓", "email"=>"d0X0dL-umXWXX7ZWyW1V7g@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
460
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'd0X0dL-umXWXX7ZWyW1V7g@sample.com' LIMIT 1
461
+ Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)
462
+  (1.0ms) DELETE FROM "users";
463
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
464
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
465
+ -----------------------------------
466
+ AuthproIntegrationTest: test_logout
467
+ -----------------------------------
468
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
469
+  (0.1ms) begin transaction
470
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'l-CChuiaMKtY3ZgiRl4Ypw@sample.com' LIMIT 1
471
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'eFY6eUaIGSMXomX-sALVGQ' LIMIT 1
472
+ Binary data inserted for `string` type on column `password_digest`
473
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "eFY6eUaIGSMXomX-sALVGQ"], ["created_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00], ["email", "l-CChuiaMKtY3ZgiRl4Ypw@sample.com"], ["password_digest", "$2a$04$lpn8.LtRmnwNKn27pfz2jusnB2lvZehFRvKrx50.khfkXQg5dIDM6"], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
474
+  (0.8ms) commit transaction
475
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
476
+ Processing by SessionsController#new as HTML
477
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
478
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
479
+ Processing by SessionsController#create as HTML
480
+ Parameters: {"utf8"=>"✓", "email"=>"l-CChuiaMKtY3ZgiRl4Ypw@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
481
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'l-CChuiaMKtY3ZgiRl4Ypw@sample.com' LIMIT 1
482
+ Redirected to http://www.example.com/
483
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
484
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
485
+ Processing by HomeController#index as HTML
486
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'eFY6eUaIGSMXomX-sALVGQ' LIMIT 1
487
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
488
+ Started GET "/logout" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
489
+ Processing by SessionsController#destroy as HTML
490
+ Redirected to http://www.example.com/
491
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
492
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
493
+ Processing by HomeController#index as HTML
494
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
495
+  (0.9ms) DELETE FROM "users";
496
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
497
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
498
+ -------------------------------------------
499
+ AuthproIntegrationTest: test_reset_password
500
+ -------------------------------------------
501
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
502
+  (0.1ms) begin transaction
503
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '45MtyQDA5Jn97XRo56WORw@sample.com' LIMIT 1
504
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'Gfq1iMl0I84DUXTXuqdF-g' LIMIT 1
460
505
  Binary data inserted for `string` type on column `password_digest`
461
- SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "Gnj6HKuuXm91hkGFcqtivg"], ["created_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00], ["email", "Z0Ea__1z0AyG3q5xGW9vDg@sample.com"], ["password_digest", "$2a$04$21SZEnwELPXGPjS0RCFd.eHuzECr4I5C9KAwIPQxBVmN9Ugh3BUmm"], ["updated_at", Mon, 11 Nov 2013 17:29:35 UTC +00:00]]
506
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "Gfq1iMl0I84DUXTXuqdF-g"], ["created_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00], ["email", "45MtyQDA5Jn97XRo56WORw@sample.com"], ["password_digest", "$2a$04$MqKoFACJkeqbGFxSPr0ZqOJxUo77j.Gfqu7i.kWFivYLSuF/OgdRy"], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
507
+  (0.9ms) commit transaction
508
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
509
+ Processing by SessionsController#new as HTML
510
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
511
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
512
+ Processing by PasswordResetsController#new as HTML
513
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
514
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
515
+ Processing by PasswordResetsController#create as HTML
516
+ Parameters: {"utf8"=>"✓", "email"=>"45MtyQDA5Jn97XRo56WORw@sample.com", "commit"=>"Reset password"}
517
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '45MtyQDA5Jn97XRo56WORw@sample.com' LIMIT 1
518
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'I0EWouN19bC7qTWUYY_DHQ' LIMIT 1
519
+  (0.1ms) begin transaction
520
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = '45MtyQDA5Jn97XRo56WORw@sample.com' AND "users"."id" != 1) LIMIT 1
521
+ SQL (0.5ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "I0EWouN19bC7qTWUYY_DHQ"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
462
522
   (0.9ms) commit transaction
463
- Started GET "/" for 127.0.0.1 at 2013-11-11 18:29:35 +0100
523
+
524
+ Sent mail to 45MtyQDA5Jn97XRo56WORw@sample.com (9.5ms)
525
+ Date: Wed, 23 Apr 2014 22:32:25 +0200
526
+ From: from@example.com
527
+ To: 45MtyQDA5Jn97XRo56WORw@sample.com
528
+ Message-ID: <53582359b45b3_4a1d3feb4c82dbc088965@air.lan.mail>
529
+ Subject: Password Reset
530
+ Mime-Version: 1.0
531
+ Content-Type: text/plain;
532
+ charset=UTF-8
533
+ Content-Transfer-Encoding: 7bit
534
+
535
+ To reset your password, click the URL below.
536
+
537
+ http://localhost:3000/password_resets/I0EWouN19bC7qTWUYY_DHQ/edit
538
+
539
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
540
+ Redirected to http://www.example.com/
541
+ Completed 302 Found in 175ms (ActiveRecord: 1.9ms)
542
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
543
+ Processing by HomeController#index as HTML
544
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
545
+ Started GET "/password_resets/I0EWouN19bC7qTWUYY_DHQ/edit" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
546
+ Processing by PasswordResetsController#edit as HTML
547
+ Parameters: {"id"=>"I0EWouN19bC7qTWUYY_DHQ"}
548
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'I0EWouN19bC7qTWUYY_DHQ' LIMIT 1
549
+ Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.2ms)
550
+ Started PATCH "/password_resets/I0EWouN19bC7qTWUYY_DHQ" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
551
+ Processing by PasswordResetsController#update as HTML
552
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"I0EWouN19bC7qTWUYY_DHQ"}
553
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'I0EWouN19bC7qTWUYY_DHQ' LIMIT 1
554
+  (0.0ms) begin transaction
555
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = '45MtyQDA5Jn97XRo56WORw@sample.com' AND "users"."id" != 1) LIMIT 1
556
+ Binary data inserted for `string` type on column `password_digest`
557
+ SQL (0.3ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$0vbmDx2yI6viCJ/.gDGMAOzV3P1GB1N/D6TnPcLwS/rIPLowlxZDy"], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
558
+  (2.5ms) commit transaction
559
+ Redirected to http://localhost:3000/
560
+ Completed 302 Found in 8ms (ActiveRecord: 3.1ms)
561
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
464
562
  Processing by HomeController#index as HTML
563
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
564
+  (0.9ms) DELETE FROM "users";
565
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
566
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
567
+ --------------------------------------------------------------------------------
568
+ AuthproIntegrationTest: test_reset_password_failing_because_email_does_not_exist
569
+ --------------------------------------------------------------------------------
570
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
571
+  (0.1ms) begin transaction
572
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '5KSdMzJgd9L5eFBkpwofuw@sample.com' LIMIT 1
573
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'PQ2CC5qLp0iKzKz9ygowdQ' LIMIT 1
574
+ Binary data inserted for `string` type on column `password_digest`
575
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "PQ2CC5qLp0iKzKz9ygowdQ"], ["created_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00], ["email", "5KSdMzJgd9L5eFBkpwofuw@sample.com"], ["password_digest", "$2a$04$0vb6tw/owWo0kPO9c64/gO3JNMwdM9D/k7MtfazlqiLMY.NzG0KJq"], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
576
+  (0.7ms) commit transaction
577
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
578
+ Processing by SessionsController#new as HTML
579
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
580
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
581
+ Processing by PasswordResetsController#new as HTML
465
582
  Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
583
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
584
+ Processing by PasswordResetsController#create as HTML
585
+ Parameters: {"utf8"=>"✓", "email"=>"nosense@example.com", "commit"=>"Reset password"}
586
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nosense@example.com' LIMIT 1
587
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms)
466
588
   (0.8ms) DELETE FROM "users";
467
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
468
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
589
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
590
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
591
+ -------------------------------------------------------------------------
592
+ AuthproIntegrationTest: test_reset_password_failing_because_of_expiration
593
+ -------------------------------------------------------------------------
594
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
595
+  (0.1ms) begin transaction
596
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'jELy6b1AMJ2RV-_hTMBSfw@sample.com' LIMIT 1
597
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'TRANIoMoWjdB6CypaeB4Tw' LIMIT 1
598
+ Binary data inserted for `string` type on column `password_digest`
599
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "TRANIoMoWjdB6CypaeB4Tw"], ["created_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00], ["email", "jELy6b1AMJ2RV-_hTMBSfw@sample.com"], ["password_digest", "$2a$04$qaI9IDodXhUm0hcobDqGwOcGkzd1LiJ2V5hoQFol8QBmNEV5lKh3u"], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
600
+  (0.7ms) commit transaction
601
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
602
+ Processing by SessionsController#new as HTML
603
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
604
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
605
+ Processing by PasswordResetsController#new as HTML
606
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
607
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
608
+ Processing by PasswordResetsController#create as HTML
609
+ Parameters: {"utf8"=>"✓", "email"=>"jELy6b1AMJ2RV-_hTMBSfw@sample.com", "commit"=>"Reset password"}
610
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'jELy6b1AMJ2RV-_hTMBSfw@sample.com' LIMIT 1
611
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'GkNFCYU-Lfrr9R_W-iEtKQ' LIMIT 1
612
+  (0.1ms) begin transaction
613
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'jELy6b1AMJ2RV-_hTMBSfw@sample.com' AND "users"."id" != 1) LIMIT 1
614
+ SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "GkNFCYU-Lfrr9R_W-iEtKQ"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
615
+  (0.7ms) commit transaction
616
+
617
+ Sent mail to jELy6b1AMJ2RV-_hTMBSfw@sample.com (4.7ms)
618
+ Date: Wed, 23 Apr 2014 22:32:25 +0200
619
+ From: from@example.com
620
+ To: jELy6b1AMJ2RV-_hTMBSfw@sample.com
621
+ Message-ID: <53582359d2266_4a1d3feb4c82dbc089015@air.lan.mail>
622
+ Subject: Password Reset
623
+ Mime-Version: 1.0
624
+ Content-Type: text/plain;
625
+ charset=UTF-8
626
+ Content-Transfer-Encoding: 7bit
627
+
628
+ To reset your password, click the URL below.
629
+
630
+ http://localhost:3000/password_resets/GkNFCYU-Lfrr9R_W-iEtKQ/edit
631
+
632
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
633
+ Redirected to http://www.example.com/
634
+ Completed 302 Found in 15ms (ActiveRecord: 1.3ms)
635
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
636
+ Processing by HomeController#index as HTML
637
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
638
+ Started GET "/password_resets/GkNFCYU-Lfrr9R_W-iEtKQ/edit" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
639
+ Processing by PasswordResetsController#edit as HTML
640
+ Parameters: {"id"=>"GkNFCYU-Lfrr9R_W-iEtKQ"}
641
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'GkNFCYU-Lfrr9R_W-iEtKQ' LIMIT 1
642
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
643
+ Started PATCH "/password_resets/GkNFCYU-Lfrr9R_W-iEtKQ" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
644
+ Processing by PasswordResetsController#update as HTML
645
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"GkNFCYU-Lfrr9R_W-iEtKQ"}
646
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'GkNFCYU-Lfrr9R_W-iEtKQ' LIMIT 1
647
+ Redirected to http://localhost:3000/password_resets/new
648
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
649
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
650
+ Processing by PasswordResetsController#new as HTML
651
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
652
+  (1.9ms) DELETE FROM "users";
653
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
654
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
655
+ -------------------------------------------------------------------------------------------
656
+ AuthproIntegrationTest: test_reset_password_failing_because_we_enter_a_new_invalid_password
657
+ -------------------------------------------------------------------------------------------
658
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
659
+  (0.1ms) begin transaction
660
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'srAbGnRUqyCW3ioAkEOh0A@sample.com' LIMIT 1
661
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'UaGAlPBUuBErMxMBVROMig' LIMIT 1
662
+ Binary data inserted for `string` type on column `password_digest`
663
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "UaGAlPBUuBErMxMBVROMig"], ["created_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00], ["email", "srAbGnRUqyCW3ioAkEOh0A@sample.com"], ["password_digest", "$2a$04$lFWqg9tmr7vMrMrtR7RFIenqMAenCRj6Pr24OIzMrGniTTJZQHpS."], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
664
+  (0.7ms) commit transaction
665
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
666
+ Processing by SessionsController#new as HTML
667
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
668
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
669
+ Processing by PasswordResetsController#new as HTML
670
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
671
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
672
+ Processing by PasswordResetsController#create as HTML
673
+ Parameters: {"utf8"=>"✓", "email"=>"srAbGnRUqyCW3ioAkEOh0A@sample.com", "commit"=>"Reset password"}
674
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'srAbGnRUqyCW3ioAkEOh0A@sample.com' LIMIT 1
675
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'HOb7D3_Nb2uCEO316IyzJA' LIMIT 1
676
+  (0.0ms) begin transaction
677
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'srAbGnRUqyCW3ioAkEOh0A@sample.com' AND "users"."id" != 1) LIMIT 1
678
+ SQL (0.2ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "HOb7D3_Nb2uCEO316IyzJA"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
679
+  (0.9ms) commit transaction
680
+
681
+ Sent mail to srAbGnRUqyCW3ioAkEOh0A@sample.com (6.1ms)
682
+ Date: Wed, 23 Apr 2014 22:32:25 +0200
683
+ From: from@example.com
684
+ To: srAbGnRUqyCW3ioAkEOh0A@sample.com
685
+ Message-ID: <53582359e50ba_4a1d3feb4c82dbc0891ef@air.lan.mail>
686
+ Subject: Password Reset
687
+ Mime-Version: 1.0
688
+ Content-Type: text/plain;
689
+ charset=UTF-8
690
+ Content-Transfer-Encoding: 7bit
691
+
692
+ To reset your password, click the URL below.
693
+
694
+ http://localhost:3000/password_resets/HOb7D3_Nb2uCEO316IyzJA/edit
695
+
696
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
697
+ Redirected to http://www.example.com/
698
+ Completed 302 Found in 15ms (ActiveRecord: 1.5ms)
699
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
700
+ Processing by HomeController#index as HTML
701
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
702
+ Started GET "/password_resets/HOb7D3_Nb2uCEO316IyzJA/edit" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
703
+ Processing by PasswordResetsController#edit as HTML
704
+ Parameters: {"id"=>"HOb7D3_Nb2uCEO316IyzJA"}
705
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'HOb7D3_Nb2uCEO316IyzJA' LIMIT 1
706
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)
707
+ Started PATCH "/password_resets/HOb7D3_Nb2uCEO316IyzJA" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
708
+ Processing by PasswordResetsController#update as HTML
709
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"HOb7D3_Nb2uCEO316IyzJA"}
710
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'HOb7D3_Nb2uCEO316IyzJA' LIMIT 1
711
+  (0.0ms) begin transaction
712
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'srAbGnRUqyCW3ioAkEOh0A@sample.com' AND "users"."id" != 1) LIMIT 1
713
+  (0.0ms) rollback transaction
714
+ Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.3ms)
715
+  (1.0ms) DELETE FROM "users";
716
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
717
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
718
+ -----------------------------------
719
+ AuthproIntegrationTest: test_signup
720
+ -----------------------------------
721
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
722
+  (0.1ms) begin transaction
723
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '687nx3FquSiJVIgNdC1Npg@sample.com' LIMIT 1
724
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'xA2ujYHRmwjXbJWMi6qTDQ' LIMIT 1
725
+ Binary data inserted for `string` type on column `password_digest`
726
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "xA2ujYHRmwjXbJWMi6qTDQ"], ["created_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00], ["email", "687nx3FquSiJVIgNdC1Npg@sample.com"], ["password_digest", "$2a$04$YYrzBENCwdcHf5vTcUqFMOLOgEmfw8WBu4iU.uegPAnVtrApO/khG"], ["updated_at", Wed, 23 Apr 2014 20:32:25 UTC +00:00]]
727
+  (1.0ms) commit transaction
728
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
729
+ Processing by HomeController#index as HTML
730
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
731
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:32:25 +0200
732
+ Processing by UsersController#new as HTML
733
+ Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
734
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:32:26 +0200
735
+ Processing by UsersController#create as HTML
736
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"yIQ-1KY1CnUGhrfL00hBsg@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
737
+  (0.1ms) begin transaction
738
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'yIQ-1KY1CnUGhrfL00hBsg@sample.com' LIMIT 1
739
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'meBmxXyANL74gRdfqDk_ng' LIMIT 1
740
+ Binary data inserted for `string` type on column `password_digest`
741
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "meBmxXyANL74gRdfqDk_ng"], ["created_at", Wed, 23 Apr 2014 20:32:26 UTC +00:00], ["email", "yIQ-1KY1CnUGhrfL00hBsg@sample.com"], ["password_digest", "$2a$04$V0cFkSz3yPxefYE5fwPS6uFt0cXTxTKHfyoIKGW5OvOO4EQ0hGZ4W"], ["updated_at", Wed, 23 Apr 2014 20:32:26 UTC +00:00]]
742
+  (0.8ms) commit transaction
743
+ Redirected to http://www.example.com/
744
+ Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
745
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:26 +0200
746
+ Processing by HomeController#index as HTML
747
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
748
+  (0.9ms) DELETE FROM "users";
749
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
750
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
751
+ -------------------------------------------
752
+ AuthproIntegrationTest: test_signup_failing
753
+ -------------------------------------------
754
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
755
+  (0.1ms) begin transaction
756
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'Kd3IMf701YLg3lK-B4oNdQ@sample.com' LIMIT 1
757
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'BDjku0_6j4bGVwsq3KH8pg' LIMIT 1
758
+ Binary data inserted for `string` type on column `password_digest`
759
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "BDjku0_6j4bGVwsq3KH8pg"], ["created_at", Wed, 23 Apr 2014 20:32:26 UTC +00:00], ["email", "Kd3IMf701YLg3lK-B4oNdQ@sample.com"], ["password_digest", "$2a$04$dEljnumAMQ1OUhOcXhHwDer/oLZMOiKujsY17MnW5M4Qv065WBR92"], ["updated_at", Wed, 23 Apr 2014 20:32:26 UTC +00:00]]
760
+  (0.6ms) commit transaction
761
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:26 +0200
762
+ Processing by HomeController#index as HTML
763
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
764
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:32:26 +0200
765
+ Processing by UsersController#new as HTML
766
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
767
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:32:26 +0200
768
+ Processing by UsersController#create as HTML
769
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"Cu6nOICSO7SWAkC7GFGZvw@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
770
+  (0.1ms) begin transaction
771
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'Cu6nOICSO7SWAkC7GFGZvw@sample.com' LIMIT 1
772
+  (0.0ms) rollback transaction
773
+ Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.3ms)
774
+  (0.9ms) DELETE FROM "users";
775
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
776
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
777
+ ---------------------------------------
778
+ AuthproIntegrationTest: test_visit_home
779
+ ---------------------------------------
780
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
781
+  (0.1ms) begin transaction
782
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'feqwRBO7iFEyYPgGUg9Uxw@sample.com' LIMIT 1
783
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '5YQUN8EgRqkv0cU5pmwB6g' LIMIT 1
784
+ Binary data inserted for `string` type on column `password_digest`
785
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "5YQUN8EgRqkv0cU5pmwB6g"], ["created_at", Wed, 23 Apr 2014 20:32:26 UTC +00:00], ["email", "feqwRBO7iFEyYPgGUg9Uxw@sample.com"], ["password_digest", "$2a$04$Gsuk/HzB4lwAnlbWhqNZ3efDaizfBhk6uxSCnEzwWzFPtNOYEaLHW"], ["updated_at", Wed, 23 Apr 2014 20:32:26 UTC +00:00]]
786
+  (0.9ms) commit transaction
787
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:32:26 +0200
788
+ Processing by HomeController#index as HTML
789
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
790
+  (1.0ms) DELETE FROM "users";
791
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
792
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
793
+  (0.2ms) begin transaction
794
+ ------------------------------------------
795
+ AuthproGeneratorTest: test_generated_files
796
+ ------------------------------------------
797
+  (0.2ms) rollback transaction
798
+ ----------------------------------
799
+ AuthproIntegrationTest: test_login
800
+ ----------------------------------
801
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
802
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
803
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
804
+ Migrating to CreateUsers (20140423203636)
805
+  (0.1ms) begin transaction
806
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "password_digest" varchar(255), "auth_token" varchar(255), "password_reset_token" varchar(255), "password_reset_sent_at" datetime, "created_at" datetime, "updated_at" datetime) 
807
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140423203636"]]
808
+  (0.8ms) commit transaction
809
+  (0.1ms) begin transaction
810
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '8R8SW-L_SmPXsDhcJeT8Jg@sample.com' LIMIT 1
811
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'buQpniPH-wcsUA29uHrWGA' LIMIT 1
812
+ Binary data inserted for `string` type on column `password_digest`
813
+ SQL (2.7ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "buQpniPH-wcsUA29uHrWGA"], ["created_at", Wed, 23 Apr 2014 20:36:36 UTC +00:00], ["email", "8R8SW-L_SmPXsDhcJeT8Jg@sample.com"], ["password_digest", "$2a$04$vLDoDVCW06b.RLDumQVo6e4ePwud7QuBezFkm3kyn1xmWm8LFFiGC"], ["updated_at", Wed, 23 Apr 2014 20:36:36 UTC +00:00]]
814
+  (0.8ms) commit transaction
815
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
816
+ Processing by HomeController#index as HTML
817
+ Rendered home/index.html.erb within layouts/application (1.0ms)
818
+ Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.0ms)
819
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
820
+ Processing by SessionsController#new as HTML
821
+ Rendered sessions/new.html.erb within layouts/application (1.1ms)
822
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
823
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
824
+ Processing by SessionsController#create as HTML
825
+ Parameters: {"utf8"=>"✓", "email"=>"8R8SW-L_SmPXsDhcJeT8Jg@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
826
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '8R8SW-L_SmPXsDhcJeT8Jg@sample.com' LIMIT 1
827
+ Redirected to http://www.example.com/
828
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
829
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
830
+ Processing by HomeController#index as HTML
831
+ Rendered home/index.html.erb within layouts/application (0.1ms)
832
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'buQpniPH-wcsUA29uHrWGA' LIMIT 1
833
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)
834
+  (2.8ms) DELETE FROM "users";
835
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
836
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
837
+ ------------------------------------------
838
+ AuthproIntegrationTest: test_login_failing
839
+ ------------------------------------------
840
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
841
+  (0.1ms) begin transaction
842
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'fq0cZZFtfQMYuz6PNz_JsA@sample.com' LIMIT 1
843
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'tz4PXi_vDt38AOt1Oho9bQ' LIMIT 1
844
+ Binary data inserted for `string` type on column `password_digest`
845
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "tz4PXi_vDt38AOt1Oho9bQ"], ["created_at", Wed, 23 Apr 2014 20:36:36 UTC +00:00], ["email", "fq0cZZFtfQMYuz6PNz_JsA@sample.com"], ["password_digest", "$2a$04$mZjk8pjE26rr/sk5awU3y.IFs.6cfZBu42iG2T5nRiySC3u0wrSA2"], ["updated_at", Wed, 23 Apr 2014 20:36:36 UTC +00:00]]
846
+  (0.8ms) commit transaction
847
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
848
+ Processing by HomeController#index as HTML
849
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
850
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
851
+ Processing by SessionsController#new as HTML
852
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
853
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
854
+ Processing by SessionsController#create as HTML
855
+ Parameters: {"utf8"=>"✓", "email"=>"fq0cZZFtfQMYuz6PNz_JsA@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
856
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'fq0cZZFtfQMYuz6PNz_JsA@sample.com' LIMIT 1
857
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.2ms)
858
+  (0.7ms) DELETE FROM "users";
859
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
860
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'users';
861
+ -----------------------------------
862
+ AuthproIntegrationTest: test_logout
863
+ -----------------------------------
864
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
865
+  (0.1ms) begin transaction
866
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'wSb9vXUmJmqlvgKktI9Tig@sample.com' LIMIT 1
867
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'dIe-U17l-aFHvXWphb1D-A' LIMIT 1
868
+ Binary data inserted for `string` type on column `password_digest`
869
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "dIe-U17l-aFHvXWphb1D-A"], ["created_at", Wed, 23 Apr 2014 20:36:36 UTC +00:00], ["email", "wSb9vXUmJmqlvgKktI9Tig@sample.com"], ["password_digest", "$2a$04$RGhxq/i9uSNXeAc9az8O6OGJDrzMZt0KDGjUl2/ZZ9GNOqLKTQHFS"], ["updated_at", Wed, 23 Apr 2014 20:36:36 UTC +00:00]]
870
+  (0.7ms) commit transaction
871
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
872
+ Processing by SessionsController#new as HTML
873
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
874
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
875
+ Processing by SessionsController#create as HTML
876
+ Parameters: {"utf8"=>"✓", "email"=>"wSb9vXUmJmqlvgKktI9Tig@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
877
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'wSb9vXUmJmqlvgKktI9Tig@sample.com' LIMIT 1
878
+ Redirected to http://www.example.com/
879
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
880
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
881
+ Processing by HomeController#index as HTML
882
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'dIe-U17l-aFHvXWphb1D-A' LIMIT 1
883
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
884
+ Started GET "/logout" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
885
+ Processing by SessionsController#destroy as HTML
886
+ Redirected to http://www.example.com/
887
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
888
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:36 +0200
889
+ Processing by HomeController#index as HTML
890
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
891
+  (0.8ms) DELETE FROM "users";
892
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
893
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
894
+ -------------------------------------------
895
+ AuthproIntegrationTest: test_reset_password
896
+ -------------------------------------------
897
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
898
+  (0.1ms) begin transaction
899
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'W6IXbSAySIt_q40lX0f0Xw@sample.com' LIMIT 1
900
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'buh37f9dikfGMQlDlK4UWA' LIMIT 1
901
+ Binary data inserted for `string` type on column `password_digest`
902
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "buh37f9dikfGMQlDlK4UWA"], ["created_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00], ["email", "W6IXbSAySIt_q40lX0f0Xw@sample.com"], ["password_digest", "$2a$04$97.S3HCA9JqBYT83JYanWu/XewQQP6hnf7ZVIn.Rc/AWMsaRImKKe"], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
903
+  (0.8ms) commit transaction
904
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
905
+ Processing by SessionsController#new as HTML
906
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
907
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
908
+ Processing by PasswordResetsController#new as HTML
909
+ Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
910
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
911
+ Processing by PasswordResetsController#create as HTML
912
+ Parameters: {"utf8"=>"✓", "email"=>"W6IXbSAySIt_q40lX0f0Xw@sample.com", "commit"=>"Reset password"}
913
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'W6IXbSAySIt_q40lX0f0Xw@sample.com' LIMIT 1
914
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = '3zXg0VeMFP8GySaI3QNYHg' LIMIT 1
915
+  (0.0ms) begin transaction
916
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'W6IXbSAySIt_q40lX0f0Xw@sample.com' AND "users"."id" != 1) LIMIT 1
917
+ SQL (0.4ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "3zXg0VeMFP8GySaI3QNYHg"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
918
+  (0.8ms) commit transaction
919
+
920
+ Sent mail to W6IXbSAySIt_q40lX0f0Xw@sample.com (7.4ms)
921
+ Date: Wed, 23 Apr 2014 22:36:37 +0200
922
+ From: from@example.com
923
+ To: W6IXbSAySIt_q40lX0f0Xw@sample.com
924
+ Message-ID: <535824552985f_4c033fd5ad82dbc098862@air.lan.mail>
925
+ Subject: Password Reset
926
+ Mime-Version: 1.0
927
+ Content-Type: text/plain;
928
+ charset=UTF-8
929
+ Content-Transfer-Encoding: 7bit
930
+
931
+ To reset your password, click the URL below.
932
+
933
+ http://localhost:3000/password_resets/3zXg0VeMFP8GySaI3QNYHg/edit
934
+
935
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
936
+ Redirected to http://www.example.com/
937
+ Completed 302 Found in 143ms (ActiveRecord: 1.5ms)
938
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
939
+ Processing by HomeController#index as HTML
940
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
941
+ Started GET "/password_resets/3zXg0VeMFP8GySaI3QNYHg/edit" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
942
+ Processing by PasswordResetsController#edit as HTML
943
+ Parameters: {"id"=>"3zXg0VeMFP8GySaI3QNYHg"}
944
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '3zXg0VeMFP8GySaI3QNYHg' LIMIT 1
945
+ Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.2ms)
946
+ Started PATCH "/password_resets/3zXg0VeMFP8GySaI3QNYHg" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
947
+ Processing by PasswordResetsController#update as HTML
948
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"3zXg0VeMFP8GySaI3QNYHg"}
949
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '3zXg0VeMFP8GySaI3QNYHg' LIMIT 1
950
+  (0.0ms) begin transaction
951
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'W6IXbSAySIt_q40lX0f0Xw@sample.com' AND "users"."id" != 1) LIMIT 1
952
+ Binary data inserted for `string` type on column `password_digest`
953
+ SQL (0.3ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$GdDkSEkos8Xa1ykoCDHM/Os2BD9GImExsD1D4UyzJXtmqOQzwv82e"], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
954
+  (2.6ms) commit transaction
955
+ Redirected to http://localhost:3000/
956
+ Completed 302 Found in 7ms (ActiveRecord: 3.2ms)
957
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
958
+ Processing by HomeController#index as HTML
959
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
960
+  (1.0ms) DELETE FROM "users";
961
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
962
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
963
+ --------------------------------------------------------------------------------
964
+ AuthproIntegrationTest: test_reset_password_failing_because_email_does_not_exist
965
+ --------------------------------------------------------------------------------
966
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
967
+  (0.1ms) begin transaction
968
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'JNlz9i4-qxi99fG-Ag-_Hg@sample.com' LIMIT 1
969
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'Y8i6gAti5YPWZspLomUgGg' LIMIT 1
970
+ Binary data inserted for `string` type on column `password_digest`
971
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "Y8i6gAti5YPWZspLomUgGg"], ["created_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00], ["email", "JNlz9i4-qxi99fG-Ag-_Hg@sample.com"], ["password_digest", "$2a$04$h9sA6nsbefLMTTdNmNCX3.cCsKHqKn.8x9XLVhlG1/QGUJSTTotye"], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
972
+  (0.9ms) commit transaction
973
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
974
+ Processing by SessionsController#new as HTML
975
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
976
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
977
+ Processing by PasswordResetsController#new as HTML
978
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
979
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
980
+ Processing by PasswordResetsController#create as HTML
981
+ Parameters: {"utf8"=>"✓", "email"=>"nosense@example.com", "commit"=>"Reset password"}
982
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nosense@example.com' LIMIT 1
983
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.2ms)
984
+  (0.7ms) DELETE FROM "users";
985
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
986
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
987
+ -------------------------------------------------------------------------
988
+ AuthproIntegrationTest: test_reset_password_failing_because_of_expiration
989
+ -------------------------------------------------------------------------
990
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
991
+  (0.1ms) begin transaction
992
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'doDT5TiAQJsPyWl5nkhOpQ@sample.com' LIMIT 1
993
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'YAsFiKAABy8TOOX8ErZpSg' LIMIT 1
994
+ Binary data inserted for `string` type on column `password_digest`
995
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "YAsFiKAABy8TOOX8ErZpSg"], ["created_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00], ["email", "doDT5TiAQJsPyWl5nkhOpQ@sample.com"], ["password_digest", "$2a$04$ny1wia7PMMPlo3lSwBTLSuuy9hgazJ2P3N/qSdIARvBwrq8eNeWU."], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
996
+  (0.7ms) commit transaction
997
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
998
+ Processing by SessionsController#new as HTML
999
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
1000
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1001
+ Processing by PasswordResetsController#new as HTML
1002
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1003
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1004
+ Processing by PasswordResetsController#create as HTML
1005
+ Parameters: {"utf8"=>"✓", "email"=>"doDT5TiAQJsPyWl5nkhOpQ@sample.com", "commit"=>"Reset password"}
1006
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'doDT5TiAQJsPyWl5nkhOpQ@sample.com' LIMIT 1
1007
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'QqkY3GUKrRWVTD7sP_GfCA' LIMIT 1
1008
+  (0.0ms) begin transaction
1009
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'doDT5TiAQJsPyWl5nkhOpQ@sample.com' AND "users"."id" != 1) LIMIT 1
1010
+ SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "QqkY3GUKrRWVTD7sP_GfCA"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
1011
+  (0.6ms) commit transaction
1012
+
1013
+ Sent mail to doDT5TiAQJsPyWl5nkhOpQ@sample.com (4.4ms)
1014
+ Date: Wed, 23 Apr 2014 22:36:37 +0200
1015
+ From: from@example.com
1016
+ To: doDT5TiAQJsPyWl5nkhOpQ@sample.com
1017
+ Message-ID: <5358245548c51_4c033fd5ad82dbc0989bd@air.lan.mail>
1018
+ Subject: Password Reset
1019
+ Mime-Version: 1.0
1020
+ Content-Type: text/plain;
1021
+ charset=UTF-8
1022
+ Content-Transfer-Encoding: 7bit
1023
+
1024
+ To reset your password, click the URL below.
1025
+
1026
+ http://localhost:3000/password_resets/QqkY3GUKrRWVTD7sP_GfCA/edit
1027
+
1028
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
1029
+ Redirected to http://www.example.com/
1030
+ Completed 302 Found in 14ms (ActiveRecord: 1.4ms)
1031
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1032
+ Processing by HomeController#index as HTML
1033
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1034
+ Started GET "/password_resets/QqkY3GUKrRWVTD7sP_GfCA/edit" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
1035
+ Processing by PasswordResetsController#edit as HTML
1036
+ Parameters: {"id"=>"QqkY3GUKrRWVTD7sP_GfCA"}
1037
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'QqkY3GUKrRWVTD7sP_GfCA' LIMIT 1
1038
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
1039
+ Started PATCH "/password_resets/QqkY3GUKrRWVTD7sP_GfCA" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
1040
+ Processing by PasswordResetsController#update as HTML
1041
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"QqkY3GUKrRWVTD7sP_GfCA"}
1042
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'QqkY3GUKrRWVTD7sP_GfCA' LIMIT 1
1043
+ Redirected to http://localhost:3000/password_resets/new
1044
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1045
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
1046
+ Processing by PasswordResetsController#new as HTML
1047
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
1048
+  (1.0ms) DELETE FROM "users";
1049
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1050
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
1051
+ -------------------------------------------------------------------------------------------
1052
+ AuthproIntegrationTest: test_reset_password_failing_because_we_enter_a_new_invalid_password
1053
+ -------------------------------------------------------------------------------------------
1054
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1055
+  (0.1ms) begin transaction
1056
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'eg1JzIvsYouEj_VVjqWLug@sample.com' LIMIT 1
1057
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'oWi0w5l02h7uUY0NrmxmRw' LIMIT 1
1058
+ Binary data inserted for `string` type on column `password_digest`
1059
+ SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "oWi0w5l02h7uUY0NrmxmRw"], ["created_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00], ["email", "eg1JzIvsYouEj_VVjqWLug@sample.com"], ["password_digest", "$2a$04$dhTirVbxopiTV0rDm6MKouxXWXSKlMMsNlnjdozBW0ntzaWdDtehG"], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
1060
+  (0.7ms) commit transaction
1061
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1062
+ Processing by SessionsController#new as HTML
1063
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
1064
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1065
+ Processing by PasswordResetsController#new as HTML
1066
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
1067
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1068
+ Processing by PasswordResetsController#create as HTML
1069
+ Parameters: {"utf8"=>"✓", "email"=>"eg1JzIvsYouEj_VVjqWLug@sample.com", "commit"=>"Reset password"}
1070
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'eg1JzIvsYouEj_VVjqWLug@sample.com' LIMIT 1
1071
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = '2UNFmt_bWvtu4cSmc32Rzw' LIMIT 1
1072
+  (0.2ms) begin transaction
1073
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'eg1JzIvsYouEj_VVjqWLug@sample.com' AND "users"."id" != 1) LIMIT 1
1074
+ SQL (0.5ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "2UNFmt_bWvtu4cSmc32Rzw"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
1075
+  (1.1ms) commit transaction
1076
+
1077
+ Sent mail to eg1JzIvsYouEj_VVjqWLug@sample.com (9.4ms)
1078
+ Date: Wed, 23 Apr 2014 22:36:37 +0200
1079
+ From: from@example.com
1080
+ To: eg1JzIvsYouEj_VVjqWLug@sample.com
1081
+ Message-ID: <5358245560a03_4c033fd5ad82dbc09909@air.lan.mail>
1082
+ Subject: Password Reset
1083
+ Mime-Version: 1.0
1084
+ Content-Type: text/plain;
1085
+ charset=UTF-8
1086
+ Content-Transfer-Encoding: 7bit
1087
+
1088
+ To reset your password, click the URL below.
1089
+
1090
+ http://localhost:3000/password_resets/2UNFmt_bWvtu4cSmc32Rzw/edit
1091
+
1092
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
1093
+ Redirected to http://www.example.com/
1094
+ Completed 302 Found in 29ms (ActiveRecord: 2.5ms)
1095
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1096
+ Processing by HomeController#index as HTML
1097
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
1098
+ Started GET "/password_resets/2UNFmt_bWvtu4cSmc32Rzw/edit" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1099
+ Processing by PasswordResetsController#edit as HTML
1100
+ Parameters: {"id"=>"2UNFmt_bWvtu4cSmc32Rzw"}
1101
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '2UNFmt_bWvtu4cSmc32Rzw' LIMIT 1
1102
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
1103
+ Started PATCH "/password_resets/2UNFmt_bWvtu4cSmc32Rzw" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1104
+ Processing by PasswordResetsController#update as HTML
1105
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"2UNFmt_bWvtu4cSmc32Rzw"}
1106
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '2UNFmt_bWvtu4cSmc32Rzw' LIMIT 1
1107
+  (0.0ms) begin transaction
1108
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'eg1JzIvsYouEj_VVjqWLug@sample.com' AND "users"."id" != 1) LIMIT 1
1109
+  (0.1ms) rollback transaction
1110
+ Completed 200 OK in 10ms (Views: 4.0ms | ActiveRecord: 0.5ms)
1111
+  (1.0ms) DELETE FROM "users";
1112
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1113
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
1114
+ -----------------------------------
1115
+ AuthproIntegrationTest: test_signup
1116
+ -----------------------------------
1117
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1118
+  (0.1ms) begin transaction
1119
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'OH3v74OvExb55Ax43JASgA@sample.com' LIMIT 1
1120
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'ZQJJxM_gxf1TEMe1QlQ1yg' LIMIT 1
1121
+ Binary data inserted for `string` type on column `password_digest`
1122
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "ZQJJxM_gxf1TEMe1QlQ1yg"], ["created_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00], ["email", "OH3v74OvExb55Ax43JASgA@sample.com"], ["password_digest", "$2a$04$GbhJzU/AV6H8IaLJSY5j.uQY86yefb2bGpJ6iS0bg3bHs0djQ.xWa"], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
1123
+  (0.6ms) commit transaction
1124
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1125
+ Processing by HomeController#index as HTML
1126
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
1127
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1128
+ Processing by UsersController#new as HTML
1129
+ Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)
1130
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1131
+ Processing by UsersController#create as HTML
1132
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"G9jUVzLsIl_0OoQhYEc0Tw@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
1133
+  (0.1ms) begin transaction
1134
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'G9jUVzLsIl_0OoQhYEc0Tw@sample.com' LIMIT 1
1135
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 't2TvQo-vPr82acPjkt1_fw' LIMIT 1
1136
+ Binary data inserted for `string` type on column `password_digest`
1137
+ SQL (0.6ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "t2TvQo-vPr82acPjkt1_fw"], ["created_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00], ["email", "G9jUVzLsIl_0OoQhYEc0Tw@sample.com"], ["password_digest", "$2a$04$SaOnU3IyspKOlZVCzlv9veK.JHSA/Uy0o.95rOWsv4MyxFAfU5SXy"], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
1138
+  (1.0ms) commit transaction
1139
+ Redirected to http://www.example.com/
1140
+ Completed 302 Found in 8ms (ActiveRecord: 1.9ms)
1141
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1142
+ Processing by HomeController#index as HTML
1143
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
1144
+  (0.9ms) DELETE FROM "users";
1145
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1146
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
1147
+ -------------------------------------------
1148
+ AuthproIntegrationTest: test_signup_failing
1149
+ -------------------------------------------
1150
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1151
+  (0.1ms) begin transaction
1152
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'KHRYuY60cLcyNzKGpqGCcA@sample.com' LIMIT 1
1153
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'RLnrCRrNgAYB8XPjn66Kig' LIMIT 1
1154
+ Binary data inserted for `string` type on column `password_digest`
1155
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "RLnrCRrNgAYB8XPjn66Kig"], ["created_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00], ["email", "KHRYuY60cLcyNzKGpqGCcA@sample.com"], ["password_digest", "$2a$04$GEuTX2Xne0hi3kClSqcEWOz0vXbZxT.UMQkDXLfHH0Yf1fQKpBZzC"], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
1156
+  (0.7ms) commit transaction
1157
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1158
+ Processing by HomeController#index as HTML
1159
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1160
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1161
+ Processing by UsersController#new as HTML
1162
+ Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
1163
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1164
+ Processing by UsersController#create as HTML
1165
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"PyZeLJJMPnefPc_dwYb5HQ@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
1166
+  (0.2ms) begin transaction
1167
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'PyZeLJJMPnefPc_dwYb5HQ@sample.com' LIMIT 1
1168
+  (0.0ms) rollback transaction
1169
+ Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.4ms)
1170
+  (1.0ms) DELETE FROM "users";
1171
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1172
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
1173
+ ---------------------------------------
1174
+ AuthproIntegrationTest: test_visit_home
1175
+ ---------------------------------------
1176
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1177
+  (0.1ms) begin transaction
1178
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'kRnqsgkpVx4NnT3jSKfCaA@sample.com' LIMIT 1
1179
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'YbnZVfX5WBKGx4cDrTOKZQ' LIMIT 1
1180
+ Binary data inserted for `string` type on column `password_digest`
1181
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "YbnZVfX5WBKGx4cDrTOKZQ"], ["created_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00], ["email", "kRnqsgkpVx4NnT3jSKfCaA@sample.com"], ["password_digest", "$2a$04$Ibm.PEreFaqt9qFExLUDAOE07N.EAyTYAKLe6qTwumC/MhPlhmHBS"], ["updated_at", Wed, 23 Apr 2014 20:36:37 UTC +00:00]]
1182
+  (0.8ms) commit transaction
1183
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:37 +0200
1184
+ Processing by HomeController#index as HTML
1185
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1186
+  (1.1ms) DELETE FROM "users";
1187
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1188
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
1189
+  (0.2ms) begin transaction
1190
+ ------------------------------------------
1191
+ AuthproGeneratorTest: test_generated_files
1192
+ ------------------------------------------
1193
+  (0.1ms) rollback transaction
1194
+ ----------------------------------
1195
+ AuthproIntegrationTest: test_login
1196
+ ----------------------------------
1197
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1198
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1199
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1200
+ Migrating to CreateUsers (20140423203645)
1201
+  (0.0ms) begin transaction
1202
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "password_digest" varchar(255), "auth_token" varchar(255), "password_reset_token" varchar(255), "password_reset_sent_at" datetime, "created_at" datetime, "updated_at" datetime) 
1203
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140423203645"]]
1204
+  (0.8ms) commit transaction
1205
+  (0.1ms) begin transaction
1206
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'OkFmpDdxYRtc2JPJZrPFdg@sample.com' LIMIT 1
1207
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'K2kAUWSQOQej5S8DCLkmpQ' LIMIT 1
1208
+ Binary data inserted for `string` type on column `password_digest`
1209
+ SQL (3.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "K2kAUWSQOQej5S8DCLkmpQ"], ["created_at", Wed, 23 Apr 2014 20:36:45 UTC +00:00], ["email", "OkFmpDdxYRtc2JPJZrPFdg@sample.com"], ["password_digest", "$2a$04$FIEqMa6dRWBEkU.T.tWLoOZrFZTaT5hIqDcnxFUbUwKhJjrYx05yG"], ["updated_at", Wed, 23 Apr 2014 20:36:45 UTC +00:00]]
1210
+  (0.9ms) commit transaction
1211
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1212
+ Processing by HomeController#index as HTML
1213
+ Rendered home/index.html.erb within layouts/application (1.0ms)
1214
+ Completed 200 OK in 21ms (Views: 20.1ms | ActiveRecord: 0.0ms)
1215
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1216
+ Processing by SessionsController#new as HTML
1217
+ Rendered sessions/new.html.erb within layouts/application (1.1ms)
1218
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
1219
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1220
+ Processing by SessionsController#create as HTML
1221
+ Parameters: {"utf8"=>"✓", "email"=>"OkFmpDdxYRtc2JPJZrPFdg@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
1222
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'OkFmpDdxYRtc2JPJZrPFdg@sample.com' LIMIT 1
1223
+ Redirected to http://www.example.com/
1224
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
1225
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1226
+ Processing by HomeController#index as HTML
1227
+ Rendered home/index.html.erb within layouts/application (0.1ms)
1228
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'K2kAUWSQOQej5S8DCLkmpQ' LIMIT 1
1229
+ Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.1ms)
1230
+  (2.7ms) DELETE FROM "users";
1231
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1232
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
1233
+ ------------------------------------------
1234
+ AuthproIntegrationTest: test_login_failing
1235
+ ------------------------------------------
1236
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1237
+  (0.1ms) begin transaction
1238
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '3j6XkNyow1vLnaR7GYWxnA@sample.com' LIMIT 1
1239
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'N99w5maCFoEPpDiWdAf7hw' LIMIT 1
1240
+ Binary data inserted for `string` type on column `password_digest`
1241
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "N99w5maCFoEPpDiWdAf7hw"], ["created_at", Wed, 23 Apr 2014 20:36:45 UTC +00:00], ["email", "3j6XkNyow1vLnaR7GYWxnA@sample.com"], ["password_digest", "$2a$04$k0i/Cia/0ivpK0Pr6lc6H.kn3dPZiJknBCXelUKuPhapbf0CQjEqG"], ["updated_at", Wed, 23 Apr 2014 20:36:45 UTC +00:00]]
1242
+  (0.7ms) commit transaction
1243
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1244
+ Processing by HomeController#index as HTML
1245
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1246
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1247
+ Processing by SessionsController#new as HTML
1248
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
1249
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1250
+ Processing by SessionsController#create as HTML
1251
+ Parameters: {"utf8"=>"✓", "email"=>"3j6XkNyow1vLnaR7GYWxnA@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
1252
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '3j6XkNyow1vLnaR7GYWxnA@sample.com' LIMIT 1
1253
+ Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)
1254
+  (1.0ms) DELETE FROM "users";
1255
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1256
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
1257
+ -----------------------------------
1258
+ AuthproIntegrationTest: test_logout
1259
+ -----------------------------------
1260
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1261
+  (0.1ms) begin transaction
1262
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'hvWEvqY6gVn5kohNCPwzcw@sample.com' LIMIT 1
1263
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'rGUrX9J6P_Qms60poPv5_A' LIMIT 1
1264
+ Binary data inserted for `string` type on column `password_digest`
1265
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "rGUrX9J6P_Qms60poPv5_A"], ["created_at", Wed, 23 Apr 2014 20:36:45 UTC +00:00], ["email", "hvWEvqY6gVn5kohNCPwzcw@sample.com"], ["password_digest", "$2a$04$WOSffz7A.YzgeAnOaVxLCuQS4GPAvixWmTW2YsGCe2vw0i.KJM/Lm"], ["updated_at", Wed, 23 Apr 2014 20:36:45 UTC +00:00]]
1266
+  (0.7ms) commit transaction
1267
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1268
+ Processing by SessionsController#new as HTML
1269
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1270
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1271
+ Processing by SessionsController#create as HTML
1272
+ Parameters: {"utf8"=>"✓", "email"=>"hvWEvqY6gVn5kohNCPwzcw@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
1273
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'hvWEvqY6gVn5kohNCPwzcw@sample.com' LIMIT 1
1274
+ Redirected to http://www.example.com/
1275
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
1276
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1277
+ Processing by HomeController#index as HTML
1278
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'rGUrX9J6P_Qms60poPv5_A' LIMIT 1
1279
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
1280
+ Started GET "/logout" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1281
+ Processing by SessionsController#destroy as HTML
1282
+ Redirected to http://www.example.com/
1283
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1284
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1285
+ Processing by HomeController#index as HTML
1286
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
1287
+  (1.0ms) DELETE FROM "users";
1288
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1289
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
1290
+ -------------------------------------------
1291
+ AuthproIntegrationTest: test_reset_password
1292
+ -------------------------------------------
1293
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1294
+  (0.1ms) begin transaction
1295
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'nmLSC43cdAmpEY5nwIYhEw@sample.com' LIMIT 1
1296
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'rRqbC3K80x2QcgwFmEhS5w' LIMIT 1
1297
+ Binary data inserted for `string` type on column `password_digest`
1298
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "rRqbC3K80x2QcgwFmEhS5w"], ["created_at", Wed, 23 Apr 2014 20:36:45 UTC +00:00], ["email", "nmLSC43cdAmpEY5nwIYhEw@sample.com"], ["password_digest", "$2a$04$PWOX7710ZdHb57PERWTq8OoIDA.rNdAUE9qrQCXyIidE8/byL4TY2"], ["updated_at", Wed, 23 Apr 2014 20:36:45 UTC +00:00]]
1299
+  (0.9ms) commit transaction
1300
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1301
+ Processing by SessionsController#new as HTML
1302
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1303
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1304
+ Processing by PasswordResetsController#new as HTML
1305
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
1306
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:36:45 +0200
1307
+ Processing by PasswordResetsController#create as HTML
1308
+ Parameters: {"utf8"=>"✓", "email"=>"nmLSC43cdAmpEY5nwIYhEw@sample.com", "commit"=>"Reset password"}
1309
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nmLSC43cdAmpEY5nwIYhEw@sample.com' LIMIT 1
1310
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'a2qgIIhoGgt_-qACG1uvaw' LIMIT 1
1311
+  (0.0ms) begin transaction
1312
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'nmLSC43cdAmpEY5nwIYhEw@sample.com' AND "users"."id" != 1) LIMIT 1
1313
+ SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "a2qgIIhoGgt_-qACG1uvaw"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:36:45 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:36:45 UTC +00:00]]
1314
+  (0.7ms) commit transaction
1315
+
1316
+ Sent mail to nmLSC43cdAmpEY5nwIYhEw@sample.com (7.4ms)
1317
+ Date: Wed, 23 Apr 2014 22:36:46 +0200
1318
+ From: from@example.com
1319
+ To: nmLSC43cdAmpEY5nwIYhEw@sample.com
1320
+ Message-ID: <5358245e29a3_4c1c3fffa4c2dbb476592@air.lan.mail>
1321
+ Subject: Password Reset
1322
+ Mime-Version: 1.0
1323
+ Content-Type: text/plain;
1324
+ charset=UTF-8
1325
+ Content-Transfer-Encoding: 7bit
1326
+
1327
+ To reset your password, click the URL below.
1328
+
1329
+ http://localhost:3000/password_resets/a2qgIIhoGgt_-qACG1uvaw/edit
1330
+
1331
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
1332
+ Redirected to http://www.example.com/
1333
+ Completed 302 Found in 141ms (ActiveRecord: 1.4ms)
1334
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1335
+ Processing by HomeController#index as HTML
1336
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1337
+ Started GET "/password_resets/a2qgIIhoGgt_-qACG1uvaw/edit" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1338
+ Processing by PasswordResetsController#edit as HTML
1339
+ Parameters: {"id"=>"a2qgIIhoGgt_-qACG1uvaw"}
1340
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'a2qgIIhoGgt_-qACG1uvaw' LIMIT 1
1341
+ Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.2ms)
1342
+ Started PATCH "/password_resets/a2qgIIhoGgt_-qACG1uvaw" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1343
+ Processing by PasswordResetsController#update as HTML
1344
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"a2qgIIhoGgt_-qACG1uvaw"}
1345
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'a2qgIIhoGgt_-qACG1uvaw' LIMIT 1
1346
+  (0.0ms) begin transaction
1347
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'nmLSC43cdAmpEY5nwIYhEw@sample.com' AND "users"."id" != 1) LIMIT 1
1348
+ Binary data inserted for `string` type on column `password_digest`
1349
+ SQL (0.3ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$EAeUEVsYueG9JEyzLlcLs.zjKJ96.8Hf7R.Dkg4aHGA6.YhZu3Svq"], ["updated_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00]]
1350
+  (2.5ms) commit transaction
1351
+ Redirected to http://localhost:3000/
1352
+ Completed 302 Found in 7ms (ActiveRecord: 3.1ms)
1353
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1354
+ Processing by HomeController#index as HTML
1355
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1356
+  (0.9ms) DELETE FROM "users";
1357
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1358
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
1359
+ --------------------------------------------------------------------------------
1360
+ AuthproIntegrationTest: test_reset_password_failing_because_email_does_not_exist
1361
+ --------------------------------------------------------------------------------
1362
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1363
+  (0.1ms) begin transaction
1364
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'fWMTeL102LxeiKZZzxuYkw@sample.com' LIMIT 1
1365
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'eYy4blMEYWo068MGLY_pwg' LIMIT 1
1366
+ Binary data inserted for `string` type on column `password_digest`
1367
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "eYy4blMEYWo068MGLY_pwg"], ["created_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00], ["email", "fWMTeL102LxeiKZZzxuYkw@sample.com"], ["password_digest", "$2a$04$9CEhoFEFH3ptspM9uojmpecfL2J/3HVita91vtxQPWlhfahvpy3W6"], ["updated_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00]]
1368
+  (0.9ms) commit transaction
1369
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1370
+ Processing by SessionsController#new as HTML
1371
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1372
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1373
+ Processing by PasswordResetsController#new as HTML
1374
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1375
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1376
+ Processing by PasswordResetsController#create as HTML
1377
+ Parameters: {"utf8"=>"✓", "email"=>"nosense@example.com", "commit"=>"Reset password"}
1378
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nosense@example.com' LIMIT 1
1379
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms)
1380
+  (0.8ms) DELETE FROM "users";
1381
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1382
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
1383
+ -------------------------------------------------------------------------
1384
+ AuthproIntegrationTest: test_reset_password_failing_because_of_expiration
1385
+ -------------------------------------------------------------------------
1386
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1387
+  (0.1ms) begin transaction
1388
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'kdVRuEN-EA1x5Zg-vqc2mA@sample.com' LIMIT 1
1389
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'QUggs54-U3x2pp-hjStLzQ' LIMIT 1
1390
+ Binary data inserted for `string` type on column `password_digest`
1391
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "QUggs54-U3x2pp-hjStLzQ"], ["created_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00], ["email", "kdVRuEN-EA1x5Zg-vqc2mA@sample.com"], ["password_digest", "$2a$04$ctnRHihwXTas32wE5SPCEecHKPJ.RqJHIala/9zB2tyhOhpw7a94e"], ["updated_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00]]
1392
+  (0.8ms) commit transaction
1393
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1394
+ Processing by SessionsController#new as HTML
1395
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
1396
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1397
+ Processing by PasswordResetsController#new as HTML
1398
+ Completed 200 OK in 1ms (Views: 1.4ms | ActiveRecord: 0.0ms)
1399
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1400
+ Processing by PasswordResetsController#create as HTML
1401
+ Parameters: {"utf8"=>"✓", "email"=>"kdVRuEN-EA1x5Zg-vqc2mA@sample.com", "commit"=>"Reset password"}
1402
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'kdVRuEN-EA1x5Zg-vqc2mA@sample.com' LIMIT 1
1403
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'hOAOMcELOUEyJ6gh4uYVLQ' LIMIT 1
1404
+  (0.1ms) begin transaction
1405
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'kdVRuEN-EA1x5Zg-vqc2mA@sample.com' AND "users"."id" != 1) LIMIT 1
1406
+ SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "hOAOMcELOUEyJ6gh4uYVLQ"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00]]
1407
+  (0.6ms) commit transaction
1408
+
1409
+ Sent mail to kdVRuEN-EA1x5Zg-vqc2mA@sample.com (4.6ms)
1410
+ Date: Wed, 23 Apr 2014 22:36:46 +0200
1411
+ From: from@example.com
1412
+ To: kdVRuEN-EA1x5Zg-vqc2mA@sample.com
1413
+ Message-ID: <5358245e22068_4c1c3fffa4c2dbb4766d3@air.lan.mail>
1414
+ Subject: Password Reset
1415
+ Mime-Version: 1.0
1416
+ Content-Type: text/plain;
1417
+ charset=UTF-8
1418
+ Content-Transfer-Encoding: 7bit
1419
+
1420
+ To reset your password, click the URL below.
1421
+
1422
+ http://localhost:3000/password_resets/hOAOMcELOUEyJ6gh4uYVLQ/edit
1423
+
1424
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
1425
+ Redirected to http://www.example.com/
1426
+ Completed 302 Found in 14ms (ActiveRecord: 1.2ms)
1427
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1428
+ Processing by HomeController#index as HTML
1429
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1430
+ Started GET "/password_resets/hOAOMcELOUEyJ6gh4uYVLQ/edit" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
1431
+ Processing by PasswordResetsController#edit as HTML
1432
+ Parameters: {"id"=>"hOAOMcELOUEyJ6gh4uYVLQ"}
1433
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'hOAOMcELOUEyJ6gh4uYVLQ' LIMIT 1
1434
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
1435
+ Started PATCH "/password_resets/hOAOMcELOUEyJ6gh4uYVLQ" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
1436
+ Processing by PasswordResetsController#update as HTML
1437
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"hOAOMcELOUEyJ6gh4uYVLQ"}
1438
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'hOAOMcELOUEyJ6gh4uYVLQ' LIMIT 1
1439
+ Redirected to http://localhost:3000/password_resets/new
1440
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1441
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
1442
+ Processing by PasswordResetsController#new as HTML
1443
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
1444
+  (1.0ms) DELETE FROM "users";
1445
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1446
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
1447
+ -------------------------------------------------------------------------------------------
1448
+ AuthproIntegrationTest: test_reset_password_failing_because_we_enter_a_new_invalid_password
1449
+ -------------------------------------------------------------------------------------------
1450
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1451
+  (0.1ms) begin transaction
1452
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'q-Dyu6zv21zIda--a_eS7Q@sample.com' LIMIT 1
1453
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '_8mbQ-ZmG7i9KSIrWpTatw' LIMIT 1
1454
+ Binary data inserted for `string` type on column `password_digest`
1455
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "_8mbQ-ZmG7i9KSIrWpTatw"], ["created_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00], ["email", "q-Dyu6zv21zIda--a_eS7Q@sample.com"], ["password_digest", "$2a$04$pDz/lnYY49Cr4cBJLuPPsuyMvB0wuQUd49RP2GaK07uPPP8UOUvt6"], ["updated_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00]]
1456
+  (0.7ms) commit transaction
1457
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1458
+ Processing by SessionsController#new as HTML
1459
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
1460
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1461
+ Processing by PasswordResetsController#new as HTML
1462
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
1463
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1464
+ Processing by PasswordResetsController#create as HTML
1465
+ Parameters: {"utf8"=>"✓", "email"=>"q-Dyu6zv21zIda--a_eS7Q@sample.com", "commit"=>"Reset password"}
1466
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'q-Dyu6zv21zIda--a_eS7Q@sample.com' LIMIT 1
1467
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'hT4ZTTTnFvm-k27EoRy-uw' LIMIT 1
1468
+  (0.1ms) begin transaction
1469
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'q-Dyu6zv21zIda--a_eS7Q@sample.com' AND "users"."id" != 1) LIMIT 1
1470
+ SQL (0.3ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "hT4ZTTTnFvm-k27EoRy-uw"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00]]
1471
+  (0.7ms) commit transaction
1472
+
1473
+ Sent mail to q-Dyu6zv21zIda--a_eS7Q@sample.com (8.6ms)
1474
+ Date: Wed, 23 Apr 2014 22:36:46 +0200
1475
+ From: from@example.com
1476
+ To: q-Dyu6zv21zIda--a_eS7Q@sample.com
1477
+ Message-ID: <5358245e39472_4c1c3fffa4c2dbb476777@air.lan.mail>
1478
+ Subject: Password Reset
1479
+ Mime-Version: 1.0
1480
+ Content-Type: text/plain;
1481
+ charset=UTF-8
1482
+ Content-Transfer-Encoding: 7bit
1483
+
1484
+ To reset your password, click the URL below.
1485
+
1486
+ http://localhost:3000/password_resets/hT4ZTTTnFvm-k27EoRy-uw/edit
1487
+
1488
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
1489
+ Redirected to http://www.example.com/
1490
+ Completed 302 Found in 24ms (ActiveRecord: 1.8ms)
1491
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1492
+ Processing by HomeController#index as HTML
1493
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
1494
+ Started GET "/password_resets/hT4ZTTTnFvm-k27EoRy-uw/edit" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1495
+ Processing by PasswordResetsController#edit as HTML
1496
+ Parameters: {"id"=>"hT4ZTTTnFvm-k27EoRy-uw"}
1497
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'hT4ZTTTnFvm-k27EoRy-uw' LIMIT 1
1498
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms)
1499
+ Started PATCH "/password_resets/hT4ZTTTnFvm-k27EoRy-uw" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1500
+ Processing by PasswordResetsController#update as HTML
1501
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"hT4ZTTTnFvm-k27EoRy-uw"}
1502
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'hT4ZTTTnFvm-k27EoRy-uw' LIMIT 1
1503
+  (0.0ms) begin transaction
1504
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'q-Dyu6zv21zIda--a_eS7Q@sample.com' AND "users"."id" != 1) LIMIT 1
1505
+  (0.1ms) rollback transaction
1506
+ Completed 200 OK in 10ms (Views: 3.8ms | ActiveRecord: 0.6ms)
1507
+  (0.9ms) DELETE FROM "users";
1508
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1509
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
1510
+ -----------------------------------
1511
+ AuthproIntegrationTest: test_signup
1512
+ -----------------------------------
1513
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1514
+  (0.1ms) begin transaction
1515
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '3owOjo-P8m2VafDyEOE8HQ@sample.com' LIMIT 1
1516
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 's-nLSSW7rKD7tr75vNSbaQ' LIMIT 1
1517
+ Binary data inserted for `string` type on column `password_digest`
1518
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "s-nLSSW7rKD7tr75vNSbaQ"], ["created_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00], ["email", "3owOjo-P8m2VafDyEOE8HQ@sample.com"], ["password_digest", "$2a$04$IpvuyRzs7K0LBzRl/Fnd3u9LezQA5eAD9cB7ZjXDhyg74M70v/Ew6"], ["updated_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00]]
1519
+  (0.8ms) commit transaction
1520
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1521
+ Processing by HomeController#index as HTML
1522
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
1523
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1524
+ Processing by UsersController#new as HTML
1525
+ Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
1526
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1527
+ Processing by UsersController#create as HTML
1528
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"J80NPH11CALTuvKlE3kCRg@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
1529
+  (0.2ms) begin transaction
1530
+ User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'J80NPH11CALTuvKlE3kCRg@sample.com' LIMIT 1
1531
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'LvHbb1owyGJy_ytsfQFWOg' LIMIT 1
1532
+ Binary data inserted for `string` type on column `password_digest`
1533
+ SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "LvHbb1owyGJy_ytsfQFWOg"], ["created_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00], ["email", "J80NPH11CALTuvKlE3kCRg@sample.com"], ["password_digest", "$2a$04$L5BQELp5CXX0RLAnDHCcBec3FhIcSGcPMLakHICxDb/Ug2Nfuue0K"], ["updated_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00]]
1534
+  (0.9ms) commit transaction
1535
+ Redirected to http://www.example.com/
1536
+ Completed 302 Found in 8ms (ActiveRecord: 2.1ms)
1537
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1538
+ Processing by HomeController#index as HTML
1539
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1540
+  (1.0ms) DELETE FROM "users";
1541
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1542
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
1543
+ -------------------------------------------
1544
+ AuthproIntegrationTest: test_signup_failing
1545
+ -------------------------------------------
1546
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1547
+  (0.1ms) begin transaction
1548
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'i5xhJ_WWMH0-ut6OqMvmlQ@sample.com' LIMIT 1
1549
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '_MyL8HhR0a5JBBxxXmDqDw' LIMIT 1
1550
+ Binary data inserted for `string` type on column `password_digest`
1551
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "_MyL8HhR0a5JBBxxXmDqDw"], ["created_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00], ["email", "i5xhJ_WWMH0-ut6OqMvmlQ@sample.com"], ["password_digest", "$2a$04$tic6tcr0OftCgBvI9cVlX.Hq.yG2eZs4C4W6xL5WOWvwKVLBeeEz."], ["updated_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00]]
1552
+  (0.9ms) commit transaction
1553
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1554
+ Processing by HomeController#index as HTML
1555
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1556
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1557
+ Processing by UsersController#new as HTML
1558
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
1559
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1560
+ Processing by UsersController#create as HTML
1561
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"EplLfTKqbHiBgOJdYrHKow@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
1562
+  (0.1ms) begin transaction
1563
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'EplLfTKqbHiBgOJdYrHKow@sample.com' LIMIT 1
1564
+  (0.0ms) rollback transaction
1565
+ Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms)
1566
+  (0.8ms) DELETE FROM "users";
1567
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1568
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
1569
+ ---------------------------------------
1570
+ AuthproIntegrationTest: test_visit_home
1571
+ ---------------------------------------
1572
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1573
+  (0.1ms) begin transaction
1574
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'Z0Yc-gtFVcn9yHLkZ6axKg@sample.com' LIMIT 1
1575
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'CSJnPxgDf59IiYxRIUZq4w' LIMIT 1
1576
+ Binary data inserted for `string` type on column `password_digest`
1577
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "CSJnPxgDf59IiYxRIUZq4w"], ["created_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00], ["email", "Z0Yc-gtFVcn9yHLkZ6axKg@sample.com"], ["password_digest", "$2a$04$pEVBbBvWaj4sOFOj.4IoQ.ZXp1uDEpiJxazsuJpSQnTTbcIXNsvJG"], ["updated_at", Wed, 23 Apr 2014 20:36:46 UTC +00:00]]
1578
+  (0.6ms) commit transaction
1579
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:36:46 +0200
1580
+ Processing by HomeController#index as HTML
1581
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1582
+  (0.8ms) DELETE FROM "users";
1583
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1584
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
1585
+  (0.2ms) begin transaction
1586
+ ------------------------------------------
1587
+ AuthproGeneratorTest: test_generated_files
1588
+ ------------------------------------------
1589
+  (0.1ms) rollback transaction
1590
+ ----------------------------------
1591
+ AuthproIntegrationTest: test_login
1592
+ ----------------------------------
1593
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1594
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1595
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1596
+ Migrating to CreateUsers (20140423203816)
1597
+  (0.0ms) begin transaction
1598
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "password_digest" varchar(255), "auth_token" varchar(255), "password_reset_token" varchar(255), "password_reset_sent_at" datetime, "created_at" datetime, "updated_at" datetime) 
1599
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140423203816"]]
1600
+  (0.7ms) commit transaction
1601
+  (0.1ms) begin transaction
1602
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'Taj-ReE3ilaNvZSJYbi0qw@sample.com' LIMIT 1
1603
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '-qgW6FPGA4j2dAb6LY911A' LIMIT 1
1604
+ Binary data inserted for `string` type on column `password_digest`
1605
+ SQL (3.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "-qgW6FPGA4j2dAb6LY911A"], ["created_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["email", "Taj-ReE3ilaNvZSJYbi0qw@sample.com"], ["password_digest", "$2a$04$GrKqsdFHD5TrXGn.niZEf.eCypzd0qv6rpvfolOD8fdB63/WYxUPG"], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1606
+  (15.4ms) commit transaction
1607
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1608
+ Processing by HomeController#index as HTML
1609
+ Rendered home/index.html.erb within layouts/application (1.0ms)
1610
+ Completed 200 OK in 20ms (Views: 20.0ms | ActiveRecord: 0.0ms)
1611
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1612
+ Processing by SessionsController#new as HTML
1613
+ Rendered sessions/new.html.erb within layouts/application (1.2ms)
1614
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
1615
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1616
+ Processing by SessionsController#create as HTML
1617
+ Parameters: {"utf8"=>"✓", "email"=>"Taj-ReE3ilaNvZSJYbi0qw@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
1618
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'Taj-ReE3ilaNvZSJYbi0qw@sample.com' LIMIT 1
1619
+ Redirected to http://www.example.com/
1620
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
1621
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1622
+ Processing by HomeController#index as HTML
1623
+ Rendered home/index.html.erb within layouts/application (0.1ms)
1624
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = '-qgW6FPGA4j2dAb6LY911A' LIMIT 1
1625
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
1626
+  (1.0ms) DELETE FROM "users";
1627
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1628
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
1629
+ ------------------------------------------
1630
+ AuthproIntegrationTest: test_login_failing
1631
+ ------------------------------------------
1632
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1633
+  (0.1ms) begin transaction
1634
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lKh502Xy9XPIGPG3SHtbTw@sample.com' LIMIT 1
1635
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'WihjtCBN5mUqA0pRzcFuWw' LIMIT 1
1636
+ Binary data inserted for `string` type on column `password_digest`
1637
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "WihjtCBN5mUqA0pRzcFuWw"], ["created_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["email", "lKh502Xy9XPIGPG3SHtbTw@sample.com"], ["password_digest", "$2a$04$dY1P0zVG8UVhoJ/PQvcMVOhJo9sv3Fos1W4urSTq5z4NMSrXFPHp."], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1638
+  (0.8ms) commit transaction
1639
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1640
+ Processing by HomeController#index as HTML
1641
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1642
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1643
+ Processing by SessionsController#new as HTML
1644
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
1645
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1646
+ Processing by SessionsController#create as HTML
1647
+ Parameters: {"utf8"=>"✓", "email"=>"lKh502Xy9XPIGPG3SHtbTw@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
1648
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'lKh502Xy9XPIGPG3SHtbTw@sample.com' LIMIT 1
1649
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.2ms)
1650
+  (0.7ms) DELETE FROM "users";
1651
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1652
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
1653
+ -----------------------------------
1654
+ AuthproIntegrationTest: test_logout
1655
+ -----------------------------------
1656
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1657
+  (0.1ms) begin transaction
1658
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'RYPDEYZyoFlDDXy2vMFlLg@sample.com' LIMIT 1
1659
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '0eakWOnEzli0RjkxdEWtNg' LIMIT 1
1660
+ Binary data inserted for `string` type on column `password_digest`
1661
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "0eakWOnEzli0RjkxdEWtNg"], ["created_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["email", "RYPDEYZyoFlDDXy2vMFlLg@sample.com"], ["password_digest", "$2a$04$sEMrZZx.6a.YWCp2WTPFR.mVAfaK6hRq58i8Lv.sho8v4dj6M2EuS"], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1662
+  (0.8ms) commit transaction
1663
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1664
+ Processing by SessionsController#new as HTML
1665
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
1666
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1667
+ Processing by SessionsController#create as HTML
1668
+ Parameters: {"utf8"=>"✓", "email"=>"RYPDEYZyoFlDDXy2vMFlLg@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
1669
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'RYPDEYZyoFlDDXy2vMFlLg@sample.com' LIMIT 1
1670
+ Redirected to http://www.example.com/
1671
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1672
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1673
+ Processing by HomeController#index as HTML
1674
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = '0eakWOnEzli0RjkxdEWtNg' LIMIT 1
1675
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
1676
+ Started GET "/logout" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1677
+ Processing by SessionsController#destroy as HTML
1678
+ Redirected to http://www.example.com/
1679
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
1680
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1681
+ Processing by HomeController#index as HTML
1682
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1683
+  (0.9ms) DELETE FROM "users";
1684
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1685
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
1686
+ -------------------------------------------
1687
+ AuthproIntegrationTest: test_reset_password
1688
+ -------------------------------------------
1689
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1690
+  (0.1ms) begin transaction
1691
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'TO5_Zc8ReqFz6PTVSfXRuA@sample.com' LIMIT 1
1692
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'WTg44JWeG2uHc7fCKp6B1Q' LIMIT 1
1693
+ Binary data inserted for `string` type on column `password_digest`
1694
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "WTg44JWeG2uHc7fCKp6B1Q"], ["created_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["email", "TO5_Zc8ReqFz6PTVSfXRuA@sample.com"], ["password_digest", "$2a$04$pTwQeczOcCE8uAGd8b/lDOSO64QSGTAxlu5kSMofuosabS10JDCwO"], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1695
+  (0.7ms) commit transaction
1696
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1697
+ Processing by SessionsController#new as HTML
1698
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1699
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1700
+ Processing by PasswordResetsController#new as HTML
1701
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
1702
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1703
+ Processing by PasswordResetsController#create as HTML
1704
+ Parameters: {"utf8"=>"✓", "email"=>"TO5_Zc8ReqFz6PTVSfXRuA@sample.com", "commit"=>"Reset password"}
1705
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'TO5_Zc8ReqFz6PTVSfXRuA@sample.com' LIMIT 1
1706
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'VzjG_8GMhWC_qzvhzd-UMA' LIMIT 1
1707
+  (0.0ms) begin transaction
1708
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'TO5_Zc8ReqFz6PTVSfXRuA@sample.com' AND "users"."id" != 1) LIMIT 1
1709
+ SQL (0.5ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "VzjG_8GMhWC_qzvhzd-UMA"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1710
+  (0.9ms) commit transaction
1711
+
1712
+ Sent mail to TO5_Zc8ReqFz6PTVSfXRuA@sample.com (9.2ms)
1713
+ Date: Wed, 23 Apr 2014 22:38:16 +0200
1714
+ From: from@example.com
1715
+ To: TO5_Zc8ReqFz6PTVSfXRuA@sample.com
1716
+ Message-ID: <535824b8881e0_4c943fd08d42dbd089a7@air.lan.mail>
1717
+ Subject: Password Reset
1718
+ Mime-Version: 1.0
1719
+ Content-Type: text/plain;
1720
+ charset=UTF-8
1721
+ Content-Transfer-Encoding: 7bit
1722
+
1723
+ To reset your password, click the URL below.
1724
+
1725
+ http://localhost:3000/password_resets/VzjG_8GMhWC_qzvhzd-UMA/edit
1726
+
1727
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
1728
+ Redirected to http://www.example.com/
1729
+ Completed 302 Found in 144ms (ActiveRecord: 1.8ms)
1730
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1731
+ Processing by HomeController#index as HTML
1732
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
1733
+ Started GET "/password_resets/VzjG_8GMhWC_qzvhzd-UMA/edit" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1734
+ Processing by PasswordResetsController#edit as HTML
1735
+ Parameters: {"id"=>"VzjG_8GMhWC_qzvhzd-UMA"}
1736
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'VzjG_8GMhWC_qzvhzd-UMA' LIMIT 1
1737
+ Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.2ms)
1738
+ Started PATCH "/password_resets/VzjG_8GMhWC_qzvhzd-UMA" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1739
+ Processing by PasswordResetsController#update as HTML
1740
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"VzjG_8GMhWC_qzvhzd-UMA"}
1741
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'VzjG_8GMhWC_qzvhzd-UMA' LIMIT 1
1742
+  (0.0ms) begin transaction
1743
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'TO5_Zc8ReqFz6PTVSfXRuA@sample.com' AND "users"."id" != 1) LIMIT 1
1744
+ Binary data inserted for `string` type on column `password_digest`
1745
+ SQL (0.3ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$yF/v3uIp8c6haXjGoS0Ty.X4V6RfoVVu79ytVyZB2WMxhZfdja9hu"], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1746
+  (1.9ms) commit transaction
1747
+ Redirected to http://localhost:3000/
1748
+ Completed 302 Found in 7ms (ActiveRecord: 2.5ms)
1749
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1750
+ Processing by HomeController#index as HTML
1751
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1752
+  (0.9ms) DELETE FROM "users";
1753
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1754
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
1755
+ --------------------------------------------------------------------------------
1756
+ AuthproIntegrationTest: test_reset_password_failing_because_email_does_not_exist
1757
+ --------------------------------------------------------------------------------
1758
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1759
+  (0.1ms) begin transaction
1760
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '7-QG87DmnuaXcP2bfOugiA@sample.com' LIMIT 1
1761
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'XXBmff89CPTViNwuRiiQ9w' LIMIT 1
1762
+ Binary data inserted for `string` type on column `password_digest`
1763
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "XXBmff89CPTViNwuRiiQ9w"], ["created_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["email", "7-QG87DmnuaXcP2bfOugiA@sample.com"], ["password_digest", "$2a$04$2IH3V6L4KWzrvRjUVee8FuMvqD/O7p6b27FADOnUcWEdwq7Zqgc.O"], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1764
+  (0.7ms) commit transaction
1765
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1766
+ Processing by SessionsController#new as HTML
1767
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1768
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1769
+ Processing by PasswordResetsController#new as HTML
1770
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1771
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1772
+ Processing by PasswordResetsController#create as HTML
1773
+ Parameters: {"utf8"=>"✓", "email"=>"nosense@example.com", "commit"=>"Reset password"}
1774
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nosense@example.com' LIMIT 1
1775
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms)
1776
+  (0.9ms) DELETE FROM "users";
1777
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1778
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
1779
+ -------------------------------------------------------------------------
1780
+ AuthproIntegrationTest: test_reset_password_failing_because_of_expiration
1781
+ -------------------------------------------------------------------------
1782
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1783
+  (0.1ms) begin transaction
1784
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'uTGOTYCqImFSnxCLvqPOIA@sample.com' LIMIT 1
1785
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'FRfZU3b8UdKsKIZ-qY1iXw' LIMIT 1
1786
+ Binary data inserted for `string` type on column `password_digest`
1787
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "FRfZU3b8UdKsKIZ-qY1iXw"], ["created_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["email", "uTGOTYCqImFSnxCLvqPOIA@sample.com"], ["password_digest", "$2a$04$2IlpJmpOkHwrZbeaHp7r8uZ57Npvm6C0AkHznrruXtzTgm1m7k8.e"], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1788
+  (0.9ms) commit transaction
1789
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1790
+ Processing by SessionsController#new as HTML
1791
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
1792
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1793
+ Processing by PasswordResetsController#new as HTML
1794
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
1795
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1796
+ Processing by PasswordResetsController#create as HTML
1797
+ Parameters: {"utf8"=>"✓", "email"=>"uTGOTYCqImFSnxCLvqPOIA@sample.com", "commit"=>"Reset password"}
1798
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'uTGOTYCqImFSnxCLvqPOIA@sample.com' LIMIT 1
1799
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 's2SPczTWdqOPU8-JL5o71A' LIMIT 1
1800
+  (0.0ms) begin transaction
1801
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'uTGOTYCqImFSnxCLvqPOIA@sample.com' AND "users"."id" != 1) LIMIT 1
1802
+ SQL (0.2ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "s2SPczTWdqOPU8-JL5o71A"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1803
+  (0.9ms) commit transaction
1804
+
1805
+ Sent mail to uTGOTYCqImFSnxCLvqPOIA@sample.com (4.8ms)
1806
+ Date: Wed, 23 Apr 2014 22:38:16 +0200
1807
+ From: from@example.com
1808
+ To: uTGOTYCqImFSnxCLvqPOIA@sample.com
1809
+ Message-ID: <535824b8a69da_4c943fd08d42dbd09014@air.lan.mail>
1810
+ Subject: Password Reset
1811
+ Mime-Version: 1.0
1812
+ Content-Type: text/plain;
1813
+ charset=UTF-8
1814
+ Content-Transfer-Encoding: 7bit
1815
+
1816
+ To reset your password, click the URL below.
1817
+
1818
+ http://localhost:3000/password_resets/s2SPczTWdqOPU8-JL5o71A/edit
1819
+
1820
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
1821
+ Redirected to http://www.example.com/
1822
+ Completed 302 Found in 15ms (ActiveRecord: 1.4ms)
1823
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1824
+ Processing by HomeController#index as HTML
1825
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1826
+ Started GET "/password_resets/s2SPczTWdqOPU8-JL5o71A/edit" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
1827
+ Processing by PasswordResetsController#edit as HTML
1828
+ Parameters: {"id"=>"s2SPczTWdqOPU8-JL5o71A"}
1829
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 's2SPczTWdqOPU8-JL5o71A' LIMIT 1
1830
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
1831
+ Started PATCH "/password_resets/s2SPczTWdqOPU8-JL5o71A" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
1832
+ Processing by PasswordResetsController#update as HTML
1833
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"s2SPczTWdqOPU8-JL5o71A"}
1834
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 's2SPczTWdqOPU8-JL5o71A' LIMIT 1
1835
+ Redirected to http://localhost:3000/password_resets/new
1836
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1837
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
1838
+ Processing by PasswordResetsController#new as HTML
1839
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
1840
+  (2.4ms) DELETE FROM "users";
1841
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1842
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
1843
+ -------------------------------------------------------------------------------------------
1844
+ AuthproIntegrationTest: test_reset_password_failing_because_we_enter_a_new_invalid_password
1845
+ -------------------------------------------------------------------------------------------
1846
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1847
+  (0.1ms) begin transaction
1848
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'aoUORfpunCewwjeoChX3Mw@sample.com' LIMIT 1
1849
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'GkLxV1K-8K6JptZvuTa1rw' LIMIT 1
1850
+ Binary data inserted for `string` type on column `password_digest`
1851
+ SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "GkLxV1K-8K6JptZvuTa1rw"], ["created_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["email", "aoUORfpunCewwjeoChX3Mw@sample.com"], ["password_digest", "$2a$04$FiihJ7XZSoe2aqsCLRqvAeTDZLFj/pyS0m7i7ktje5XqZ.OVFd736"], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1852
+  (0.8ms) commit transaction
1853
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1854
+ Processing by SessionsController#new as HTML
1855
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
1856
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1857
+ Processing by PasswordResetsController#new as HTML
1858
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
1859
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1860
+ Processing by PasswordResetsController#create as HTML
1861
+ Parameters: {"utf8"=>"✓", "email"=>"aoUORfpunCewwjeoChX3Mw@sample.com", "commit"=>"Reset password"}
1862
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'aoUORfpunCewwjeoChX3Mw@sample.com' LIMIT 1
1863
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'XpB-KEaz41ZMD_UzXT5Xqg' LIMIT 1
1864
+  (0.1ms) begin transaction
1865
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'aoUORfpunCewwjeoChX3Mw@sample.com' AND "users"."id" != 1) LIMIT 1
1866
+ SQL (0.4ms) UPDATE "users" SET "password_reset_token" = ?, "password_reset_sent_at" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_token", "XpB-KEaz41ZMD_UzXT5Xqg"], ["password_reset_sent_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1867
+  (0.8ms) commit transaction
1868
+
1869
+ Sent mail to aoUORfpunCewwjeoChX3Mw@sample.com (9.3ms)
1870
+ Date: Wed, 23 Apr 2014 22:38:16 +0200
1871
+ From: from@example.com
1872
+ To: aoUORfpunCewwjeoChX3Mw@sample.com
1873
+ Message-ID: <535824b8bf125_4c943fd08d42dbd09185@air.lan.mail>
1874
+ Subject: Password Reset
1875
+ Mime-Version: 1.0
1876
+ Content-Type: text/plain;
1877
+ charset=UTF-8
1878
+ Content-Transfer-Encoding: 7bit
1879
+
1880
+ To reset your password, click the URL below.
1881
+
1882
+ http://localhost:3000/password_resets/XpB-KEaz41ZMD_UzXT5Xqg/edit
1883
+
1884
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
1885
+ Redirected to http://www.example.com/
1886
+ Completed 302 Found in 27ms (ActiveRecord: 1.8ms)
1887
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1888
+ Processing by HomeController#index as HTML
1889
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
1890
+ Started GET "/password_resets/XpB-KEaz41ZMD_UzXT5Xqg/edit" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1891
+ Processing by PasswordResetsController#edit as HTML
1892
+ Parameters: {"id"=>"XpB-KEaz41ZMD_UzXT5Xqg"}
1893
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'XpB-KEaz41ZMD_UzXT5Xqg' LIMIT 1
1894
+ Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.3ms)
1895
+ Started PATCH "/password_resets/XpB-KEaz41ZMD_UzXT5Xqg" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1896
+ Processing by PasswordResetsController#update as HTML
1897
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"XpB-KEaz41ZMD_UzXT5Xqg"}
1898
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'XpB-KEaz41ZMD_UzXT5Xqg' LIMIT 1
1899
+  (0.1ms) begin transaction
1900
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'aoUORfpunCewwjeoChX3Mw@sample.com' AND "users"."id" != 1) LIMIT 1
1901
+  (0.1ms) rollback transaction
1902
+ Completed 200 OK in 9ms (Views: 3.7ms | ActiveRecord: 0.5ms)
1903
+  (0.9ms) DELETE FROM "users";
1904
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1905
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
1906
+ -----------------------------------
1907
+ AuthproIntegrationTest: test_signup
1908
+ -----------------------------------
1909
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1910
+  (0.1ms) begin transaction
1911
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'RRjEJ8ChTXRwVmp2kp55LA@sample.com' LIMIT 1
1912
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'cwzur2Q5PAZl8Ucv6IIpXA' LIMIT 1
1913
+ Binary data inserted for `string` type on column `password_digest`
1914
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "cwzur2Q5PAZl8Ucv6IIpXA"], ["created_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["email", "RRjEJ8ChTXRwVmp2kp55LA@sample.com"], ["password_digest", "$2a$04$pN0i.w.pExIJ7vbezxGNGOyieMlY2XG7jY383CQejtVMkrH2nVY7y"], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1915
+  (1.3ms) commit transaction
1916
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1917
+ Processing by HomeController#index as HTML
1918
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
1919
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1920
+ Processing by UsersController#new as HTML
1921
+ Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)
1922
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1923
+ Processing by UsersController#create as HTML
1924
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"0J2R9YWN6xKZf0e_zvebYA@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
1925
+  (0.1ms) begin transaction
1926
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '0J2R9YWN6xKZf0e_zvebYA@sample.com' LIMIT 1
1927
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'LtqAIy-Dg39R0TCnvm6dBQ' LIMIT 1
1928
+ Binary data inserted for `string` type on column `password_digest`
1929
+ SQL (0.5ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "LtqAIy-Dg39R0TCnvm6dBQ"], ["created_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["email", "0J2R9YWN6xKZf0e_zvebYA@sample.com"], ["password_digest", "$2a$04$ldIVmpUTsO.6SCSHnmGO8uMpLcHUfZqVoD7DQlaz0b9KFMJt3V.8u"], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1930
+  (0.7ms) commit transaction
1931
+ Redirected to http://www.example.com/
1932
+ Completed 302 Found in 7ms (ActiveRecord: 1.6ms)
1933
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1934
+ Processing by HomeController#index as HTML
1935
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1936
+  (0.9ms) DELETE FROM "users";
1937
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1938
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
1939
+ -------------------------------------------
1940
+ AuthproIntegrationTest: test_signup_failing
1941
+ -------------------------------------------
1942
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1943
+  (0.1ms) begin transaction
1944
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'AwaDb8F6qYg8Zcp2tFzEaA@sample.com' LIMIT 1
1945
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'jxb0TfJ9YP8RRN2MEjkcDQ' LIMIT 1
1946
+ Binary data inserted for `string` type on column `password_digest`
1947
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "jxb0TfJ9YP8RRN2MEjkcDQ"], ["created_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["email", "AwaDb8F6qYg8Zcp2tFzEaA@sample.com"], ["password_digest", "$2a$04$/bBQS.GuXyNnOoiS4HEbi.SZquEbuQRNfg/0havG8rEhwGWm7y31K"], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1948
+  (0.7ms) commit transaction
1949
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1950
+ Processing by HomeController#index as HTML
1951
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1952
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1953
+ Processing by UsersController#new as HTML
1954
+ Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
1955
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1956
+ Processing by UsersController#create as HTML
1957
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"C74ENPHf_7q6fCS4sxvuoA@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
1958
+  (0.1ms) begin transaction
1959
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'C74ENPHf_7q6fCS4sxvuoA@sample.com' LIMIT 1
1960
+  (0.1ms) rollback transaction
1961
+ Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.3ms)
1962
+  (0.9ms) DELETE FROM "users";
1963
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1964
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
1965
+ ---------------------------------------
1966
+ AuthproIntegrationTest: test_visit_home
1967
+ ---------------------------------------
1968
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1969
+  (0.1ms) begin transaction
1970
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'i0k_g0xrJQJEu6w72O0Yew@sample.com' LIMIT 1
1971
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'i5GlGbAlOyxyExV10qD5-w' LIMIT 1
1972
+ Binary data inserted for `string` type on column `password_digest`
1973
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "i5GlGbAlOyxyExV10qD5-w"], ["created_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00], ["email", "i0k_g0xrJQJEu6w72O0Yew@sample.com"], ["password_digest", "$2a$04$OdQVK9cfavtap5HADOY/x.sWR7XmzjPIH4FxaFJuKoR0I6hF6BK/q"], ["updated_at", Wed, 23 Apr 2014 20:38:16 UTC +00:00]]
1974
+  (0.7ms) commit transaction
1975
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:38:16 +0200
1976
+ Processing by HomeController#index as HTML
1977
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1978
+  (0.8ms) DELETE FROM "users";
1979
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1980
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
1981
+  (0.1ms) begin transaction
1982
+ ------------------------------------------
1983
+ AuthproGeneratorTest: test_generated_files
1984
+ ------------------------------------------
1985
+  (0.1ms) rollback transaction
1986
+ ----------------------------------
1987
+ AuthproIntegrationTest: test_login
1988
+ ----------------------------------
1989
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1990
+  (0.1ms) select sqlite_version(*)
1991
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1992
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1993
+ Migrating to CreateUsers (20140423203816)
1994
+  (0.1ms) begin transaction
1995
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "password_digest" varchar(255), "auth_token" varchar(255), "password_reset_token" varchar(255), "password_reset_sent_at" datetime, "created_at" datetime, "updated_at" datetime)
1996
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140423203816"]]
1997
+  (0.7ms) commit transaction
1998
+  (0.0ms) begin transaction
1999
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'eStKnzXxw_duNzumRjYr6Q@sample.com' LIMIT 1
2000
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'A8Wggfirj0cVofu2wrpybQ' LIMIT 1
2001
+ Binary data inserted for `string` type on column `password_digest`
2002
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "A8Wggfirj0cVofu2wrpybQ"], ["created_at", "2014-04-23 20:48:08.931821"], ["email", "eStKnzXxw_duNzumRjYr6Q@sample.com"], ["password_digest", "$2a$04$SnWvZwe9bNy0xdhMxGE/luQ/uxozumS9vS./JnRkm2P8zCmjhddja"], ["updated_at", "2014-04-23 20:48:08.931821"]]
2003
+  (0.7ms) commit transaction
2004
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:08 +0200
2005
+ Processing by HomeController#index as HTML
2006
+ Rendered home/index.html.erb within layouts/application (1.5ms)
2007
+ Completed 200 OK in 30ms (Views: 29.6ms | ActiveRecord: 0.0ms)
2008
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2009
+ Processing by SessionsController#new as HTML
2010
+ Rendered sessions/new.html.erb within layouts/application (1.2ms)
2011
+ Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
2012
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2013
+ Processing by SessionsController#create as HTML
2014
+ Parameters: {"utf8"=>"✓", "email"=>"eStKnzXxw_duNzumRjYr6Q@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
2015
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'eStKnzXxw_duNzumRjYr6Q@sample.com' LIMIT 1
2016
+ Redirected to http://www.example.com/
2017
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
2018
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2019
+ Processing by HomeController#index as HTML
2020
+ Rendered home/index.html.erb within layouts/application (0.1ms)
2021
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'A8Wggfirj0cVofu2wrpybQ' LIMIT 1
2022
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
2023
+  (1.1ms) DELETE FROM "users";
2024
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2025
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
2026
+ ------------------------------------------
2027
+ AuthproIntegrationTest: test_login_failing
2028
+ ------------------------------------------
2029
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2030
+  (0.1ms) begin transaction
2031
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lPbyy5yI0N7ifeE-N9fnxA@sample.com' LIMIT 1
2032
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'ukTvEvfG6k6WXCOnwK5bsA' LIMIT 1
2033
+ Binary data inserted for `string` type on column `password_digest`
2034
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "ukTvEvfG6k6WXCOnwK5bsA"], ["created_at", "2014-04-23 20:48:09.073122"], ["email", "lPbyy5yI0N7ifeE-N9fnxA@sample.com"], ["password_digest", "$2a$04$UpoeQOMBsAxIBJstBXBBKukuOGG1zvKlKNzPV/VN9qbUkY.AGvleK"], ["updated_at", "2014-04-23 20:48:09.073122"]]
2035
+  (0.9ms) commit transaction
2036
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2037
+ Processing by HomeController#index as HTML
2038
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2039
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2040
+ Processing by SessionsController#new as HTML
2041
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
2042
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2043
+ Processing by SessionsController#create as HTML
2044
+ Parameters: {"utf8"=>"✓", "email"=>"lPbyy5yI0N7ifeE-N9fnxA@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
2045
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'lPbyy5yI0N7ifeE-N9fnxA@sample.com' LIMIT 1
2046
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.2ms)
2047
+  (0.8ms) DELETE FROM "users";
2048
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2049
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
2050
+ -----------------------------------
2051
+ AuthproIntegrationTest: test_logout
2052
+ -----------------------------------
2053
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2054
+  (0.1ms) begin transaction
2055
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'MjxKHuRtgeEo-JPKDffHEQ@sample.com' LIMIT 1
2056
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'eOfnZ1veLxayGJ8FGPdblg' LIMIT 1
2057
+ Binary data inserted for `string` type on column `password_digest`
2058
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "eOfnZ1veLxayGJ8FGPdblg"], ["created_at", "2014-04-23 20:48:09.115442"], ["email", "MjxKHuRtgeEo-JPKDffHEQ@sample.com"], ["password_digest", "$2a$04$lHgPqd8jMnxHSMExvfu6Be9gJQwsxv7l8tv7HjkIM5n23VkNKoKey"], ["updated_at", "2014-04-23 20:48:09.115442"]]
2059
+  (0.9ms) commit transaction
2060
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2061
+ Processing by SessionsController#new as HTML
2062
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
2063
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2064
+ Processing by SessionsController#create as HTML
2065
+ Parameters: {"utf8"=>"✓", "email"=>"MjxKHuRtgeEo-JPKDffHEQ@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
2066
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'MjxKHuRtgeEo-JPKDffHEQ@sample.com' LIMIT 1
2067
+ Redirected to http://www.example.com/
2068
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
2069
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2070
+ Processing by HomeController#index as HTML
2071
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'eOfnZ1veLxayGJ8FGPdblg' LIMIT 1
2072
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms)
2073
+ Started GET "/logout" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2074
+ Processing by SessionsController#destroy as HTML
2075
+ Redirected to http://www.example.com/
2076
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2077
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2078
+ Processing by HomeController#index as HTML
2079
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2080
+  (1.0ms) DELETE FROM "users";
2081
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2082
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
2083
+ -------------------------------------------
2084
+ AuthproIntegrationTest: test_reset_password
2085
+ -------------------------------------------
2086
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2087
+  (0.1ms) begin transaction
2088
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'm10bqNz0T4xiHNdMCHKw6g@sample.com' LIMIT 1
2089
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'npywcY728OhgBG8T_JHJrg' LIMIT 1
2090
+ Binary data inserted for `string` type on column `password_digest`
2091
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "npywcY728OhgBG8T_JHJrg"], ["created_at", "2014-04-23 20:48:09.166534"], ["email", "m10bqNz0T4xiHNdMCHKw6g@sample.com"], ["password_digest", "$2a$04$rOZwyeD.Fj/qYL34Gwes3uCeP4dtaQhx.Cd72ZuNu7izA2kCDgeb2"], ["updated_at", "2014-04-23 20:48:09.166534"]]
2092
+  (0.9ms) commit transaction
2093
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2094
+ Processing by SessionsController#new as HTML
2095
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
2096
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2097
+ Processing by PasswordResetsController#new as HTML
2098
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
2099
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2100
+ Processing by PasswordResetsController#create as HTML
2101
+ Parameters: {"utf8"=>"✓", "email"=>"m10bqNz0T4xiHNdMCHKw6g@sample.com", "commit"=>"Reset password"}
2102
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'm10bqNz0T4xiHNdMCHKw6g@sample.com' LIMIT 1
2103
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = '1-KxJduxHbQedINjjJShcw' LIMIT 1
2104
+  (0.0ms) begin transaction
2105
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'm10bqNz0T4xiHNdMCHKw6g@sample.com' AND "users"."id" != 1) LIMIT 1
2106
+ SQL (0.2ms) UPDATE "users" SET "password_reset_sent_at" = ?, "password_reset_token" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_sent_at", "2014-04-23 20:48:09.192341"], ["password_reset_token", "1-KxJduxHbQedINjjJShcw"], ["updated_at", "2014-04-23 20:48:09.193704"]]
2107
+  (0.7ms) commit transaction
2108
+
2109
+ UserMailer#password_reset: processed outbound mail in 9.8ms
2110
+
2111
+ Sent mail to m10bqNz0T4xiHNdMCHKw6g@sample.com (10.2ms)
2112
+ Date: Wed, 23 Apr 2014 22:48:09 +0200
2113
+ From: from@example.com
2114
+ To: m10bqNz0T4xiHNdMCHKw6g@sample.com
2115
+ Message-ID: <5358270934158_4ddf3ff94442dbb47402a@air.lan.mail>
2116
+ Subject: Password Reset
2117
+ Mime-Version: 1.0
2118
+ Content-Type: text/plain;
2119
+ charset=UTF-8
2120
+ Content-Transfer-Encoding: 7bit
2121
+
2122
+ To reset your password, click the URL below.
2123
+
2124
+ http://localhost:3000/password_resets/1-KxJduxHbQedINjjJShcw/edit
2125
+
2126
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
2127
+ Redirected to http://www.example.com/
2128
+ Completed 302 Found in 32ms (ActiveRecord: 1.4ms)
2129
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2130
+ Processing by HomeController#index as HTML
2131
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2132
+ Started GET "/password_resets/1-KxJduxHbQedINjjJShcw/edit" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2133
+ Processing by PasswordResetsController#edit as HTML
2134
+ Parameters: {"id"=>"1-KxJduxHbQedINjjJShcw"}
2135
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '1-KxJduxHbQedINjjJShcw' LIMIT 1
2136
+ Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.2ms)
2137
+ Started PATCH "/password_resets/1-KxJduxHbQedINjjJShcw" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2138
+ Processing by PasswordResetsController#update as HTML
2139
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"1-KxJduxHbQedINjjJShcw"}
2140
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '1-KxJduxHbQedINjjJShcw' LIMIT 1
2141
+  (0.0ms) begin transaction
2142
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'm10bqNz0T4xiHNdMCHKw6g@sample.com' AND "users"."id" != 1) LIMIT 1
2143
+ Binary data inserted for `string` type on column `password_digest`
2144
+ SQL (0.2ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$7ZuRGypdvcyJ6oIQOrWhHemYz4sVe3ypEanYLqjcE5M4PKNZESJwO"], ["updated_at", "2014-04-23 20:48:09.252368"]]
2145
+  (0.7ms) commit transaction
2146
+ Redirected to http://localhost:3000/
2147
+ Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
2148
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2149
+ Processing by HomeController#index as HTML
2150
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2151
+  (0.8ms) DELETE FROM "users";
2152
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2153
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
2154
+ --------------------------------------------------------------------------------
2155
+ AuthproIntegrationTest: test_reset_password_failing_because_email_does_not_exist
2156
+ --------------------------------------------------------------------------------
2157
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2158
+  (0.1ms) begin transaction
2159
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'VzBbhpObaSnvZh5s9zMbIA@sample.com' LIMIT 1
2160
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '_cyEEY2F8PthBl8Z7NjJug' LIMIT 1
2161
+ Binary data inserted for `string` type on column `password_digest`
2162
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "_cyEEY2F8PthBl8Z7NjJug"], ["created_at", "2014-04-23 20:48:09.278209"], ["email", "VzBbhpObaSnvZh5s9zMbIA@sample.com"], ["password_digest", "$2a$04$E9sDDN4PymHVqEB2/48OBecg8VJ3OT3DaWQ5qbQ.kZGY9LUpgxqPi"], ["updated_at", "2014-04-23 20:48:09.278209"]]
2163
+  (0.8ms) commit transaction
2164
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2165
+ Processing by SessionsController#new as HTML
2166
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
2167
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2168
+ Processing by PasswordResetsController#new as HTML
2169
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
2170
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2171
+ Processing by PasswordResetsController#create as HTML
2172
+ Parameters: {"utf8"=>"✓", "email"=>"nosense@example.com", "commit"=>"Reset password"}
2173
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nosense@example.com' LIMIT 1
2174
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)
2175
+  (1.0ms) DELETE FROM "users";
2176
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2177
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
2178
+ -------------------------------------------------------------------------
2179
+ AuthproIntegrationTest: test_reset_password_failing_because_of_expiration
2180
+ -------------------------------------------------------------------------
2181
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2182
+  (0.1ms) begin transaction
2183
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'OLT2SqekAjDMqzSgcnbE7Q@sample.com' LIMIT 1
2184
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'nllYkxstVh-lHp1XnBO5tg' LIMIT 1
2185
+ Binary data inserted for `string` type on column `password_digest`
2186
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "nllYkxstVh-lHp1XnBO5tg"], ["created_at", "2014-04-23 20:48:09.324543"], ["email", "OLT2SqekAjDMqzSgcnbE7Q@sample.com"], ["password_digest", "$2a$04$/JiaExRAuI9pXyU48uHIXep15uq7J6NThUEzfcSssh1ixwKufdcJC"], ["updated_at", "2014-04-23 20:48:09.324543"]]
2187
+  (0.7ms) commit transaction
2188
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2189
+ Processing by SessionsController#new as HTML
2190
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
2191
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2192
+ Processing by PasswordResetsController#new as HTML
2193
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
2194
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2195
+ Processing by PasswordResetsController#create as HTML
2196
+ Parameters: {"utf8"=>"✓", "email"=>"OLT2SqekAjDMqzSgcnbE7Q@sample.com", "commit"=>"Reset password"}
2197
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'OLT2SqekAjDMqzSgcnbE7Q@sample.com' LIMIT 1
2198
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'v7Ike_1veAQlIte-jOV5xQ' LIMIT 1
2199
+  (0.1ms) begin transaction
2200
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'OLT2SqekAjDMqzSgcnbE7Q@sample.com' AND "users"."id" != 1) LIMIT 1
2201
+ SQL (0.4ms) UPDATE "users" SET "password_reset_sent_at" = ?, "password_reset_token" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_sent_at", "2014-04-23 20:48:09.358841"], ["password_reset_token", "v7Ike_1veAQlIte-jOV5xQ"], ["updated_at", "2014-04-23 20:48:09.360507"]]
2202
+  (0.9ms) commit transaction
2203
+
2204
+ UserMailer#password_reset: processed outbound mail in 9.0ms
2205
+
2206
+ Sent mail to OLT2SqekAjDMqzSgcnbE7Q@sample.com (9.0ms)
2207
+ Date: Wed, 23 Apr 2014 22:48:09 +0200
2208
+ From: from@example.com
2209
+ To: OLT2SqekAjDMqzSgcnbE7Q@sample.com
2210
+ Message-ID: <535827095b63e_4ddf3ff94442dbb47416b@air.lan.mail>
2211
+ Subject: Password Reset
2212
+ Mime-Version: 1.0
2213
+ Content-Type: text/plain;
2214
+ charset=UTF-8
2215
+ Content-Transfer-Encoding: 7bit
2216
+
2217
+ To reset your password, click the URL below.
2218
+
2219
+ http://localhost:3000/password_resets/v7Ike_1veAQlIte-jOV5xQ/edit
2220
+
2221
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
2222
+ Redirected to http://www.example.com/
2223
+ Completed 302 Found in 26ms (ActiveRecord: 1.9ms)
2224
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2225
+ Processing by HomeController#index as HTML
2226
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
2227
+ Started GET "/password_resets/v7Ike_1veAQlIte-jOV5xQ/edit" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
2228
+ Processing by PasswordResetsController#edit as HTML
2229
+ Parameters: {"id"=>"v7Ike_1veAQlIte-jOV5xQ"}
2230
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'v7Ike_1veAQlIte-jOV5xQ' LIMIT 1
2231
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
2232
+ Started PATCH "/password_resets/v7Ike_1veAQlIte-jOV5xQ" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
2233
+ Processing by PasswordResetsController#update as HTML
2234
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"v7Ike_1veAQlIte-jOV5xQ"}
2235
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'v7Ike_1veAQlIte-jOV5xQ' LIMIT 1
2236
+ Redirected to http://localhost:3000/password_resets/new
2237
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2238
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
2239
+ Processing by PasswordResetsController#new as HTML
2240
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
2241
+  (1.2ms) DELETE FROM "users";
2242
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2243
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';
2244
+ -------------------------------------------------------------------------------------------
2245
+ AuthproIntegrationTest: test_reset_password_failing_because_we_enter_a_new_invalid_password
2246
+ -------------------------------------------------------------------------------------------
2247
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2248
+  (0.1ms) begin transaction
2249
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '6wy6FVYS9l9-SRhPQBG9gw@sample.com' LIMIT 1
2250
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'l8XMQOVdDaPEWRH4GOfbPw' LIMIT 1
2251
+ Binary data inserted for `string` type on column `password_digest`
2252
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "l8XMQOVdDaPEWRH4GOfbPw"], ["created_at", "2014-04-23 20:48:09.445172"], ["email", "6wy6FVYS9l9-SRhPQBG9gw@sample.com"], ["password_digest", "$2a$04$iyEysQlponJXURdZLFKl0uUiKibRe4wBSEXU5aJ7g.d5DyW1pPTJS"], ["updated_at", "2014-04-23 20:48:09.445172"]]
2253
+  (1.1ms) commit transaction
2254
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2255
+ Processing by SessionsController#new as HTML
2256
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
2257
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2258
+ Processing by PasswordResetsController#new as HTML
2259
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
2260
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2261
+ Processing by PasswordResetsController#create as HTML
2262
+ Parameters: {"utf8"=>"✓", "email"=>"6wy6FVYS9l9-SRhPQBG9gw@sample.com", "commit"=>"Reset password"}
2263
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = '6wy6FVYS9l9-SRhPQBG9gw@sample.com' LIMIT 1
2264
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'BVYp3r1ek2iKKo4Mp0bdiQ' LIMIT 1
2265
+  (0.1ms) begin transaction
2266
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = '6wy6FVYS9l9-SRhPQBG9gw@sample.com' AND "users"."id" != 1) LIMIT 1
2267
+ SQL (0.2ms) UPDATE "users" SET "password_reset_sent_at" = ?, "password_reset_token" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_sent_at", "2014-04-23 20:48:09.467727"], ["password_reset_token", "BVYp3r1ek2iKKo4Mp0bdiQ"], ["updated_at", "2014-04-23 20:48:09.468732"]]
2268
+  (0.7ms) commit transaction
2269
+
2270
+ UserMailer#password_reset: processed outbound mail in 6.1ms
2271
+
2272
+ Sent mail to 6wy6FVYS9l9-SRhPQBG9gw@sample.com (7.5ms)
2273
+ Date: Wed, 23 Apr 2014 22:48:09 +0200
2274
+ From: from@example.com
2275
+ To: 6wy6FVYS9l9-SRhPQBG9gw@sample.com
2276
+ Message-ID: <5358270974bf0_4ddf3ff94442dbb474246@air.lan.mail>
2277
+ Subject: Password Reset
2278
+ Mime-Version: 1.0
2279
+ Content-Type: text/plain;
2280
+ charset=UTF-8
2281
+ Content-Transfer-Encoding: 7bit
2282
+
2283
+ To reset your password, click the URL below.
2284
+
2285
+ http://localhost:3000/password_resets/BVYp3r1ek2iKKo4Mp0bdiQ/edit
2286
+
2287
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
2288
+ Redirected to http://www.example.com/
2289
+ Completed 302 Found in 20ms (ActiveRecord: 1.6ms)
2290
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2291
+ Processing by HomeController#index as HTML
2292
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
2293
+ Started GET "/password_resets/BVYp3r1ek2iKKo4Mp0bdiQ/edit" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2294
+ Processing by PasswordResetsController#edit as HTML
2295
+ Parameters: {"id"=>"BVYp3r1ek2iKKo4Mp0bdiQ"}
2296
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'BVYp3r1ek2iKKo4Mp0bdiQ' LIMIT 1
2297
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
2298
+ Started PATCH "/password_resets/BVYp3r1ek2iKKo4Mp0bdiQ" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2299
+ Processing by PasswordResetsController#update as HTML
2300
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"BVYp3r1ek2iKKo4Mp0bdiQ"}
2301
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'BVYp3r1ek2iKKo4Mp0bdiQ' LIMIT 1
2302
+  (0.1ms) begin transaction
2303
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = '6wy6FVYS9l9-SRhPQBG9gw@sample.com' AND "users"."id" != 1) LIMIT 1
2304
+  (0.1ms) rollback transaction
2305
+ Completed 200 OK in 8ms (Views: 2.9ms | ActiveRecord: 0.4ms)
2306
+  (0.9ms) DELETE FROM "users";
2307
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2308
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
2309
+ -----------------------------------
2310
+ AuthproIntegrationTest: test_signup
2311
+ -----------------------------------
2312
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2313
+  (0.1ms) begin transaction
2314
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'ADIArS_IZbzw2DAIaqInkQ@sample.com' LIMIT 1
2315
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'ppvGP13UtYkVFZfkS5TJ5Q' LIMIT 1
2316
+ Binary data inserted for `string` type on column `password_digest`
2317
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "ppvGP13UtYkVFZfkS5TJ5Q"], ["created_at", "2014-04-23 20:48:09.531336"], ["email", "ADIArS_IZbzw2DAIaqInkQ@sample.com"], ["password_digest", "$2a$04$1mATDJKFTSDeRRwszAdVvueDlHxg6rs35EgIFKEXApaGKXtaqY6gq"], ["updated_at", "2014-04-23 20:48:09.531336"]]
2318
+  (0.9ms) commit transaction
2319
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2320
+ Processing by HomeController#index as HTML
2321
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2322
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2323
+ Processing by UsersController#new as HTML
2324
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
2325
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2326
+ Processing by UsersController#create as HTML
2327
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"S2bCrUVQSoxiXnDFjstj-Q@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
2328
+  (0.1ms) begin transaction
2329
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'S2bCrUVQSoxiXnDFjstj-Q@sample.com' LIMIT 1
2330
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'aw1t2wwJY2_X1TrKzeG6mA' LIMIT 1
2331
+ Binary data inserted for `string` type on column `password_digest`
2332
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "aw1t2wwJY2_X1TrKzeG6mA"], ["created_at", "2014-04-23 20:48:09.561886"], ["email", "S2bCrUVQSoxiXnDFjstj-Q@sample.com"], ["password_digest", "$2a$04$lwT.KIR.G4SIaUIRMpO54OIzWEcpGct0wHHBK9kKtqD01a2qvtGke"], ["updated_at", "2014-04-23 20:48:09.561886"]]
2333
+  (2.5ms) commit transaction
2334
+ Redirected to http://www.example.com/
2335
+ Completed 302 Found in 7ms (ActiveRecord: 2.9ms)
2336
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2337
+ Processing by HomeController#index as HTML
2338
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2339
+  (0.9ms) DELETE FROM "users";
2340
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2341
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
2342
+ -------------------------------------------
2343
+ AuthproIntegrationTest: test_signup_failing
2344
+ -------------------------------------------
2345
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2346
+  (0.1ms) begin transaction
2347
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '-Y_ALui14W_xdNc_ShLX3w@sample.com' LIMIT 1
2348
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'FzfzVhT1r2jksWM5eXqXYA' LIMIT 1
2349
+ Binary data inserted for `string` type on column `password_digest`
2350
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "FzfzVhT1r2jksWM5eXqXYA"], ["created_at", "2014-04-23 20:48:09.588681"], ["email", "-Y_ALui14W_xdNc_ShLX3w@sample.com"], ["password_digest", "$2a$04$/k9m1JrG4AREZ9DGfRXxeOljJXarZ.ZgU5voUiyKP3lSZJjLJfqvS"], ["updated_at", "2014-04-23 20:48:09.588681"]]
2351
+  (0.7ms) commit transaction
2352
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2353
+ Processing by HomeController#index as HTML
2354
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2355
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2356
+ Processing by UsersController#new as HTML
2357
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
2358
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2359
+ Processing by UsersController#create as HTML
2360
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"pAfcjCZVFFDoeVfE8vb45Q@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
2361
+  (0.1ms) begin transaction
2362
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pAfcjCZVFFDoeVfE8vb45Q@sample.com' LIMIT 1
2363
+  (0.0ms) rollback transaction
2364
+ Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.2ms)
2365
+  (0.9ms) DELETE FROM "users";
2366
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2367
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
2368
+ ---------------------------------------
2369
+ AuthproIntegrationTest: test_visit_home
2370
+ ---------------------------------------
2371
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2372
+  (0.1ms) begin transaction
2373
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'yX2kzaq2cf3I9DUp32ODQQ@sample.com' LIMIT 1
2374
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'xMmKkyPwPvaZcBm5WsRSAQ' LIMIT 1
2375
+ Binary data inserted for `string` type on column `password_digest`
2376
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "xMmKkyPwPvaZcBm5WsRSAQ"], ["created_at", "2014-04-23 20:48:09.632185"], ["email", "yX2kzaq2cf3I9DUp32ODQQ@sample.com"], ["password_digest", "$2a$04$.RbtRUnzRYi9AOKACmZf3e4ccqOyfBdW5Iqf5iDF/FkiWfJqlFCK."], ["updated_at", "2014-04-23 20:48:09.632185"]]
2377
+  (0.9ms) commit transaction
2378
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:09 +0200
2379
+ Processing by HomeController#index as HTML
2380
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2381
+  (1.0ms) DELETE FROM "users";
2382
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2383
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
2384
+  (0.1ms) begin transaction
2385
+ ------------------------------------------
2386
+ AuthproGeneratorTest: test_generated_files
2387
+ ------------------------------------------
2388
+  (0.1ms) rollback transaction
2389
+ ----------------------------------
2390
+ AuthproIntegrationTest: test_login
2391
+ ----------------------------------
2392
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2393
+  (0.1ms) select sqlite_version(*)
2394
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2395
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2396
+ Migrating to CreateUsers (20140423203816)
2397
+  (0.0ms) begin transaction
2398
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "password_digest" varchar(255), "auth_token" varchar(255), "password_reset_token" varchar(255), "password_reset_sent_at" datetime, "created_at" datetime, "updated_at" datetime)
2399
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140423203816"]]
2400
+  (1.0ms) commit transaction
2401
+  (0.0ms) begin transaction
2402
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'KXtXTKcWZOrJZgM2JbV_ZA@sample.com' LIMIT 1
2403
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '7r1zuEMnGOqhlriIFaWxmw' LIMIT 1
2404
+ Binary data inserted for `string` type on column `password_digest`
2405
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "7r1zuEMnGOqhlriIFaWxmw"], ["created_at", "2014-04-23 20:48:24.973517"], ["email", "KXtXTKcWZOrJZgM2JbV_ZA@sample.com"], ["password_digest", "$2a$04$a/DXvf2tZGuW6Yxo77r.2OzUNY0s4OCNvj6Np54tPpG9.HPs6TeRy"], ["updated_at", "2014-04-23 20:48:24.973517"]]
2406
+  (1.6ms) commit transaction
2407
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2408
+ Processing by HomeController#index as HTML
2409
+ Rendered home/index.html.erb within layouts/application (1.0ms)
2410
+ Completed 200 OK in 20ms (Views: 20.1ms | ActiveRecord: 0.0ms)
2411
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2412
+ Processing by SessionsController#new as HTML
2413
+ Rendered sessions/new.html.erb within layouts/application (1.1ms)
2414
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
2415
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2416
+ Processing by SessionsController#create as HTML
2417
+ Parameters: {"utf8"=>"✓", "email"=>"KXtXTKcWZOrJZgM2JbV_ZA@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
2418
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'KXtXTKcWZOrJZgM2JbV_ZA@sample.com' LIMIT 1
2419
+ Redirected to http://www.example.com/
2420
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
2421
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2422
+ Processing by HomeController#index as HTML
2423
+ Rendered home/index.html.erb within layouts/application (0.1ms)
2424
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = '7r1zuEMnGOqhlriIFaWxmw' LIMIT 1
2425
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)
2426
+  (1.6ms) DELETE FROM "users";
2427
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2428
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';
2429
+ ------------------------------------------
2430
+ AuthproIntegrationTest: test_login_failing
2431
+ ------------------------------------------
2432
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2433
+  (0.1ms) begin transaction
2434
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'I8bNW0WgwXLynf9GoEkBlQ@sample.com' LIMIT 1
2435
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'ULhE1doS7BptGEmi4ZAHdg' LIMIT 1
2436
+ Binary data inserted for `string` type on column `password_digest`
2437
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "ULhE1doS7BptGEmi4ZAHdg"], ["created_at", "2014-04-23 20:48:25.084630"], ["email", "I8bNW0WgwXLynf9GoEkBlQ@sample.com"], ["password_digest", "$2a$04$QW21t1ibOzlKbJ.StXzU6..LBaEuHwB1fvnJ99VEZsriqlCb3gWQO"], ["updated_at", "2014-04-23 20:48:25.084630"]]
2438
+  (0.8ms) commit transaction
2439
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2440
+ Processing by HomeController#index as HTML
2441
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
2442
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2443
+ Processing by SessionsController#new as HTML
2444
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
2445
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2446
+ Processing by SessionsController#create as HTML
2447
+ Parameters: {"utf8"=>"✓", "email"=>"I8bNW0WgwXLynf9GoEkBlQ@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
2448
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'I8bNW0WgwXLynf9GoEkBlQ@sample.com' LIMIT 1
2449
+ Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.2ms)
2450
+  (0.9ms) DELETE FROM "users";
2451
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2452
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';
2453
+ -----------------------------------
2454
+ AuthproIntegrationTest: test_logout
2455
+ -----------------------------------
2456
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2457
+  (0.1ms) begin transaction
2458
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'xi-4Cy0wvy9r1Rzx2QeZLQ@sample.com' LIMIT 1
2459
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'aoYMvWH8d_yPUfQ7CigzHw' LIMIT 1
2460
+ Binary data inserted for `string` type on column `password_digest`
2461
+ SQL (0.4ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "aoYMvWH8d_yPUfQ7CigzHw"], ["created_at", "2014-04-23 20:48:25.144316"], ["email", "xi-4Cy0wvy9r1Rzx2QeZLQ@sample.com"], ["password_digest", "$2a$04$RTSdJAf0BGgcZMKa/h6rwOtkoyRYYQqZzuch1OTCosMzgq4aBvud6"], ["updated_at", "2014-04-23 20:48:25.144316"]]
2462
+  (0.8ms) commit transaction
2463
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2464
+ Processing by SessionsController#new as HTML
2465
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
2466
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2467
+ Processing by SessionsController#create as HTML
2468
+ Parameters: {"utf8"=>"✓", "email"=>"xi-4Cy0wvy9r1Rzx2QeZLQ@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
2469
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'xi-4Cy0wvy9r1Rzx2QeZLQ@sample.com' LIMIT 1
2470
+ Redirected to http://www.example.com/
2471
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
2472
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2473
+ Processing by HomeController#index as HTML
2474
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'aoYMvWH8d_yPUfQ7CigzHw' LIMIT 1
2475
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
2476
+ Started GET "/logout" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2477
+ Processing by SessionsController#destroy as HTML
2478
+ Redirected to http://www.example.com/
2479
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2480
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2481
+ Processing by HomeController#index as HTML
2482
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2483
+  (0.9ms) DELETE FROM "users";
2484
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2485
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
2486
+ -------------------------------------------
2487
+ AuthproIntegrationTest: test_reset_password
2488
+ -------------------------------------------
2489
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2490
+  (0.1ms) begin transaction
2491
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'dAHpWaPaaGkvorpO5VAcwA@sample.com' LIMIT 1
2492
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'fRd9d-JD50I0nCzVFttimA' LIMIT 1
2493
+ Binary data inserted for `string` type on column `password_digest`
2494
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "fRd9d-JD50I0nCzVFttimA"], ["created_at", "2014-04-23 20:48:25.195590"], ["email", "dAHpWaPaaGkvorpO5VAcwA@sample.com"], ["password_digest", "$2a$04$XX99bgm4lm9UoDar.HpmN.9eGxpgC2PdckIg1RRb7iRXE3MyYZw8a"], ["updated_at", "2014-04-23 20:48:25.195590"]]
2495
+  (0.9ms) commit transaction
2496
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2497
+ Processing by SessionsController#new as HTML
2498
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
2499
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2500
+ Processing by PasswordResetsController#new as HTML
2501
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
2502
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2503
+ Processing by PasswordResetsController#create as HTML
2504
+ Parameters: {"utf8"=>"✓", "email"=>"dAHpWaPaaGkvorpO5VAcwA@sample.com", "commit"=>"Reset password"}
2505
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'dAHpWaPaaGkvorpO5VAcwA@sample.com' LIMIT 1
2506
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'scQt1uG4hl6duQr8wnEQcw' LIMIT 1
2507
+  (0.0ms) begin transaction
2508
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'dAHpWaPaaGkvorpO5VAcwA@sample.com' AND "users"."id" != 1) LIMIT 1
2509
+ SQL (0.2ms) UPDATE "users" SET "password_reset_sent_at" = ?, "password_reset_token" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_sent_at", "2014-04-23 20:48:25.220515"], ["password_reset_token", "scQt1uG4hl6duQr8wnEQcw"], ["updated_at", "2014-04-23 20:48:25.221727"]]
2510
+  (0.8ms) commit transaction
2511
+
2512
+ UserMailer#password_reset: processed outbound mail in 11.7ms
2513
+
2514
+ Sent mail to dAHpWaPaaGkvorpO5VAcwA@sample.com (7.6ms)
2515
+ Date: Wed, 23 Apr 2014 22:48:25 +0200
2516
+ From: from@example.com
2517
+ To: dAHpWaPaaGkvorpO5VAcwA@sample.com
2518
+ Message-ID: <535827193ae69_4e0e3fe654c2dbb45523e@air.lan.mail>
2519
+ Subject: Password Reset
2520
+ Mime-Version: 1.0
2521
+ Content-Type: text/plain;
2522
+ charset=UTF-8
2523
+ Content-Transfer-Encoding: 7bit
2524
+
2525
+ To reset your password, click the URL below.
2526
+
2527
+ http://localhost:3000/password_resets/scQt1uG4hl6duQr8wnEQcw/edit
2528
+
2529
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
2530
+ Redirected to http://www.example.com/
2531
+ Completed 302 Found in 29ms (ActiveRecord: 1.4ms)
2532
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2533
+ Processing by HomeController#index as HTML
2534
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
2535
+ Started GET "/password_resets/scQt1uG4hl6duQr8wnEQcw/edit" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2536
+ Processing by PasswordResetsController#edit as HTML
2537
+ Parameters: {"id"=>"scQt1uG4hl6duQr8wnEQcw"}
2538
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'scQt1uG4hl6duQr8wnEQcw' LIMIT 1
2539
+ Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.3ms)
2540
+ Started PATCH "/password_resets/scQt1uG4hl6duQr8wnEQcw" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2541
+ Processing by PasswordResetsController#update as HTML
2542
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"scQt1uG4hl6duQr8wnEQcw"}
2543
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'scQt1uG4hl6duQr8wnEQcw' LIMIT 1
2544
+  (0.0ms) begin transaction
2545
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'dAHpWaPaaGkvorpO5VAcwA@sample.com' AND "users"."id" != 1) LIMIT 1
2546
+ Binary data inserted for `string` type on column `password_digest`
2547
+ SQL (0.2ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$UfZIZTy8Y8/2dbjDhvdza.q5IUByKMYO2r4TajpGqEp4f1OnE0bVm"], ["updated_at", "2014-04-23 20:48:25.274952"]]
2548
+  (0.7ms) commit transaction
2549
+ Redirected to http://localhost:3000/
2550
+ Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
2551
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2552
+ Processing by HomeController#index as HTML
2553
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2554
+  (0.9ms) DELETE FROM "users";
2555
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2556
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
2557
+ --------------------------------------------------------------------------------
2558
+ AuthproIntegrationTest: test_reset_password_failing_because_email_does_not_exist
2559
+ --------------------------------------------------------------------------------
2560
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2561
+  (0.1ms) begin transaction
2562
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'W2XGKiCRuMzIdJVKyt60TQ@sample.com' LIMIT 1
2563
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '446Q2eaJDHDKq-KYNDMg3A' LIMIT 1
2564
+ Binary data inserted for `string` type on column `password_digest`
2565
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "446Q2eaJDHDKq-KYNDMg3A"], ["created_at", "2014-04-23 20:48:25.301966"], ["email", "W2XGKiCRuMzIdJVKyt60TQ@sample.com"], ["password_digest", "$2a$04$HlZy3firR4w7lqIPl4F/5e9o2mZHn3PRl68zSSGIJc/qDUZasc8A2"], ["updated_at", "2014-04-23 20:48:25.301966"]]
2566
+  (0.8ms) commit transaction
2567
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2568
+ Processing by SessionsController#new as HTML
2569
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
2570
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2571
+ Processing by PasswordResetsController#new as HTML
2572
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
2573
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2574
+ Processing by PasswordResetsController#create as HTML
2575
+ Parameters: {"utf8"=>"✓", "email"=>"nosense@example.com", "commit"=>"Reset password"}
2576
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nosense@example.com' LIMIT 1
2577
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms)
2578
+  (0.9ms) DELETE FROM "users";
2579
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2580
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
2581
+ -------------------------------------------------------------------------
2582
+ AuthproIntegrationTest: test_reset_password_failing_because_of_expiration
2583
+ -------------------------------------------------------------------------
2584
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2585
+  (0.1ms) begin transaction
2586
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pfcPhwjvfc_AxdAazzr0KQ@sample.com' LIMIT 1
2587
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'KpJ4nEIvd_kZ8nUdW01hgA' LIMIT 1
2588
+ Binary data inserted for `string` type on column `password_digest`
2589
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "KpJ4nEIvd_kZ8nUdW01hgA"], ["created_at", "2014-04-23 20:48:25.338505"], ["email", "pfcPhwjvfc_AxdAazzr0KQ@sample.com"], ["password_digest", "$2a$04$IOapc3LmwMAbCoiitl9r1Osnzl/IQK1Atm/.b9A.aDM7fKlqxiAMy"], ["updated_at", "2014-04-23 20:48:25.338505"]]
2590
+  (0.8ms) commit transaction
2591
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2592
+ Processing by SessionsController#new as HTML
2593
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
2594
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2595
+ Processing by PasswordResetsController#new as HTML
2596
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
2597
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2598
+ Processing by PasswordResetsController#create as HTML
2599
+ Parameters: {"utf8"=>"✓", "email"=>"pfcPhwjvfc_AxdAazzr0KQ@sample.com", "commit"=>"Reset password"}
2600
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pfcPhwjvfc_AxdAazzr0KQ@sample.com' LIMIT 1
2601
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = '-e6XMFPVxNyyqoz_6m5hUQ' LIMIT 1
2602
+  (0.0ms) begin transaction
2603
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'pfcPhwjvfc_AxdAazzr0KQ@sample.com' AND "users"."id" != 1) LIMIT 1
2604
+ SQL (0.2ms) UPDATE "users" SET "password_reset_sent_at" = ?, "password_reset_token" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_sent_at", "2014-04-23 20:48:25.355302"], ["password_reset_token", "-e6XMFPVxNyyqoz_6m5hUQ"], ["updated_at", "2014-04-23 20:48:25.356037"]]
2605
+  (0.8ms) commit transaction
2606
+
2607
+ UserMailer#password_reset: processed outbound mail in 5.4ms
2608
+
2609
+ Sent mail to pfcPhwjvfc_AxdAazzr0KQ@sample.com (5.9ms)
2610
+ Date: Wed, 23 Apr 2014 22:48:25 +0200
2611
+ From: from@example.com
2612
+ To: pfcPhwjvfc_AxdAazzr0KQ@sample.com
2613
+ Message-ID: <5358271958f4d_4e0e3fe654c2dbb4553ce@air.lan.mail>
2614
+ Subject: Password Reset
2615
+ Mime-Version: 1.0
2616
+ Content-Type: text/plain;
2617
+ charset=UTF-8
2618
+ Content-Transfer-Encoding: 7bit
2619
+
2620
+ To reset your password, click the URL below.
2621
+
2622
+ http://localhost:3000/password_resets/-e6XMFPVxNyyqoz_6m5hUQ/edit
2623
+
2624
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
2625
+ Redirected to http://www.example.com/
2626
+ Completed 302 Found in 16ms (ActiveRecord: 1.3ms)
2627
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2628
+ Processing by HomeController#index as HTML
2629
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2630
+ Started GET "/password_resets/-e6XMFPVxNyyqoz_6m5hUQ/edit" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
2631
+ Processing by PasswordResetsController#edit as HTML
2632
+ Parameters: {"id"=>"-e6XMFPVxNyyqoz_6m5hUQ"}
2633
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '-e6XMFPVxNyyqoz_6m5hUQ' LIMIT 1
2634
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
2635
+ Started PATCH "/password_resets/-e6XMFPVxNyyqoz_6m5hUQ" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
2636
+ Processing by PasswordResetsController#update as HTML
2637
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"-e6XMFPVxNyyqoz_6m5hUQ"}
2638
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = '-e6XMFPVxNyyqoz_6m5hUQ' LIMIT 1
2639
+ Redirected to http://localhost:3000/password_resets/new
2640
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
2641
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
2642
+ Processing by PasswordResetsController#new as HTML
2643
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
2644
+  (0.9ms) DELETE FROM "users";
2645
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2646
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
2647
+ -------------------------------------------------------------------------------------------
2648
+ AuthproIntegrationTest: test_reset_password_failing_because_we_enter_a_new_invalid_password
2649
+ -------------------------------------------------------------------------------------------
2650
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2651
+  (0.1ms) begin transaction
2652
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'KkFTmDyfYknhHbOq5ROEdQ@sample.com' LIMIT 1
2653
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'leUTVqTKRmvy28i3D6fB9w' LIMIT 1
2654
+ Binary data inserted for `string` type on column `password_digest`
2655
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "leUTVqTKRmvy28i3D6fB9w"], ["created_at", "2014-04-23 20:48:25.411659"], ["email", "KkFTmDyfYknhHbOq5ROEdQ@sample.com"], ["password_digest", "$2a$04$nsZrUCE0kuiBnoI.amnY4O5F2pjllaQYZ1zWMgiQQcRzjcxXm0L5K"], ["updated_at", "2014-04-23 20:48:25.411659"]]
2656
+  (0.7ms) commit transaction
2657
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2658
+ Processing by SessionsController#new as HTML
2659
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
2660
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2661
+ Processing by PasswordResetsController#new as HTML
2662
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
2663
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2664
+ Processing by PasswordResetsController#create as HTML
2665
+ Parameters: {"utf8"=>"✓", "email"=>"KkFTmDyfYknhHbOq5ROEdQ@sample.com", "commit"=>"Reset password"}
2666
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'KkFTmDyfYknhHbOq5ROEdQ@sample.com' LIMIT 1
2667
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'Fnxx4cwb4ymJpqXIec6pZw' LIMIT 1
2668
+  (0.0ms) begin transaction
2669
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'KkFTmDyfYknhHbOq5ROEdQ@sample.com' AND "users"."id" != 1) LIMIT 1
2670
+ SQL (0.2ms) UPDATE "users" SET "password_reset_sent_at" = ?, "password_reset_token" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_sent_at", "2014-04-23 20:48:25.436143"], ["password_reset_token", "Fnxx4cwb4ymJpqXIec6pZw"], ["updated_at", "2014-04-23 20:48:25.436913"]]
2671
+  (0.7ms) commit transaction
2672
+
2673
+ UserMailer#password_reset: processed outbound mail in 4.9ms
2674
+
2675
+ Sent mail to KkFTmDyfYknhHbOq5ROEdQ@sample.com (4.5ms)
2676
+ Date: Wed, 23 Apr 2014 22:48:25 +0200
2677
+ From: from@example.com
2678
+ To: KkFTmDyfYknhHbOq5ROEdQ@sample.com
2679
+ Message-ID: <535827196c7d3_4e0e3fe654c2dbb4554cd@air.lan.mail>
2680
+ Subject: Password Reset
2681
+ Mime-Version: 1.0
2682
+ Content-Type: text/plain;
2683
+ charset=UTF-8
2684
+ Content-Transfer-Encoding: 7bit
2685
+
2686
+ To reset your password, click the URL below.
2687
+
2688
+ http://localhost:3000/password_resets/Fnxx4cwb4ymJpqXIec6pZw/edit
2689
+
2690
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
2691
+ Redirected to http://www.example.com/
2692
+ Completed 302 Found in 14ms (ActiveRecord: 1.3ms)
2693
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2694
+ Processing by HomeController#index as HTML
2695
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2696
+ Started GET "/password_resets/Fnxx4cwb4ymJpqXIec6pZw/edit" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2697
+ Processing by PasswordResetsController#edit as HTML
2698
+ Parameters: {"id"=>"Fnxx4cwb4ymJpqXIec6pZw"}
2699
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'Fnxx4cwb4ymJpqXIec6pZw' LIMIT 1
2700
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)
2701
+ Started PATCH "/password_resets/Fnxx4cwb4ymJpqXIec6pZw" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2702
+ Processing by PasswordResetsController#update as HTML
2703
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"Fnxx4cwb4ymJpqXIec6pZw"}
2704
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'Fnxx4cwb4ymJpqXIec6pZw' LIMIT 1
2705
+  (0.0ms) begin transaction
2706
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'KkFTmDyfYknhHbOq5ROEdQ@sample.com' AND "users"."id" != 1) LIMIT 1
2707
+  (0.1ms) rollback transaction
2708
+ Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.4ms)
2709
+  (3.3ms) DELETE FROM "users";
2710
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2711
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';
2712
+ -----------------------------------
2713
+ AuthproIntegrationTest: test_signup
2714
+ -----------------------------------
2715
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2716
+  (0.1ms) begin transaction
2717
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'jQGMJWoJspQaA_h0wam9lQ@sample.com' LIMIT 1
2718
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'QZwTwLhHVut1kH7yuZJn6g' LIMIT 1
2719
+ Binary data inserted for `string` type on column `password_digest`
2720
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "QZwTwLhHVut1kH7yuZJn6g"], ["created_at", "2014-04-23 20:48:25.490747"], ["email", "jQGMJWoJspQaA_h0wam9lQ@sample.com"], ["password_digest", "$2a$04$Rsw64EkeJiArQb9Ct.fiuezbl2I6x/1pLhNey8Tur4gEMA6P26/X."], ["updated_at", "2014-04-23 20:48:25.490747"]]
2721
+  (0.7ms) commit transaction
2722
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2723
+ Processing by HomeController#index as HTML
2724
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2725
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2726
+ Processing by UsersController#new as HTML
2727
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
2728
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2729
+ Processing by UsersController#create as HTML
2730
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"CvXFBXbwVLVp8_eDoyo87g@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
2731
+  (0.1ms) begin transaction
2732
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'CvXFBXbwVLVp8_eDoyo87g@sample.com' LIMIT 1
2733
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'luiqMjZU7kvk5kn5Qfjn6w' LIMIT 1
2734
+ Binary data inserted for `string` type on column `password_digest`
2735
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "luiqMjZU7kvk5kn5Qfjn6w"], ["created_at", "2014-04-23 20:48:25.515490"], ["email", "CvXFBXbwVLVp8_eDoyo87g@sample.com"], ["password_digest", "$2a$04$7RpkwLkBqQidb2ST/yRpI.9TToSUQ5iiWBfPJavy9vBpem/n85loW"], ["updated_at", "2014-04-23 20:48:25.515490"]]
2736
+  (0.7ms) commit transaction
2737
+ Redirected to http://www.example.com/
2738
+ Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
2739
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2740
+ Processing by HomeController#index as HTML
2741
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2742
+  (0.9ms) DELETE FROM "users";
2743
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2744
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
2745
+ -------------------------------------------
2746
+ AuthproIntegrationTest: test_signup_failing
2747
+ -------------------------------------------
2748
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2749
+  (0.1ms) begin transaction
2750
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'trgqyfKR9NHvtCHGOrHYOA@sample.com' LIMIT 1
2751
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'MW9vdkk0puBHknT7VQ2KGg' LIMIT 1
2752
+ Binary data inserted for `string` type on column `password_digest`
2753
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "MW9vdkk0puBHknT7VQ2KGg"], ["created_at", "2014-04-23 20:48:25.542549"], ["email", "trgqyfKR9NHvtCHGOrHYOA@sample.com"], ["password_digest", "$2a$04$jok7tfEsnNzNouJi2BZYSu4.nzrnGYJip84C.9gEgO1qZo1jQK1Lu"], ["updated_at", "2014-04-23 20:48:25.542549"]]
2754
+  (0.7ms) commit transaction
2755
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2756
+ Processing by HomeController#index as HTML
2757
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2758
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2759
+ Processing by UsersController#new as HTML
2760
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
2761
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2762
+ Processing by UsersController#create as HTML
2763
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"yP93kDbj9qR8WLq-_7papw@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
2764
+  (0.1ms) begin transaction
2765
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'yP93kDbj9qR8WLq-_7papw@sample.com' LIMIT 1
2766
+  (0.0ms) rollback transaction
2767
+ Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.3ms)
2768
+  (1.0ms) DELETE FROM "users";
2769
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2770
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
2771
+ ---------------------------------------
2772
+ AuthproIntegrationTest: test_visit_home
2773
+ ---------------------------------------
2774
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2775
+  (0.1ms) begin transaction
2776
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'mmI6ENLMw4d70DIQyW91sA@sample.com' LIMIT 1
2777
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'Fz7NgaZkSqN9dOaxcnDJog' LIMIT 1
2778
+ Binary data inserted for `string` type on column `password_digest`
2779
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "Fz7NgaZkSqN9dOaxcnDJog"], ["created_at", "2014-04-23 20:48:25.586349"], ["email", "mmI6ENLMw4d70DIQyW91sA@sample.com"], ["password_digest", "$2a$04$PQDGNYV0l9lmtr24NNaq.ujHwxHMZxnp6/92Vtw/QRsu1QXHxnza."], ["updated_at", "2014-04-23 20:48:25.586349"]]
2780
+  (0.8ms) commit transaction
2781
+ Started GET "/" for 127.0.0.1 at 2014-04-23 22:48:25 +0200
2782
+ Processing by HomeController#index as HTML
2783
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2784
+  (1.0ms) DELETE FROM "users";
2785
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2786
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
2787
+  (0.1ms) begin transaction
2788
+ ------------------------------------------
2789
+ AuthproGeneratorTest: test_generated_files
2790
+ ------------------------------------------
2791
+  (0.1ms) rollback transaction
2792
+ ----------------------------------
2793
+ AuthproIntegrationTest: test_login
2794
+ ----------------------------------
2795
+  (18.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2796
+  (0.2ms) select sqlite_version(*)
2797
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2798
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2799
+ Migrating to CreateUsers (20140423203816)
2800
+  (0.1ms) begin transaction
2801
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "password_digest" varchar(255), "auth_token" varchar(255), "password_reset_token" varchar(255), "password_reset_sent_at" datetime, "created_at" datetime, "updated_at" datetime)
2802
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140423203816"]]
2803
+  (0.8ms) commit transaction
2804
+  (0.0ms) begin transaction
2805
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'g0-0ZMXzwU7MQqdMHszhXg@sample.com' LIMIT 1
2806
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'lStgLVfPzPvMK1aTwgLMnQ' LIMIT 1
2807
+ Binary data inserted for `string` type on column `password_digest`
2808
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "lStgLVfPzPvMK1aTwgLMnQ"], ["created_at", "2014-04-23 21:13:45.448849"], ["email", "g0-0ZMXzwU7MQqdMHszhXg@sample.com"], ["password_digest", "$2a$04$KyHcIVPZ1mzzOqJ5xul6WO1eN0e1fchFcPPONkegRvZrghxhcdBPK"], ["updated_at", "2014-04-23 21:13:45.448849"]]
2809
+  (0.7ms) commit transaction
2810
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2811
+ Processing by HomeController#index as HTML
2812
+ Rendered home/index.html.erb within layouts/application (1.1ms)
2813
+ Completed 200 OK in 27ms (Views: 26.7ms | ActiveRecord: 0.0ms)
2814
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2815
+ Processing by SessionsController#new as HTML
2816
+ Rendered sessions/new.html.erb within layouts/application (1.2ms)
2817
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
2818
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2819
+ Processing by SessionsController#create as HTML
2820
+ Parameters: {"utf8"=>"✓", "email"=>"g0-0ZMXzwU7MQqdMHszhXg@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
2821
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'g0-0ZMXzwU7MQqdMHszhXg@sample.com' LIMIT 1
2822
+ Redirected to http://www.example.com/
2823
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
2824
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2825
+ Processing by HomeController#index as HTML
2826
+ Rendered home/index.html.erb within layouts/application (0.1ms)
2827
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'lStgLVfPzPvMK1aTwgLMnQ' LIMIT 1
2828
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)
2829
+  (0.9ms) DELETE FROM "users";
2830
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2831
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
2832
+ ------------------------------------------
2833
+ AuthproIntegrationTest: test_login_failing
2834
+ ------------------------------------------
2835
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2836
+  (0.1ms) begin transaction
2837
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'pJz7vi3bcW1zhQ3pt6vqJg@sample.com' LIMIT 1
2838
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'vS1fahRJcrT6ZePAzOTTnw' LIMIT 1
2839
+ Binary data inserted for `string` type on column `password_digest`
2840
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "vS1fahRJcrT6ZePAzOTTnw"], ["created_at", "2014-04-23 21:13:45.560854"], ["email", "pJz7vi3bcW1zhQ3pt6vqJg@sample.com"], ["password_digest", "$2a$04$mC315rdLyVbbOTfa.jucAe3cWirjlY1uxeqPuFk3/1zFobXQGmSha"], ["updated_at", "2014-04-23 21:13:45.560854"]]
2841
+  (0.8ms) commit transaction
2842
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2843
+ Processing by HomeController#index as HTML
2844
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2845
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2846
+ Processing by SessionsController#new as HTML
2847
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
2848
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2849
+ Processing by SessionsController#create as HTML
2850
+ Parameters: {"utf8"=>"✓", "email"=>"pJz7vi3bcW1zhQ3pt6vqJg@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
2851
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'pJz7vi3bcW1zhQ3pt6vqJg@sample.com' LIMIT 1
2852
+ Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms)
2853
+  (0.9ms) DELETE FROM "users";
2854
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2855
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';
2856
+ -----------------------------------
2857
+ AuthproIntegrationTest: test_logout
2858
+ -----------------------------------
2859
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2860
+  (0.1ms) begin transaction
2861
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'LIOYGQY4ng7z7cPmSxLvIw@sample.com' LIMIT 1
2862
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'KbHRciSAHJMvaIkt2LGeoA' LIMIT 1
2863
+ Binary data inserted for `string` type on column `password_digest`
2864
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "KbHRciSAHJMvaIkt2LGeoA"], ["created_at", "2014-04-23 21:13:45.600321"], ["email", "LIOYGQY4ng7z7cPmSxLvIw@sample.com"], ["password_digest", "$2a$04$DjjabuSZr4HYB.3r...NhO3JWtafIbDYs8MG45eCcSmiMtc8qxJ7C"], ["updated_at", "2014-04-23 21:13:45.600321"]]
2865
+  (0.7ms) commit transaction
2866
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2867
+ Processing by SessionsController#new as HTML
2868
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
2869
+ Started POST "/sessions" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2870
+ Processing by SessionsController#create as HTML
2871
+ Parameters: {"utf8"=>"✓", "email"=>"LIOYGQY4ng7z7cPmSxLvIw@sample.com", "password"=>"[FILTERED]", "commit"=>"Log in"}
2872
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'LIOYGQY4ng7z7cPmSxLvIw@sample.com' LIMIT 1
2873
+ Redirected to http://www.example.com/
2874
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
2875
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2876
+ Processing by HomeController#index as HTML
2877
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."auth_token" = 'KbHRciSAHJMvaIkt2LGeoA' LIMIT 1
2878
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
2879
+ Started GET "/logout" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2880
+ Processing by SessionsController#destroy as HTML
2881
+ Redirected to http://www.example.com/
2882
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2883
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2884
+ Processing by HomeController#index as HTML
2885
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2886
+  (0.9ms) DELETE FROM "users";
2887
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2888
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
2889
+ -------------------------------------------
2890
+ AuthproIntegrationTest: test_reset_password
2891
+ -------------------------------------------
2892
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2893
+  (0.1ms) begin transaction
2894
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '63ze0zqmhAsomBn2ERZEoQ@sample.com' LIMIT 1
2895
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '9QCZgABsekGCz1nBDmPO4A' LIMIT 1
2896
+ Binary data inserted for `string` type on column `password_digest`
2897
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "9QCZgABsekGCz1nBDmPO4A"], ["created_at", "2014-04-23 21:13:45.649994"], ["email", "63ze0zqmhAsomBn2ERZEoQ@sample.com"], ["password_digest", "$2a$04$hefRNH.tbOPIeez2yeUWNOC0TgNgl5EapGdtpxRSJOy1wOs8yzhq2"], ["updated_at", "2014-04-23 21:13:45.649994"]]
2898
+  (0.7ms) commit transaction
2899
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2900
+ Processing by SessionsController#new as HTML
2901
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
2902
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2903
+ Processing by PasswordResetsController#new as HTML
2904
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
2905
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2906
+ Processing by PasswordResetsController#create as HTML
2907
+ Parameters: {"utf8"=>"✓", "email"=>"63ze0zqmhAsomBn2ERZEoQ@sample.com", "commit"=>"Reset password"}
2908
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = '63ze0zqmhAsomBn2ERZEoQ@sample.com' LIMIT 1
2909
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'WKViDZ5TxfcSzR7j5f0Utg' LIMIT 1
2910
+  (0.1ms) begin transaction
2911
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = '63ze0zqmhAsomBn2ERZEoQ@sample.com' AND "users"."id" != 1) LIMIT 1
2912
+ SQL (0.2ms) UPDATE "users" SET "password_reset_sent_at" = ?, "password_reset_token" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_sent_at", "2014-04-23 21:13:45.671792"], ["password_reset_token", "WKViDZ5TxfcSzR7j5f0Utg"], ["updated_at", "2014-04-23 21:13:45.673031"]]
2913
+  (0.7ms) commit transaction
2914
+
2915
+ UserMailer#password_reset: processed outbound mail in 9.7ms
2916
+
2917
+ Sent mail to 63ze0zqmhAsomBn2ERZEoQ@sample.com (7.2ms)
2918
+ Date: Wed, 23 Apr 2014 23:13:45 +0200
2919
+ From: from@example.com
2920
+ To: 63ze0zqmhAsomBn2ERZEoQ@sample.com
2921
+ Message-ID: <53582d09a889f_50413fff0102dbb45054@air.lan.mail>
2922
+ Subject: Password Reset
2923
+ Mime-Version: 1.0
2924
+ Content-Type: text/plain;
2925
+ charset=UTF-8
2926
+ Content-Transfer-Encoding: 7bit
2927
+
2928
+ To reset your password, click the URL below.
2929
+
2930
+ http://localhost:3000/password_resets/WKViDZ5TxfcSzR7j5f0Utg/edit
2931
+
2932
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
2933
+ Redirected to http://www.example.com/
2934
+ Completed 302 Found in 26ms (ActiveRecord: 1.4ms)
2935
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2936
+ Processing by HomeController#index as HTML
2937
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2938
+ Started GET "/password_resets/WKViDZ5TxfcSzR7j5f0Utg/edit" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2939
+ Processing by PasswordResetsController#edit as HTML
2940
+ Parameters: {"id"=>"WKViDZ5TxfcSzR7j5f0Utg"}
2941
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'WKViDZ5TxfcSzR7j5f0Utg' LIMIT 1
2942
+ Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.2ms)
2943
+ Started PATCH "/password_resets/WKViDZ5TxfcSzR7j5f0Utg" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2944
+ Processing by PasswordResetsController#update as HTML
2945
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"WKViDZ5TxfcSzR7j5f0Utg"}
2946
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'WKViDZ5TxfcSzR7j5f0Utg' LIMIT 1
2947
+  (0.0ms) begin transaction
2948
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = '63ze0zqmhAsomBn2ERZEoQ@sample.com' AND "users"."id" != 1) LIMIT 1
2949
+ Binary data inserted for `string` type on column `password_digest`
2950
+ SQL (0.2ms) UPDATE "users" SET "password_digest" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_digest", "$2a$04$8Hw2v1F9HaAM334Tw0xnQeZp/AVf4WBFYUKvidgKDonbXHXstXwDK"], ["updated_at", "2014-04-23 21:13:45.721266"]]
2951
+  (0.9ms) commit transaction
2952
+ Redirected to http://localhost:3000/
2953
+ Completed 302 Found in 5ms (ActiveRecord: 1.4ms)
2954
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2955
+ Processing by HomeController#index as HTML
2956
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2957
+  (0.8ms) DELETE FROM "users";
2958
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2959
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
2960
+ --------------------------------------------------------------------------------
2961
+ AuthproIntegrationTest: test_reset_password_failing_because_email_does_not_exist
2962
+ --------------------------------------------------------------------------------
2963
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2964
+  (0.1ms) begin transaction
2965
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'oU6oojSM3xYJBxfya6jMpA@sample.com' LIMIT 1
2966
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'QmOpM6yj43NFJiSwUN86ZQ' LIMIT 1
2967
+ Binary data inserted for `string` type on column `password_digest`
2968
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "QmOpM6yj43NFJiSwUN86ZQ"], ["created_at", "2014-04-23 21:13:45.745554"], ["email", "oU6oojSM3xYJBxfya6jMpA@sample.com"], ["password_digest", "$2a$04$zYfpZTGnkA//kWOEor402epYaafrFr.hyk61ExS242os/nJ2R6WI2"], ["updated_at", "2014-04-23 21:13:45.745554"]]
2969
+  (0.7ms) commit transaction
2970
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2971
+ Processing by SessionsController#new as HTML
2972
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
2973
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2974
+ Processing by PasswordResetsController#new as HTML
2975
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
2976
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2977
+ Processing by PasswordResetsController#create as HTML
2978
+ Parameters: {"utf8"=>"✓", "email"=>"nosense@example.com", "commit"=>"Reset password"}
2979
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'nosense@example.com' LIMIT 1
2980
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.2ms)
2981
+  (0.8ms) DELETE FROM "users";
2982
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2983
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
2984
+ -------------------------------------------------------------------------
2985
+ AuthproIntegrationTest: test_reset_password_failing_because_of_expiration
2986
+ -------------------------------------------------------------------------
2987
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2988
+  (0.1ms) begin transaction
2989
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'vOdo4FfccrMwdTT6Wv3Q6A@sample.com' LIMIT 1
2990
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '0a_nb2yK5M_AR_2n5LNZGA' LIMIT 1
2991
+ Binary data inserted for `string` type on column `password_digest`
2992
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "0a_nb2yK5M_AR_2n5LNZGA"], ["created_at", "2014-04-23 21:13:45.781919"], ["email", "vOdo4FfccrMwdTT6Wv3Q6A@sample.com"], ["password_digest", "$2a$04$OViv.Qn4T6EftWakfiIv0ObD5WU7YiFgf0Z75Fo.4eX4xIhIueUG."], ["updated_at", "2014-04-23 21:13:45.781919"]]
2993
+  (0.8ms) commit transaction
2994
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2995
+ Processing by SessionsController#new as HTML
2996
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
2997
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
2998
+ Processing by PasswordResetsController#new as HTML
2999
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
3000
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3001
+ Processing by PasswordResetsController#create as HTML
3002
+ Parameters: {"utf8"=>"✓", "email"=>"vOdo4FfccrMwdTT6Wv3Q6A@sample.com", "commit"=>"Reset password"}
3003
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'vOdo4FfccrMwdTT6Wv3Q6A@sample.com' LIMIT 1
3004
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'Skrk2jtEwmh_2VBzKRdxIA' LIMIT 1
3005
+  (0.0ms) begin transaction
3006
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'vOdo4FfccrMwdTT6Wv3Q6A@sample.com' AND "users"."id" != 1) LIMIT 1
3007
+ SQL (0.2ms) UPDATE "users" SET "password_reset_sent_at" = ?, "password_reset_token" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_sent_at", "2014-04-23 21:13:45.798820"], ["password_reset_token", "Skrk2jtEwmh_2VBzKRdxIA"], ["updated_at", "2014-04-23 21:13:45.799545"]]
3008
+  (0.8ms) commit transaction
3009
+
3010
+ UserMailer#password_reset: processed outbound mail in 5.2ms
3011
+
3012
+ Sent mail to vOdo4FfccrMwdTT6Wv3Q6A@sample.com (5.4ms)
3013
+ Date: Wed, 23 Apr 2014 23:13:45 +0200
3014
+ From: from@example.com
3015
+ To: vOdo4FfccrMwdTT6Wv3Q6A@sample.com
3016
+ Message-ID: <53582d09c5344_50413fff0102dbb45131@air.lan.mail>
3017
+ Subject: Password Reset
3018
+ Mime-Version: 1.0
3019
+ Content-Type: text/plain;
3020
+ charset=UTF-8
3021
+ Content-Transfer-Encoding: 7bit
3022
+
3023
+ To reset your password, click the URL below.
3024
+
3025
+ http://localhost:3000/password_resets/Skrk2jtEwmh_2VBzKRdxIA/edit
3026
+
3027
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
3028
+ Redirected to http://www.example.com/
3029
+ Completed 302 Found in 15ms (ActiveRecord: 1.4ms)
3030
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3031
+ Processing by HomeController#index as HTML
3032
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
3033
+ Started GET "/password_resets/Skrk2jtEwmh_2VBzKRdxIA/edit" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
3034
+ Processing by PasswordResetsController#edit as HTML
3035
+ Parameters: {"id"=>"Skrk2jtEwmh_2VBzKRdxIA"}
3036
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'Skrk2jtEwmh_2VBzKRdxIA' LIMIT 1
3037
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
3038
+ Started PATCH "/password_resets/Skrk2jtEwmh_2VBzKRdxIA" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
3039
+ Processing by PasswordResetsController#update as HTML
3040
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"Skrk2jtEwmh_2VBzKRdxIA"}
3041
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'Skrk2jtEwmh_2VBzKRdxIA' LIMIT 1
3042
+ Redirected to http://localhost:3000/password_resets/new
3043
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3044
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-25 02:00:00 +0200
3045
+ Processing by PasswordResetsController#new as HTML
3046
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
3047
+  (1.0ms) DELETE FROM "users";
3048
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3049
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';
3050
+ -------------------------------------------------------------------------------------------
3051
+ AuthproIntegrationTest: test_reset_password_failing_because_we_enter_a_new_invalid_password
3052
+ -------------------------------------------------------------------------------------------
3053
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3054
+  (0.1ms) begin transaction
3055
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'uRdVzDbBY92eYGq84p9v6w@sample.com' LIMIT 1
3056
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'FMC394g6EWuEWt3CqGJLKA' LIMIT 1
3057
+ Binary data inserted for `string` type on column `password_digest`
3058
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "FMC394g6EWuEWt3CqGJLKA"], ["created_at", "2014-04-23 21:13:45.850777"], ["email", "uRdVzDbBY92eYGq84p9v6w@sample.com"], ["password_digest", "$2a$04$0xoqMPi3n1kMZqfUTCzlM.xBllL3ZpO23tzWbbX.WnOXXF1rhlB8a"], ["updated_at", "2014-04-23 21:13:45.850777"]]
3059
+  (0.9ms) commit transaction
3060
+ Started GET "/login" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3061
+ Processing by SessionsController#new as HTML
3062
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
3063
+ Started GET "/password_resets/new" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3064
+ Processing by PasswordResetsController#new as HTML
3065
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
3066
+ Started POST "/password_resets" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3067
+ Processing by PasswordResetsController#create as HTML
3068
+ Parameters: {"utf8"=>"✓", "email"=>"uRdVzDbBY92eYGq84p9v6w@sample.com", "commit"=>"Reset password"}
3069
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'uRdVzDbBY92eYGq84p9v6w@sample.com' LIMIT 1
3070
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."password_reset_token" = 'Oo93Zljaf4F9Ie47sBMqqA' LIMIT 1
3071
+  (0.1ms) begin transaction
3072
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'uRdVzDbBY92eYGq84p9v6w@sample.com' AND "users"."id" != 1) LIMIT 1
3073
+ SQL (0.4ms) UPDATE "users" SET "password_reset_sent_at" = ?, "password_reset_token" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["password_reset_sent_at", "2014-04-23 21:13:45.875749"], ["password_reset_token", "Oo93Zljaf4F9Ie47sBMqqA"], ["updated_at", "2014-04-23 21:13:45.877226"]]
3074
+  (0.7ms) commit transaction
3075
+
3076
+ UserMailer#password_reset: processed outbound mail in 9.4ms
3077
+
3078
+ Sent mail to uRdVzDbBY92eYGq84p9v6w@sample.com (9.1ms)
3079
+ Date: Wed, 23 Apr 2014 23:13:45 +0200
3080
+ From: from@example.com
3081
+ To: uRdVzDbBY92eYGq84p9v6w@sample.com
3082
+ Message-ID: <53582d09d999d_50413fff0102dbb452c5@air.lan.mail>
3083
+ Subject: Password Reset
3084
+ Mime-Version: 1.0
3085
+ Content-Type: text/plain;
3086
+ charset=UTF-8
3087
+ Content-Transfer-Encoding: 7bit
3088
+
3089
+ To reset your password, click the URL below.
3090
+
3091
+ http://localhost:3000/password_resets/Oo93Zljaf4F9Ie47sBMqqA/edit
3092
+
3093
+ If you did not request your password to be reset, just ignore this email and your password will continue to stay the same.
3094
+ Redirected to http://www.example.com/
3095
+ Completed 302 Found in 26ms (ActiveRecord: 1.7ms)
3096
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3097
+ Processing by HomeController#index as HTML
3098
+ Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
3099
+ Started GET "/password_resets/Oo93Zljaf4F9Ie47sBMqqA/edit" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3100
+ Processing by PasswordResetsController#edit as HTML
3101
+ Parameters: {"id"=>"Oo93Zljaf4F9Ie47sBMqqA"}
3102
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'Oo93Zljaf4F9Ie47sBMqqA' LIMIT 1
3103
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.4ms)
3104
+ Started PATCH "/password_resets/Oo93Zljaf4F9Ie47sBMqqA" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3105
+ Processing by PasswordResetsController#update as HTML
3106
+ Parameters: {"utf8"=>"✓", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Change password", "id"=>"Oo93Zljaf4F9Ie47sBMqqA"}
3107
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."password_reset_token" = 'Oo93Zljaf4F9Ie47sBMqqA' LIMIT 1
3108
+  (0.1ms) begin transaction
3109
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'uRdVzDbBY92eYGq84p9v6w@sample.com' AND "users"."id" != 1) LIMIT 1
3110
+  (0.0ms) rollback transaction
3111
+ Completed 200 OK in 9ms (Views: 3.6ms | ActiveRecord: 0.5ms)
3112
+  (0.9ms) DELETE FROM "users";
3113
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3114
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
3115
+ -----------------------------------
3116
+ AuthproIntegrationTest: test_signup
3117
+ -----------------------------------
3118
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3119
+  (0.1ms) begin transaction
3120
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'exUgtSKONQst4XNMd6844Q@sample.com' LIMIT 1
3121
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'N28G0zxJYa9DHvjcoGhBHA' LIMIT 1
3122
+ Binary data inserted for `string` type on column `password_digest`
3123
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "N28G0zxJYa9DHvjcoGhBHA"], ["created_at", "2014-04-23 21:13:45.957494"], ["email", "exUgtSKONQst4XNMd6844Q@sample.com"], ["password_digest", "$2a$04$toPxAH2hr5Hr5OcLA.sJF.lUxdsyQrNhluGzDS7BCWNrmLYlFmPfK"], ["updated_at", "2014-04-23 21:13:45.957494"]]
3124
+  (0.9ms) commit transaction
3125
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3126
+ Processing by HomeController#index as HTML
3127
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
3128
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3129
+ Processing by UsersController#new as HTML
3130
+ Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)
3131
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3132
+ Processing by UsersController#create as HTML
3133
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"5GhT9bI-DqvFzCO6oQFn4g@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
3134
+  (0.1ms) begin transaction
3135
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '5GhT9bI-DqvFzCO6oQFn4g@sample.com' LIMIT 1
3136
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'v_gYjH2em1s_TeFwBLeckg' LIMIT 1
3137
+ Binary data inserted for `string` type on column `password_digest`
3138
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "v_gYjH2em1s_TeFwBLeckg"], ["created_at", "2014-04-23 21:13:45.992267"], ["email", "5GhT9bI-DqvFzCO6oQFn4g@sample.com"], ["password_digest", "$2a$04$Dr7M0TVMAKOEg9BvpyavyeSa95uI9rRXKSvSdgYrvcWyOEWoecNSm"], ["updated_at", "2014-04-23 21:13:45.992267"]]
3139
+  (1.1ms) commit transaction
3140
+ Redirected to http://www.example.com/
3141
+ Completed 302 Found in 7ms (ActiveRecord: 1.6ms)
3142
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:45 +0200
3143
+ Processing by HomeController#index as HTML
3144
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
3145
+  (0.9ms) DELETE FROM "users";
3146
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3147
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
3148
+ -------------------------------------------
3149
+ AuthproIntegrationTest: test_signup_failing
3150
+ -------------------------------------------
3151
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3152
+  (0.1ms) begin transaction
3153
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'dItJkmo92Se5s0xj7zT8lA@sample.com' LIMIT 1
3154
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = 'LRqrEKiJjRiCK3-qPm39bg' LIMIT 1
3155
+ Binary data inserted for `string` type on column `password_digest`
3156
+ SQL (0.3ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "LRqrEKiJjRiCK3-qPm39bg"], ["created_at", "2014-04-23 21:13:46.029680"], ["email", "dItJkmo92Se5s0xj7zT8lA@sample.com"], ["password_digest", "$2a$04$oYD59N/OeT9B3/OkPa/Qw.Kc/vQ7yhU1wQXgapn/NE1tFWVN3GNE."], ["updated_at", "2014-04-23 21:13:46.029680"]]
3157
+  (0.6ms) commit transaction
3158
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:46 +0200
3159
+ Processing by HomeController#index as HTML
3160
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
3161
+ Started GET "/signup" for 127.0.0.1 at 2014-04-23 23:13:46 +0200
3162
+ Processing by UsersController#new as HTML
3163
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
3164
+ Started POST "/users" for 127.0.0.1 at 2014-04-23 23:13:46 +0200
3165
+ Processing by UsersController#create as HTML
3166
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"dJMpYvbCyUcJwlEORcSxgw@sample.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
3167
+  (0.1ms) begin transaction
3168
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'dJMpYvbCyUcJwlEORcSxgw@sample.com' LIMIT 1
3169
+  (0.1ms) rollback transaction
3170
+ Completed 200 OK in 10ms (Views: 4.5ms | ActiveRecord: 0.3ms)
3171
+  (0.8ms) DELETE FROM "users";
3172
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3173
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';
3174
+ ---------------------------------------
3175
+ AuthproIntegrationTest: test_visit_home
3176
+ ---------------------------------------
3177
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3178
+  (0.1ms) begin transaction
3179
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = '0m86QYTfQuIS2OG81ew3-A@sample.com' LIMIT 1
3180
+ User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."auth_token" = '2MhWyjg6w6PuIPyARU8bQQ' LIMIT 1
3181
+ Binary data inserted for `string` type on column `password_digest`
3182
+ SQL (0.2ms) INSERT INTO "users" ("auth_token", "created_at", "email", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?) [["auth_token", "2MhWyjg6w6PuIPyARU8bQQ"], ["created_at", "2014-04-23 21:13:46.085379"], ["email", "0m86QYTfQuIS2OG81ew3-A@sample.com"], ["password_digest", "$2a$04$Iu0qJwag03YEfckMnfJ2tePhhqx.e7ChKqtv54f7nhgYip1zAjb5y"], ["updated_at", "2014-04-23 21:13:46.085379"]]
3183
+  (0.8ms) commit transaction
3184
+ Started GET "/" for 127.0.0.1 at 2014-04-23 23:13:46 +0200
3185
+ Processing by HomeController#index as HTML
3186
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
3187
+  (1.0ms) DELETE FROM "users";
3188
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
3189
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';