push_type_auth 0.6.0.beta.2 → 0.6.0.beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (21) hide show
  1. checksums.yaml +4 -4
  2. data/test/dummy/app/models/location.rb +6 -0
  3. data/test/dummy/config/initializers/push_type.rb +1 -1
  4. data/test/dummy/config/secrets.yml +2 -2
  5. data/test/dummy/db/migrate/{20151102165930_create_push_type_users.push_type.rb → 20151102202810_create_push_type_users.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20151102165931_create_push_type_nodes.push_type.rb → 20151102202811_create_push_type_nodes.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20151102165932_create_push_type_node_hierarchies.push_type.rb → 20151102202812_create_push_type_node_hierarchies.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20151102165933_create_push_type_assets.push_type.rb → 20151102202813_create_push_type_assets.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20151102165934_create_push_type_taxonomies.push_type.rb → 20151102202814_create_push_type_taxonomies.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20151102165935_create_push_type_taxonomy_hierarchies.push_type.rb → 20151102202815_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
  11. data/test/dummy/db/migrate/{20151102165936_add_field_store_default_values.push_type.rb → 20151102202816_add_field_store_default_values.push_type.rb} +0 -0
  12. data/test/dummy/db/migrate/{20151102165937_devise_extend_push_type_users.push_type_auth.rb → 20151102202817_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  13. data/test/dummy/db/schema.rb +1 -1
  14. data/test/dummy/log/test.log +693 -693
  15. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/13enFOLQsI8Mye9dhTWkj9KKyYFODHE888fUc0YLTYw.cache +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{pUDQP8HidXQvtJQEhTGC7_ODICFEiSU9Vh6peKiUX8o.cache → T8sccjFXxE1mgzkBdDIfr-KPpfLsct71V_4nwVaPXLs.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. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{p-RMJZhToSQmo_KPJdkWODZQZ4dnJ91jbL8gIxjXoZ0.cache → zP91Jjz9HOOY02y9uWi9dLwV74l3kIGkSw6i7PUFkoQ.cache} +0 -0
  21. metadata +27 -25
@@ -1,74 +1,74 @@
1
1
   (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2
+  (0.8ms) 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 (20151102165930)
4
+ Migrating to CreatePushTypeUsers (20151102202810)
5
5
   (0.1ms) BEGIN
6
- SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
-  (2.6ms) 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", "20151102165930"]]
6
+ SQL (1.9ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
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"]]
9
9
   (0.7ms) COMMIT
10
- Migrating to CreatePushTypeNodes (20151102165931)
10
+ Migrating to CreatePushTypeNodes (20151102202811)
11
11
   (0.1ms) BEGIN
12
-  (2.1ms) 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.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102165931"]]
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"]]
14
14
   (0.4ms) COMMIT
15
- Migrating to CreatePushTypeNodeHierarchies (20151102165932)
15
+ Migrating to CreatePushTypeNodeHierarchies (20151102202812)
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.8ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
-  (0.7ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102165932"]]
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
21
   (0.4ms) COMMIT
22
- Migrating to CreatePushTypeAssets (20151102165933)
22
+ Migrating to CreatePushTypeAssets (20151102202813)
23
23
   (0.1ms) BEGIN
24
-  (2.1ms) 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", "20151102165933"]]
26
-  (0.4ms) COMMIT
27
- Migrating to CreatePushTypeTaxonomies (20151102165934)
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"]]
26
+  (0.5ms) COMMIT
27
+ Migrating to CreatePushTypeTaxonomies (20151102202814)
28
28
   (0.1ms) BEGIN
29
-  (2.2ms) 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
+  (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)
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", "20151102165934"]]
32
-  (0.4ms) COMMIT
33
- Migrating to CreatePushTypeTaxonomyHierarchies (20151102165935)
31
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202814"]]
32
+  (0.5ms) COMMIT
33
+ Migrating to CreatePushTypeTaxonomyHierarchies (20151102202815)
34
34
   (0.1ms) BEGIN
35
-  (0.4ms) CREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) 
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
-  (1.6ms) CREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")
38
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102165935"]]
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"]]
39
39
   (0.4ms) COMMIT
40
- Migrating to AddFieldStoreDefaultValues (20151102165936)
40
+ Migrating to AddFieldStoreDefaultValues (20151102202816)
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 '{}'
44
-  (0.3ms) UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL
44
+  (0.2ms) UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL
45
45
   (0.1ms) ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
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.1ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
50
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102165936"]]
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
51
   (0.5ms) COMMIT
52
- Migrating to DeviseExtendPushTypeUsers (20151102165937)
52
+ Migrating to DeviseExtendPushTypeUsers (20151102202817)
53
53
   (0.1ms) BEGIN
54
-  (2.7ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
54
+  (2.8ms) 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
56
   (0.1ms) 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.2ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
59
-  (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_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
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
62
62
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
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.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
66
+  (0.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
67
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", "20151102165937"]]
69
-  (1.1ms) COMMIT
68
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202817"]]
69
+  (1.0ms) COMMIT
70
70
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
71
-  (1.7ms) 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.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
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
@@ -80,7 +80,7 @@ WHERE c.contype = 'f'
80
80
  AND t3.nspname = ANY (current_schemas(false))
81
81
  ORDER BY c.conname
82
82
  
83
-  (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
83
+  (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
84
84
  FROM pg_constraint c
85
85
  JOIN pg_class t1 ON c.conrelid = t1.oid
86
86
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -104,7 +104,7 @@ WHERE c.contype = 'f'
104
104
  AND t3.nspname = ANY (current_schemas(false))
105
105
  ORDER BY c.conname
106
106
  
107
-  (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
107
+  (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
108
108
  FROM pg_constraint c
109
109
  JOIN pg_class t1 ON c.conrelid = t1.oid
110
110
  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.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
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
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,190 +140,76 @@ 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.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
144
-  (0.4ms) 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.0ms)  SELECT schemaname || '.' || tablename
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
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
-  (1.1ms) select table_name from information_schema.views where table_schema = 'dummy_test'
153
-  (11.0ms) 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;
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
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
155
155
   (0.1ms) BEGIN
156
- --------------------------------------------------------
157
- PushType::AuthenticationMethodsTest: test_0001_anonymous
158
- --------------------------------------------------------
156
+ --------------------------------------------------------------------------------------
157
+ PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
158
+ --------------------------------------------------------------------------------------
159
159
   (0.1ms) SAVEPOINT active_record_1
160
160
   (0.1ms) RELEASE SAVEPOINT active_record_1
161
161
   (0.0ms) SAVEPOINT active_record_1
162
162
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
163
163
   (0.1ms) ROLLBACK
164
-  (0.1ms) BEGIN
164
+  (0.0ms) BEGIN
165
165
  --------------------------------------------------------
166
166
  PushType::AuthenticationMethodsTest: test_0002_anonymous
167
167
  --------------------------------------------------------
168
-  (0.1ms) SAVEPOINT active_record_1
169
-  (0.1ms) RELEASE SAVEPOINT active_record_1
170
168
   (0.0ms) SAVEPOINT active_record_1
171
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
172
-  (0.0ms) ROLLBACK
173
-  (0.1ms) BEGIN
174
- ----------------------------------------------------
175
- PushType::InvitationMethodsTest: test_0001_anonymous
176
- ----------------------------------------------------
177
-  (0.1ms) SAVEPOINT active_record_1
178
169
   (0.0ms) RELEASE SAVEPOINT active_record_1
179
170
   (0.0ms) SAVEPOINT active_record_1
180
171
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
181
172
   (0.0ms) ROLLBACK
182
-  (0.0ms) BEGIN
183
- -----------------------------------------------------------------------------------
184
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
185
- -----------------------------------------------------------------------------------
173
+  (0.1ms) BEGIN
174
+ --------------------------------------------------------
175
+ PushType::AuthenticationMethodsTest: test_0001_anonymous
176
+ --------------------------------------------------------
186
177
   (0.1ms) SAVEPOINT active_record_1
187
178
   (0.1ms) RELEASE SAVEPOINT active_record_1
188
179
   (0.1ms) SAVEPOINT active_record_1
189
-  (0.1ms) SAVEPOINT active_record_2
190
- PushType::User Exists (0.4ms) 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
- 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-02 16:59:35.973181"], ["confirmed_at", "2015-11-02 16:59:35.973257"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:35.983762"], ["updated_at", "2015-11-02 16:59:35.983762"]]
193
-  (0.1ms) RELEASE SAVEPOINT active_record_2
194
- Processing by PushType::ProfilesController#update as HTML
195
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
196
- 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", "a3bfb415-b5cc-4845-8ab5-b570c6a9ba5d"]]
197
-  (0.1ms) SAVEPOINT active_record_2
198
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != 'a3bfb415-b5cc-4845-8ab5-b570c6a9ba5d') LIMIT 1
199
- 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 16:59:36.004467"], ["id", "a3bfb415-b5cc-4845-8ab5-b570c6a9ba5d"]]
200
-  (0.1ms) RELEASE SAVEPOINT active_record_2
201
- Redirected to http://test.host/push_type/profile/edit
202
- Completed 302 Found in 16ms (ActiveRecord: 0.9ms)
203
180
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
204
-  (0.1ms) ROLLBACK
205
-  (0.1ms) BEGIN
206
- -----------------------------------------------------------------------------------
207
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
208
- -----------------------------------------------------------------------------------
209
-  (0.0ms) SAVEPOINT active_record_1
210
-  (0.0ms) RELEASE SAVEPOINT active_record_1
211
-  (0.0ms) SAVEPOINT active_record_1
212
-  (0.1ms) SAVEPOINT active_record_2
213
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
214
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
215
- 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-02 16:59:36.008458"], ["confirmed_at", "2015-11-02 16:59:36.008507"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:36.009899"], ["updated_at", "2015-11-02 16:59:36.009899"]]
216
-  (0.1ms) RELEASE SAVEPOINT active_record_2
217
- Processing by PushType::ProfilesController#update as HTML
218
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
219
- 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", "10880f8d-69b1-409f-b506-013e2e04e892"]]
220
-  (0.1ms) SAVEPOINT active_record_2
221
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-2@example.com' AND "push_type_users"."id" != '10880f8d-69b1-409f-b506-013e2e04e892') LIMIT 1
222
- 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 16:59:36.014650"], ["id", "10880f8d-69b1-409f-b506-013e2e04e892"]]
223
-  (0.1ms) RELEASE SAVEPOINT active_record_2
224
- Redirected to http://test.host/push_type/profile/edit
225
- Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
226
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
227
-  (0.1ms) ROLLBACK
228
-  (0.1ms) BEGIN
229
- -----------------------------------------------------------------------------------
230
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
231
- -----------------------------------------------------------------------------------
232
-  (0.1ms) SAVEPOINT active_record_1
233
-  (0.0ms) RELEASE SAVEPOINT active_record_1
234
-  (0.0ms) SAVEPOINT active_record_1
235
-  (0.1ms) SAVEPOINT active_record_2
236
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
237
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
238
- 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-3@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:36.017907"], ["confirmed_at", "2015-11-02 16:59:36.017948"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:36.019347"], ["updated_at", "2015-11-02 16:59:36.019347"]]
239
-  (0.1ms) RELEASE SAVEPOINT active_record_2
240
- Processing by PushType::ProfilesController#update as HTML
241
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
242
- 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", "0c537ecc-5678-4ab5-8883-d339e8cc90b4"]]
243
-  (0.1ms) SAVEPOINT active_record_2
244
- 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" != '0c537ecc-5678-4ab5-8883-d339e8cc90b4') LIMIT 1
245
- 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 16:59:36.023616"], ["id", "0c537ecc-5678-4ab5-8883-d339e8cc90b4"]]
246
-  (0.1ms) RELEASE SAVEPOINT active_record_2
247
- Redirected to http://test.host/push_type/profile/edit
248
- Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
249
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "0c537ecc-5678-4ab5-8883-d339e8cc90b4"]]
250
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
251
-  (0.1ms) ROLLBACK
252
-  (0.1ms) BEGIN
253
- -------------------------------------------------------------------------------------
254
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
255
- -------------------------------------------------------------------------------------
256
-  (0.0ms) SAVEPOINT active_record_1
257
-  (0.0ms) RELEASE SAVEPOINT active_record_1
258
-  (0.0ms) SAVEPOINT active_record_1
259
-  (0.1ms) SAVEPOINT active_record_2
260
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
261
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
262
- 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-4@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:36.028212"], ["confirmed_at", "2015-11-02 16:59:36.028260"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:36.029671"], ["updated_at", "2015-11-02 16:59:36.029671"]]
263
-  (0.1ms) RELEASE SAVEPOINT active_record_2
264
- Processing by PushType::ProfilesController#update as HTML
265
- Parameters: {"user"=>{"name"=>""}}
266
- 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", "e2958d29-b7aa-4d7b-a934-cb101eb16f93"]]
267
-  (0.1ms) SAVEPOINT active_record_2
268
- 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" != 'e2958d29-b7aa-4d7b-a934-cb101eb16f93') LIMIT 1
269
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
270
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (12.1ms)
271
- Completed 200 OK in 10851ms (Views: 10848.1ms | ActiveRecord: 0.5ms)
272
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
273
-  (0.2ms) ROLLBACK
181
+  (0.0ms) ROLLBACK
274
182
   (0.1ms) BEGIN
