push_type_auth 0.6.0.beta.3 → 0.6.0.beta.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (20) hide show
  1. checksums.yaml +4 -4
  2. data/test/dummy/config/initializers/push_type.rb +1 -1
  3. data/test/dummy/config/secrets.yml +2 -2
  4. data/test/dummy/db/migrate/{20151102202810_create_push_type_users.push_type.rb → 20151108150849_create_push_type_users.push_type.rb} +0 -0
  5. data/test/dummy/db/migrate/{20151102202811_create_push_type_nodes.push_type.rb → 20151108150850_create_push_type_nodes.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20151102202812_create_push_type_node_hierarchies.push_type.rb → 20151108150851_create_push_type_node_hierarchies.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20151102202813_create_push_type_assets.push_type.rb → 20151108150852_create_push_type_assets.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20151102202814_create_push_type_taxonomies.push_type.rb → 20151108150853_create_push_type_taxonomies.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20151102202815_create_push_type_taxonomy_hierarchies.push_type.rb → 20151108150854_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20151102202816_add_field_store_default_values.push_type.rb → 20151108150855_add_field_store_default_values.push_type.rb} +0 -0
  11. data/test/dummy/db/migrate/{20151102202817_devise_extend_push_type_users.push_type_auth.rb → 20151108150856_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  12. data/test/dummy/db/schema.rb +1 -1
  13. data/test/dummy/log/test.log +772 -772
  14. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/13enFOLQsI8Mye9dhTWkj9KKyYFODHE888fUc0YLTYw.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{T8sccjFXxE1mgzkBdDIfr-KPpfLsct71V_4nwVaPXLs.cache → 7gLQBh3Ik9gTVFib3VMPp7E1xnaMA0nZ2vqbsd6nc0o.cache} +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{zP91Jjz9HOOY02y9uWi9dLwV74l3kIGkSw6i7PUFkoQ.cache → 9Z74veAvEOGER8nxvUsOzSxyPdV4V2XBbP7SXXBtUzU.cache} +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YYzFefU0_ds10v4STNe8TB77tSdI0H_KoOTf3IC0W5w.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/f1opt7BM9dnmxGb_MLgUjRgCNqtffPgDaP1yQPYozHw.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/megN6QCcG4mwKczRObfHIHA8XpDGRwlsppU_Zz3_Tl4.cache +0 -0
  20. metadata +26 -26
@@ -1,43 +1,43 @@
1
-  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1
+  (13.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
3
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreatePushTypeUsers (20151102202810)
4
+ Migrating to CreatePushTypeUsers (20151108150849)
5
5
   (0.1ms) BEGIN
6
- SQL (1.9ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
6
+ SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
7
   (2.2ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
8
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202810"]]
8
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150849"]]
9
9
   (0.7ms) COMMIT
10
- Migrating to CreatePushTypeNodes (20151102202811)
10
+ Migrating to CreatePushTypeNodes (20151108150850)
11
11
   (0.1ms) BEGIN
12
-  (2.0ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
13
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202811"]]
12
+  (1.9ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
13
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150850"]]
14
14
   (0.4ms) COMMIT
15
- Migrating to CreatePushTypeNodeHierarchies (20151102202812)
15
+ Migrating to CreatePushTypeNodeHierarchies (20151108150851)
16
16
   (0.1ms) BEGIN
17
17
   (0.4ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
18
-  (0.6ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
-  (0.5ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202812"]]
21
-  (0.4ms) COMMIT
22
- Migrating to CreatePushTypeAssets (20151102202813)
23
-  (0.1ms) BEGIN
24
-  (2.4ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
25
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202813"]]
18
+  (0.7ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
+  (0.6ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150851"]]
26
21
   (0.5ms) COMMIT
27
- Migrating to CreatePushTypeTaxonomies (20151102202814)
22
+ Migrating to CreatePushTypeAssets (20151108150852)
23
+  (0.1ms) BEGIN
24
+  (2.0ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
25
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150852"]]
26
+  (0.4ms) COMMIT
27
+ Migrating to CreatePushTypeTaxonomies (20151108150853)
28
28
   (0.1ms) BEGIN
29
-  (2.0ms) CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
29
+  (1.8ms) CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
30
30
   (0.2ms) ALTER TABLE "push_type_assets" ADD "tags" character varying[]
31
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202814"]]
32
-  (0.5ms) COMMIT
33
- Migrating to CreatePushTypeTaxonomyHierarchies (20151102202815)
31
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150853"]]
32
+  (0.7ms) COMMIT
33
+ Migrating to CreatePushTypeTaxonomyHierarchies (20151108150854)
34
34
   (0.1ms) BEGIN
35
35
   (0.5ms) CREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) 
36
36
   (0.7ms) CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
37
37
   (0.5ms) CREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")
38
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202815"]]
38
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150854"]]
39
39
   (0.4ms) COMMIT
40
- Migrating to AddFieldStoreDefaultValues (20151102202816)
40
+ Migrating to AddFieldStoreDefaultValues (20151108150855)
41
41
   (0.1ms) BEGIN
42
42
   (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
43
43
   (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
@@ -46,16 +46,16 @@ Migrating to AddFieldStoreDefaultValues (20151102202816)
46
46
   (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb
47
47
   (0.1ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
48
48
   (0.2ms) UPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL
49
-  (0.2ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
50
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202816"]]
51
-  (0.5ms) COMMIT
52
- Migrating to DeviseExtendPushTypeUsers (20151102202817)
49
+  (0.1ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
50
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150855"]]
51
+  (0.4ms) COMMIT
52
+ Migrating to DeviseExtendPushTypeUsers (20151108150856)
53
53
   (0.1ms) BEGIN
54
-  (2.8ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
54
+  (2.7ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
55
55
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
56
-  (0.1ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
57
-  (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
58
-  (2.3ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
56
+  (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
57
+  (0.2ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
58
+  (2.1ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
59
59
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
60
60
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
61
61
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
@@ -63,12 +63,12 @@ Migrating to DeviseExtendPushTypeUsers (20151102202817)
63
63
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
64
64
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
65
65
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
66
-  (0.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
67
-  (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
68
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202817"]]
69
-  (1.0ms) COMMIT
66
+  (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
67
+  (0.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
68
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151108150856"]]
69
+  (1.2ms) COMMIT
70
70
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
71
-  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
71
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
72
72
  FROM pg_constraint c
73
73
  JOIN pg_class t1 ON c.conrelid = t1.oid
74
74
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -92,7 +92,7 @@ WHERE c.contype = 'f'
92
92
  AND t3.nspname = ANY (current_schemas(false))
93
93
  ORDER BY c.conname
94
94
 
95
-  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
95
+  (1.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
96
96
  FROM pg_constraint c
97
97
  JOIN pg_class t1 ON c.conrelid = t1.oid
98
98
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -128,7 +128,7 @@ WHERE c.contype = 'f'
128
128
  AND t3.nspname = ANY (current_schemas(false))
129
129
  ORDER BY c.conname
130
130
  
131
-  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
131
+  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
132
132
  FROM pg_constraint c
133
133
  JOIN pg_class t1 ON c.conrelid = t1.oid
134
134
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -140,76 +140,112 @@ WHERE c.contype = 'f'
140
140
  AND t3.nspname = ANY (current_schemas(false))
141
141
  ORDER BY c.conname
142
142
 
143
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
144
-  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
145
-  (1.1ms)  SELECT schemaname || '.' || tablename
143
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
144
+  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
145
+  (1.2ms)  SELECT schemaname || '.' || tablename
146
146
  FROM pg_tables
147
147
  WHERE
148
148
  tablename !~ '_prt_' AND
149
149
  tablename <> 'schema_migrations' AND
150
150
  schemaname = ANY (current_schemas(false))
151
151
  
152
-  (0.9ms) select table_name from information_schema.views where table_schema = 'dummy_test'
153
-  (10.3ms) TRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies", "public"."push_type_users" RESTART IDENTITY CASCADE;
154
-  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
152
+  (1.1ms) select table_name from information_schema.views where table_schema = 'dummy_test'
153
+  (96.7ms) TRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies", "public"."push_type_users" RESTART IDENTITY CASCADE;
154
+  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
155
155
   (0.1ms) BEGIN
156
- --------------------------------------------------------------------------------------
157
- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
158
- --------------------------------------------------------------------------------------
156
+ ----------------------------------------------------------------
157
+ PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
158
+ ----------------------------------------------------------------
159
159
   (0.1ms) SAVEPOINT active_record_1
160
160
   (0.1ms) RELEASE SAVEPOINT active_record_1
161
-  (0.0ms) SAVEPOINT active_record_1
161
+  (0.1ms) SAVEPOINT active_record_1
162
+  (0.1ms) SAVEPOINT active_record_2
163
+ PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
164
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
165
+ SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2015-11-08 15:08:55.595880"], ["confirmed_at", "2015-11-08 15:08:55.595989"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:08:55.608600"], ["updated_at", "2015-11-08 15:08:55.608600"]]
166
+  (0.1ms) RELEASE SAVEPOINT active_record_2
167
+ Processing by PushType::ProfilesController#edit as HTML
168
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "a66741c1-ead6-41fe-97ff-590ee5a103eb"]]
169
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (29.4ms)
170
+ Completed 200 OK in 11185ms (Views: 11155.4ms | ActiveRecord: 0.3ms)
171
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
172
+  (0.3ms) ROLLBACK
173
+  (0.1ms) BEGIN
174
+ ----------------------------------------------------------------
175
+ PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
176
+ ----------------------------------------------------------------
177
+  (0.1ms) SAVEPOINT active_record_1
178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
179
+  (0.1ms) SAVEPOINT active_record_1
180
+  (0.1ms) SAVEPOINT active_record_2
181
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
182
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
183
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:06.801996"], ["confirmed_at", "2015-11-08 15:09:06.802083"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:06.803914"], ["updated_at", "2015-11-08 15:09:06.803914"]]
184
+  (0.1ms) RELEASE SAVEPOINT active_record_2
185
+ Processing by PushType::ProfilesController#edit as HTML
186
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "2601aa4f-0627-4525-a9b9-675b421e7786"]]
187
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
188
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.2ms)
162
189
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
163
190
   (0.1ms) ROLLBACK
164
-  (0.0ms) BEGIN
165
- --------------------------------------------------------
166
- PushType::AuthenticationMethodsTest: test_0002_anonymous
167
- --------------------------------------------------------
191
+  (0.1ms) BEGIN
192
+ ----------------------------------------------------
193
+ PushType::InvitationMethodsTest: test_0001_anonymous
194
+ ----------------------------------------------------
168
195
   (0.0ms) SAVEPOINT active_record_1
169
196
   (0.0ms) RELEASE SAVEPOINT active_record_1
170
197
   (0.0ms) SAVEPOINT active_record_1
171
198
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
172
199
   (0.0ms) ROLLBACK
173
200
   (0.1ms) BEGIN
174
- --------------------------------------------------------
175
- PushType::AuthenticationMethodsTest: test_0001_anonymous
176
- --------------------------------------------------------
201
+ ---------------------------------------------------------------
202
+ PushType::AuthenticatableTest::validatable: test_0001_anonymous
203
+ ---------------------------------------------------------------
177
204
   (0.1ms) SAVEPOINT active_record_1
178
205
   (0.1ms) RELEASE SAVEPOINT active_record_1
206
+  (0.0ms) SAVEPOINT active_record_1
207
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
208
+  (0.1ms) ROLLBACK
209
+  (0.1ms) BEGIN
210
+ ---------------------------------------------------------------
211
+ PushType::AuthenticatableTest::validatable: test_0002_anonymous
212
+ ---------------------------------------------------------------
213
+  (0.0ms) SAVEPOINT active_record_1
214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
179
215
   (0.1ms) SAVEPOINT active_record_1
180
216
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
181
-  (0.0ms) ROLLBACK
217
+  (0.1ms) ROLLBACK
182
218
   (0.1ms) BEGIN
183
- --------------------------------------------------------------------------------------------------------------
184
- PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
185
- --------------------------------------------------------------------------------------------------------------
219
+ ------------------------------------------------------------------------------------------
220
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
221
+ ------------------------------------------------------------------------------------------
222
+  (0.1ms) SAVEPOINT active_record_1
223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
186
224
   (0.1ms) SAVEPOINT active_record_1
187
-  (0.0ms) RELEASE SAVEPOINT active_record_1
188
-  (0.0ms) SAVEPOINT active_record_1
189
225
   (0.1ms) SAVEPOINT active_record_2
190
- PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
191
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
192
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "060a5dbb216b217803bbbacd98dc4bfeca8dde076a51b06907e42eb0515d2b33"]]
193
- SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", "2015-11-02 20:28:16.227736"], ["updated_at", "2015-11-02 20:28:16.227736"], ["confirmation_token", "59ejRKJi8QgrasNmbyei"], ["confirmation_sent_at", "2015-11-02 20:28:16.410147"]]
194
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.5ms)
226
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
227
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
228
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "aed521d9bfc91b0e04effd0ef9fe8cd8447cdb94859d65ca5102e5f4ae1c6f20"]]
229
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", "2015-11-08 15:09:06.851452"], ["updated_at", "2015-11-08 15:09:06.851452"], ["confirmation_token", "ZQq626SEhs9pL4M6Wcyv"], ["confirmation_sent_at", "2015-11-08 15:09:07.025585"]]
230
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
195
231
 
196
- Devise::Mailer#confirmation_instructions: processed outbound mail in 265.4ms
232
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 223.5ms
197
233
 
198
- Sent mail to joe-1@example.com (7.2ms)
199
- Date: Mon, 02 Nov 2015 20:28:16 +0000
234
+ Sent mail to joe-3@example.com (9.4ms)
235
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
200
236
  From: pushtype@example.com
201
237
  Reply-To: pushtype@example.com
202
- To: joe-1@example.com
203
- Message-ID: <5637c760af5d4_3b263fcf84c63bec939dc@Aarons-iMac.local.mail>
238
+ To: joe-3@example.com
239
+ Message-ID: <563f659350fd5_2b1b3fde29063be0536dd@Aarons-iMac.local.mail>
204
240
  Subject: [PushType] Confirm your account
205
241
  Mime-Version: 1.0
206
242
  Content-Type: multipart/alternative;
207
- boundary="--==_mimepart_5637c760ae531_3b263fcf84c63bec93810";
243
+ boundary="--==_mimepart_563f65934fa15_2b1b3fde29063be0535d3";
208
244
  charset=UTF-8
209
245
  Content-Transfer-Encoding: 7bit
210
246
 
211
247
 
212
- ----==_mimepart_5637c760ae531_3b263fcf84c63bec93810
248
+ ----==_mimepart_563f65934fa15_2b1b3fde29063be0535d3
213
249
  Content-Type: text/plain;
214
250
  charset=UTF-8
215
251
  Content-Transfer-Encoding: 7bit
@@ -224,10 +260,10 @@ created for you.
224
260
  To get started, confirm your account and set your own password by
225
261
  clicking the link below:
226
262
 
227
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=59ejRKJi8QgrasNmbyei )
263
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ZQq626SEhs9pL4M6Wcyv )
228
264
 
229
265
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
230
- ----==_mimepart_5637c760ae531_3b263fcf84c63bec93810
266
+ ----==_mimepart_563f65934fa15_2b1b3fde29063be0535d3
231
267
  Content-Type: text/html;
232
268
  charset=UTF-8
233
269
  Content-Transfer-Encoding: 7bit
@@ -273,7 +309,7 @@ body {
273
309
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
274
310
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
275
311
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
276
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=59ejRKJi8QgrasNmbyei" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
312
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=ZQq626SEhs9pL4M6Wcyv" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
277
313
  </td>
278
314
  </tr>
279
315
  </table>
@@ -318,42 +354,49 @@ body {
318
354
  </body>
319
355
  </html>
320
356
 
321
- ----==_mimepart_5637c760ae531_3b263fcf84c63bec93810--
357
+ ----==_mimepart_563f65934fa15_2b1b3fde29063be0535d3--
322
358
 
323
359
   (0.1ms) RELEASE SAVEPOINT active_record_2
360
+ Processing by PushType::ConfirmationsController#update as HTML
361
+ Parameters: {"user"=>{"confirmation_token"=>"ZQq626SEhs9pL4M6Wcyv", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
362
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ZQq626SEhs9pL4M6Wcyv"]]
363
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '02954d70-7f83-4959-a372-12b90e0c058f') LIMIT 1
364
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.9ms)
365
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.2ms)
366
+ Completed 200 OK in 31ms (Views: 27.6ms | ActiveRecord: 0.5ms)
324
367
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
325
-  (0.2ms) ROLLBACK
368
+  (0.1ms) ROLLBACK
326
369
   (0.1ms) BEGIN
327
- --------------------------------------------------------------------------------------------------------------
328
- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
329
- --------------------------------------------------------------------------------------------------------------
330
-  (0.1ms) SAVEPOINT active_record_1
370
+ ------------------------------------------------------------------------------------------
371
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
372
+ ------------------------------------------------------------------------------------------
373
+  (0.0ms) SAVEPOINT active_record_1
331
374
   (0.1ms) RELEASE SAVEPOINT active_record_1
332
375
   (0.0ms) SAVEPOINT active_record_1
333
376
   (0.1ms) SAVEPOINT active_record_2
334
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
335
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
336
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "0cb3066000f0e8a35605dc8201f9a0e7a5d22530429930a7dd68ff2180c32549"]]
337
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", "2015-11-02 20:28:16.734131"], ["updated_at", "2015-11-02 20:28:16.734131"], ["confirmation_token", "W_Yvt2KVPnLAJQjBR4We"], ["confirmation_sent_at", "2015-11-02 20:28:16.735010"]]
338
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
377
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
378
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
379
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "c5840767c1e23ce99a090cecb8b708b072b31507955edd57622268a95552c951"]]
380
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", "2015-11-08 15:09:07.372671"], ["updated_at", "2015-11-08 15:09:07.372671"], ["confirmation_token", "oekNz6zyHt-TAq-vdiAC"], ["confirmation_sent_at", "2015-11-08 15:09:07.373525"]]
381
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
339
382
 
340
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
383
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
341
384
 
342
- Sent mail to joe-2@example.com (3.2ms)
343
- Date: Mon, 02 Nov 2015 20:28:16 +0000
385
+ Sent mail to joe-4@example.com (3.1ms)
386
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
344
387
  From: pushtype@example.com
345
388
  Reply-To: pushtype@example.com
346
- To: joe-2@example.com
347
- Message-ID: <5637c760bbae2_3b263fcf84c63bec9423f@Aarons-iMac.local.mail>
389
+ To: joe-4@example.com
390
+ Message-ID: <563f659362dc8_2b1b3fde29063be05392@Aarons-iMac.local.mail>
348
391
  Subject: [PushType] Confirm your account
349
392
  Mime-Version: 1.0
350
393
  Content-Type: multipart/alternative;
351
- boundary="--==_mimepart_5637c760bb559_3b263fcf84c63bec94183";
394
+ boundary="--==_mimepart_563f65936284e_2b1b3fde29063be053877";
352
395
  charset=UTF-8
353
396
  Content-Transfer-Encoding: 7bit
354
397
 
355
398
 
356
- ----==_mimepart_5637c760bb559_3b263fcf84c63bec94183
399
+ ----==_mimepart_563f65936284e_2b1b3fde29063be053877
357
400
  Content-Type: text/plain;
358
401
  charset=UTF-8
359
402
  Content-Transfer-Encoding: 7bit
@@ -368,10 +411,10 @@ created for you.
368
411
  To get started, confirm your account and set your own password by
369
412
  clicking the link below:
370
413
 
371
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=W_Yvt2KVPnLAJQjBR4We )
414
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=oekNz6zyHt-TAq-vdiAC )
372
415
 
373
416
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
374
- ----==_mimepart_5637c760bb559_3b263fcf84c63bec94183
417
+ ----==_mimepart_563f65936284e_2b1b3fde29063be053877
375
418
  Content-Type: text/html;
376
419
  charset=UTF-8
377
420
  Content-Transfer-Encoding: 7bit
@@ -417,7 +460,7 @@ body {
417
460
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
418
461
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
419
462
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
420
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=W_Yvt2KVPnLAJQjBR4We" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
463
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=oekNz6zyHt-TAq-vdiAC" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
421
464
  </td>
422
465
  </tr>
423
466
  </table>
@@ -462,76 +505,49 @@ body {
462
505
  </body>
463
506
  </html>
464
507
 
465
- ----==_mimepart_5637c760bb559_3b263fcf84c63bec94183--
508
+ ----==_mimepart_563f65936284e_2b1b3fde29063be053877--
466
509
 
467
510
   (0.1ms) RELEASE SAVEPOINT active_record_2
511
+ Processing by PushType::ConfirmationsController#update as HTML
512
+ Parameters: {"user"=>{"confirmation_token"=>"oekNz6zyHt-TAq-vdiAC", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
513
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "oekNz6zyHt-TAq-vdiAC"]]
514
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != '9ed61fac-4afa-4479-87be-47eaee6d24c8') LIMIT 1
515
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
516
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
517
+ Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.4ms)
468
518
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
469
519
   (0.1ms) ROLLBACK
470
520
   (0.1ms) BEGIN
471
- ------------------------------------------------------------------------------------------------------
472
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
473
- ------------------------------------------------------------------------------------------------------
521
+ ------------------------------------------------------------------------------------------
522
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
523
+ ------------------------------------------------------------------------------------------
474
524
   (0.1ms) SAVEPOINT active_record_1
475
525
   (0.1ms) RELEASE SAVEPOINT active_record_1
476
-  (0.0ms) SAVEPOINT active_record_1
477
- Processing by PushType::ConfirmationsController#show as HTML
478
- Parameters: {"confirmation_token"=>"invalid"}
479
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
480
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
481
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "28f7df9a6236f9200910a798dd2926c2089541bdd936c8e1cff259b33244fd39"]]
482
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
483
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (9.0ms)
484
- Completed 200 OK in 10862ms (Views: 10857.7ms | ActiveRecord: 0.7ms)
485
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
486
-  (0.1ms) ROLLBACK
487
-  (0.1ms) BEGIN
488
- ------------------------------------------------------------------------------------------------------
489
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
490
- ------------------------------------------------------------------------------------------------------
491
-  (0.1ms) SAVEPOINT active_record_1
492
-  (0.1ms) RELEASE SAVEPOINT active_record_1
493
-  (0.1ms) SAVEPOINT active_record_1
494
- Processing by PushType::ConfirmationsController#show as HTML
495
- Parameters: {"confirmation_token"=>"invalid"}
496
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
497
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
498
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "28f7df9a6236f9200910a798dd2926c2089541bdd936c8e1cff259b33244fd39"]]
499
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
500
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.5ms)
501
- Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.4ms)
502
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
503
-  (0.1ms) ROLLBACK
504
-  (0.1ms) BEGIN
505
- ----------------------------------------------------------------------------------------------------
506
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
507
- ----------------------------------------------------------------------------------------------------
508
526
   (0.1ms) SAVEPOINT active_record_1
509
-  (0.0ms) RELEASE SAVEPOINT active_record_1
510
-  (0.0ms) SAVEPOINT active_record_1
511
527
   (0.1ms) SAVEPOINT active_record_2
512
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
513
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
514
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "e1c20e0327e6a8d02591988780b79eef35ae5d96bd01dffb6bcff19a1e14619b"]]
515
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", "2015-11-02 20:28:27.659554"], ["updated_at", "2015-11-02 20:28:27.659554"], ["confirmation_token", "ji6gpVv55s4TzY4zGTnU"], ["confirmation_sent_at", "2015-11-02 20:28:27.660309"]]
528
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
529
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
530
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d9f484473ebf3a983a16ed1728f8250c8157cee284d253402c4eae63bdd53368"]]
531
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", "2015-11-08 15:09:07.419159"], ["updated_at", "2015-11-08 15:09:07.419159"], ["confirmation_token", "sLvwYDaqMoiE9z2i4EW6"], ["confirmation_sent_at", "2015-11-08 15:09:07.419938"]]
516
532
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
517
533
 
518
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
534
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
519
535
 
520
- Sent mail to joe-3@example.com (3.3ms)
521
- Date: Mon, 02 Nov 2015 20:28:27 +0000
536
+ Sent mail to joe-5@example.com (3.2ms)
537
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
522
538
  From: pushtype@example.com
523
539
  Reply-To: pushtype@example.com
524
- To: joe-3@example.com
525
- Message-ID: <5637c76ba90b2_3b263fcf84c63bec94515@Aarons-iMac.local.mail>
540
+ To: joe-5@example.com
541
+ Message-ID: <563f65936e2cd_2b1b3fde29063be0542a3@Aarons-iMac.local.mail>
526
542
  Subject: [PushType] Confirm your account
527
543
  Mime-Version: 1.0
528
544
  Content-Type: multipart/alternative;
529
- boundary="--==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f";
545
+ boundary="--==_mimepart_563f65936dcf6_2b1b3fde29063be0541b4";
530
546
  charset=UTF-8
531
547
  Content-Transfer-Encoding: 7bit
532
548
 
533
549
 
534
- ----==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f
550
+ ----==_mimepart_563f65936dcf6_2b1b3fde29063be0541b4
535
551
  Content-Type: text/plain;
536
552
  charset=UTF-8
537
553
  Content-Transfer-Encoding: 7bit
@@ -546,10 +562,10 @@ created for you.
546
562
  To get started, confirm your account and set your own password by
547
563
  clicking the link below:
548
564
 
549
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ji6gpVv55s4TzY4zGTnU )
565
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=sLvwYDaqMoiE9z2i4EW6 )
550
566
 