275
- -------------------------------------------------------------------------------------
276
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
277
- -------------------------------------------------------------------------------------
183
+ --------------------------------------------------------------------------------------------------------------
184
+ PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
185
+ --------------------------------------------------------------------------------------------------------------
278
186
   (0.1ms) SAVEPOINT active_record_1
279
187
   (0.0ms) RELEASE SAVEPOINT active_record_1
280
188
   (0.0ms) SAVEPOINT active_record_1
281
189
   (0.1ms) SAVEPOINT active_record_2
282
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
283
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
284
- 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 16:59:46.885149"], ["confirmed_at", "2015-11-02 16:59:46.885231"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:46.887098"], ["updated_at", "2015-11-02 16:59:46.887098"]]
285
-  (0.1ms) RELEASE SAVEPOINT active_record_2
286
- Processing by PushType::ProfilesController#update as HTML
287
- Parameters: {"user"=>{"name"=>""}}
288
- 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", "b3d94bf8-729e-4c8d-9ef7-9cb9b76f553d"]]
289
-  (0.1ms) SAVEPOINT active_record_2
290
- 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" != 'b3d94bf8-729e-4c8d-9ef7-9cb9b76f553d') LIMIT 1
291
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
292
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.0ms)
293
- Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.5ms)
294
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
295
-  (0.1ms) ROLLBACK
296
-  (0.1ms) BEGIN
297
- ----------------------------------------------------------------------------------------
298
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
299
- ----------------------------------------------------------------------------------------
300
-  (0.1ms) SAVEPOINT active_record_1
301
-  (0.1ms) RELEASE SAVEPOINT active_record_1
302
-  (0.1ms) SAVEPOINT active_record_1
303
-  (0.1ms) SAVEPOINT active_record_2
304
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
305
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
306
- 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", "5086a300017642ca9d0928c84f8cfe85e2007fedf816b402bcc84ba91ef8c79a"]]
307
- 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-6@example.com"], ["created_at", "2015-11-02 16:59:46.927241"], ["updated_at", "2015-11-02 16:59:46.927241"], ["confirmation_token", "jN3PS6mGPdcLcxYiVU1q"], ["confirmation_sent_at", "2015-11-02 16:59:47.102634"]]
308
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
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)
309
195
 
310
- Devise::Mailer#confirmation_instructions: processed outbound mail in 106.3ms
196
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 265.4ms
311
197
 
312
- Sent mail to joe-6@example.com (6.9ms)
313
- Date: Mon, 02 Nov 2015 16:59:47 +0000
198
+ Sent mail to joe-1@example.com (7.2ms)
199
+ Date: Mon, 02 Nov 2015 20:28:16 +0000
314
200
  From: pushtype@example.com
315
201
  Reply-To: pushtype@example.com
316
- To: joe-6@example.com
317
- Message-ID: <563796833cad8_2a0d3fff7dc57be893469@Aarons-iMac.local.mail>
202
+ To: joe-1@example.com
203
+ Message-ID: <5637c760af5d4_3b263fcf84c63bec939dc@Aarons-iMac.local.mail>
318
204
  Subject: [PushType] Confirm your account
319
205
  Mime-Version: 1.0
320
206
  Content-Type: multipart/alternative;
321
- boundary="--==_mimepart_563796833bbaf_2a0d3fff7dc57be893313";
207
+ boundary="--==_mimepart_5637c760ae531_3b263fcf84c63bec93810";
322
208
  charset=UTF-8
323
209
  Content-Transfer-Encoding: 7bit
324
210
 
325
211
 
326
- ----==_mimepart_563796833bbaf_2a0d3fff7dc57be893313
212
+ ----==_mimepart_5637c760ae531_3b263fcf84c63bec93810
327
213
  Content-Type: text/plain;
328
214
  charset=UTF-8
329
215
  Content-Transfer-Encoding: 7bit
@@ -338,10 +224,10 @@ created for you.
338
224
  To get started, confirm your account and set your own password by
339
225
  clicking the link below:
340
226
 
341
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=jN3PS6mGPdcLcxYiVU1q )
227
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=59ejRKJi8QgrasNmbyei )
342
228
 
343
229
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
344
- ----==_mimepart_563796833bbaf_2a0d3fff7dc57be893313
230
+ ----==_mimepart_5637c760ae531_3b263fcf84c63bec93810
345
231
  Content-Type: text/html;
346
232
  charset=UTF-8
347
233
  Content-Transfer-Encoding: 7bit
@@ -387,7 +273,7 @@ body {
387
273
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
388
274
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
389
275
  <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">
390
- <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=jN3PS6mGPdcLcxYiVU1q" 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>
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>
391
277
  </td>
392
278
  </tr>
393
279
  </table>
@@ -432,55 +318,42 @@ body {
432
318
  </body>
433
319
  </html>
434
320
 
435
- ----==_mimepart_563796833bbaf_2a0d3fff7dc57be893313--
321
+ ----==_mimepart_5637c760ae531_3b263fcf84c63bec93810--
436
322
 
437
-  (0.1ms) RELEASE SAVEPOINT active_record_2
438
- Processing by PushType::ConfirmationsController#update as HTML
439
- Parameters: {"user"=>{"confirmation_token"=>"jN3PS6mGPdcLcxYiVU1q", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
440
- 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", "jN3PS6mGPdcLcxYiVU1q"]]
441
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != 'afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a') LIMIT 1
442
-  (0.1ms) SAVEPOINT active_record_2
443
- 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$3EocGU6w8bX0SNOcr9S0E.XJLGf3RBM7jfFPaQigHTERXIILd2Ar2"], ["confirmed_at", "2015-11-02 16:59:47.279882"], ["updated_at", "2015-11-02 16:59:47.280474"], ["id", "afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a"]]
444
323
   (0.1ms) RELEASE SAVEPOINT active_record_2
445
-  (0.1ms) SAVEPOINT active_record_2
446
- 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 16:59:47.282104"], ["current_sign_in_at", "2015-11-02 16:59:47.282104"], ["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 16:59:47.282625"], ["id", "afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a"]]
447
-  (0.1ms) RELEASE SAVEPOINT active_record_2
448
- Redirected to http://test.host/push_type/
449
- Completed 302 Found in 30ms (ActiveRecord: 1.2ms)
450
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a"]]
451
324
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
452
-  (0.1ms) ROLLBACK
325
+  (0.2ms) ROLLBACK
453
326
   (0.1ms) BEGIN
454
- ----------------------------------------------------------------------------------------
455
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
456
- ----------------------------------------------------------------------------------------
327
+ --------------------------------------------------------------------------------------------------------------
328
+ PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
329
+ --------------------------------------------------------------------------------------------------------------
457
330
   (0.1ms) SAVEPOINT active_record_1
458
-  (0.0ms) RELEASE SAVEPOINT active_record_1
331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
459
332
   (0.0ms) SAVEPOINT active_record_1
460
-  (0.0ms) SAVEPOINT active_record_2
461
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
462
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
463
- 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", "bad7e7bba10faf6c99b7bf6a2b362c2d77bc144cb89f8cb513f19072ceee3fd1"]]
464
- 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-7@example.com"], ["created_at", "2015-11-02 16:59:47.288000"], ["updated_at", "2015-11-02 16:59:47.288000"], ["confirmation_token", "7URfEsvgpVDX52za-_EK"], ["confirmation_sent_at", "2015-11-02 16:59:47.288704"]]
465
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
333
+  (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)
466
339
 
467
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
340
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
468
341
 
469
- Sent mail to joe-7@example.com (2.9ms)
470
- Date: Mon, 02 Nov 2015 16:59:47 +0000
342
+ Sent mail to joe-2@example.com (3.2ms)
343
+ Date: Mon, 02 Nov 2015 20:28:16 +0000
471
344
  From: pushtype@example.com
472
345
  Reply-To: pushtype@example.com
473
- To: joe-7@example.com
474
- Message-ID: <563796834df7b_2a0d3fff7dc57be893733@Aarons-iMac.local.mail>
346
+ To: joe-2@example.com
347
+ Message-ID: <5637c760bbae2_3b263fcf84c63bec9423f@Aarons-iMac.local.mail>
475
348
  Subject: [PushType] Confirm your account
476
349
  Mime-Version: 1.0
477
350
  Content-Type: multipart/alternative;
478
- boundary="--==_mimepart_563796834da33_2a0d3fff7dc57be893681";
351
+ boundary="--==_mimepart_5637c760bb559_3b263fcf84c63bec94183";
479
352
  charset=UTF-8
480
353
  Content-Transfer-Encoding: 7bit
481
354
 
482
355
 
483
- ----==_mimepart_563796834da33_2a0d3fff7dc57be893681
356
+ ----==_mimepart_5637c760bb559_3b263fcf84c63bec94183
484
357
  Content-Type: text/plain;
485
358
  charset=UTF-8
486
359
  Content-Transfer-Encoding: 7bit
@@ -495,10 +368,10 @@ created for you.
495
368
  To get started, confirm your account and set your own password by
496
369
  clicking the link below:
497
370
 
498
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=7URfEsvgpVDX52za-_EK )
371
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=W_Yvt2KVPnLAJQjBR4We )
499
372
 
500
373
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
501
- ----==_mimepart_563796834da33_2a0d3fff7dc57be893681
374
+ ----==_mimepart_5637c760bb559_3b263fcf84c63bec94183
502
375
  Content-Type: text/html;
503
376
  charset=UTF-8
504
377
  Content-Transfer-Encoding: 7bit
@@ -544,7 +417,7 @@ body {
544
417
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
545
418
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
546
419
  <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">
547
- <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=7URfEsvgpVDX52za-_EK" 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>
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>
548
421
  </td>
549
422
  </tr>
550
423
  </table>
@@ -589,54 +462,76 @@ body {
589
462
  </body>
590
463
  </html>
591
464
 
592
- ----==_mimepart_563796834da33_2a0d3fff7dc57be893681--
465
+ ----==_mimepart_5637c760bb559_3b263fcf84c63bec94183--
593
466
 
594
467
   (0.1ms) RELEASE SAVEPOINT active_record_2
595
- Processing by PushType::ConfirmationsController#update as HTML
596
- Parameters: {"user"=>{"confirmation_token"=>"7URfEsvgpVDX52za-_EK", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
597
- 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", "7URfEsvgpVDX52za-_EK"]]
598
- 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" != '6d7790bd-e781-40f6-9ac1-97fd9b5e001e') LIMIT 1
599
-  (0.1ms) SAVEPOINT active_record_2
600
- 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$Flts4NYl5hPw.nG/4cznauWUpzB5Kk.32uzdUfZwNES9TwhsHYqNO"], ["confirmed_at", "2015-11-02 16:59:47.325577"], ["updated_at", "2015-11-02 16:59:47.326095"], ["id", "6d7790bd-e781-40f6-9ac1-97fd9b5e001e"]]
601
-  (0.1ms) RELEASE SAVEPOINT active_record_2
602
-  (0.1ms) SAVEPOINT active_record_2
603
- 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 16:59:47.327327"], ["current_sign_in_at", "2015-11-02 16:59:47.327327"], ["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 16:59:47.327724"], ["id", "6d7790bd-e781-40f6-9ac1-97fd9b5e001e"]]
604
-  (0.1ms) RELEASE SAVEPOINT active_record_2
605
- Redirected to http://test.host/push_type/
606
- Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
607
468
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
608
469
   (0.1ms) ROLLBACK
609
470
   (0.1ms) BEGIN
610
- --------------------------------------------------------------------------------------------------------------
611
- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
612
- --------------------------------------------------------------------------------------------------------------
471
+ ------------------------------------------------------------------------------------------------------
472
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
473
+ ------------------------------------------------------------------------------------------------------
474
+  (0.1ms) SAVEPOINT active_record_1
475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
613
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
+  (0.1ms) SAVEPOINT active_record_1
614
509
   (0.0ms) RELEASE SAVEPOINT active_record_1
615
510
   (0.0ms) SAVEPOINT active_record_1
616
-  (0.0ms) SAVEPOINT active_record_2
617
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
618
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
619
- 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", "db14a596f2a5766c796c1ed1891008cfcb89c7986be3e839a0d9d0ae5a3cdc23"]]
620
- 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 16:59:47.332338"], ["updated_at", "2015-11-02 16:59:47.332338"], ["confirmation_token", "P1qyHXVoxxynsy8qa5WG"], ["confirmation_sent_at", "2015-11-02 16:59:47.333118"]]
511
+  (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"]]
621
516
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
622
517
 
623
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
518
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
624
519
 
625
- Sent mail to joe-8@example.com (3.0ms)
626
- Date: Mon, 02 Nov 2015 16:59:47 +0000
520
+ Sent mail to joe-3@example.com (3.3ms)
521
+ Date: Mon, 02 Nov 2015 20:28:27 +0000
627
522
  From: pushtype@example.com
628
523
  Reply-To: pushtype@example.com
629
- To: joe-8@example.com
630
- Message-ID: <5637968358994_2a0d3fff7dc57be894058@Aarons-iMac.local.mail>
524
+ To: joe-3@example.com
525
+ Message-ID: <5637c76ba90b2_3b263fcf84c63bec94515@Aarons-iMac.local.mail>
631
526
  Subject: [PushType] Confirm your account
632
527
  Mime-Version: 1.0
633
528
  Content-Type: multipart/alternative;
634
- boundary="--==_mimepart_563796835841a_2a0d3fff7dc57be89395d";
529
+ boundary="--==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f";
635
530
  charset=UTF-8
636
531
  Content-Transfer-Encoding: 7bit
637
532
 
638
533
 
639
- ----==_mimepart_563796835841a_2a0d3fff7dc57be89395d
534
+ ----==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f
640
535
  Content-Type: text/plain;
641
536
  charset=UTF-8
642
537
  Content-Transfer-Encoding: 7bit
@@ -651,10 +546,10 @@ created for you.
651
546
  To get started, confirm your account and set your own password by
652
547
  clicking the link below:
653
548
 
654
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=P1qyHXVoxxynsy8qa5WG )
549
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ji6gpVv55s4TzY4zGTnU )
655
550
 
656
551
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
657
- ----==_mimepart_563796835841a_2a0d3fff7dc57be89395d
552
+ ----==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f
658
553
  Content-Type: text/html;
659
554
  charset=UTF-8
660
555
  Content-Transfer-Encoding: 7bit
@@ -700,7 +595,7 @@ body {
700
595
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
701
596
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
702
597
  <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">
703
- <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=P1qyHXVoxxynsy8qa5WG" 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>
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>
704
599
  </td>
705
600
  </tr>
706
601
  </table>
@@ -745,108 +640,48 @@ body {
745
640
  </body>
746
641
  </html>
747
642
 
748
- ----==_mimepart_563796835841a_2a0d3fff7dc57be89395d--
643
+ ----==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f--
749
644
 
750
645
   (0.1ms) RELEASE SAVEPOINT active_record_2
751
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
752
-  (0.1ms) ROLLBACK
753
-  (0.0ms) BEGIN
754
- ---------------------------------------------------------------------------
755
- PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
756
- ---------------------------------------------------------------------------
757
-  (0.0ms) SAVEPOINT active_record_1
758
-  (0.0ms) RELEASE SAVEPOINT active_record_1
759
-  (0.0ms) SAVEPOINT active_record_1
760
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
761
-  (0.1ms) ROLLBACK
762
-  (0.0ms) BEGIN
763
- ---------------------------------------------------------------------------
764
- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
765
- ---------------------------------------------------------------------------
766
-  (0.0ms) SAVEPOINT active_record_1
767
-  (0.0ms) RELEASE SAVEPOINT active_record_1
768
-  (0.0ms) SAVEPOINT active_record_1
769
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
770
-  (0.0ms) ROLLBACK
771
-  (0.1ms) BEGIN
772
- ------------------------------------------------------------------------------------------------------
773
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
774
- ------------------------------------------------------------------------------------------------------
775
-  (0.1ms) SAVEPOINT active_record_1
776
-  (0.0ms) RELEASE SAVEPOINT active_record_1
777
-  (0.0ms) SAVEPOINT active_record_1
778
646
  Processing by PushType::ConfirmationsController#show as HTML
779
- Parameters: {"confirmation_token"=>"invalid"}
780
- 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"]]
781
- 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"]]
782
- 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", "5912ef8b395805b8aaccedf740acc0c9afa2afe691cd77fc01b8baad06332f6f"]]
783
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.9ms)
784
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (5.5ms)
785
- Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 0.3ms)
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"]]
649
+ 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)
786
652
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
787
653
   (0.1ms) ROLLBACK
788
654
   (0.1ms) BEGIN
789
- ------------------------------------------------------------------------------------------------------
790
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
791
- ------------------------------------------------------------------------------------------------------
792
-  (0.0ms) SAVEPOINT active_record_1
655
+ ----------------------------------------------------------------------------------------------------
656
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
657
+ ----------------------------------------------------------------------------------------------------
658
+  (0.1ms) SAVEPOINT active_record_1
793
659
   (0.0ms) RELEASE SAVEPOINT active_record_1
794
-  (0.0ms) SAVEPOINT active_record_1
795
- Processing by PushType::ConfirmationsController#show as HTML
796
- Parameters: {"confirmation_token"=>"invalid"}
797
- 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"]]
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", "invalid"]]
799
- 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", "5912ef8b395805b8aaccedf740acc0c9afa2afe691cd77fc01b8baad06332f6f"]]
800
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
801
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.3ms)
802
- Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms)
803
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
804
-  (0.2ms) ROLLBACK
805
-  (0.1ms) BEGIN
806
- ---------------------------------------------------------------
807
- PushType::AuthenticatableTest::recoverable: test_0001_anonymous
808
- ---------------------------------------------------------------
809
-  (0.0ms) SAVEPOINT active_record_1
810
-  (0.0ms) RELEASE SAVEPOINT active_record_1
811
-  (0.0ms) SAVEPOINT active_record_1
812
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
813
-  (0.1ms) ROLLBACK
814
-  (0.1ms) BEGIN
815
- ---------------------------------------------------------------
816
- PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
817
- ---------------------------------------------------------------
818
-  (0.1ms) SAVEPOINT active_record_1
819
-  (0.0ms) RELEASE SAVEPOINT active_record_1
820
-  (0.0ms) SAVEPOINT active_record_1
821
-  (0.1ms) SAVEPOINT active_record_2
822
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
823
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
824
- 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-9@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.399711"], ["confirmed_at", "2015-11-02 16:59:47.399775"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.401342"], ["updated_at", "2015-11-02 16:59:47.401342"]]
825
-  (0.1ms) RELEASE SAVEPOINT active_record_2
660
+  (0.1ms) SAVEPOINT active_record_1
826
661
   (0.1ms) SAVEPOINT active_record_2