551
567
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
552
- ----==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f
568
+ ----==_mimepart_563f65936dcf6_2b1b3fde29063be0541b4
553
569
  Content-Type: text/html;
554
570
  charset=UTF-8
555
571
  Content-Transfer-Encoding: 7bit
@@ -595,7 +611,7 @@ body {
595
611
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
596
612
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
597
613
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
598
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=ji6gpVv55s4TzY4zGTnU" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
614
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=sLvwYDaqMoiE9z2i4EW6" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
599
615
  </td>
600
616
  </tr>
601
617
  </table>
@@ -640,48 +656,67 @@ body {
640
656
  </body>
641
657
  </html>
642
658
 
643
- ----==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f--
659
+ ----==_mimepart_563f65936dcf6_2b1b3fde29063be0541b4--
644
660
 
645
661
   (0.1ms) RELEASE SAVEPOINT active_record_2
646
- Processing by PushType::ConfirmationsController#show as HTML
647
- Parameters: {"confirmation_token"=>"ji6gpVv55s4TzY4zGTnU"}
648
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ji6gpVv55s4TzY4zGTnU"]]
662
+ Processing by PushType::ConfirmationsController#update as HTML
663
+ Parameters: {"user"=>{"confirmation_token"=>"sLvwYDaqMoiE9z2i4EW6", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
664
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "sLvwYDaqMoiE9z2i4EW6"]]
665
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-5@example.com' AND "push_type_users"."id" != 'b86de9eb-cbbb-4f8d-8360-8a4efe70bfb6') LIMIT 1
649
666
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
650
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (4.8ms)
651
- Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.1ms)
652
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
653
-  (0.1ms) ROLLBACK
654
-  (0.1ms) BEGIN
655
- ----------------------------------------------------------------------------------------------------
656
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
657
- ----------------------------------------------------------------------------------------------------
658
-  (0.1ms) SAVEPOINT active_record_1
659
-  (0.0ms) RELEASE SAVEPOINT active_record_1
660
-  (0.1ms) SAVEPOINT active_record_1
661
-  (0.1ms) SAVEPOINT active_record_2
662
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
663
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
664
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "c1c471c1e4cd2ff6833102522aeb6387fc3ec92bf9e2baa393227e5ede0a9d90"]]
665
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", "2015-11-02 20:28:27.709452"], ["updated_at", "2015-11-02 20:28:27.709452"], ["confirmation_token", "Hv4_6NNm5nVQyCxMZmMa"], ["confirmation_sent_at", "2015-11-02 20:28:27.710203"]]
667
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.8ms)
668
+ Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.4ms)
669
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
670
+  (0.1ms) ROLLBACK
671
+  (0.1ms) BEGIN
672
+ ---------------------------------------------------------------------------
673
+ PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
674
+ ---------------------------------------------------------------------------
675
+  (0.1ms) SAVEPOINT active_record_1
676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
677
+  (0.0ms) SAVEPOINT active_record_1
678
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
679
+  (0.1ms) ROLLBACK
680
+  (0.1ms) BEGIN
681
+ ---------------------------------------------------------------------------
682
+ PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
683
+ ---------------------------------------------------------------------------
684
+  (0.1ms) SAVEPOINT active_record_1
685
+  (0.0ms) RELEASE SAVEPOINT active_record_1
686
+  (0.0ms) SAVEPOINT active_record_1
687
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
688
+  (0.0ms) ROLLBACK
689
+  (0.0ms) BEGIN
690
+ --------------------------------------------------------------------------------------------------------------
691
+ PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
692
+ --------------------------------------------------------------------------------------------------------------
693
+  (0.0ms) SAVEPOINT active_record_1
694
+  (0.0ms) RELEASE SAVEPOINT active_record_1
695
+  (0.0ms) SAVEPOINT active_record_1
696
+  (0.1ms) SAVEPOINT active_record_2
697
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
698
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
699
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "34c95ea598a13b88097a89f3682d315ac2c1dd2eea0922d21b2e2c34d93d4f53"]]
700
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", "2015-11-08 15:09:07.469091"], ["updated_at", "2015-11-08 15:09:07.469091"], ["confirmation_token", "xMZx2-5zMLVmJXrN_fdh"], ["confirmation_sent_at", "2015-11-08 15:09:07.469806"]]
666
701
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
667
702
 