827
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
828
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
829
- 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", "78904a0a3bab70977724f0f4461ad10956de4fd02e80a9445b0c4271f97ebea5"]]
830
- 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 16:59:47.404172"], ["updated_at", "2015-11-02 16:59:47.404172"], ["confirmation_token", "QfD3UkRjymTPyFXujMve"], ["confirmation_sent_at", "2015-11-02 16:59:47.404868"]]
831
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
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"]]
666
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
832
667
 
833
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
668
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
834
669
 
835
- Sent mail to joe-10@example.com (3.0ms)
836
- Date: Mon, 02 Nov 2015 16:59:47 +0000
670
+ Sent mail to joe-4@example.com (3.2ms)
671
+ Date: Mon, 02 Nov 2015 20:28:27 +0000
837
672
  From: pushtype@example.com
838
673
  Reply-To: pushtype@example.com
839
- To: joe-10@example.com
840
- Message-ID: <563796837f35f_2a0d3fff7dc57be89436@Aarons-iMac.local.mail>
674
+ To: joe-4@example.com
675
+ Message-ID: <5637c76bb50ac_3b263fcf84c63bec94832@Aarons-iMac.local.mail>
841
676
  Subject: [PushType] Confirm your account
842
677
  Mime-Version: 1.0
843
678
  Content-Type: multipart/alternative;
844
- boundary="--==_mimepart_563796837edfd_2a0d3fff7dc57be894249";
679
+ boundary="--==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476";
845
680
  charset=UTF-8
846
681
  Content-Transfer-Encoding: 7bit
847
682
 
848
683
 
849
- ----==_mimepart_563796837edfd_2a0d3fff7dc57be894249
684
+ ----==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476
850
685
  Content-Type: text/plain;
851
686
  charset=UTF-8
852
687
  Content-Transfer-Encoding: 7bit
@@ -861,10 +696,10 @@ created for you.
861
696
  To get started, confirm your account and set your own password by
862
697
  clicking the link below:
863
698
 
864
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=QfD3UkRjymTPyFXujMve )
699
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Hv4_6NNm5nVQyCxMZmMa )
865
700
 
866
701
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
867
- ----==_mimepart_563796837edfd_2a0d3fff7dc57be894249
702
+ ----==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476
868
703
  Content-Type: text/html;
869
704
  charset=UTF-8
870
705
  Content-Transfer-Encoding: 7bit
@@ -910,7 +745,7 @@ body {
910
745
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
911
746
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
912
747
  <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">
913
- <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=QfD3UkRjymTPyFXujMve" 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>
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>
914
749
  </td>
915
750
  </tr>
916
751
  </table>
@@ -955,34 +790,80 @@ body {
955
790
  </body>
956
791
  </html>
957
792
 
958
- ----==_mimepart_563796837edfd_2a0d3fff7dc57be894249--
793
+ ----==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476--
959
794
 
960
795
   (0.1ms) RELEASE SAVEPOINT active_record_2
961
- Processing by PushType::UsersController#invite as HTML
962
- Parameters: {"id"=>"a0d8bde1-9063-4185-8922-f94d10983218"}
963
- 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", "e0f505ca-7787-4625-9be3-e9fd13e2a5cb"]]
964
- 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", "a0d8bde1-9063-4185-8922-f94d10983218"]]
965
-  (0.1ms) 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)
802
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
803
+  (0.1ms) ROLLBACK
804
+  (0.1ms) BEGIN
805
+ ---------------------------------------------------------------
806
+ PushType::AuthenticatableTest::confirmable: test_0001_anonymous
807
+ ---------------------------------------------------------------
808
+  (0.0ms) SAVEPOINT active_record_1
809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
810
+  (0.0ms) SAVEPOINT active_record_1
811
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
812
+  (0.1ms) ROLLBACK
813
+  (0.1ms) BEGIN
814
+ ---------------------------------------------------------------
815
+ PushType::AuthenticatableTest::recoverable: test_0001_anonymous
816
+ ---------------------------------------------------------------
817
+  (0.0ms) SAVEPOINT active_record_1
818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
819
+  (0.0ms) SAVEPOINT active_record_1
820
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
821
+  (0.1ms) ROLLBACK
822
+  (0.1ms) BEGIN
823
+ ----------------------------------------------------
824
+ PushType::InvitationMethodsTest: test_0001_anonymous
825
+ ----------------------------------------------------
826
+  (0.0ms) SAVEPOINT active_record_1
827
+  (0.0ms) RELEASE SAVEPOINT active_record_1
828
+  (0.0ms) SAVEPOINT active_record_1
829
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
830
+  (0.0ms) ROLLBACK
831
+  (0.1ms) BEGIN
832
+ ---------------------------------------------------------------
833
+ PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
834
+ ---------------------------------------------------------------
835
+  (0.1ms) SAVEPOINT active_record_1
836
+  (0.0ms) RELEASE SAVEPOINT active_record_1
837
+  (0.0ms) SAVEPOINT active_record_1
838
+  (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"]]
966
842
   (0.1ms) RELEASE SAVEPOINT active_record_2
967
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
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)
968
849
 
969
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
850
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
970
851
 
971
- Sent mail to joe-10@example.com (3.1ms)
972
- Date: Mon, 02 Nov 2015 16:59:47 +0000
852
+ Sent mail to joe-6@example.com (3.1ms)
853
+ Date: Mon, 02 Nov 2015 20:28:27 +0000
973
854
  From: pushtype@example.com
974
855
  Reply-To: pushtype@example.com
975
- To: joe-10@example.com
976
- Message-ID: <56379683880a9_2a0d3fff7dc57be8946fd@Aarons-iMac.local.mail>
856
+ To: joe-6@example.com
857
+ Message-ID: <5637c76bc257e_3b263fcf84c63bec951f@Aarons-iMac.local.mail>
977
858
  Subject: [PushType] Confirm your account
978
859
  Mime-Version: 1.0
979
860
  Content-Type: multipart/alternative;
980
- boundary="--==_mimepart_5637968387b80_2a0d3fff7dc57be89458c";
861
+ boundary="--==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3";
981
862
  charset=UTF-8
982
863
  Content-Transfer-Encoding: 7bit
983
864
 
984
865
 
985
- ----==_mimepart_5637968387b80_2a0d3fff7dc57be89458c
866
+ ----==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3
986
867
  Content-Type: text/plain;
987
868
  charset=UTF-8
988
869
  Content-Transfer-Encoding: 7bit
@@ -997,10 +878,10 @@ created for you.
997
878
  To get started, confirm your account and set your own password by
998
879
  clicking the link below:
999
880
 
1000
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=QfD3UkRjymTPyFXujMve )
881
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_bxoS-8bD6zLarnXvCmp )
1001
882
 
1002
883
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1003
- ----==_mimepart_5637968387b80_2a0d3fff7dc57be89458c
884
+ ----==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3
1004
885
  Content-Type: text/html;
1005
886
  charset=UTF-8
1006
887
  Content-Transfer-Encoding: 7bit
@@ -1046,7 +927,7 @@ body {
1046
927
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1047
928
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1048
929
  <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">
1049
- <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=QfD3UkRjymTPyFXujMve" 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>
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>
1050
931
  </td>
1051
932
  </tr>
1052
933
  </table>
@@ -1091,48 +972,34 @@ body {
1091
972
  </body>
1092
973
  </html>
1093
974
 
1094
- ----==_mimepart_5637968387b80_2a0d3fff7dc57be89458c--
975
+ ----==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3--
1095
976
 
1096
- Redirected to /push_type/users
1097
- Completed 302 Found in 34ms (ActiveRecord: 0.5ms)
1098
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1099
-  (0.1ms) ROLLBACK
1100
-  (0.1ms) BEGIN
1101
- ---------------------------------------------------------------
1102
- PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
1103
- ---------------------------------------------------------------
1104
-  (0.0ms) SAVEPOINT active_record_1
1105
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1106
-  (0.0ms) SAVEPOINT active_record_1
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"]]
1107
982
   (0.1ms) SAVEPOINT active_record_2
1108
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1109
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1110
- 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-11@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.561475"], ["confirmed_at", "2015-11-02 16:59:47.561536"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.563165"], ["updated_at", "2015-11-02 16:59:47.563165"]]
1111
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1112
-  (0.1ms) SAVEPOINT active_record_2
1113
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1114
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1115
- 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", "9f538f65f85cb0ba3c9558f2ce160a43a9634ab7691b3ce6416654d5446b9797"]]
1116
- 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-12@example.com"], ["created_at", "2015-11-02 16:59:47.565859"], ["updated_at", "2015-11-02 16:59:47.565859"], ["confirmation_token", "gYHzp7eggMJfXvucHgay"], ["confirmation_sent_at", "2015-11-02 16:59:47.566548"]]
983
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1117
984
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1118
985
 
1119
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
986
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1120
987
 
1121
- Sent mail to joe-12@example.com (3.1ms)
1122
- Date: Mon, 02 Nov 2015 16:59:47 +0000
988
+ Sent mail to joe-6@example.com (3.0ms)
989
+ Date: Mon, 02 Nov 2015 20:28:27 +0000
1123
990
  From: pushtype@example.com
1124
991
  Reply-To: pushtype@example.com
1125
- To: joe-12@example.com
1126
- Message-ID: <5637968391e72_2a0d3fff7dc57be89495f@Aarons-iMac.local.mail>
992
+ To: joe-6@example.com
993
+ Message-ID: <5637c76bcb6d1_3b263fcf84c63bec95474@Aarons-iMac.local.mail>
1127
994
  Subject: [PushType] Confirm your account
1128
995
  Mime-Version: 1.0
1129
996
  Content-Type: multipart/alternative;
1130
- boundary="--==_mimepart_5637968391869_2a0d3fff7dc57be894834";
997
+ boundary="--==_mimepart_5637c76bcb141_3b263fcf84c63bec95395";
1131
998
  charset=UTF-8
1132
999
  Content-Transfer-Encoding: 7bit
1133
1000
 
1134
1001
 
1135
- ----==_mimepart_5637968391869_2a0d3fff7dc57be894834
1002
+ ----==_mimepart_5637c76bcb141_3b263fcf84c63bec95395
1136
1003
  Content-Type: text/plain;
1137
1004
  charset=UTF-8
1138
1005
  Content-Transfer-Encoding: 7bit
@@ -1147,10 +1014,10 @@ created for you.
1147
1014
  To get started, confirm your account and set your own password by
1148
1015
  clicking the link below:
1149
1016
 
1150
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=gYHzp7eggMJfXvucHgay )
1017
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_bxoS-8bD6zLarnXvCmp )
1151
1018
 
1152
1019
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1153
- ----==_mimepart_5637968391869_2a0d3fff7dc57be894834
1020
+ ----==_mimepart_5637c76bcb141_3b263fcf84c63bec95395
1154
1021
  Content-Type: text/html;
1155
1022
  charset=UTF-8
1156
1023
  Content-Transfer-Encoding: 7bit
@@ -1196,7 +1063,7 @@ body {
1196
1063
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1197
1064
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1198
1065
  <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">
1199
- <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=gYHzp7eggMJfXvucHgay" 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>
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>
1200
1067
  </td>
1201
1068
  </tr>
1202
1069
  </table>
@@ -1241,34 +1108,48 @@ body {
1241
1108
  </body>
1242
1109
  </html>
1243
1110
 
1244
- ----==_mimepart_5637968391869_2a0d3fff7dc57be894834--
1111
+ ----==_mimepart_5637c76bcb141_3b263fcf84c63bec95395--
1245
1112
 
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"]]
1246
1128
   (0.1ms) RELEASE SAVEPOINT active_record_2
1247
- Processing by PushType::UsersController#invite as HTML
1248
- Parameters: {"id"=>"b8a50076-3e93-499b-9d25-76680ab361f8"}
1249
- 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", "d95f4911-dd4a-4a89-b3b1-e530f7197571"]]
1250
- 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", "b8a50076-3e93-499b-9d25-76680ab361f8"]]
1251
1129
   (0.1ms) SAVEPOINT active_record_2
1252
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1253
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
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)
1254
1135
 
1255
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
1136
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1256
1137
 
1257
- Sent mail to joe-12@example.com (2.9ms)
1258
- Date: Mon, 02 Nov 2015 16:59:47 +0000
1138
+ Sent mail to joe-8@example.com (3.0ms)
1139
+ Date: Mon, 02 Nov 2015 20:28:27 +0000
1259
1140
  From: pushtype@example.com
1260
1141
  Reply-To: pushtype@example.com
1261
- To: joe-12@example.com
1262
- Message-ID: <563796839a825_2a0d3fff7dc57be89521e@Aarons-iMac.local.mail>
1142
+ To: joe-8@example.com
1143
+ Message-ID: <5637c76bd57c5_3b263fcf84c63bec9577c@Aarons-iMac.local.mail>
1263
1144
  Subject: [PushType] Confirm your account
1264
1145
  Mime-Version: 1.0
1265
1146
  Content-Type: multipart/alternative;
1266
- boundary="--==_mimepart_563796839a2ea_2a0d3fff7dc57be89518";
1147
+ boundary="--==_mimepart_5637c76bd523e_3b263fcf84c63bec95614";
1267
1148
  charset=UTF-8
1268
1149
  Content-Transfer-Encoding: 7bit
1269
1150
 
1270
1151
 
1271
- ----==_mimepart_563796839a2ea_2a0d3fff7dc57be89518
1152
+ ----==_mimepart_5637c76bd523e_3b263fcf84c63bec95614
1272
1153
  Content-Type: text/plain;
1273
1154
  charset=UTF-8
1274
1155
  Content-Transfer-Encoding: 7bit
@@ -1283,10 +1164,10 @@ created for you.
1283
1164
  To get started, confirm your account and set your own password by
1284
1165
  clicking the link below:
1285
1166
 
1286
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=gYHzp7eggMJfXvucHgay )
1167
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=sARd_cmnYbb-Yn91p5zm )
1287
1168
 
1288
1169
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1289
- ----==_mimepart_563796839a2ea_2a0d3fff7dc57be89518
1170
+ ----==_mimepart_5637c76bd523e_3b263fcf84c63bec95614
1290
1171
  Content-Type: text/html;
1291
1172
  charset=UTF-8
1292
1173
  Content-Transfer-Encoding: 7bit
@@ -1332,7 +1213,7 @@ body {
1332
1213
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1333
1214
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1334
1215
  <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">
1335
- <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=gYHzp7eggMJfXvucHgay" 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>
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>
1336
1217
  </td>
1337
1218
  </tr>
1338
1219
  </table>
@@ -1377,48 +1258,34 @@ body {
1377
1258
  </body>
1378
1259
  </html>
1379
1260
 
1380
- ----==_mimepart_563796839a2ea_2a0d3fff7dc57be89518--
1261
+ ----==_mimepart_5637c76bd523e_3b263fcf84c63bec95614--
1381
1262
 
1382
- Redirected to /push_type/users
1383
- Completed 302 Found in 34ms (ActiveRecord: 0.4ms)
1384
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1385
-  (0.1ms) ROLLBACK
1386
-  (0.1ms) BEGIN
1387
- ---------------------------------------------------------------
1388
- PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
1389
- ---------------------------------------------------------------
1390
-  (0.0ms) SAVEPOINT active_record_1
1391
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1392
-  (0.0ms) SAVEPOINT active_record_1
1263
+  (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"]]
1393
1268
   (0.1ms) SAVEPOINT active_record_2
1394
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1395
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1396
- 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 16:59:47.636777"], ["confirmed_at", "2015-11-02 16:59:47.636836"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.638408"], ["updated_at", "2015-11-02 16:59:47.638408"]]
1397
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1398
-  (0.1ms) SAVEPOINT active_record_2
1399
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1400
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1401
- 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", "c514fcaf5a8e478d9008486d909f81041e8315d44d3912e57f09e84d82847c2b"]]
1402
- 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-14@example.com"], ["created_at", "2015-11-02 16:59:47.640986"], ["updated_at", "2015-11-02 16:59:47.640986"], ["confirmation_token", "5r-shr8nEwAfCncaNw-9"], ["confirmation_sent_at", "2015-11-02 16:59:47.641630"]]
1269
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1403
1270
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1404
1271
 
1405
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
1272
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
1406
1273
 
1407
- Sent mail to joe-14@example.com (3.0ms)
1408
- Date: Mon, 02 Nov 2015 16:59:47 +0000
1274
+ Sent mail to joe-8@example.com (2.9ms)
1275
+ Date: Mon, 02 Nov 2015 20:28:27 +0000
1409
1276
  From: pushtype@example.com
1410
1277
  Reply-To: pushtype@example.com
1411
- To: joe-14@example.com
1412
- Message-ID: <56379683a4820_2a0d3fff7dc57be89557b@Aarons-iMac.local.mail>
1278
+ To: joe-8@example.com
1279
+ Message-ID: <5637c76bde2d8_3b263fcf84c63bec960e8@Aarons-iMac.local.mail>
1413
1280
  Subject: [PushType] Confirm your account
1414
1281
  Mime-Version: 1.0
1415
1282
  Content-Type: multipart/alternative;
1416
- boundary="--==_mimepart_56379683a4294_2a0d3fff7dc57be895446";
1283
+ boundary="--==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f";
1417
1284
  charset=UTF-8
1418
1285
  Content-Transfer-Encoding: 7bit
1419
1286
 
1420
1287
 
1421
- ----==_mimepart_56379683a4294_2a0d3fff7dc57be895446
1288
+ ----==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f
1422
1289
  Content-Type: text/plain;
1423
1290
  charset=UTF-8
1424
1291
  Content-Transfer-Encoding: 7bit
@@ -1433,10 +1300,10 @@ created for you.
1433
1300
  To get started, confirm your account and set your own password by
1434
1301
  clicking the link below:
1435
1302
 
1436
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=5r-shr8nEwAfCncaNw-9 )
1303
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=sARd_cmnYbb-Yn91p5zm )
1437
1304
 
1438
1305
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1439
- ----==_mimepart_56379683a4294_2a0d3fff7dc57be895446
1306
+ ----==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f
1440
1307
  Content-Type: text/html;
1441
1308
  charset=UTF-8
1442
1309
  Content-Transfer-Encoding: 7bit