668
703
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
669
704
 
670
- Sent mail to joe-4@example.com (3.2ms)
671
- Date: Mon, 02 Nov 2015 20:28:27 +0000
705
+ Sent mail to joe-6@example.com (3.0ms)
706
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
672
707
  From: pushtype@example.com
673
708
  Reply-To: pushtype@example.com
674
- To: joe-4@example.com
675
- Message-ID: <5637c76bb50ac_3b263fcf84c63bec94832@Aarons-iMac.local.mail>
709
+ To: joe-6@example.com
710
+ Message-ID: <563f65937a646_2b1b3fde29063be054567@Aarons-iMac.local.mail>
676
711
  Subject: [PushType] Confirm your account
677
712
  Mime-Version: 1.0
678
713
  Content-Type: multipart/alternative;
679
- boundary="--==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476";
714
+ boundary="--==_mimepart_563f65937a0e4_2b1b3fde29063be0544b4";
680
715
  charset=UTF-8
681
716
  Content-Transfer-Encoding: 7bit
682
717
 
683
718
 
684
- ----==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476
719
+ ----==_mimepart_563f65937a0e4_2b1b3fde29063be0544b4
685
720
  Content-Type: text/plain;
686
721
  charset=UTF-8
687
722
  Content-Transfer-Encoding: 7bit
@@ -696,10 +731,10 @@ created for you.
696
731
  To get started, confirm your account and set your own password by
697
732
  clicking the link below:
698
733
 
699
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Hv4_6NNm5nVQyCxMZmMa )
734
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=xMZx2-5zMLVmJXrN_fdh )
700
735
 
701
736
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
702
- ----==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476
737
+ ----==_mimepart_563f65937a0e4_2b1b3fde29063be0544b4
703
738
  Content-Type: text/html;
704
739
  charset=UTF-8
705
740
  Content-Transfer-Encoding: 7bit
@@ -745,7 +780,7 @@ body {
745
780
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
746
781
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
747
782
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
748
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Hv4_6NNm5nVQyCxMZmMa" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
783
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=xMZx2-5zMLVmJXrN_fdh" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
749
784
  </td>
750
785
  </tr>
751
786
  </table>
@@ -790,106 +825,148 @@ body {
790
825
  </body>
791
826
  </html>
792
827
 
793
- ----==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476--
828
+ ----==_mimepart_563f65937a0e4_2b1b3fde29063be0544b4--
794
829
 
795
-  (0.1ms) RELEASE SAVEPOINT active_record_2
796
- Processing by PushType::ConfirmationsController#show as HTML
797
- Parameters: {"confirmation_token"=>"Hv4_6NNm5nVQyCxMZmMa"}
798
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "Hv4_6NNm5nVQyCxMZmMa"]]
799
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
800
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
801
- Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms)
830
+  (0.1ms) RELEASE SAVEPOINT active_record_2
802
831
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
803
832
   (0.1ms) ROLLBACK
804
833
   (0.1ms) BEGIN
805
- ---------------------------------------------------------------
806
- PushType::AuthenticatableTest::confirmable: test_0001_anonymous
807
- ---------------------------------------------------------------
834
+ ----------------------------------------------------------------
835
+ PushType::AuthenticatableTest::rememberable: test_0001_anonymous
836
+ ----------------------------------------------------------------
808
837
   (0.0ms) SAVEPOINT active_record_1
809
838
   (0.0ms) RELEASE SAVEPOINT active_record_1
810
839
   (0.0ms) SAVEPOINT active_record_1
811
840
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
812
841
   (0.1ms) ROLLBACK
813
842
   (0.1ms) BEGIN
814
- ---------------------------------------------------------------
815
- PushType::AuthenticatableTest::recoverable: test_0001_anonymous
816
- ---------------------------------------------------------------
817
-  (0.0ms) SAVEPOINT active_record_1
843
+ --------------------------------------------------------
844
+ PushType::AuthenticationMethodsTest: test_0001_anonymous
845
+ --------------------------------------------------------
846
+  (0.1ms) SAVEPOINT active_record_1
818
847
   (0.0ms) RELEASE SAVEPOINT active_record_1
819
848
   (0.0ms) SAVEPOINT active_record_1
820
849
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
821
-  (0.1ms) ROLLBACK
822
-  (0.1ms) BEGIN
823
- ----------------------------------------------------
824
- PushType::InvitationMethodsTest: test_0001_anonymous
825
- ----------------------------------------------------
850
+  (0.0ms) ROLLBACK
851
+  (0.0ms) BEGIN
852
+ --------------------------------------------------------
853
+ PushType::AuthenticationMethodsTest: test_0002_anonymous
854
+ --------------------------------------------------------
826
855
   (0.0ms) SAVEPOINT active_record_1
827
856
   (0.0ms) RELEASE SAVEPOINT active_record_1
828
857
   (0.0ms) SAVEPOINT active_record_1
829
858
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
830
859
   (0.0ms) ROLLBACK
831
860
   (0.1ms) BEGIN
832
- ---------------------------------------------------------------
833
- PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
834
- ---------------------------------------------------------------
861
+ -------------------------------------------------------------------------------------
862
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
863
+ -------------------------------------------------------------------------------------
835
864
   (0.1ms) SAVEPOINT active_record_1
836
-  (0.0ms) RELEASE SAVEPOINT active_record_1
865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
837
866
   (0.0ms) SAVEPOINT active_record_1
838
867
   (0.1ms) SAVEPOINT active_record_2
839
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
840
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
841
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:27.758692"], ["confirmed_at", "2015-11-02 20:28:27.758763"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:27.760506"], ["updated_at", "2015-11-02 20:28:27.760506"]]
868
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
869
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
870
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.535815"], ["confirmed_at", "2015-11-08 15:09:07.535882"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.537471"], ["updated_at", "2015-11-08 15:09:07.537471"]]
842
871
   (0.1ms) RELEASE SAVEPOINT active_record_2
843
-  (0.0ms) SAVEPOINT active_record_2
844
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
845
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
846
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "9bdc8a3d5b27db0483f2d49160216909599887deb245c2ffb5e2d974db577e19"]]
847
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", "2015-11-02 20:28:27.763393"], ["updated_at", "2015-11-02 20:28:27.763393"], ["confirmation_token", "_bxoS-8bD6zLarnXvCmp"], ["confirmation_sent_at", "2015-11-02 20:28:27.764167"]]
848
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
849
-
850
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
851
-
852
- Sent mail to joe-6@example.com (3.1ms)
853
- Date: Mon, 02 Nov 2015 20:28:27 +0000
854
- From: pushtype@example.com
855
- Reply-To: pushtype@example.com
856
- To: joe-6@example.com
857
- Message-ID: <5637c76bc257e_3b263fcf84c63bec951f@Aarons-iMac.local.mail>
858
- Subject: [PushType] Confirm your account
859
- Mime-Version: 1.0
860
- Content-Type: multipart/alternative;
861
- boundary="--==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3";
862
- charset=UTF-8
863
- Content-Transfer-Encoding: 7bit
864
-
865
-
866
- ----==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3
867
- Content-Type: text/plain;
868
- charset=UTF-8
869
- Content-Transfer-Encoding: 7bit
870
-
871
- PushType ( http://localhost:3000/push_type/ )
872
-
873
- Hello Joe Bloggs
874
-
875
- You're receiving this email because a PushType account has been
876
- created for you.
877
-
878
- To get started, confirm your account and set your own password by
879
- clicking the link below:
880
-
881
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_bxoS-8bD6zLarnXvCmp )
882
-
883
- PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
884
- ----==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3
885
- Content-Type: text/html;
886
- charset=UTF-8
887
- Content-Transfer-Encoding: 7bit
888
-
889
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
890
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
891
- <head>
892
- <meta name="viewport" content="width=device-width" />
872
+ Processing by PushType::ProfilesController#update as HTML
873
+ Parameters: {"user"=>{"name"=>""}}
874
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "2d2915e0-2bf9-4b4d-be62-dbc9500576a5"]]
875
+  (0.1ms) SAVEPOINT active_record_2
876
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '2d2915e0-2bf9-4b4d-be62-dbc9500576a5') LIMIT 1
877
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
878
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
879
+ Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.5ms)
880
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
881
+  (0.1ms) ROLLBACK
882
+  (0.1ms) BEGIN
883
+ -------------------------------------------------------------------------------------
884
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
885
+ -------------------------------------------------------------------------------------
886
+  (0.0ms) SAVEPOINT active_record_1
887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
888
+  (0.0ms) SAVEPOINT active_record_1
889
+  (0.1ms) SAVEPOINT active_record_2
890
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
891
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
892
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.551293"], ["confirmed_at", "2015-11-08 15:09:07.551355"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.552838"], ["updated_at", "2015-11-08 15:09:07.552838"]]
893
+  (0.1ms) RELEASE SAVEPOINT active_record_2
894
+ Processing by PushType::ProfilesController#update as HTML
895
+ Parameters: {"user"=>{"name"=>""}}
896
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "d45400ac-0b84-4404-ae0e-eb98c4c67102"]]
897
+  (0.1ms) SAVEPOINT active_record_2
898
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-8@example.com' AND "push_type_users"."id" != 'd45400ac-0b84-4404-ae0e-eb98c4c67102') LIMIT 1
899
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
900
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
901
+ Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.5ms)
902
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
903
+  (0.1ms) ROLLBACK
904
+  (0.1ms) BEGIN
905
+ -------------------------------------------------------------
906
+ PushType::AuthenticatableTest::trackable: test_0001_anonymous
907
+ -------------------------------------------------------------
908
+  (0.1ms) SAVEPOINT active_record_1
909
+  (0.1ms) RELEASE SAVEPOINT active_record_1
910
+  (0.0ms) SAVEPOINT active_record_1
911
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
912
+  (0.1ms) ROLLBACK
913
+  (0.0ms) BEGIN
914
+ ----------------------------------------------------------------------------------------------------
915
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
916
+ ----------------------------------------------------------------------------------------------------
917
+  (0.0ms) SAVEPOINT active_record_1
918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
919
+  (0.0ms) SAVEPOINT active_record_1
920
+  (0.0ms) SAVEPOINT active_record_2
921
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
922
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
923
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d4377e0736a55e753b88b2fa777d5ad5e6b02a85647d4464c391e0efeb5cbc73"]]
924
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["created_at", "2015-11-08 15:09:07.570491"], ["updated_at", "2015-11-08 15:09:07.570491"], ["confirmation_token", "BZN_z_gz16f_EbZWs_9d"], ["confirmation_sent_at", "2015-11-08 15:09:07.571198"]]
925
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
926
+
927
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
928
+
929
+ Sent mail to joe-9@example.com (3.0ms)
930
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
931
+ From: pushtype@example.com
932
+ Reply-To: pushtype@example.com
933
+ To: joe-9@example.com
934
+ Message-ID: <563f65939344f_2b1b3fde29063be05488@Aarons-iMac.local.mail>
935
+ Subject: [PushType] Confirm your account
936
+ Mime-Version: 1.0
937
+ Content-Type: multipart/alternative;
938
+ boundary="--==_mimepart_563f659392eed_2b1b3fde29063be0547c3";
939
+ charset=UTF-8
940
+ Content-Transfer-Encoding: 7bit
941
+
942
+
943
+ ----==_mimepart_563f659392eed_2b1b3fde29063be0547c3
944
+ Content-Type: text/plain;
945
+ charset=UTF-8
946
+ Content-Transfer-Encoding: 7bit
947
+
948
+ PushType ( http://localhost:3000/push_type/ )
949
+
950
+ Hello Joe Bloggs
951
+
952
+ You're receiving this email because a PushType account has been
953
+ created for you.
954
+
955
+ To get started, confirm your account and set your own password by
956
+ clicking the link below:
957
+
958
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=BZN_z_gz16f_EbZWs_9d )
959
+
960
+ PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
961
+ ----==_mimepart_563f659392eed_2b1b3fde29063be0547c3
962
+ Content-Type: text/html;
963
+ charset=UTF-8
964
+ Content-Transfer-Encoding: 7bit
965
+
966
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
967
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
968
+ <head>
969
+ <meta name="viewport" content="width=device-width" />
893
970
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
894
971
  <title>[PushType] Confirm your account</title>
895
972
 
@@ -927,7 +1004,7 @@ body {
927
1004
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
928
1005
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
929
1006
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
930
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=_bxoS-8bD6zLarnXvCmp" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1007
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=BZN_z_gz16f_EbZWs_9d" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
931
1008
  </td>
932
1009
  </tr>
933
1010
  </table>
@@ -972,34 +1049,48 @@ body {
972
1049
  </body>
973
1050
  </html>
974
1051
 
975
- ----==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3--
1052
+ ----==_mimepart_563f659392eed_2b1b3fde29063be0547c3--
976
1053
 
977
-  (0.1ms) RELEASE SAVEPOINT active_record_2
978
- Processing by PushType::UsersController#invite as HTML
979
- Parameters: {"id"=>"8e553283-c837-4891-93a5-7bbbc27ae66b"}
980
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "90031e60-fbf7-4220-9685-fa8596e8b603"]]
981
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "8e553283-c837-4891-93a5-7bbbc27ae66b"]]
1054
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1055
+ Processing by PushType::ConfirmationsController#show as HTML
1056
+ Parameters: {"confirmation_token"=>"BZN_z_gz16f_EbZWs_9d"}
1057
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "BZN_z_gz16f_EbZWs_9d"]]
1058
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1059
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
1060
+ Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.1ms)
1061
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1062
+  (0.1ms) ROLLBACK
1063
+  (0.1ms) BEGIN
1064
+ ----------------------------------------------------------------------------------------------------
1065
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
1066
+ ----------------------------------------------------------------------------------------------------
1067
+  (0.0ms) SAVEPOINT active_record_1
1068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1069
+  (0.0ms) SAVEPOINT active_record_1
982
1070
   (0.1ms) SAVEPOINT active_record_2
983
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1071
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1072
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1073
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "37e65f17c4be2b983722cc49028d9e6a956058029fd207e5fe37844c30829a04"]]
1074
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", "2015-11-08 15:09:07.616064"], ["updated_at", "2015-11-08 15:09:07.616064"], ["confirmation_token", "GFGZSrVmwXx-umxAj1Nv"], ["confirmation_sent_at", "2015-11-08 15:09:07.616891"]]
984
1075
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
985
1076
 
986
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1077
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
987
1078
 
988
- Sent mail to joe-6@example.com (3.0ms)
989
- Date: Mon, 02 Nov 2015 20:28:27 +0000
1079
+ Sent mail to joe-10@example.com (3.2ms)
1080
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
990
1081
  From: pushtype@example.com
991
1082
  Reply-To: pushtype@example.com
992
- To: joe-6@example.com
993
- Message-ID: <5637c76bcb6d1_3b263fcf84c63bec95474@Aarons-iMac.local.mail>
1083
+ To: joe-10@example.com
1084
+ Message-ID: <563f65939e610_2b1b3fde29063be055156@Aarons-iMac.local.mail>
994
1085
  Subject: [PushType] Confirm your account
995
1086
  Mime-Version: 1.0
996
1087
  Content-Type: multipart/alternative;
997
- boundary="--==_mimepart_5637c76bcb141_3b263fcf84c63bec95395";
1088
+ boundary="--==_mimepart_563f65939e041_2b1b3fde29063be0550ee";
998
1089
  charset=UTF-8
999
1090
  Content-Transfer-Encoding: 7bit
1000
1091
 
1001
1092
 
1002
- ----==_mimepart_5637c76bcb141_3b263fcf84c63bec95395
1093
+ ----==_mimepart_563f65939e041_2b1b3fde29063be0550ee
1003
1094
  Content-Type: text/plain;
1004
1095
  charset=UTF-8
1005
1096
  Content-Transfer-Encoding: 7bit
@@ -1014,10 +1105,10 @@ created for you.
1014
1105
  To get started, confirm your account and set your own password by
1015
1106
  clicking the link below:
1016
1107
 
1017
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_bxoS-8bD6zLarnXvCmp )
1108
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=GFGZSrVmwXx-umxAj1Nv )
1018
1109
 
1019
1110
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1020
- ----==_mimepart_5637c76bcb141_3b263fcf84c63bec95395
1111
+ ----==_mimepart_563f65939e041_2b1b3fde29063be0550ee
1021
1112
  Content-Type: text/html;
1022
1113
  charset=UTF-8
1023
1114
  Content-Transfer-Encoding: 7bit
@@ -1063,7 +1154,7 @@ body {
1063
1154
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1064
1155
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1065
1156
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1066
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=_bxoS-8bD6zLarnXvCmp" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1157
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=GFGZSrVmwXx-umxAj1Nv" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1067
1158
  </td>
1068
1159
  </tr>
1069
1160
  </table>
@@ -1108,48 +1199,48 @@ body {
1108
1199
  </body>
1109
1200
  </html>
1110
1201
 
1111
- ----==_mimepart_5637c76bcb141_3b263fcf84c63bec95395--
1202
+ ----==_mimepart_563f65939e041_2b1b3fde29063be0550ee--
1112
1203
 
1113
- Redirected to /push_type/users
1114
- Completed 302 Found in 35ms (ActiveRecord: 0.5ms)
1115
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1116
-  (0.1ms) ROLLBACK
1117
-  (0.1ms) BEGIN
1118
- ---------------------------------------------------------------
1119
- PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
1120
- ---------------------------------------------------------------
1121
-  (0.1ms) SAVEPOINT active_record_1
1122
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1123
-  (0.0ms) SAVEPOINT active_record_1
1124
-  (0.1ms) SAVEPOINT active_record_2
1125
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
1126
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
1127
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:27.837600"], ["confirmed_at", "2015-11-02 20:28:27.837661"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:27.839352"], ["updated_at", "2015-11-02 20:28:27.839352"]]
1128
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1204
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1205
+ Processing by PushType::ConfirmationsController#show as HTML
1206
+ Parameters: {"confirmation_token"=>"GFGZSrVmwXx-umxAj1Nv"}
1207
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "GFGZSrVmwXx-umxAj1Nv"]]
1208
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1209
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
1210
+ Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms)
1211
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1212
+  (0.1ms) ROLLBACK
1213
+  (0.1ms) BEGIN
1214
+ ----------------------------------------------------------------------------------------
1215
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
1216
+ ----------------------------------------------------------------------------------------
1217
+  (0.1ms) SAVEPOINT active_record_1
1218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1219
+  (0.0ms) SAVEPOINT active_record_1
1129
1220
   (0.1ms) SAVEPOINT active_record_2
1130
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
1131
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
1132
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "dce89aebd270973836ef57f3d56d5eecacd88a0d42dc73c7df4551fea761ca44"]]
1133
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", "2015-11-02 20:28:27.842179"], ["updated_at", "2015-11-02 20:28:27.842179"], ["confirmation_token", "sARd_cmnYbb-Yn91p5zm"], ["confirmation_sent_at", "2015-11-02 20:28:27.842909"]]
1134
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1221
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1222
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1223
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "7ab7819efe51897021e0d3a63f46538cb7220f80fe0d7f4a74dc18240a233db5"]]
1224
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", "2015-11-08 15:09:07.662515"], ["updated_at", "2015-11-08 15:09:07.662515"], ["confirmation_token", "Kbei3-MWnC6Vs_M7sdv6"], ["confirmation_sent_at", "2015-11-08 15:09:07.663208"]]
1225
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.6ms)
1135
1226
 
1136
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1227
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
1137
1228
 
1138
- Sent mail to joe-8@example.com (3.0ms)
1139
- Date: Mon, 02 Nov 2015 20:28:27 +0000
1229
+ Sent mail to joe-11@example.com (3.1ms)
1230
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
1140
1231
  From: pushtype@example.com
1141
1232
  Reply-To: pushtype@example.com
1142
- To: joe-8@example.com
1143
- Message-ID: <5637c76bd57c5_3b263fcf84c63bec9577c@Aarons-iMac.local.mail>
1233
+ To: joe-11@example.com
1234
+ Message-ID: <563f6593a9aa4_2b1b3fde29063be055433@Aarons-iMac.local.mail>
1144
1235
  Subject: [PushType] Confirm your account
1145
1236
  Mime-Version: 1.0
1146
1237
  Content-Type: multipart/alternative;
1147
- boundary="--==_mimepart_5637c76bd523e_3b263fcf84c63bec95614";
1238
+ boundary="--==_mimepart_563f6593a94e8_2b1b3fde29063be055357";
1148
1239
  charset=UTF-8
1149
1240
  Content-Transfer-Encoding: 7bit
1150
1241
 
1151
1242
 
1152
- ----==_mimepart_5637c76bd523e_3b263fcf84c63bec95614
1243
+ ----==_mimepart_563f6593a94e8_2b1b3fde29063be055357
1153
1244
  Content-Type: text/plain;
1154
1245
  charset=UTF-8
1155
1246
  Content-Transfer-Encoding: 7bit
@@ -1164,10 +1255,10 @@ created for you.
1164
1255
  To get started, confirm your account and set your own password by
1165
1256
  clicking the link below:
1166
1257
 
1167
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=sARd_cmnYbb-Yn91p5zm )
1258
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Kbei3-MWnC6Vs_M7sdv6 )
1168
1259
 
1169
1260
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1170
- ----==_mimepart_5637c76bd523e_3b263fcf84c63bec95614
1261
+ ----==_mimepart_563f6593a94e8_2b1b3fde29063be055357
1171
1262
  Content-Type: text/html;
1172
1263
  charset=UTF-8
1173
1264
  Content-Transfer-Encoding: 7bit
@@ -1213,7 +1304,7 @@ body {
1213
1304
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1214
1305
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1215
1306
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1216
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=sARd_cmnYbb-Yn91p5zm" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1307
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Kbei3-MWnC6Vs_M7sdv6" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1217
1308
  </td>
1218
1309
  </tr>
1219
1310
  </table>
@@ -1258,34 +1349,55 @@ body {
1258
1349
  </body>
1259
1350
  </html>
1260
1351
 
1261
- ----==_mimepart_5637c76bd523e_3b263fcf84c63bec95614--
1352
+ ----==_mimepart_563f6593a94e8_2b1b3fde29063be055357--
1262
1353
 
1263
1354
   (0.1ms) RELEASE SAVEPOINT active_record_2
1264
- Processing by PushType::UsersController#invite as HTML
1265
- Parameters: {"id"=>"fcfa4fdd-76d7-4582-8436-50b855faac8c"}
1266
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "717e9d06-f742-4b4a-96d4-1ae094a0c7f6"]]
1267
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "fcfa4fdd-76d7-4582-8436-50b855faac8c"]]
1355
+ Processing by PushType::ConfirmationsController#update as HTML
1356
+ Parameters: {"user"=>{"confirmation_token"=>"Kbei3-MWnC6Vs_M7sdv6", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1357
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "Kbei3-MWnC6Vs_M7sdv6"]]
1358
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-11@example.com' AND "push_type_users"."id" != '84bd9f19-29a0-498b-b87e-2144ef41924c') LIMIT 1
1268
1359
   (0.1ms) SAVEPOINT active_record_2
1360
+ SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$r3f/o5oADa7o3PQr1ikuF.k2Bk7IgUe9SUzFE06qsjyA5KLYgzun6"], ["confirmed_at", "2015-11-08 15:09:07.701823"], ["updated_at", "2015-11-08 15:09:07.702318"], ["id", "84bd9f19-29a0-498b-b87e-2144ef41924c"]]
1361
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1362
+  (0.1ms) SAVEPOINT active_record_2
1363
+ SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-11-08 15:09:07.704541"], ["current_sign_in_at", "2015-11-08 15:09:07.704541"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-08 15:09:07.705075"], ["id", "84bd9f19-29a0-498b-b87e-2144ef41924c"]]
1269
1364
   (0.1ms) RELEASE SAVEPOINT active_record_2
1270
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1365
+ Redirected to http://test.host/push_type/
1366
+ Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
1367
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "84bd9f19-29a0-498b-b87e-2144ef41924c"]]
1368
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1369
+  (0.1ms) ROLLBACK
1370
+  (0.1ms) BEGIN
1371
+ ----------------------------------------------------------------------------------------
1372
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
1373
+ ----------------------------------------------------------------------------------------
1374
+  (0.0ms) SAVEPOINT active_record_1
1375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1376
+  (0.0ms) SAVEPOINT active_record_1
1377
+  (0.1ms) SAVEPOINT active_record_2
1378
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1379
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1380
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "c1b4085f43f12cda1866823223a916925c24a5df2760981623507c66163474bc"]]
1381
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", "2015-11-08 15:09:07.711379"], ["updated_at", "2015-11-08 15:09:07.711379"], ["confirmation_token", "qiezzXcQsfAMcxASCJSH"], ["confirmation_sent_at", "2015-11-08 15:09:07.712270"]]
1382
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1271
1383
 
1272
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
1384
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1273
1385
 
1274
- Sent mail to joe-8@example.com (2.9ms)
1275
- Date: Mon, 02 Nov 2015 20:28:27 +0000
1386
+ Sent mail to joe-12@example.com (4.1ms)
1387
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
1276
1388
  From: pushtype@example.com
1277
1389
  Reply-To: pushtype@example.com
1278
- To: joe-8@example.com
1279
- Message-ID: <5637c76bde2d8_3b263fcf84c63bec960e8@Aarons-iMac.local.mail>
1390
+ To: joe-12@example.com
1391
+ Message-ID: <563f6593b7592_2b1b3fde29063be0557d9@Aarons-iMac.local.mail>
1280
1392
  Subject: [PushType] Confirm your account