@@ -1482,7 +1349,7 @@ body {
1482
1349
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1483
1350
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1484
1351
  <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">
1485
- <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=5r-shr8nEwAfCncaNw-9" 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>
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>
1486
1353
  </td>
1487
1354
  </tr>
1488
1355
  </table>
@@ -1527,34 +1394,48 @@ body {
1527
1394
  </body>
1528
1395
  </html>
1529
1396
 
1530
- ----==_mimepart_56379683a4294_2a0d3fff7dc57be895446--
1397
+ ----==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f--
1531
1398
 
1399
+ Redirected to /push_type/users
1400
+ Completed 302 Found in 34ms (ActiveRecord: 0.7ms)
1401
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1402
+  (0.1ms) ROLLBACK
1403
+  (0.1ms) BEGIN
1404
+ ---------------------------------------------------------------
1405
+ PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
1406
+ ---------------------------------------------------------------
1407
+  (0.0ms) SAVEPOINT active_record_1
1408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1409
+  (0.0ms) SAVEPOINT active_record_1
1410
+  (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"]]
1532
1414
   (0.1ms) RELEASE SAVEPOINT active_record_2
1533
- Processing by PushType::UsersController#invite as HTML
1534
- Parameters: {"id"=>"0583c5fd-3e1e-4c7c-b779-5f002793dfea"}
1535
- 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", "e0ef9a0e-8c82-43da-8c40-1fda4d39bf2c"]]
1536
- 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", "0583c5fd-3e1e-4c7c-b779-5f002793dfea"]]
1537
1415
   (0.1ms) SAVEPOINT active_record_2
1538
-  (0.1ms) RELEASE 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"]]
1539
1420
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1540
1421
 
1541
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
1422
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1542
1423
 
1543
- Sent mail to joe-14@example.com (2.9ms)
1544
- Date: Mon, 02 Nov 2015 16:59:47 +0000
1424
+ Sent mail to joe-10@example.com (3.0ms)
1425
+ Date: Mon, 02 Nov 2015 20:28:27 +0000
1545
1426
  From: pushtype@example.com
1546
1427
  Reply-To: pushtype@example.com
1547
- To: joe-14@example.com
1548
- Message-ID: <56379683ad0c2_2a0d3fff7dc57be895821@Aarons-iMac.local.mail>
1428
+ To: joe-10@example.com
1429
+ Message-ID: <5637c76be7fcd_3b263fcf84c63bec963e9@Aarons-iMac.local.mail>
1549
1430
  Subject: [PushType] Confirm your account
1550
1431
  Mime-Version: 1.0
1551
1432
  Content-Type: multipart/alternative;
1552
- boundary="--==_mimepart_56379683acba5_2a0d3fff7dc57be895724";
1433
+ boundary="--==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c";
1553
1434
  charset=UTF-8
1554
1435
  Content-Transfer-Encoding: 7bit
1555
1436
 
1556
1437
 
1557
- ----==_mimepart_56379683acba5_2a0d3fff7dc57be895724
1438
+ ----==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c
1558
1439
  Content-Type: text/plain;
1559
1440
  charset=UTF-8
1560
1441
  Content-Transfer-Encoding: 7bit
@@ -1569,10 +1450,10 @@ created for you.
1569
1450
  To get started, confirm your account and set your own password by
1570
1451
  clicking the link below:
1571
1452
 
1572
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=5r-shr8nEwAfCncaNw-9 )
1453
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=z7Jhxm9LMeDb5tnV8VMe )
1573
1454
 
1574
1455
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1575
- ----==_mimepart_56379683acba5_2a0d3fff7dc57be895724
1456
+ ----==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c
1576
1457
  Content-Type: text/html;
1577
1458
  charset=UTF-8
1578
1459
  Content-Transfer-Encoding: 7bit
@@ -1618,7 +1499,7 @@ body {
1618
1499
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1619
1500
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1620
1501
  <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">
1621
- <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=5r-shr8nEwAfCncaNw-9" 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>
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>
1622
1503
  </td>
1623
1504
  </tr>
1624
1505
  </table>
@@ -1663,61 +1544,34 @@ body {
1663
1544
  </body>
1664
1545
  </html>
1665
1546
 
1666
- ----==_mimepart_56379683acba5_2a0d3fff7dc57be895724--
1547
+ ----==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c--
1667
1548
 
1668
- Redirected to /push_type/users
1669
- Completed 302 Found in 34ms (ActiveRecord: 0.4ms)
1670
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1671
-  (0.1ms) ROLLBACK
1672
-  (0.1ms) BEGIN
1673
- -------------------------------------------------------------
1674
- PushType::AuthenticatableTest::trackable: test_0001_anonymous
1675
- -------------------------------------------------------------
1676
-  (0.1ms) SAVEPOINT active_record_1
1677
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1678
-  (0.0ms) SAVEPOINT active_record_1
1679
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1680
-  (0.1ms) ROLLBACK
1681
-  (0.1ms) BEGIN
1682
- ----------------------------------------------------------------
1683
- PushType::AuthenticatableTest::rememberable: test_0001_anonymous
1684
- ----------------------------------------------------------------
1685
-  (0.1ms) SAVEPOINT active_record_1
1686
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1687
-  (0.1ms) SAVEPOINT active_record_1
1688
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1689
-  (0.1ms) ROLLBACK
1690
-  (0.0ms) BEGIN
1691
- ----------------------------------------------------------------------------------------------------
1692
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
1693
- ----------------------------------------------------------------------------------------------------
1694
-  (0.0ms) SAVEPOINT active_record_1
1695
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1696
-  (0.0ms) SAVEPOINT active_record_1
1697
-  (0.0ms) SAVEPOINT active_record_2
1698
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1699
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1700
- 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", "ce68a03d06c03ce3a6895bfe8d50e7b4798d92a13227e1b7b7e7e0a859dcf9b2"]]
1701
- 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-15@example.com"], ["created_at", "2015-11-02 16:59:47.718788"], ["updated_at", "2015-11-02 16:59:47.718788"], ["confirmation_token", "ojUinCQ242dipt2MwAQg"], ["confirmation_sent_at", "2015-11-02 16:59:47.719488"]]
1549
+  (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
1702
1556
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1703
1557
 
1704
1558
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
1705
1559
 
1706
- Sent mail to joe-15@example.com (2.9ms)
1707
- Date: Mon, 02 Nov 2015 16:59:47 +0000
1560
+ Sent mail to joe-10@example.com (2.9ms)
1561
+ Date: Mon, 02 Nov 2015 20:28:27 +0000
1708
1562
  From: pushtype@example.com
1709
1563
  Reply-To: pushtype@example.com
1710
- To: joe-15@example.com
1711
- Message-ID: <56379683b6f29_2a0d3fff7dc57be8961ce@Aarons-iMac.local.mail>
1564
+ To: joe-10@example.com
1565
+ Message-ID: <5637c76bf09a4_3b263fcf84c63bec966f7@Aarons-iMac.local.mail>
1712
1566
  Subject: [PushType] Confirm your account
1713
1567
  Mime-Version: 1.0
1714
1568
  Content-Type: multipart/alternative;
1715
- boundary="--==_mimepart_56379683b69e0_2a0d3fff7dc57be89603";
1569
+ boundary="--==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d";
1716
1570
  charset=UTF-8
1717
1571
  Content-Transfer-Encoding: 7bit
1718
1572
 
1719
1573
 
1720
- ----==_mimepart_56379683b69e0_2a0d3fff7dc57be89603
1574
+ ----==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d
1721
1575
  Content-Type: text/plain;
1722
1576
  charset=UTF-8
1723
1577
  Content-Transfer-Encoding: 7bit
@@ -1732,10 +1586,10 @@ created for you.
1732
1586
  To get started, confirm your account and set your own password by
1733
1587
  clicking the link below:
1734
1588
 
1735
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ojUinCQ242dipt2MwAQg )
1589
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=z7Jhxm9LMeDb5tnV8VMe )
1736
1590
 
1737
1591
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1738
- ----==_mimepart_56379683b69e0_2a0d3fff7dc57be89603
1592
+ ----==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d
1739
1593
  Content-Type: text/html;
1740
1594
  charset=UTF-8
1741
1595
  Content-Transfer-Encoding: 7bit
@@ -1781,7 +1635,7 @@ body {
1781
1635
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1782
1636
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1783
1637
  <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">
1784
- <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=ojUinCQ242dipt2MwAQg" 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>
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>
1785
1639
  </td>
1786
1640
  </tr>
1787
1641
  </table>
@@ -1826,48 +1680,193 @@ body {
1826
1680
  </body>
1827
1681
  </html>
1828
1682
 
1829
- ----==_mimepart_56379683b69e0_2a0d3fff7dc57be89603--
1683
+ ----==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d--
1830
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"]]
1831
1791
   (0.1ms) RELEASE SAVEPOINT active_record_2
1832
- Processing by PushType::ConfirmationsController#show as HTML
1833
- Parameters: {"confirmation_token"=>"ojUinCQ242dipt2MwAQg"}
1834
- 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", "ojUinCQ242dipt2MwAQg"]]
1835
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1836
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (4.0ms)
1837
- Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.1ms)
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)
1838
1801
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1839
1802
   (0.1ms) ROLLBACK
1840
1803
   (0.1ms) BEGIN
1841
- ----------------------------------------------------------------------------------------------------
1842
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
1843
- ----------------------------------------------------------------------------------------------------
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"]]
1814
+  (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"]]
1832
+  (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
+ ----------------------------------------------------------------------------------------
1844
1843
   (0.0ms) SAVEPOINT active_record_1
1845
1844
   (0.0ms) RELEASE SAVEPOINT active_record_1
1846
1845
   (0.0ms) SAVEPOINT active_record_1
1847
1846
   (0.1ms) SAVEPOINT active_record_2
1848
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1849
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1850
- 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", "e784ecd10f1eac49e137a632739fe808b3f3f079a9efce537b16de3d3513531f"]]
1851
- 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-02 16:59:47.764738"], ["updated_at", "2015-11-02 16:59:47.764738"], ["confirmation_token", "cA_MkSjuxxfzeox_nsLX"], ["confirmation_sent_at", "2015-11-02 16:59:47.765460"]]
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"]]
1852
1851
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1853
1852
 
1854
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1853
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1855
1854
 
1856
- Sent mail to joe-16@example.com (3.2ms)
1857
- Date: Mon, 02 Nov 2015 16:59:47 +0000
1855
+ Sent mail to joe-18@example.com (3.2ms)
1856
+ Date: Mon, 02 Nov 2015 20:28:28 +0000
1858
1857
  From: pushtype@example.com
1859
1858
  Reply-To: pushtype@example.com
1860
- To: joe-16@example.com
1861
- Message-ID: <56379683c246e_2a0d3fff7dc57be89648b@Aarons-iMac.local.mail>
1859
+ To: joe-18@example.com
1860
+ Message-ID: <5637c76c1fb29_3b263fcf84c63bec9694c@Aarons-iMac.local.mail>
1862
1861
  Subject: [PushType] Confirm your account
1863
1862
  Mime-Version: 1.0
1864
1863
  Content-Type: multipart/alternative;
1865
- boundary="--==_mimepart_56379683c1e90_2a0d3fff7dc57be8963e6";
1864
+ boundary="--==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7";
1866
1865
  charset=UTF-8
1867
1866
  Content-Transfer-Encoding: 7bit
1868
1867
 
1869
1868
 
1870
- ----==_mimepart_56379683c1e90_2a0d3fff7dc57be8963e6
1869
+ ----==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7
1871
1870
  Content-Type: text/plain;
1872
1871
  charset=UTF-8
1873
1872
  Content-Transfer-Encoding: 7bit
@@ -1882,10 +1881,10 @@ created for you.
1882
1881
  To get started, confirm your account and set your own password by
1883
1882
  clicking the link below:
1884
1883
 
1885
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=cA_MkSjuxxfzeox_nsLX )
1884
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Woe5rN-8KD_p5yxJuAa5 )
1886
1885
 
1887
1886
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1888
- ----==_mimepart_56379683c1e90_2a0d3fff7dc57be8963e6
1887
+ ----==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7
1889
1888
  Content-Type: text/html;
1890
1889
  charset=UTF-8
1891
1890
  Content-Transfer-Encoding: 7bit
@@ -1931,7 +1930,7 @@ body {
1931
1930
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1932
1931
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1933
1932
  <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">
1934
- <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=cA_MkSjuxxfzeox_nsLX" 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>
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>
1935
1934
  </td>
1936
1935
  </tr>
1937
1936
  </table>
@@ -1976,48 +1975,54 @@ body {
1976
1975
  </body>
1977
1976
  </html>
1978
1977
 
1979
- ----==_mimepart_56379683c1e90_2a0d3fff7dc57be8963e6--
1978
+ ----==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7--
1980
1979
 
1981
1980
   (0.1ms) RELEASE SAVEPOINT active_record_2
1982
- Processing by PushType::ConfirmationsController#show as HTML
1983
- Parameters: {"confirmation_token"=>"cA_MkSjuxxfzeox_nsLX"}
1984
- 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", "cA_MkSjuxxfzeox_nsLX"]]
1985
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1986
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
1987
- Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)
1988
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1989
-  (0.1ms) ROLLBACK
1990
-  (0.1ms) BEGIN
1991
- ------------------------------------------------------------------------------------------
1992
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
1993
- ------------------------------------------------------------------------------------------
1994
-  (0.0ms) SAVEPOINT active_record_1
1995
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1996
-  (0.0ms) SAVEPOINT active_record_1
1997
-  (0.0ms) SAVEPOINT active_record_2
1998
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1999
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
2000
- 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", "3aac86f3827e9c45a92337889c7e4bd26e1b33c418977a8c2cddd668ce531f91"]]
2001
- 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-17@example.com"], ["created_at", "2015-11-02 16:59:47.808821"], ["updated_at", "2015-11-02 16:59:47.808821"], ["confirmation_token", "u-k1qMEsyqiFe_1afsd_"], ["confirmation_sent_at", "2015-11-02 16:59:47.809535"]]
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
1988
+  (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"]]
1990
+  (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"]]
2002
2007
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2003
2008
 
2004
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
2009
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
2005
2010
 
2006
- Sent mail to joe-17@example.com (3.0ms)
2007
- Date: Mon, 02 Nov 2015 16:59:47 +0000
2011
+ Sent mail to joe-19@example.com (3.1ms)
2012
+ Date: Mon, 02 Nov 2015 20:28:28 +0000
2008
2013
  From: pushtype@example.com
2009
2014
  Reply-To: pushtype@example.com
2010
- To: joe-17@example.com
2011
- Message-ID: <56379683cd10c_2a0d3fff7dc57be89675f@Aarons-iMac.local.mail>
2015
+ To: joe-19@example.com
2016
+ Message-ID: <5637c76c2aa2b_3b263fcf84c63bec97215@Aarons-iMac.local.mail>
2012
2017
  Subject: [PushType] Confirm your account
2013
2018
  Mime-Version: 1.0
2014
2019
  Content-Type: multipart/alternative;
2015
- boundary="--==_mimepart_56379683ccba5_2a0d3fff7dc57be896625";
2020
+ boundary="--==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187";
2016
2021
  charset=UTF-8
2017
2022
  Content-Transfer-Encoding: 7bit
2018
2023
 
2019
2024
 
2020
- ----==_mimepart_56379683ccba5_2a0d3fff7dc57be896625
2025
+ ----==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187
2021
2026
  Content-Type: text/plain;
2022
2027
  charset=UTF-8
2023
2028
  Content-Transfer-Encoding: 7bit
@@ -2032,10 +2037,10 @@ created for you.
2032
2037
  To get started, confirm your account and set your own password by
2033
2038
  clicking the link below:
2034
2039
 
2035
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=u-k1qMEsyqiFe_1afsd_ )
2040
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_zAj1_psLqz-exVYEvkK )
2036
2041
 
2037
2042
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2038
- ----==_mimepart_56379683ccba5_2a0d3fff7dc57be896625
2043
+ ----==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187
2039
2044
  Content-Type: text/html;
2040
2045
  charset=UTF-8
2041
2046
  Content-Transfer-Encoding: 7bit
@@ -2081,7 +2086,7 @@ body {
2081
2086
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2082
2087
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2083
2088
  <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">
2084
- <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=u-k1qMEsyqiFe_1afsd_" 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>
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>
2085
2090
  </td>
2086
2091
  </tr>
2087
2092
  </table>
@@ -2126,49 +2131,109 @@ body {
2126
2131
  </body>
2127
2132
  </html>
2128
2133
 
2129
- ----==_mimepart_56379683ccba5_2a0d3fff7dc57be896625--
2134
+ ----==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187--
2130
2135
 
2131
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2136
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2132
2137
  Processing by PushType::ConfirmationsController#update as HTML
2133
- Parameters: {"user"=>{"confirmation_token"=>"u-k1qMEsyqiFe_1afsd_", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2134
- 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", "u-k1qMEsyqiFe_1afsd_"]]
2135
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-17@example.com' AND "push_type_users"."id" != 'd5cbdf95-d2bb-47b9-9926-a6695700602b') LIMIT 1
2136
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.2ms)
2137
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.5ms)
2138
- Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.3ms)
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
2141
+  (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
+  (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"]]
2139
2150
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2140
2151
   (0.1ms) ROLLBACK
2141
2152
   (0.1ms) BEGIN
2142
- ------------------------------------------------------------------------------------------
2143
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
2144
- ------------------------------------------------------------------------------------------
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
+ ---------------------------------------------------------------
2145
2165
   (0.0ms) SAVEPOINT active_record_1
2146
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
+ ---------------------------------------------------------------------------
2147
2183
   (0.0ms) SAVEPOINT active_record_1
2148
-  (0.1ms) SAVEPOINT active_record_2
2149
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2150
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2151
- 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", "78ad055cb7274b58e0a33dac119182519c8fcb4748038073d004227b24a00ffb"]]
2152
- 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 16:59:47.854328"], ["updated_at", "2015-11-02 16:59:47.854328"], ["confirmation_token", "CyK1Fht_jHJttZwbXsSw"], ["confirmation_sent_at", "2015-11-02 16:59:47.855177"]]
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"]]
2153
2218
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2154
2219
 
2155
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
2220
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
2156
2221
 
2157
- Sent mail to joe-18@example.com (3.1ms)
2158
- Date: Mon, 02 Nov 2015 16:59:47 +0000
2222
+ Sent mail to joe-20@example.com (3.0ms)
2223
+ Date: Mon, 02 Nov 2015 20:28:28 +0000
2159
2224
  From: pushtype@example.com
2160
2225
  Reply-To: pushtype@example.com
2161
- To: joe-18@example.com
2162
- Message-ID: <56379683d8210_2a0d3fff7dc57be89701d@Aarons-iMac.local.mail>
2226
+ To: joe-20@example.com
2227
+ Message-ID: <5637c76c38866_3b263fcf84c63bec97524@Aarons-iMac.local.mail>
2163
2228
  Subject: [PushType] Confirm your account
2164
2229
  Mime-Version: 1.0
2165
2230
  Content-Type: multipart/alternative;
2166
- boundary="--==_mimepart_56379683d7cd0_2a0d3fff7dc57be89696a";
2231
+ boundary="--==_mimepart_5637c76c38314_3b263fcf84c63bec97427";
2167
2232
  charset=UTF-8
2168
2233
  Content-Transfer-Encoding: 7bit
2169
2234
 
2170
2235
 
2171
- ----==_mimepart_56379683d7cd0_2a0d3fff7dc57be89696a
2236
+ ----==_mimepart_5637c76c38314_3b263fcf84c63bec97427
2172
2237
  Content-Type: text/plain;
2173
2238
  charset=UTF-8
2174
2239
  Content-Transfer-Encoding: 7bit
@@ -2183,10 +2248,10 @@ created for you.
2183
2248
  To get started, confirm your account and set your own password by
2184
2249
  clicking the link below:
2185
2250
 
2186
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=CyK1Fht_jHJttZwbXsSw )
2251
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=75vpx6fuqwdrWdfHwuj- )
2187
2252
 
2188
2253
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2189
- ----==_mimepart_56379683d7cd0_2a0d3fff7dc57be89696a
2254
+ ----==_mimepart_5637c76c38314_3b263fcf84c63bec97427
2190
2255
  Content-Type: text/html;
2191
2256
  charset=UTF-8
2192
2257
  Content-Transfer-Encoding: 7bit
@@ -2232,7 +2297,7 @@ body {
2232
2297
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2233
2298
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2234
2299
  <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">
2235
- <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=CyK1Fht_jHJttZwbXsSw" 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>
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>
2236
2301
  </td>
2237
2302
  </tr>
2238
2303
  </table>
@@ -2277,49 +2342,49 @@ body {
2277
2342
  </body>
2278
2343
  </html>
2279
2344
 
2280
- ----==_mimepart_56379683d7cd0_2a0d3fff7dc57be89696a--
2345
+ ----==_mimepart_5637c76c38314_3b263fcf84c63bec97427--
2281
2346
 
2282
-  (0.2ms) RELEASE SAVEPOINT active_record_2
2347
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2283
2348
  Processing by PushType::ConfirmationsController#update as HTML
2284
- Parameters: {"user"=>{"confirmation_token"=>"CyK1Fht_jHJttZwbXsSw", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2285
- 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", "CyK1Fht_jHJttZwbXsSw"]]
2286
- 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" != '64531310-dadd-446e-ad3f-2071e30feba5') LIMIT 1
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
2287
2352
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2288
2353
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
2289
- Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.4ms)
2290
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2354
+ Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.4ms)
2355
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2291
2356
   (0.1ms) ROLLBACK
2292
2357
   (0.1ms) BEGIN
2293
2358
  ------------------------------------------------------------------------------------------
2294
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
2359
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
2295
2360
  ------------------------------------------------------------------------------------------
2296
-  (0.0ms) SAVEPOINT active_record_1
2361
+  (0.1ms) SAVEPOINT active_record_1
2297
2362
   (0.0ms) RELEASE SAVEPOINT active_record_1
2298
2363
   (0.0ms) SAVEPOINT active_record_1
2299
-  (0.0ms) SAVEPOINT active_record_2
2300
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2301
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2302
- 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", "d58b82a4f864c03395dcad3aa4ac41e8adc4e64574ef4843368f13ac25ad018a"]]
2303
- 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-19@example.com"], ["created_at", "2015-11-02 16:59:47.899050"], ["updated_at", "2015-11-02 16:59:47.899050"], ["confirmation_token", "vz5UMsm3ec8WsdMVyrMC"], ["confirmation_sent_at", "2015-11-02 16:59:47.899747"]]
2304
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2364
+  (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)
2305
2370
 
2306
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
2371
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2307
2372
 
2308
- Sent mail to joe-19@example.com (3.1ms)
2309
- Date: Mon, 02 Nov 2015 16:59:47 +0000
2373
+ Sent mail to joe-21@example.com (3.2ms)
2374
+ Date: Mon, 02 Nov 2015 20:28:28 +0000
2310
2375
  From: pushtype@example.com
2311
2376
  Reply-To: pushtype@example.com
2312
- To: joe-19@example.com
2313
- Message-ID: <56379683e3171_2a0d3fff7dc57be89732@Aarons-iMac.local.mail>
2377
+ To: joe-21@example.com
2378
+ Message-ID: <5637c76c43d21_3b263fcf84c63bec978da@Aarons-iMac.local.mail>
2314
2379
  Subject: [PushType] Confirm your account
2315
2380
  Mime-Version: 1.0
2316
2381
  Content-Type: multipart/alternative;
2317
- boundary="--==_mimepart_56379683e2bdb_2a0d3fff7dc57be8972f";
2382
+ boundary="--==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b";
2318
2383
  charset=UTF-8
2319
2384
  Content-Transfer-Encoding: 7bit
2320
2385
 
2321
2386
 
2322
- ----==_mimepart_56379683e2bdb_2a0d3fff7dc57be8972f
2387
+ ----==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b
2323
2388
  Content-Type: text/plain;
2324
2389
  charset=UTF-8
2325
2390
  Content-Transfer-Encoding: 7bit
@@ -2334,10 +2399,10 @@ created for you.
2334
2399
  To get started, confirm your account and set your own password by
2335
2400
  clicking the link below:
2336
2401
 
2337
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=vz5UMsm3ec8WsdMVyrMC )
2402
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=PoVPfv_nFrZWCh9JrJAT )
2338
2403
 
2339
2404
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2340
- ----==_mimepart_56379683e2bdb_2a0d3fff7dc57be8972f
2405
+ ----==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b
2341
2406
  Content-Type: text/html;
2342
2407
  charset=UTF-8
2343
2408
  Content-Transfer-Encoding: 7bit
@@ -2383,7 +2448,7 @@ body {
2383
2448
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2384
2449
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2385
2450
  <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">
2386
- <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=vz5UMsm3ec8WsdMVyrMC" 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>
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>
2387
2452
  </td>
2388
2453
  </tr>
2389
2454
  </table>
@@ -2428,121 +2493,49 @@ body {
2428
2493
  </body>
2429
2494
  </html>
2430
2495
 
2431
- ----==_mimepart_56379683e2bdb_2a0d3fff7dc57be8972f--
2496
+ ----==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b--
2432
2497
 
2433
2498
   (0.1ms) RELEASE SAVEPOINT active_record_2
2434
2499
  Processing by PushType::ConfirmationsController#update as HTML
2435
- Parameters: {"user"=>{"confirmation_token"=>"vz5UMsm3ec8WsdMVyrMC", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2436
- 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", "vz5UMsm3ec8WsdMVyrMC"]]
2437
- 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" != 'e05082cc-915e-4714-ac0b-eb4d4ff0c064') LIMIT 1
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
2438
2503
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2439
2504
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
2440
- Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.4ms)
2441
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2442
-  (0.1ms) ROLLBACK
2443
-  (0.1ms) BEGIN
2444
- ---------------------------------------------------------------
2445
- PushType::AuthenticatableTest::validatable: test_0001_anonymous
2446
- ---------------------------------------------------------------
2447
-  (0.1ms) SAVEPOINT active_record_1
2448
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2449
-  (0.1ms) SAVEPOINT active_record_1
2450
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2451
-  (0.1ms) ROLLBACK
2452
-  (0.1ms) BEGIN
2453
- ---------------------------------------------------------------
2454
- PushType::AuthenticatableTest::validatable: test_0002_anonymous
2455
- ---------------------------------------------------------------
2456
-  (0.0ms) SAVEPOINT active_record_1
2457
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2458
-  (0.0ms) SAVEPOINT active_record_1
2459
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2460
-  (0.0ms) ROLLBACK
2461
-  (0.1ms) BEGIN
2462
- ---------------------------------------------------------------
2463
- PushType::AuthenticatableTest::confirmable: test_0001_anonymous
2464
- ---------------------------------------------------------------
2465
-  (0.0ms) SAVEPOINT active_record_1
2466
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2467
-  (0.1ms) SAVEPOINT active_record_1
2468
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2469
-  (0.0ms) ROLLBACK
2470
-  (0.1ms) BEGIN
2471
- ----------------------------------------------------------------
2472
- PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
2473
- ----------------------------------------------------------------
2474
-  (0.1ms) SAVEPOINT active_record_1
2475
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2476
-  (0.1ms) SAVEPOINT active_record_1
2477
-  (0.1ms) SAVEPOINT active_record_2
2478
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2479
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2480
- 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-20@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.949035"], ["confirmed_at", "2015-11-02 16:59:47.949099"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.950635"], ["updated_at", "2015-11-02 16:59:47.950635"]]
2481
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2482
- Processing by PushType::ProfilesController#edit as HTML
2483
- 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", "aac3c4d8-c707-4eae-9de4-4e8114ce68ee"]]
2484
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
2485
- Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
2486
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2487
-  (0.1ms) ROLLBACK
2488
-  (0.1ms) BEGIN
2489
- ----------------------------------------------------------------
2490
- PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
2491
- ----------------------------------------------------------------
2492
-  (0.1ms) SAVEPOINT active_record_1
2493
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2494
-  (0.0ms) SAVEPOINT active_record_1
2495
-  (0.1ms) SAVEPOINT active_record_2
2496
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2497
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2498
- 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-02 16:59:47.961943"], ["confirmed_at", "2015-11-02 16:59:47.961999"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.963422"], ["updated_at", "2015-11-02 16:59:47.963422"]]
2499
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2500
- Processing by PushType::ProfilesController#edit as HTML
2501
- 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", "de462119-10f5-4edf-875f-4625bf3126ee"]]
2502
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
2503
- Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.1ms)
2505
+ Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.4ms)
2504
2506
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2505
2507
   (0.1ms) ROLLBACK
2506
2508
   (0.1ms) BEGIN
2507
- --------------------------------------------------------------------------------------
2508
- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
2509
- --------------------------------------------------------------------------------------
2510
-  (0.0ms) SAVEPOINT active_record_1
2511
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2512
-  (0.0ms) SAVEPOINT active_record_1
2513
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2514
-  (0.0ms) ROLLBACK
2515
-  (0.0ms) BEGIN
2516
- --------------------------------------------------------------------------------------------------------------
2517
- PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
2518
- --------------------------------------------------------------------------------------------------------------
2509
+ ------------------------------------------------------------------------------------------
2510
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
2511
+ ------------------------------------------------------------------------------------------
2519
2512
   (0.0ms) SAVEPOINT active_record_1
2520
2513
   (0.0ms) RELEASE SAVEPOINT active_record_1
2521
2514
   (0.0ms) SAVEPOINT active_record_1
2522
2515
   (0.0ms) SAVEPOINT active_record_2
2523
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
2524
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2525
- 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", "1359b6467d0884978efd9841d59c7aea59347bc728a2e93aa432838df6843ab5"]]
2526
- 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 16:59:47.977265"], ["updated_at", "2015-11-02 16:59:47.977265"], ["confirmation_token", "e5bxG2Jmvx_chNsquZSu"], ["confirmation_sent_at", "2015-11-02 16:59:47.978035"]]
2527
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
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)
2528
2521
 