1281
1393
  Mime-Version: 1.0
1282
1394
  Content-Type: multipart/alternative;
1283
- boundary="--==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f";
1395
+ boundary="--==_mimepart_563f6593b6f54_2b1b3fde29063be05567f";
1284
1396
  charset=UTF-8
1285
1397
  Content-Transfer-Encoding: 7bit
1286
1398
 
1287
1399
 
1288
- ----==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f
1400
+ ----==_mimepart_563f6593b6f54_2b1b3fde29063be05567f
1289
1401
  Content-Type: text/plain;
1290
1402
  charset=UTF-8
1291
1403
  Content-Transfer-Encoding: 7bit
@@ -1300,10 +1412,10 @@ created for you.
1300
1412
  To get started, confirm your account and set your own password by
1301
1413
  clicking the link below:
1302
1414
 
1303
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=sARd_cmnYbb-Yn91p5zm )
1415
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=qiezzXcQsfAMcxASCJSH )
1304
1416
 
1305
1417
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1306
- ----==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f
1418
+ ----==_mimepart_563f6593b6f54_2b1b3fde29063be05567f
1307
1419
  Content-Type: text/html;
1308
1420
  charset=UTF-8
1309
1421
  Content-Transfer-Encoding: 7bit
@@ -1349,7 +1461,7 @@ body {
1349
1461
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1350
1462
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1351
1463
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1352
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=sARd_cmnYbb-Yn91p5zm" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1464
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=qiezzXcQsfAMcxASCJSH" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1353
1465
  </td>
1354
1466
  </tr>
1355
1467
  </table>
@@ -1394,48 +1506,142 @@ body {
1394
1506
  </body>
1395
1507
  </html>
1396
1508
 
1397
- ----==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f--
1509
+ ----==_mimepart_563f6593b6f54_2b1b3fde29063be05567f--
1398
1510
 
1399
- Redirected to /push_type/users
1400
- Completed 302 Found in 34ms (ActiveRecord: 0.7ms)
1511
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1512
+ Processing by PushType::ConfirmationsController#update as HTML
1513
+ Parameters: {"user"=>{"confirmation_token"=>"qiezzXcQsfAMcxASCJSH", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1514
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "qiezzXcQsfAMcxASCJSH"]]
1515
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-12@example.com' AND "push_type_users"."id" != 'a96a8d9b-7399-49f4-b675-1b26f1a384d8') LIMIT 1
1516
+  (0.1ms) SAVEPOINT active_record_2
1517
+ SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$ZXmY5vl/YHzPII.wGM8pVu30QtxA.E4HrPGndfZhHtNX9yPiNJAqu"], ["confirmed_at", "2015-11-08 15:09:07.758564"], ["updated_at", "2015-11-08 15:09:07.758943"], ["id", "a96a8d9b-7399-49f4-b675-1b26f1a384d8"]]
1518
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1519
+  (0.0ms) SAVEPOINT active_record_2
1520
+ SQL (0.1ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-11-08 15:09:07.760450"], ["current_sign_in_at", "2015-11-08 15:09:07.760450"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-08 15:09:07.760803"], ["id", "a96a8d9b-7399-49f4-b675-1b26f1a384d8"]]
1521
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1522
+ Redirected to http://test.host/push_type/
1523
+ Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
1524
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1525
+  (0.1ms) ROLLBACK
1526
+  (0.1ms) BEGIN
1527
+ ---------------------------------------------------------------
1528
+ PushType::AuthenticatableTest::confirmable: test_0001_anonymous
1529
+ ---------------------------------------------------------------
1530
+  (0.0ms) SAVEPOINT active_record_1
1531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1532
+  (0.0ms) SAVEPOINT active_record_1
1533
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1534
+  (0.1ms) ROLLBACK
1535
+  (0.1ms) BEGIN
1536
+ -----------------------------------------------------------------------------------
1537
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
1538
+ -----------------------------------------------------------------------------------
1539
+  (0.1ms) SAVEPOINT active_record_1
1540
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1541
+  (0.1ms) SAVEPOINT active_record_1
1542
+  (0.1ms) SAVEPOINT active_record_2
1543
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1544
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1545
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.766571"], ["confirmed_at", "2015-11-08 15:09:07.766629"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.768641"], ["updated_at", "2015-11-08 15:09:07.768641"]]
1546
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1547
+ Processing by PushType::ProfilesController#update as HTML
1548
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1549
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "b8b64f34-d8ac-474c-8689-aa297fa407a5"]]
1550
+  (0.1ms) SAVEPOINT active_record_2
1551
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-13@example.com' AND "push_type_users"."id" != 'b8b64f34-d8ac-474c-8689-aa297fa407a5') LIMIT 1
1552
+ SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-11-08 15:09:07.773136"], ["id", "b8b64f34-d8ac-474c-8689-aa297fa407a5"]]
1553
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1554
+ Redirected to http://test.host/push_type/profile/edit
1555
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
1556
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1557
+  (0.1ms) ROLLBACK
1558
+  (0.1ms) BEGIN
1559
+ -----------------------------------------------------------------------------------
1560
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
1561
+ -----------------------------------------------------------------------------------
1562
+  (0.1ms) SAVEPOINT active_record_1
1563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1564
+  (0.0ms) SAVEPOINT active_record_1
1565
+  (0.1ms) SAVEPOINT active_record_2
1566
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1567
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1568
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.776454"], ["confirmed_at", "2015-11-08 15:09:07.776501"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.778034"], ["updated_at", "2015-11-08 15:09:07.778034"]]
1569
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1570
+ Processing by PushType::ProfilesController#update as HTML
1571
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1572
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "3f29093f-92e9-463b-ae1e-0f5e999eef66"]]
1573
+  (0.1ms) SAVEPOINT active_record_2
1574
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-14@example.com' AND "push_type_users"."id" != '3f29093f-92e9-463b-ae1e-0f5e999eef66') LIMIT 1
1575
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-11-08 15:09:07.782074"], ["id", "3f29093f-92e9-463b-ae1e-0f5e999eef66"]]
1576
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1577
+ Redirected to http://test.host/push_type/profile/edit
1578
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
1579
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1580
+  (0.1ms) ROLLBACK
1581
+  (0.1ms) BEGIN
1582
+ -----------------------------------------------------------------------------------
1583
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
1584
+ -----------------------------------------------------------------------------------
1585
+  (0.1ms) SAVEPOINT active_record_1
1586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1587
+  (0.1ms) SAVEPOINT active_record_1
1588
+  (0.1ms) SAVEPOINT active_record_2
1589
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1590
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1591
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.785399"], ["confirmed_at", "2015-11-08 15:09:07.785488"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.787015"], ["updated_at", "2015-11-08 15:09:07.787015"]]
1592
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1593
+ Processing by PushType::ProfilesController#update as HTML
1594
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1595
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "1e4df0da-191d-472c-85cc-021c021794e2"]]
1596
+  (0.1ms) SAVEPOINT active_record_2
1597
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != '1e4df0da-191d-472c-85cc-021c021794e2') LIMIT 1
1598
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-11-08 15:09:07.791405"], ["id", "1e4df0da-191d-472c-85cc-021c021794e2"]]
1599
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1600
+ Redirected to http://test.host/push_type/profile/edit
1601
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
1602
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "1e4df0da-191d-472c-85cc-021c021794e2"]]
1401
1603
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1402
1604
   (0.1ms) ROLLBACK
1403
1605
   (0.1ms) BEGIN
1404
1606
  ---------------------------------------------------------------
1405
- PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
1607
+ PushType::AuthenticatableTest::recoverable: test_0001_anonymous
1406
1608
  ---------------------------------------------------------------
1407
1609
   (0.0ms) SAVEPOINT active_record_1
1408
1610
   (0.0ms) RELEASE SAVEPOINT active_record_1
1409
1611
   (0.0ms) SAVEPOINT active_record_1
1612
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1613
+  (0.1ms) ROLLBACK
1614
+  (0.1ms) BEGIN
1615
+ --------------------------------------------------------------------------------------------------------------
1616
+ PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
1617
+ --------------------------------------------------------------------------------------------------------------
1618
+  (0.1ms) SAVEPOINT active_record_1
1619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1620
+  (0.0ms) SAVEPOINT active_record_1
1410
1621
   (0.0ms) SAVEPOINT active_record_2
1411
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
1412
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
1413
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:27.914098"], ["confirmed_at", "2015-11-02 20:28:27.914179"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:27.915723"], ["updated_at", "2015-11-02 20:28:27.915723"]]
1414
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1415
-  (0.1ms) SAVEPOINT active_record_2
1416
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1417
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1418
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5d29b887aa967220553cb678de3b2dde4e0ff4a131071a2562f0a67ec3580765"]]
1419
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", "2015-11-02 20:28:27.918483"], ["updated_at", "2015-11-02 20:28:27.918483"], ["confirmation_token", "z7Jhxm9LMeDb5tnV8VMe"], ["confirmation_sent_at", "2015-11-02 20:28:27.919160"]]
1420
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1622
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1623
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1624
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "4e8f595c692ea70bd8e7c83f3f1a0cc52f19798adf7f0020e681e39cead2f560"]]
1625
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", "2015-11-08 15:09:07.798924"], ["updated_at", "2015-11-08 15:09:07.798924"], ["confirmation_token", "yexdEVH-UsY9RdBfVw4J"], ["confirmation_sent_at", "2015-11-08 15:09:07.799851"]]
1626
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
1421
1627
 
1422
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1628
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
1423
1629
 
1424
- Sent mail to joe-10@example.com (3.0ms)
1425
- Date: Mon, 02 Nov 2015 20:28:27 +0000
1630
+ Sent mail to joe-16@example.com (3.6ms)
1631
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
1426
1632
  From: pushtype@example.com
1427
1633
  Reply-To: pushtype@example.com
1428
- To: joe-10@example.com
1429
- Message-ID: <5637c76be7fcd_3b263fcf84c63bec963e9@Aarons-iMac.local.mail>
1634
+ To: joe-16@example.com
1635
+ Message-ID: <563f6593cb8f7_2b1b3fde29063be056079@Aarons-iMac.local.mail>
1430
1636
  Subject: [PushType] Confirm your account
1431
1637
  Mime-Version: 1.0
1432
1638
  Content-Type: multipart/alternative;
1433
- boundary="--==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c";
1639
+ boundary="--==_mimepart_563f6593cb2cd_2b1b3fde29063be05599b";
1434
1640
  charset=UTF-8
1435
1641
  Content-Transfer-Encoding: 7bit
1436
1642
 
1437
1643
 
1438
- ----==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c
1644
+ ----==_mimepart_563f6593cb2cd_2b1b3fde29063be05599b
1439
1645
  Content-Type: text/plain;
1440
1646
  charset=UTF-8
1441
1647
  Content-Transfer-Encoding: 7bit
@@ -1450,10 +1656,10 @@ created for you.
1450
1656
  To get started, confirm your account and set your own password by
1451
1657
  clicking the link below:
1452
1658
 
1453
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=z7Jhxm9LMeDb5tnV8VMe )
1659
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=yexdEVH-UsY9RdBfVw4J )
1454
1660
 
1455
1661
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1456
- ----==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c
1662
+ ----==_mimepart_563f6593cb2cd_2b1b3fde29063be05599b
1457
1663
  Content-Type: text/html;
1458
1664
  charset=UTF-8
1459
1665
  Content-Transfer-Encoding: 7bit
@@ -1499,7 +1705,7 @@ body {
1499
1705
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1500
1706
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1501
1707
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1502
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=z7Jhxm9LMeDb5tnV8VMe" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1708
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=yexdEVH-UsY9RdBfVw4J" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1503
1709
  </td>
1504
1710
  </tr>
1505
1711
  </table>
@@ -1544,34 +1750,47 @@ body {
1544
1750
  </body>
1545
1751
  </html>
1546
1752
 
1547
- ----==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c--
1753
+ ----==_mimepart_563f6593cb2cd_2b1b3fde29063be05599b--
1548
1754
 
1755
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1756
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1757
+  (0.1ms) ROLLBACK
1758
+  (0.1ms) BEGIN
1759
+ ---------------------------------------------------------------
1760
+ PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
1761
+ ---------------------------------------------------------------
1762
+  (0.1ms) SAVEPOINT active_record_1
1763
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1764
+  (0.1ms) SAVEPOINT active_record_1
1765
+  (0.1ms) SAVEPOINT active_record_2
1766
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1767
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1768
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.839683"], ["confirmed_at", "2015-11-08 15:09:07.839744"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.841450"], ["updated_at", "2015-11-08 15:09:07.841450"]]
1549
1769
   (0.1ms) RELEASE SAVEPOINT active_record_2
1550
- Processing by PushType::UsersController#invite as HTML
1551
- Parameters: {"id"=>"ff177457-1030-4a19-9132-52f2fc31e7f9"}
1552
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "d7a58e34-eeab-42b5-ba58-299f7e931490"]]
1553
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "ff177457-1030-4a19-9132-52f2fc31e7f9"]]
1554
-  (0.1ms) SAVEPOINT active_record_2
1555
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1770
+  (0.0ms) SAVEPOINT active_record_2
1771
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1772
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1773
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "c69018a4768dc052ab6a2633bfcdf6318bd101958cecb167d405a3e4f698d856"]]
1774
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", "2015-11-08 15:09:07.844036"], ["updated_at", "2015-11-08 15:09:07.844036"], ["confirmation_token", "spf2yKg2rvqMgYfuVuUE"], ["confirmation_sent_at", "2015-11-08 15:09:07.844898"]]
1556
1775
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1557
1776
 
1558
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
1777
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1559
1778
 
1560
- Sent mail to joe-10@example.com (2.9ms)
1561
- Date: Mon, 02 Nov 2015 20:28:27 +0000
1779
+ Sent mail to joe-18@example.com (3.4ms)
1780
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
1562
1781
  From: pushtype@example.com
1563
1782
  Reply-To: pushtype@example.com
1564
- To: joe-10@example.com
1565
- Message-ID: <5637c76bf09a4_3b263fcf84c63bec966f7@Aarons-iMac.local.mail>
1783
+ To: joe-18@example.com
1784
+ Message-ID: <563f6593d6b4f_2b1b3fde29063be056359@Aarons-iMac.local.mail>
1566
1785
  Subject: [PushType] Confirm your account
1567
1786
  Mime-Version: 1.0
1568
1787
  Content-Type: multipart/alternative;
1569
- boundary="--==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d";
1788
+ boundary="--==_mimepart_563f6593d64fe_2b1b3fde29063be0562b7";
1570
1789
  charset=UTF-8
1571
1790
  Content-Transfer-Encoding: 7bit
1572
1791
 
1573
1792
 
1574
- ----==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d
1793
+ ----==_mimepart_563f6593d64fe_2b1b3fde29063be0562b7
1575
1794
  Content-Type: text/plain;
1576
1795
  charset=UTF-8
1577
1796
  Content-Transfer-Encoding: 7bit
@@ -1586,10 +1805,10 @@ created for you.
1586
1805
  To get started, confirm your account and set your own password by
1587
1806
  clicking the link below:
1588
1807
 
1589
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=z7Jhxm9LMeDb5tnV8VMe )
1808
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=spf2yKg2rvqMgYfuVuUE )
1590
1809
 
1591
1810
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1592
- ----==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d
1811
+ ----==_mimepart_563f6593d64fe_2b1b3fde29063be0562b7
1593
1812
  Content-Type: text/html;
1594
1813
  charset=UTF-8
1595
1814
  Content-Transfer-Encoding: 7bit
@@ -1635,238 +1854,79 @@ body {
1635
1854
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1636
1855
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1637
1856
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1638
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=z7Jhxm9LMeDb5tnV8VMe" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1857
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=spf2yKg2rvqMgYfuVuUE" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1639
1858
  </td>
1640
1859
  </tr>
1641
1860
  </table>
1642
1861
 
1643
1862
 
1644
1863
  </td>
1645
- </tr>
1646
- </table>
1647
- </div>
1648
- <!-- /content -->
1649
-
1650
- </td>
1651
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1652
- </tr>
1653
- </table>
1654
- <!-- /body -->
1655
-
1656
- <!-- footer -->
1657
- <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1658
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1659
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1660
- <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
1661
-
1662
- <!-- content -->
1663
- <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1664
- <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1665
- <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1666
- <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1667
- <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType CMS: <a href="http://www.pushtype.org" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">www.pushtype.org</a>.</p>
1668
- </td>
1669
- </tr>
1670
- </table>
1671
- </div>
1672
- <!-- /content -->
1673
-
1674
- </td>
1675
- <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1676
- </tr>
1677
- </table>
1678
- <!-- /footer -->
1679
-
1680
- </body>
1681
- </html>
1682
-
1683
- ----==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d--
1684
-
1685
- Redirected to /push_type/users
1686
- Completed 302 Found in 34ms (ActiveRecord: 0.5ms)
1687
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1688
-  (0.1ms) ROLLBACK
1689
-  (0.1ms) BEGIN
1690
- -------------------------------------------------------------------------------------
1691
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
1692
- -------------------------------------------------------------------------------------
1693
-  (0.1ms) SAVEPOINT active_record_1
1694
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1695
-  (0.1ms) SAVEPOINT active_record_1
1696
-  (0.1ms) SAVEPOINT active_record_2
1697
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1698
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1699
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:27.993031"], ["confirmed_at", "2015-11-02 20:28:27.993094"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:27.994799"], ["updated_at", "2015-11-02 20:28:27.994799"]]
1700
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1701
- Processing by PushType::ProfilesController#update as HTML
1702
- Parameters: {"user"=>{"name"=>""}}
1703
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "accc4f3a-7a89-4c8f-8813-5f02d44834e6"]]
1704
-  (0.1ms) SAVEPOINT active_record_2
1705
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-11@example.com' AND "push_type_users"."id" != 'accc4f3a-7a89-4c8f-8813-5f02d44834e6') LIMIT 1
1706
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1707
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (5.2ms)
1708
- Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 0.5ms)
1709
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1710
-  (0.1ms) ROLLBACK
1711
-  (0.0ms) BEGIN
1712
- -------------------------------------------------------------------------------------
1713
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
1714
- -------------------------------------------------------------------------------------
1715
-  (0.0ms) SAVEPOINT active_record_1
1716
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1717
-  (0.1ms) SAVEPOINT active_record_1
1718
-  (0.1ms) SAVEPOINT active_record_2
1719
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1720
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1721
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.025101"], ["confirmed_at", "2015-11-02 20:28:28.025168"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.026692"], ["updated_at", "2015-11-02 20:28:28.026692"]]
1722
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1723
- Processing by PushType::ProfilesController#update as HTML
1724
- Parameters: {"user"=>{"name"=>""}}
1725
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "344f0aa5-c254-4d6f-a998-d34ae8187a35"]]
1726
-  (0.1ms) SAVEPOINT active_record_2
1727
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-12@example.com' AND "push_type_users"."id" != '344f0aa5-c254-4d6f-a998-d34ae8187a35') LIMIT 1
1728
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1729
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
1730
- Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.4ms)
1731
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1732
-  (0.1ms) ROLLBACK
1733
-  (0.0ms) BEGIN
1734
- -----------------------------------------------------------------------------------
1735
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
1736
- -----------------------------------------------------------------------------------
1737
-  (0.0ms) SAVEPOINT active_record_1
1738
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1739
-  (0.0ms) SAVEPOINT active_record_1
1740
-  (0.1ms) SAVEPOINT active_record_2
1741
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1742
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1743
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.040866"], ["confirmed_at", "2015-11-02 20:28:28.040925"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.042486"], ["updated_at", "2015-11-02 20:28:28.042486"]]
1744
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1745
- Processing by PushType::ProfilesController#update as HTML
1746
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1747
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "d31322a9-bb6d-4c87-a45f-36793e8a49e9"]]
1748
-  (0.1ms) SAVEPOINT active_record_2
1749
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-13@example.com' AND "push_type_users"."id" != 'd31322a9-bb6d-4c87-a45f-36793e8a49e9') LIMIT 1
1750
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-11-02 20:28:28.046501"], ["id", "d31322a9-bb6d-4c87-a45f-36793e8a49e9"]]
1751
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1752
- Redirected to http://test.host/push_type/profile/edit
1753
- Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
1754
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "d31322a9-bb6d-4c87-a45f-36793e8a49e9"]]
1755
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1756
-  (0.1ms) ROLLBACK
1757
-  (0.1ms) BEGIN
1758
- -----------------------------------------------------------------------------------
1759
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
1760
- -----------------------------------------------------------------------------------
1761
-  (0.1ms) SAVEPOINT active_record_1
1762
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1763
-  (0.0ms) SAVEPOINT active_record_1
1764
-  (0.1ms) SAVEPOINT active_record_2
1765
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1766
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1767
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.051152"], ["confirmed_at", "2015-11-02 20:28:28.051198"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.052476"], ["updated_at", "2015-11-02 20:28:28.052476"]]
1768
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1769
- Processing by PushType::ProfilesController#update as HTML
1770
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1771
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "19d4d57f-822f-4464-91ed-71a90674d6bb"]]
1772
-  (0.1ms) SAVEPOINT active_record_2
1773
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-14@example.com' AND "push_type_users"."id" != '19d4d57f-822f-4464-91ed-71a90674d6bb') LIMIT 1
1774
- SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-11-02 20:28:28.056349"], ["id", "19d4d57f-822f-4464-91ed-71a90674d6bb"]]
1775
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1776
- Redirected to http://test.host/push_type/profile/edit
1777
- Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
1778
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1779
-  (0.1ms) ROLLBACK
1780
-  (0.0ms) BEGIN
1781
- -----------------------------------------------------------------------------------
1782
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
1783
- -----------------------------------------------------------------------------------
1784
-  (0.0ms) SAVEPOINT active_record_1
1785
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1786
-  (0.0ms) SAVEPOINT active_record_1
1787
-  (0.1ms) SAVEPOINT active_record_2
1788
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1789
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1790
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.059231"], ["confirmed_at", "2015-11-02 20:28:28.059317"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.060793"], ["updated_at", "2015-11-02 20:28:28.060793"]]
1791
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1792
- Processing by PushType::ProfilesController#update as HTML
1793
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1794
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "c920f327-6cab-45d0-b84f-676a9736f4a1"]]
1795
-  (0.1ms) SAVEPOINT active_record_2
1796
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != 'c920f327-6cab-45d0-b84f-676a9736f4a1') LIMIT 1
1797
- SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-11-02 20:28:28.065124"], ["id", "c920f327-6cab-45d0-b84f-676a9736f4a1"]]
1798
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1799
- Redirected to http://test.host/push_type/profile/edit
1800
- Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
1801
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1802
-  (0.1ms) ROLLBACK
1803
-  (0.1ms) BEGIN
1804
- ----------------------------------------------------------------
1805
- PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
1806
- ----------------------------------------------------------------
1807
-  (0.1ms) SAVEPOINT active_record_1
1808
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1809
-  (0.1ms) SAVEPOINT active_record_1
1810
-  (0.1ms) SAVEPOINT active_record_2
1811
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1812
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1813
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.069938"], ["confirmed_at", "2015-11-02 20:28:28.069983"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.071454"], ["updated_at", "2015-11-02 20:28:28.071454"]]
1864
+ </tr>
1865
+ </table>
1866
+ </div>
1867
+ <!-- /content -->
1868
+
1869
+ </td>
1870
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1871
+ </tr>
1872
+ </table>
1873
+ <!-- /body -->
1874
+
1875
+ <!-- footer -->
1876
+ <table class="footer-wrap" style="clear: both !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1877
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1878
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1879
+ <td class="container" style="clear: both !important; display: block !important; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px !important; padding: 0">
1880
+
1881
+ <!-- content -->
1882
+ <div class="content" style="display: block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0 auto; max-width: 600px; padding: 0">
1883
+ <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1884
+ <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1885
+ <td align="center" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1886
+ <p style="color: #666; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 12px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0">PushType CMS: <a href="http://www.pushtype.org" style="color: #999; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">www.pushtype.org</a>.</p>
1887
+ </td>
1888
+ </tr>
1889
+ </table>
1890
+ </div>
1891
+ <!-- /content -->
1892
+
1893
+ </td>
1894
+ <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1895
+ </tr>
1896
+ </table>
1897
+ <!-- /footer -->
1898
+
1899
+ </body>
1900
+ </html>
1901
+
1902
+ ----==_mimepart_563f6593d64fe_2b1b3fde29063be0562b7--
1903
+
1814
1904
   (0.1ms) RELEASE SAVEPOINT active_record_2
1815
- Processing by PushType::ProfilesController#edit as HTML
1816
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "0776829b-2ce0-4b09-90de-ca70a4dc74c4"]]
1817
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
1818
- Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.1ms)
1819
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1820
-  (0.1ms) ROLLBACK
1821
-  (0.1ms) BEGIN
1822
- ----------------------------------------------------------------
1823
- PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
1824
- ----------------------------------------------------------------
1825
-  (0.1ms) SAVEPOINT active_record_1
1826
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1827
-  (0.1ms) SAVEPOINT active_record_1
1828
-  (0.1ms) SAVEPOINT active_record_2
1829
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1830
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1831
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.082872"], ["confirmed_at", "2015-11-02 20:28:28.082927"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.084419"], ["updated_at", "2015-11-02 20:28:28.084419"]]
1905
+ Processing by PushType::UsersController#invite as HTML
1906
+ Parameters: {"id"=>"36b31554-c161-44e1-8901-011fd39e58d9"}
1907
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "ac121c62-c8e4-4534-99f5-4e0c344fe81d"]]
1908
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "36b31554-c161-44e1-8901-011fd39e58d9"]]
1909
+  (0.1ms) SAVEPOINT active_record_2
1832
1910
   (0.1ms) RELEASE SAVEPOINT active_record_2
1833
- Processing by PushType::ProfilesController#edit as HTML
1834
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "0fa8c988-633f-455a-a276-8ba47f4a25c9"]]
1835
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
1836
- Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
1837
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1838
-  (0.1ms) ROLLBACK
1839
-  (0.1ms) BEGIN
1840
- ----------------------------------------------------------------------------------------
1841
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
1842
- ----------------------------------------------------------------------------------------
1843
-  (0.0ms) SAVEPOINT active_record_1
1844
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1845
-  (0.0ms) SAVEPOINT active_record_1
1846
-  (0.1ms) SAVEPOINT active_record_2
1847
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1848
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1849
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "8ff1dc8f021328912901fc1a039cf14c441e755b8c61362e2a66246efd7918b2"]]
1850
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", "2015-11-02 20:28:28.098197"], ["updated_at", "2015-11-02 20:28:28.098197"], ["confirmation_token", "Woe5rN-8KD_p5yxJuAa5"], ["confirmation_sent_at", "2015-11-02 20:28:28.098913"]]
1851
1911
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1852
1912
 
1853
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1913
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1854
1914
 
1855
- Sent mail to joe-18@example.com (3.2ms)
1856
- Date: Mon, 02 Nov 2015 20:28:28 +0000
1915
+ Sent mail to joe-18@example.com (3.4ms)
1916
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
1857
1917
  From: pushtype@example.com
1858
1918
  Reply-To: pushtype@example.com
1859
1919
  To: joe-18@example.com
1860
- Message-ID: <5637c76c1fb29_3b263fcf84c63bec9694c@Aarons-iMac.local.mail>
1920
+ Message-ID: <563f6593e07d0_2b1b3fde29063be0566e7@Aarons-iMac.local.mail>
1861
1921
  Subject: [PushType] Confirm your account