2529
2522
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2530
2523
 
2531
- Sent mail to joe-22@example.com (3.2ms)
2532
- Date: Mon, 02 Nov 2015 16:59:48 +0000
2524
+ Sent mail to joe-22@example.com (2.9ms)
2525
+ Date: Mon, 02 Nov 2015 20:28:28 +0000
2533
2526
  From: pushtype@example.com
2534
2527
  Reply-To: pushtype@example.com
2535
2528
  To: joe-22@example.com
2536
- Message-ID: <56379684271d_2a0d3fff7dc57be8976c1@Aarons-iMac.local.mail>
2529
+ Message-ID: <5637c76c4eeee_3b263fcf84c63bec981d0@Aarons-iMac.local.mail>
2537
2530
  Subject: [PushType] Confirm your account
2538
2531
  Mime-Version: 1.0
2539
2532
  Content-Type: multipart/alternative;
2540
- boundary="--==_mimepart_563796842185_2a0d3fff7dc57be89756a";
2533
+ boundary="--==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce";
2541
2534
  charset=UTF-8
2542
2535
  Content-Transfer-Encoding: 7bit
2543
2536
 
2544
2537
 
2545
- ----==_mimepart_563796842185_2a0d3fff7dc57be89756a
2538
+ ----==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce
2546
2539
  Content-Type: text/plain;