1862
1922
  Mime-Version: 1.0
1863
1923
  Content-Type: multipart/alternative;
1864
- boundary="--==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7";
1924
+ boundary="--==_mimepart_563f6593e0155_2b1b3fde29063be0565d9";
1865
1925
  charset=UTF-8
1866
1926
  Content-Transfer-Encoding: 7bit
1867
1927
 
1868
1928
 
1869
- ----==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7
1929
+ ----==_mimepart_563f6593e0155_2b1b3fde29063be0565d9
1870
1930
  Content-Type: text/plain;
1871
1931
  charset=UTF-8
1872
1932
  Content-Transfer-Encoding: 7bit
@@ -1881,10 +1941,10 @@ created for you.
1881
1941
  To get started, confirm your account and set your own password by
1882
1942
  clicking the link below:
1883
1943
 
1884
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Woe5rN-8KD_p5yxJuAa5 )
1944
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=spf2yKg2rvqMgYfuVuUE )
1885
1945
 
1886
1946
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1887
- ----==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7
1947
+ ----==_mimepart_563f6593e0155_2b1b3fde29063be0565d9
1888
1948
  Content-Type: text/html;
1889
1949
  charset=UTF-8
1890
1950
  Content-Transfer-Encoding: 7bit
@@ -1930,7 +1990,7 @@ body {
1930
1990
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1931
1991
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1932
1992
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1933
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Woe5rN-8KD_p5yxJuAa5" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1993
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=spf2yKg2rvqMgYfuVuUE" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1934
1994
  </td>
1935
1995
  </tr>
1936
1996
  </table>
@@ -1975,54 +2035,48 @@ body {
1975
2035
  </body>
1976
2036
  </html>
1977
2037
 
1978
- ----==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7--
2038
+ ----==_mimepart_563f6593e0155_2b1b3fde29063be0565d9--
1979
2039
 
1980
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1981
- Processing by PushType::ConfirmationsController#update as HTML
1982
- Parameters: {"user"=>{"confirmation_token"=>"Woe5rN-8KD_p5yxJuAa5", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1983
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "Woe5rN-8KD_p5yxJuAa5"]]
1984
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-18@example.com' AND "push_type_users"."id" != '1895c312-c7ae-4117-a614-45fd6359c2b9') LIMIT 1
1985
-  (0.1ms) SAVEPOINT active_record_2
1986
- SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$X/Y4zpYBNVu4eXa8p8URp.zP8.setRGVQZbSznllxMJs0Yxvlrjrq"], ["confirmed_at", "2015-11-02 20:28:28.136323"], ["updated_at", "2015-11-02 20:28:28.136733"], ["id", "1895c312-c7ae-4117-a614-45fd6359c2b9"]]
1987
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2040
+ Redirected to /push_type/users
2041
+ Completed 302 Found in 39ms (ActiveRecord: 0.5ms)
2042
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2043
+  (0.1ms) ROLLBACK
2044
+  (0.1ms) BEGIN
2045
+ ---------------------------------------------------------------
2046
+ PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
2047
+ ---------------------------------------------------------------
2048
+  (0.1ms) SAVEPOINT active_record_1
2049
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2050
+  (0.1ms) SAVEPOINT active_record_1
1988
2051
   (0.1ms) SAVEPOINT active_record_2
1989
- SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-11-02 20:28:28.138206"], ["current_sign_in_at", "2015-11-02 20:28:28.138206"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-02 20:28:28.138735"], ["id", "1895c312-c7ae-4117-a614-45fd6359c2b9"]]
2052
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2053
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2054
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:07.924256"], ["confirmed_at", "2015-11-08 15:09:07.924324"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:07.925840"], ["updated_at", "2015-11-08 15:09:07.925840"]]
1990
2055
   (0.1ms) RELEASE SAVEPOINT active_record_2
1991
- Redirected to http://test.host/push_type/
1992
- Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
1993
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1994
-  (0.1ms) ROLLBACK
1995
-  (0.1ms) BEGIN
1996
- ----------------------------------------------------------------------------------------
1997
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
1998
- ----------------------------------------------------------------------------------------
1999
-  (0.1ms) SAVEPOINT active_record_1
2000
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2001
-  (0.0ms) SAVEPOINT active_record_1
2002
-  (0.0ms) SAVEPOINT active_record_2
2003
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2004
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2005
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ee6676cf38cacc6a03921c808d96f2689acf1dd078cab61b65dc78fc11f4a713"]]
2006
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", "2015-11-02 20:28:28.143508"], ["updated_at", "2015-11-02 20:28:28.143508"], ["confirmation_token", "_zAj1_psLqz-exVYEvkK"], ["confirmation_sent_at", "2015-11-02 20:28:28.144231"]]
2056
+  (0.1ms) SAVEPOINT active_record_2
2057
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2058
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2059
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "409286f597fc1d73b3bcdd5f8d2d898a7d4895103ce1314acd17ab010998a3c6"]]
2060
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", "2015-11-08 15:09:07.928566"], ["updated_at", "2015-11-08 15:09:07.928566"], ["confirmation_token", "yaZJMF2j4nq7Zpc_sUwK"], ["confirmation_sent_at", "2015-11-08 15:09:07.929279"]]
2007
2061
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2008
2062
 
2009
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
2063
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
2010
2064
 
2011
- Sent mail to joe-19@example.com (3.1ms)
2012
- Date: Mon, 02 Nov 2015 20:28:28 +0000
2065
+ Sent mail to joe-20@example.com (2.9ms)
2066
+ Date: Sun, 08 Nov 2015 15:09:07 +0000
2013
2067
  From: pushtype@example.com
2014
2068
  Reply-To: pushtype@example.com
2015
- To: joe-19@example.com
2016
- Message-ID: <5637c76c2aa2b_3b263fcf84c63bec97215@Aarons-iMac.local.mail>
2069
+ To: joe-20@example.com
2070
+ Message-ID: <563f6593eb215_2b1b3fde29063be056963@Aarons-iMac.local.mail>
2017
2071
  Subject: [PushType] Confirm your account
2018
2072
  Mime-Version: 1.0
2019
2073
  Content-Type: multipart/alternative;
2020
- boundary="--==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187";
2074
+ boundary="--==_mimepart_563f6593eac6e_2b1b3fde29063be0568d3";
2021
2075
  charset=UTF-8
2022
2076
  Content-Transfer-Encoding: 7bit
2023
2077
 
2024
2078
 
2025
- ----==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187
2079
+ ----==_mimepart_563f6593eac6e_2b1b3fde29063be0568d3
2026
2080
  Content-Type: text/plain;
2027
2081
  charset=UTF-8
2028
2082
  Content-Transfer-Encoding: 7bit
@@ -2037,10 +2091,10 @@ created for you.
2037
2091
  To get started, confirm your account and set your own password by
2038
2092
  clicking the link below:
2039
2093
 
2040
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_zAj1_psLqz-exVYEvkK )
2094
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=yaZJMF2j4nq7Zpc_sUwK )
2041
2095
 
2042
2096
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2043
- ----==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187
2097
+ ----==_mimepart_563f6593eac6e_2b1b3fde29063be0568d3
2044
2098
  Content-Type: text/html;
2045
2099
  charset=UTF-8
2046
2100
  Content-Transfer-Encoding: 7bit
@@ -2086,7 +2140,7 @@ body {
2086
2140
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2087
2141
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2088
2142
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2089
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=_zAj1_psLqz-exVYEvkK" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2143
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=yaZJMF2j4nq7Zpc_sUwK" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2090
2144
  </td>
2091
2145
  </tr>
2092
2146
  </table>
@@ -2131,109 +2185,34 @@ body {
2131
2185
  </body>
2132
2186
  </html>
2133
2187
 
2134
- ----==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187--
2188
+ ----==_mimepart_563f6593eac6e_2b1b3fde29063be0568d3--
2135
2189
 
2136
2190
   (0.1ms) RELEASE SAVEPOINT active_record_2
2137
- Processing by PushType::ConfirmationsController#update as HTML
2138
- Parameters: {"user"=>{"confirmation_token"=>"_zAj1_psLqz-exVYEvkK", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2139
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "_zAj1_psLqz-exVYEvkK"]]
2140
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-19@example.com' AND "push_type_users"."id" != '2a037ca6-65e9-4c79-85f5-b5536c337226') LIMIT 1
2191
+ Processing by PushType::UsersController#invite as HTML
2192
+ Parameters: {"id"=>"eeb20ad5-049e-4b88-8d82-e02794d46c47"}
2193
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "65af6108-a7e5-4ac6-bbda-7f8cf395a0ae"]]
2194
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "eeb20ad5-049e-4b88-8d82-e02794d46c47"]]
2141
2195
   (0.1ms) SAVEPOINT active_record_2
2142
- SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$gXAv/OgQyAfGeo06uezfS.n6RVA/xFDItkEIiLCv9n27jUoUWzkqq"], ["confirmed_at", "2015-11-02 20:28:28.181129"], ["updated_at", "2015-11-02 20:28:28.181571"], ["id", "2a037ca6-65e9-4c79-85f5-b5536c337226"]]
2143
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2144
-  (0.1ms) SAVEPOINT active_record_2
2145
- SQL (0.1ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-11-02 20:28:28.182835"], ["current_sign_in_at", "2015-11-02 20:28:28.182835"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-02 20:28:28.183272"], ["id", "2a037ca6-65e9-4c79-85f5-b5536c337226"]]
2146
2196
   (0.1ms) RELEASE SAVEPOINT active_record_2
2147
- Redirected to http://test.host/push_type/
2148
- Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
2149
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "2a037ca6-65e9-4c79-85f5-b5536c337226"]]
2150
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2151
-  (0.1ms) ROLLBACK
2152
-  (0.1ms) BEGIN
2153
- ---------------------------------------------------------------
2154
- PushType::AuthenticatableTest::validatable: test_0001_anonymous
2155
- ---------------------------------------------------------------
2156
-  (0.1ms) SAVEPOINT active_record_1
2157
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2158
-  (0.1ms) SAVEPOINT active_record_1
2159
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2160
-  (0.1ms) ROLLBACK
2161
-  (0.1ms) BEGIN
2162
- ---------------------------------------------------------------
2163
- PushType::AuthenticatableTest::validatable: test_0002_anonymous
2164
- ---------------------------------------------------------------
2165
-  (0.0ms) SAVEPOINT active_record_1
2166
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2167
-  (0.1ms) SAVEPOINT active_record_1
2168
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2169
-  (0.0ms) ROLLBACK
2170
-  (0.1ms) BEGIN
2171
- -------------------------------------------------------------
2172
- PushType::AuthenticatableTest::trackable: test_0001_anonymous
2173
- -------------------------------------------------------------
2174
-  (0.1ms) SAVEPOINT active_record_1
2175
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2176
-  (0.1ms) SAVEPOINT active_record_1
2177
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2178
-  (0.1ms) ROLLBACK
2179
-  (0.0ms) BEGIN
2180
- ---------------------------------------------------------------------------
2181
- PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
2182
- ---------------------------------------------------------------------------
2183
-  (0.0ms) SAVEPOINT active_record_1
2184
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2185
-  (0.0ms) SAVEPOINT active_record_1
2186
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2187
-  (0.0ms) ROLLBACK
2188
-  (0.1ms) BEGIN
2189
- ---------------------------------------------------------------------------
2190
- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
2191
- ---------------------------------------------------------------------------
2192
-  (0.0ms) SAVEPOINT active_record_1
2193
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2194
-  (0.0ms) SAVEPOINT active_record_1
2195
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2196
-  (0.0ms) ROLLBACK
2197
-  (0.0ms) BEGIN
2198
- ----------------------------------------------------------------
2199
- PushType::AuthenticatableTest::rememberable: test_0001_anonymous
2200
- ----------------------------------------------------------------
2201
-  (0.0ms) SAVEPOINT active_record_1
2202
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2203
-  (0.0ms) SAVEPOINT active_record_1
2204
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2205
-  (0.1ms) ROLLBACK
2206
-  (0.1ms) BEGIN
2207
- ------------------------------------------------------------------------------------------
2208
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
2209
- ------------------------------------------------------------------------------------------
2210
-  (0.1ms) SAVEPOINT active_record_1
2211
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2212
-  (0.0ms) SAVEPOINT active_record_1
2213
-  (0.0ms) SAVEPOINT active_record_2
2214
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2215
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2216
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "413a383e8b43164f38bbffa69c743ee896628a0b1c09e2c57a8467a98832f841"]]
2217
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", "2015-11-02 20:28:28.199409"], ["updated_at", "2015-11-02 20:28:28.199409"], ["confirmation_token", "75vpx6fuqwdrWdfHwuj-"], ["confirmation_sent_at", "2015-11-02 20:28:28.200129"]]
2218
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2197
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2219
2198
 
2220
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
2199
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2221
2200
 
2222
- Sent mail to joe-20@example.com (3.0ms)
2223
- Date: Mon, 02 Nov 2015 20:28:28 +0000
2201
+ Sent mail to joe-20@example.com (3.7ms)
2202
+ Date: Sun, 08 Nov 2015 15:09:08 +0000
2224
2203
  From: pushtype@example.com
2225
2204
  Reply-To: pushtype@example.com
2226
2205
  To: joe-20@example.com
2227
- Message-ID: <5637c76c38866_3b263fcf84c63bec97524@Aarons-iMac.local.mail>
2206
+ Message-ID: <563f65945c3_2b1b3fde29063be057233@Aarons-iMac.local.mail>
2228
2207
  Subject: [PushType] Confirm your account
2229
2208
  Mime-Version: 1.0
2230
2209
  Content-Type: multipart/alternative;
2231
- boundary="--==_mimepart_5637c76c38314_3b263fcf84c63bec97427";
2210
+ boundary="--==_mimepart_563f65942_2b1b3fde29063be057115";
2232
2211
  charset=UTF-8
2233
2212
  Content-Transfer-Encoding: 7bit
2234
2213
 
2235
2214
 
2236
- ----==_mimepart_5637c76c38314_3b263fcf84c63bec97427
2215
+ ----==_mimepart_563f65942_2b1b3fde29063be057115
2237
2216
  Content-Type: text/plain;
2238
2217
  charset=UTF-8
2239
2218
  Content-Transfer-Encoding: 7bit
@@ -2248,10 +2227,10 @@ created for you.
2248
2227
  To get started, confirm your account and set your own password by
2249
2228
  clicking the link below:
2250
2229
 
2251
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=75vpx6fuqwdrWdfHwuj- )
2230
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=yaZJMF2j4nq7Zpc_sUwK )
2252
2231
 
2253
2232
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2254
- ----==_mimepart_5637c76c38314_3b263fcf84c63bec97427
2233
+ ----==_mimepart_563f65942_2b1b3fde29063be057115
2255
2234
  Content-Type: text/html;
2256
2235
  charset=UTF-8
2257
2236
  Content-Transfer-Encoding: 7bit
@@ -2297,7 +2276,7 @@ body {
2297
2276
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2298
2277
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2299
2278
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2300
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=75vpx6fuqwdrWdfHwuj-" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2279
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=yaZJMF2j4nq7Zpc_sUwK" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2301
2280
  </td>
2302
2281
  </tr>
2303
2282
  </table>
@@ -2342,49 +2321,48 @@ body {
2342
2321
  </body>
2343
2322
  </html>
2344
2323
 
2345
- ----==_mimepart_5637c76c38314_3b263fcf84c63bec97427--
2324
+ ----==_mimepart_563f65942_2b1b3fde29063be057115--
2346
2325
 
2326
+ Redirected to /push_type/users
2327
+ Completed 302 Found in 38ms (ActiveRecord: 0.4ms)
2328
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2329
+  (0.1ms) ROLLBACK
2330
+  (0.1ms) BEGIN
2331
+ ---------------------------------------------------------------
2332
+ PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
2333
+ ---------------------------------------------------------------
2334
+  (0.0ms) SAVEPOINT active_record_1
2335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2336
+  (0.0ms) SAVEPOINT active_record_1
2337
+  (0.1ms) SAVEPOINT active_record_2
2338
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2339
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2340
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["confirmation_sent_at", "2015-11-08 15:09:08.006133"], ["confirmed_at", "2015-11-08 15:09:08.006198"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-08 15:09:08.007641"], ["updated_at", "2015-11-08 15:09:08.007641"]]
2347
2341
   (0.1ms) RELEASE SAVEPOINT active_record_2
2348
- Processing by PushType::ConfirmationsController#update as HTML
2349
- Parameters: {"user"=>{"confirmation_token"=>"75vpx6fuqwdrWdfHwuj-", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2350
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "75vpx6fuqwdrWdfHwuj-"]]
2351
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-20@example.com' AND "push_type_users"."id" != '700f03dc-7e3e-4e16-8935-dfaf94314da8') LIMIT 1
2352
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2353
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
2354
- Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.4ms)
2355
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2356
-  (0.1ms) ROLLBACK
2357
-  (0.1ms) BEGIN
2358
- ------------------------------------------------------------------------------------------
2359
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
2360
- ------------------------------------------------------------------------------------------
2361
-  (0.1ms) SAVEPOINT active_record_1
2362
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2363
-  (0.0ms) SAVEPOINT active_record_1
2364
2342
   (0.1ms) SAVEPOINT active_record_2
2365
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2366
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2367
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "fd45579cc9e10690495ce7d90a780bd17e2b8afc3e31dff818c4323fec906da9"]]
2368
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", "2015-11-02 20:28:28.246139"], ["updated_at", "2015-11-02 20:28:28.246139"], ["confirmation_token", "PoVPfv_nFrZWCh9JrJAT"], ["confirmation_sent_at", "2015-11-02 20:28:28.246883"]]
2369
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2343
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2344
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2345
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d8e2cbbf3c99f66417680ed9bb7331301e7ebb85ba57431df20c22a3eeedb931"]]
2346
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", "2015-11-08 15:09:08.010269"], ["updated_at", "2015-11-08 15:09:08.010269"], ["confirmation_token", "mC1cxqUC1pzsUpu4nAku"], ["confirmation_sent_at", "2015-11-08 15:09:08.010931"]]
2347
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2370
2348
 
2371
2349
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2372
2350
 
2373
- Sent mail to joe-21@example.com (3.2ms)
2374
- Date: Mon, 02 Nov 2015 20:28:28 +0000
2351
+ Sent mail to joe-22@example.com (3.1ms)
2352
+ Date: Sun, 08 Nov 2015 15:09:08 +0000
2375
2353
  From: pushtype@example.com
2376
2354
  Reply-To: pushtype@example.com
2377
- To: joe-21@example.com
2378
- Message-ID: <5637c76c43d21_3b263fcf84c63bec978da@Aarons-iMac.local.mail>
2355
+ To: joe-22@example.com
2356
+ Message-ID: <563f6594a8ff_2b1b3fde29063be05752c@Aarons-iMac.local.mail>
2379
2357
  Subject: [PushType] Confirm your account
2380
2358
  Mime-Version: 1.0
2381
2359
  Content-Type: multipart/alternative;
2382
- boundary="--==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b";
2360
+ boundary="--==_mimepart_563f6594a3a5_2b1b3fde29063be05748e";
2383
2361
  charset=UTF-8
2384
2362
  Content-Transfer-Encoding: 7bit
2385
2363
 
2386
2364
 
2387
- ----==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b
2365
+ ----==_mimepart_563f6594a3a5_2b1b3fde29063be05748e
2388
2366
  Content-Type: text/plain;
2389
2367
  charset=UTF-8
2390
2368
  Content-Transfer-Encoding: 7bit
@@ -2399,10 +2377,10 @@ created for you.
2399
2377
  To get started, confirm your account and set your own password by
2400
2378
  clicking the link below:
2401
2379
 
2402
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=PoVPfv_nFrZWCh9JrJAT )
2380
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=mC1cxqUC1pzsUpu4nAku )
2403
2381
 
2404
2382
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2405
- ----==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b
2383
+ ----==_mimepart_563f6594a3a5_2b1b3fde29063be05748e
2406
2384
  Content-Type: text/html;
2407
2385
  charset=UTF-8
2408
2386
  Content-Transfer-Encoding: 7bit
@@ -2448,7 +2426,7 @@ body {
2448
2426
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2449
2427
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2450
2428
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2451
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=PoVPfv_nFrZWCh9JrJAT" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2429
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=mC1cxqUC1pzsUpu4nAku" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2452
2430
  </td>
2453
2431
  </tr>
2454
2432
  </table>
@@ -2493,49 +2471,34 @@ body {
2493
2471
  </body>
2494
2472
  </html>
2495
2473
 
2496
- ----==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b--
2474
+ ----==_mimepart_563f6594a3a5_2b1b3fde29063be05748e--
2497
2475
 
2498
2476
   (0.1ms) RELEASE SAVEPOINT active_record_2
2499
- Processing by PushType::ConfirmationsController#update as HTML
2500
- Parameters: {"user"=>{"confirmation_token"=>"PoVPfv_nFrZWCh9JrJAT", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2501
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "PoVPfv_nFrZWCh9JrJAT"]]
2502
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-21@example.com' AND "push_type_users"."id" != 'a3685954-cca3-424e-b9f3-d22a43697b4e') LIMIT 1
2503
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2504
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
2505
- Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.4ms)
2506
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2507
-  (0.1ms) ROLLBACK
2508
-  (0.1ms) BEGIN
2509
- ------------------------------------------------------------------------------------------
2510
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
2511
- ------------------------------------------------------------------------------------------
2512
-  (0.0ms) SAVEPOINT active_record_1
2513
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2514
-  (0.0ms) SAVEPOINT active_record_1
2515
-  (0.0ms) SAVEPOINT active_record_2
2516
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2517
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2518
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "6f49c6c1ddb9d45240deda2cf8b3d3adce3d85c0d059db20d0fe43ebadf57bbd"]]
2519
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", "2015-11-02 20:28:28.291597"], ["updated_at", "2015-11-02 20:28:28.291597"], ["confirmation_token", "aSJEQsv4yhmuAWx1KN9_"], ["confirmation_sent_at", "2015-11-02 20:28:28.292351"]]
2520
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2477
+ Processing by PushType::UsersController#invite as HTML
2478
+ Parameters: {"id"=>"2924ef25-5a19-4352-acda-c8e98802c94e"}
2479
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "9ea3546e-7d5c-4508-aebc-aaaa3e05b482"]]
2480
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "2924ef25-5a19-4352-acda-c8e98802c94e"]]
2481
+  (0.1ms) SAVEPOINT active_record_2
2482
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2483
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2521
2484
 
2522
2485
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2523
2486
 
2524
- Sent mail to joe-22@example.com (2.9ms)
2525
- Date: Mon, 02 Nov 2015 20:28:28 +0000
2487
+ Sent mail to joe-22@example.com (3.1ms)
2488
+ Date: Sun, 08 Nov 2015 15:09:08 +0000
2526
2489
  From: pushtype@example.com
2527
2490
  Reply-To: pushtype@example.com
2528
2491
  To: joe-22@example.com
2529
- Message-ID: <5637c76c4eeee_3b263fcf84c63bec981d0@Aarons-iMac.local.mail>
2492
+ Message-ID: <563f659413b13_2b1b3fde29063be05783@Aarons-iMac.local.mail>
2530
2493
  Subject: [PushType] Confirm your account
2531
2494
  Mime-Version: 1.0
2532
2495
  Content-Type: multipart/alternative;
2533
- boundary="--==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce";
2496
+ boundary="--==_mimepart_563f6594135a5_2b1b3fde29063be057790";
2534
2497
  charset=UTF-8
2535
2498
  Content-Transfer-Encoding: 7bit
2536
2499
 
2537
2500
 
2538
- ----==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce
2501
+ ----==_mimepart_563f6594135a5_2b1b3fde29063be057790
2539
2502
  Content-Type: text/plain;
2540
2503
  charset=UTF-8
2541
2504
  Content-Transfer-Encoding: 7bit
@@ -2550,10 +2513,10 @@ created for you.
2550
2513
  To get started, confirm your account and set your own password by
2551
2514
  clicking the link below:
2552
2515
 
2553
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=aSJEQsv4yhmuAWx1KN9_ )
2516
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=mC1cxqUC1pzsUpu4nAku )
2554
2517
 
2555
2518
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2556
- ----==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce
2519
+ ----==_mimepart_563f6594135a5_2b1b3fde29063be057790
2557
2520
  Content-Type: text/html;
2558
2521
  charset=UTF-8
2559
2522
  Content-Transfer-Encoding: 7bit
@@ -2599,7 +2562,7 @@ body {
2599
2562
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2600
2563
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2601
2564
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2602
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=aSJEQsv4yhmuAWx1KN9_" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2565
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=mC1cxqUC1pzsUpu4nAku" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2603
2566
  </td>
2604
2567
  </tr>
2605
2568
  </table>
@@ -2644,15 +2607,52 @@ body {
2644
2607
  </body>
2645
2608
  </html>
2646
2609
 
2647
- ----==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce--
2610
+ ----==_mimepart_563f6594135a5_2b1b3fde29063be057790--
2648
2611
 
2649
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2650
- Processing by PushType::ConfirmationsController#update as HTML
2651
- Parameters: {"user"=>{"confirmation_token"=>"aSJEQsv4yhmuAWx1KN9_", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2652
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "aSJEQsv4yhmuAWx1KN9_"]]
2653
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-22@example.com' AND "push_type_users"."id" != 'adf21899-be9f-4e4d-9c01-c43b299d0707') LIMIT 1
2612
+ Redirected to /push_type/users
2613
+ Completed 302 Found in 36ms (ActiveRecord: 0.4ms)
2614
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2615
+  (0.1ms) ROLLBACK
2616
+  (0.1ms) BEGIN
2617
+ --------------------------------------------------------------------------------------
2618
+ PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
2619
+ --------------------------------------------------------------------------------------
2620
+  (0.1ms) SAVEPOINT active_record_1
2621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2622
+  (0.0ms) SAVEPOINT active_record_1
2623
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2624
+  (0.0ms) ROLLBACK
2625
+  (0.1ms) BEGIN
2626
+ ------------------------------------------------------------------------------------------------------
2627
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
2628
+ ------------------------------------------------------------------------------------------------------
2629
+  (0.1ms) SAVEPOINT active_record_1
2630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2631
+  (0.0ms) SAVEPOINT active_record_1
2632
+ Processing by PushType::ConfirmationsController#show as HTML
2633
+ Parameters: {"confirmation_token"=>"invalid"}
2634
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
2635
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
2636
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ec1f005c64ac87922cbe92a38f29fbf8b1cb8c5cc5d4b8f13b834e4dbaa5d526"]]
2654
2637
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2655
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
2656
- Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.4ms)
2638
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (2.8ms)
2639
+ Completed 200 OK in 23ms (Views: 18.6ms | ActiveRecord: 0.3ms)
2640
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2641
+  (0.1ms) ROLLBACK
2642
+  (0.1ms) BEGIN
2643
+ ------------------------------------------------------------------------------------------------------
2644
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
2645
+ ------------------------------------------------------------------------------------------------------
2646
+  (0.0ms) SAVEPOINT active_record_1
2647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2648
+  (0.0ms) SAVEPOINT active_record_1
2649
+ Processing by PushType::ConfirmationsController#show as HTML
2650
+ Parameters: {"confirmation_token"=>"invalid"}
2651
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
2652
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
2653
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ec1f005c64ac87922cbe92a38f29fbf8b1cb8c5cc5d4b8f13b834e4dbaa5d526"]]
2654
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2655
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.2ms)
2656
+ Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms)
2657
2657
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2658
2658
   (0.1ms) ROLLBACK