2547
2540
  charset=UTF-8
2548
2541
  Content-Transfer-Encoding: 7bit
@@ -2557,10 +2550,10 @@ created for you.
2557
2550
  To get started, confirm your account and set your own password by
2558
2551
  clicking the link below:
2559
2552
 
2560
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=e5bxG2Jmvx_chNsquZSu )
2553
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=aSJEQsv4yhmuAWx1KN9_ )
2561
2554
 
2562
2555
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2563
- ----==_mimepart_563796842185_2a0d3fff7dc57be89756a
2556
+ ----==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce
2564
2557
  Content-Type: text/html;
2565
2558
  charset=UTF-8
2566
2559
  Content-Transfer-Encoding: 7bit
@@ -2606,7 +2599,7 @@ body {
2606
2599
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2607
2600
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2608
2601
  <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">
2609
- <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=e5bxG2Jmvx_chNsquZSu" 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>
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>
2610
2603
  </td>
2611
2604
  </tr>
2612
2605
  </table>
@@ -2651,8 +2644,15 @@ body {
2651
2644
  </body>
2652
2645
  </html>
2653
2646
 
2654
- ----==_mimepart_563796842185_2a0d3fff7dc57be89756a--
2647
+ ----==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce--
2655
2648
 
2656
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
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/show.html.haml within layouts/push_type/auth (1.6ms)
2656
+ Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.4ms)
2657
2657
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2658
2658
   (0.1ms) ROLLBACK