push_type_auth 0.8.0.beta.2 → 0.8.0.beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/test/dummy/config/initializers/push_type.rb +1 -1
  3. data/test/dummy/config/secrets.yml +2 -2
  4. data/test/dummy/db/migrate/{20160215150646_create_push_type_users.push_type.rb → 20160219134027_create_push_type_users.push_type.rb} +0 -0
  5. data/test/dummy/db/migrate/{20160215150647_create_push_type_nodes.push_type.rb → 20160219134028_create_push_type_nodes.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20160215150648_create_push_type_node_hierarchies.push_type.rb → 20160219134029_create_push_type_node_hierarchies.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20160215150649_create_push_type_assets.push_type.rb → 20160219134030_create_push_type_assets.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20160215150650_add_field_store_default_values.push_type.rb → 20160219134031_add_field_store_default_values.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20160215150651_drop_legacy_push_type_taxonomies.push_type.rb → 20160219134032_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20160215150652_devise_extend_push_type_users.push_type_auth.rb → 20160219134033_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  11. data/test/dummy/db/schema.rb +1 -1
  12. data/test/dummy/log/test.log +695 -695
  13. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2AXrgoMJuqdqpJzlvQ6P6VSwwXhYUUfF_LtPGnN1K5Y.cache +1 -0
  14. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{BVOrUX08Cn-x5Hpf0P8VpDaOzbQbvO1eCBO5YqH3694.cache → B3AbwJ4hZOeWaRnuyZR-m0i2ccirs4aZHNSH4__7GBM.cache} +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IO7ECUDxZfBwB7AOkEeEn1mE2pSd8EQCm4LXqxtin7Y.cache +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{aCaQYd3pf59l_IpTAui4u-pPqF-B_ArbuBcQGeVl9sk.cache → LzpQAN4M1_g4aOLgSnrmWbQmUhDRNQjqs-hMnWrrF4A.cache} +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{p8qBzBGmtwLX0h7Uvc2wwg2UWn1dEMZANLEY_RTVISY.cache → N5VR6tztt75gv0pFFNrPYhQtcNl3zHJ0kzsjgplLIas.cache} +1 -1
  18. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/OQhY_BVQRdv31fTpuWRAbujd1K0_jQ3JyjsFUCX1t0E.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pr6xbIHRK4M9BEXD_PaCGOr2l8EuPhQpHumHkv6uypQ.cache +0 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/U8zCXxUjRIhXiH_CGwPR_-ZkD7dRElkK9dBDgucU5GY.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{wQYAEbHjVdDpu679MCzdEJygi2xr7dTvqXs03raEdYI.cache → Vqc7xE26DMtonn-L6pEWgtq9c5cS3DmxLEeUPSXBazQ.cache} +1 -1
  22. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{dMQ64p_vMV2oC_4nIWJd4nxk_jDUGuhcoVIELXQQPA8.cache → WXucoZj7gGGhoom6WrT1um6ZL4v8V_Q-_jJJOi49aJA.cache} +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WcXzxAi7RqNUiQ5s0bvbIn3qv5ZUruKMTpKOoQ9ietk.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{R2NzOIXfXWhmK4Ase5Jn4UOMquEGC9pKCYRK8nbQydc.cache → YSkH9Kan976ELOfYu7bK_kA3M0ESjHlPUrlcmUuHHnQ.cache} +1 -1
  25. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uquHYO67o4GaCroPKazscIdBCvlpC2XGkQUf7qgHOMc.cache +0 -0
  26. metadata +40 -40
  27. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6tKB6qnPaIvmB9w5BH4E9Wl6yPCC3Hrhf-JATqLD2CU.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QHVOsGqa5eVyXVl3Je-KMQ_RzacIg5GYPTEY3xhZIwE.cache +0 -2
  29. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ZFq-AJgBiFxa3a1AvDYIH7TlZzRUXCBjKh5XFRaUCFw.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fX719A72YIlhqOeoAaFIsdRMhwIa6hQJweKL797xdG4.cache +0 -0
@@ -1,65 +1,65 @@
1
-  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
3
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreatePushTypeUsers (20160215150646)
4
+ Migrating to CreatePushTypeUsers (20160219134027)
5
5
   (0.1ms) BEGIN
6
- SQL (1.7ms) 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", "20160215150646"]]
9
-  (0.7ms) COMMIT
10
- Migrating to CreatePushTypeNodes (20160215150647)
6
+ SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
+  (2.4ms) 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", "20160219134027"]]
9
+  (0.6ms) COMMIT
10
+ Migrating to CreatePushTypeNodes (20160219134028)
11
11
   (0.1ms) BEGIN
12
-  (1.9ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
13
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160215150647"]]
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", "20160219134028"]]
14
14
   (0.4ms) COMMIT
15
- Migrating to CreatePushTypeNodeHierarchies (20160215150648)
15
+ Migrating to CreatePushTypeNodeHierarchies (20160219134029)
16
16
   (0.1ms) BEGIN
17
17
   (0.4ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
18
-  (0.6ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
18
+  (0.7ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
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", "20160215150648"]]
20
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134029"]]
21
21
   (0.4ms) COMMIT
22
- Migrating to CreatePushTypeAssets (20160215150649)
22
+ Migrating to CreatePushTypeAssets (20160219134030)
23
23
   (0.1ms) BEGIN
24
-  (1.7ms) 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", "20160215150649"]]
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", "20160219134030"]]
26
26
   (0.4ms) COMMIT
27
- Migrating to AddFieldStoreDefaultValues (20160215150650)
27
+ Migrating to AddFieldStoreDefaultValues (20160219134031)
28
28
   (0.1ms) BEGIN
29
-  (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
29
+  (0.3ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
30
30
   (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
31
-  (0.3ms) UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL
32
-  (0.2ms) ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
31
+  (0.2ms) UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL
32
+  (0.5ms) ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
33
33
   (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb
34
-  (0.1ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
34
+  (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
35
35
   (0.2ms) UPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL
36
36
   (0.1ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
37
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160215150650"]]
38
-  (0.4ms) COMMIT
39
- Migrating to DropLegacyPushTypeTaxonomies (20160215150651)
37
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134031"]]
38
+  (0.5ms) COMMIT
39
+ Migrating to DropLegacyPushTypeTaxonomies (20160219134032)
40
40
   (0.1ms) BEGIN
41
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160215150651"]]
42
-  (0.3ms) COMMIT
43
- Migrating to DeviseExtendPushTypeUsers (20160215150652)
41
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134032"]]
42
+  (0.4ms) COMMIT
43
+ Migrating to DeviseExtendPushTypeUsers (20160219134033)
44
44
   (0.1ms) BEGIN
45
-  (2.6ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
45
+  (2.9ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
46
46
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
47
47
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
48
48
   (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
49
-  (3.4ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
49
+  (2.9ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
50
50
   (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
51
-  (0.2ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
51
+  (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
52
52
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
53
53
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
54
54
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
55
55
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
56
56
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
57
-  (0.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
58
-  (0.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
59
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160215150652"]]
60
-  (1.0ms) COMMIT
57
+  (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
58
+  (0.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
59
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134033"]]
60
+  (0.9ms) COMMIT
61
61
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
-  (1.8ms) 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
62
+  (2.0ms) 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
63
63
  FROM pg_constraint c
64
64
  JOIN pg_class t1 ON c.conrelid = t1.oid
65
65
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -107,108 +107,119 @@ WHERE c.contype = 'f'
107
107
  AND t3.nspname = ANY (current_schemas(false))
108
108
  ORDER BY c.conname
109
109
 
110
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
110
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
111
111
   (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_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
112
-  (0.9ms)  SELECT schemaname || '.' || tablename
112
+  (1.0ms)  SELECT schemaname || '.' || tablename
113
113
  FROM pg_tables
114
114
  WHERE
115
115
  tablename !~ '_prt_' AND
116
116
  tablename <> 'schema_migrations' AND
117
117
  schemaname = ANY (current_schemas(false))
118
118
  
119
-  (1.0ms) select table_name from information_schema.views where table_schema = 'dummy_test'
120
-  (7.5ms) TRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
121
-  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" 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
119
+  (1.1ms) select table_name from information_schema.views where table_schema = 'dummy_test'
120
+  (7.0ms) TRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
121
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" 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
122
122
   (0.1ms) BEGIN
123
- -------------------------------------------------------------------------------------
124
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
125
- -------------------------------------------------------------------------------------
123
+ -----------------------------------------------------------------------------------
124
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
125
+ -----------------------------------------------------------------------------------
126
126
   (0.1ms) SAVEPOINT active_record_1
127
127
   (0.1ms) RELEASE SAVEPOINT active_record_1
128
128
   (0.1ms) SAVEPOINT active_record_1
129
-  (0.1ms) SAVEPOINT active_record_2
130
- PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
131
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
132
- 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", "2016-02-15 15:06:51.375836"], ["confirmed_at", "2016-02-15 15:06:51.375909"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:06:51.386552"], ["updated_at", "2016-02-15 15:06:51.386552"]]
129
+  (0.2ms) SAVEPOINT active_record_2
130
+ PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
131
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
132
+ 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", "2016-02-19 13:40:33.172145"], ["confirmed_at", "2016-02-19 13:40:33.172228"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:33.182369"], ["updated_at", "2016-02-19 13:40:33.182369"]]
133
133
   (0.1ms) RELEASE SAVEPOINT active_record_2
134
134
  Processing by PushType::ProfilesController#update as HTML
135
- Parameters: {"user"=>{"name"=>""}}
136
- 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", "29aae61a-8be0-492a-8724-8910a9de6a62"]]
135
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
136
+ 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", "32ce66b2-4af1-4fae-b94d-1cab567e8b3b"]]
137
137
   (0.1ms) SAVEPOINT active_record_2
138
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != '29aae61a-8be0-492a-8724-8910a9de6a62') LIMIT 1
139
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
140
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (10.0ms)
141
- DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.1.4@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
142
- in a future version of Sass. To preserve the current behavior, use quotes:
143
-
144
- unquote("#{lower-bound($medium-range)}")
145
-
146
-
147
- Completed 200 OK in 9901ms (Views: 9883.8ms | ActiveRecord: 0.9ms)
148
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
149
-  (0.2ms) ROLLBACK
150
-  (0.1ms) BEGIN
151
- -------------------------------------------------------------------------------------
152
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
153
- -------------------------------------------------------------------------------------
154
-  (0.1ms) SAVEPOINT active_record_1
155
-  (0.1ms) RELEASE SAVEPOINT active_record_1
156
-  (0.1ms) SAVEPOINT active_record_1
157
-  (0.1ms) SAVEPOINT active_record_2
158
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
159
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
160
- 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", "2016-02-15 15:07:01.296643"], ["confirmed_at", "2016-02-15 15:07:01.296734"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.298450"], ["updated_at", "2016-02-15 15:07:01.298450"]]
138
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != '32ce66b2-4af1-4fae-b94d-1cab567e8b3b') LIMIT 1
139
+ 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", "2016-02-19 13:40:33.201957"], ["id", "32ce66b2-4af1-4fae-b94d-1cab567e8b3b"]]
161
140
   (0.1ms) RELEASE SAVEPOINT active_record_2
162
- Processing by PushType::ProfilesController#update as HTML
163
- Parameters: {"user"=>{"name"=>""}}
164
- 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", "3341bea7-208d-4ce6-9c57-487a462d3bb0"]]
165
-  (0.1ms) SAVEPOINT active_record_2
166
- 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" != '3341bea7-208d-4ce6-9c57-487a462d3bb0') LIMIT 1
167
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
168
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
169
- Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.6ms)
141
+ Redirected to http://test.host/push_type/profile/edit
142
+ Completed 302 Found in 16ms (ActiveRecord: 1.0ms)
170
143
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
171
144
   (0.1ms) ROLLBACK
172
145
   (0.1ms) BEGIN
173
- -------------------------------------------------------------
174
- PushType::AuthenticatableTest::trackable: test_0001_anonymous
175
- -------------------------------------------------------------
146
+ -----------------------------------------------------------------------------------
147
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
148
+ -----------------------------------------------------------------------------------
176
149
   (0.1ms) SAVEPOINT active_record_1
177
-  (0.1ms) RELEASE SAVEPOINT active_record_1
150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
178
151
   (0.0ms) SAVEPOINT active_record_1
152
+  (0.1ms) SAVEPOINT active_record_2
153
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
154
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
155
+ 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-2@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:33.206313"], ["confirmed_at", "2016-02-19 13:40:33.206365"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:33.207751"], ["updated_at", "2016-02-19 13:40:33.207751"]]
156
+  (0.1ms) RELEASE SAVEPOINT active_record_2
157
+ Processing by PushType::ProfilesController#update as HTML
158
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
159
+ 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", "fbab6e40-bfb7-4026-a9e7-2ca12828a151"]]
160
+  (0.1ms) SAVEPOINT active_record_2
161
+ 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" != 'fbab6e40-bfb7-4026-a9e7-2ca12828a151') LIMIT 1
162
+ 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", "2016-02-19 13:40:33.212447"], ["id", "fbab6e40-bfb7-4026-a9e7-2ca12828a151"]]
163
+  (0.1ms) RELEASE SAVEPOINT active_record_2
164
+ Redirected to http://test.host/push_type/profile/edit
165
+ Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
179
166
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
180
167
   (0.1ms) ROLLBACK
181
-  (0.0ms) BEGIN
182
- ----------------------------------------------------------------------------------------------------
183
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
184
- ----------------------------------------------------------------------------------------------------
185
-  (0.1ms) SAVEPOINT active_record_1
186
-  (0.1ms) RELEASE SAVEPOINT active_record_1
187
-  (0.1ms) SAVEPOINT active_record_1
168
+  (0.1ms) BEGIN
169
+ -----------------------------------------------------------------------------------
170
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
171
+ -----------------------------------------------------------------------------------
172
+  (0.0ms) SAVEPOINT active_record_1
173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
174
+  (0.0ms) SAVEPOINT active_record_1
188
175
   (0.1ms) SAVEPOINT active_record_2
189
176
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
190
177
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
191
- 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", "e97fa8873d073a5783a95da5f0fc77b9e8ccc8c7c9b6af840c3b912a1ab58bda"]]
192
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", "2016-02-15 15:07:01.322538"], ["updated_at", "2016-02-15 15:07:01.322538"], ["confirmation_token", "dL37q1sV1VBQY-EiaFGe"], ["confirmation_sent_at", "2016-02-15 15:07:01.480943"]]
193
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
178
+ 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", "2016-02-19 13:40:33.215700"], ["confirmed_at", "2016-02-19 13:40:33.215749"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:33.217159"], ["updated_at", "2016-02-19 13:40:33.217159"]]
179
+  (0.1ms) RELEASE SAVEPOINT active_record_2
180
+ Processing by PushType::ProfilesController#update as HTML
181
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
182
+ 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", "079c18d9-d80e-4056-b23c-b69785927b5f"]]
183
+  (0.1ms) SAVEPOINT active_record_2
184
+ 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" != '079c18d9-d80e-4056-b23c-b69785927b5f') LIMIT 1
185
+ 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", "2016-02-19 13:40:33.221545"], ["id", "079c18d9-d80e-4056-b23c-b69785927b5f"]]
186
+  (0.1ms) RELEASE SAVEPOINT active_record_2
187
+ Redirected to http://test.host/push_type/profile/edit
188
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
189
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "079c18d9-d80e-4056-b23c-b69785927b5f"]]
190
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
191
+  (0.1ms) ROLLBACK
192
+  (0.0ms) BEGIN
193
+ ----------------------------------------------------------------------------------------------------
194
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
195
+ ----------------------------------------------------------------------------------------------------
196
+  (0.1ms) SAVEPOINT active_record_1
197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
198
+  (0.1ms) SAVEPOINT active_record_1
199
+  (0.1ms) SAVEPOINT active_record_2
200
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
201
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
202
+ 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", "f45bde298d5b4648942f3a2c57019f67572fd1e6e9a2553b3d1a4ffc771271e1"]]
203
+ 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", "2016-02-19 13:40:33.232318"], ["updated_at", "2016-02-19 13:40:33.232318"], ["confirmation_token", "VyzAYqsstXB4sPMpqJBf"], ["confirmation_sent_at", "2016-02-19 13:40:33.399829"]]
204
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.3ms)
194
205
 
195
- Devise::Mailer#confirmation_instructions: processed outbound mail in 110.0ms
206
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 278.6ms
196
207
 
197
- Sent mail to joe-3@example.com (6.4ms)
198
- Date: Mon, 15 Feb 2016 15:07:01 +0000
208
+ Sent mail to joe-4@example.com (9.7ms)
209
+ Date: Fri, 19 Feb 2016 13:40:33 +0000
199
210
  From: pushtype@example.com
200
211
  Reply-To: pushtype@example.com
201
- To: joe-3@example.com
202
- Message-ID: <56c1e99599d39_40ab3fd7acc63be49703c@Aarons-iMac.local.mail>
212
+ To: joe-4@example.com
213
+ Message-ID: <56c71b51bc877_1c1f3ff851863bf049844@Aarons-iMac.local.mail>
203
214
  Subject: [PushType] Confirm your account
204
215
  Mime-Version: 1.0
205
216
  Content-Type: multipart/alternative;
206
- boundary="--==_mimepart_56c1e99598eda_40ab3fd7acc63be49693";
217
+ boundary="--==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786";
207
218
  charset=UTF-8
208
219
  Content-Transfer-Encoding: 7bit
209
220
 
210
221
 
211
- ----==_mimepart_56c1e99598eda_40ab3fd7acc63be49693
222
+ ----==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786
212
223
  Content-Type: text/plain;
213
224
  charset=UTF-8
214
225
  Content-Transfer-Encoding: 7bit
@@ -223,10 +234,10 @@ created for you.
223
234
  To get started, confirm your account and set your own password by
224
235
  clicking the link below:
225
236
 
226
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=dL37q1sV1VBQY-EiaFGe )
237
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=VyzAYqsstXB4sPMpqJBf )
227
238
 
228
239
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
229
- ----==_mimepart_56c1e99598eda_40ab3fd7acc63be49693
240
+ ----==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786
230
241
  Content-Type: text/html;
231
242
  charset=UTF-8
232
243
  Content-Transfer-Encoding: 7bit
@@ -272,7 +283,7 @@ body {
272
283
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
273
284
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
274
285
  <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">
275
- <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=dL37q1sV1VBQY-EiaFGe" 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>
286
+ <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=VyzAYqsstXB4sPMpqJBf" 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
287
  </td>
277
288
  </tr>
278
289
  </table>
@@ -317,48 +328,54 @@ body {
317
328
  </body>
318
329
  </html>
319
330
 
320
- ----==_mimepart_56c1e99598eda_40ab3fd7acc63be49693--
331
+ ----==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786--
321
332
 
322
-  (0.1ms) RELEASE SAVEPOINT active_record_2
333
+  (0.1ms) RELEASE SAVEPOINT active_record_2
323
334
  Processing by PushType::ConfirmationsController#show as HTML
324
- Parameters: {"confirmation_token"=>"dL37q1sV1VBQY-EiaFGe"}
325
- 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", "dL37q1sV1VBQY-EiaFGe"]]
326
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.9ms)
327
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (6.4ms)
328
- Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.2ms)
329
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
330
-  (0.1ms) ROLLBACK
331
-  (0.1ms) BEGIN
335
+ Parameters: {"confirmation_token"=>"VyzAYqsstXB4sPMpqJBf"}
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", "VyzAYqsstXB4sPMpqJBf"]]
337
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
338
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (10.3ms)
339
+ DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.1.4@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
340
+ in a future version of Sass. To preserve the current behavior, use quotes:
341
+
342
+ unquote("#{lower-bound($medium-range)}")
343
+
344
+
345
+ Completed 200 OK in 9700ms (Views: 9698.7ms | ActiveRecord: 0.2ms)
346
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347
+  (0.2ms) ROLLBACK
348
+  (0.1ms) BEGIN
332
349
  ----------------------------------------------------------------------------------------------------
333
350
  PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
334
351
  ----------------------------------------------------------------------------------------------------
335
-  (0.0ms) SAVEPOINT active_record_1
336
-  (0.0ms) RELEASE SAVEPOINT active_record_1
337
-  (0.0ms) SAVEPOINT active_record_1
338
-  (0.1ms) SAVEPOINT active_record_2
339
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
340
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
341
- 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", "3452f6406e3fd40f8358c92f484ba1d4b20f3c5ad53dfef097c710d23774219a"]]
342
- 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", "2016-02-15 15:07:01.651408"], ["updated_at", "2016-02-15 15:07:01.651408"], ["confirmation_token", "Qeyvkqr_W6skkPgbVsvT"], ["confirmation_sent_at", "2016-02-15 15:07:01.652202"]]
343
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
352
+  (0.0ms) SAVEPOINT active_record_1
353
+  (0.0ms) RELEASE SAVEPOINT active_record_1
354
+  (0.0ms) SAVEPOINT active_record_1
355
+  (0.1ms) SAVEPOINT active_record_2
356
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
357
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
358
+ 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", "d4be9fc063b378f3944c2fc9031258599bf0dafa1a4ea03e74db903212b36e35"]]
359
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", "2016-02-19 13:40:43.482225"], ["updated_at", "2016-02-19 13:40:43.482225"], ["confirmation_token", "cBNP6bM1NFE26EMEF7yg"], ["confirmation_sent_at", "2016-02-19 13:40:43.483117"]]
360
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
344
361
 
345
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
362
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
346
363
 
347
- Sent mail to joe-4@example.com (3.0ms)
348
- Date: Mon, 15 Feb 2016 15:07:01 +0000
364
+ Sent mail to joe-5@example.com (3.3ms)
365
+ Date: Fri, 19 Feb 2016 13:40:43 +0000
349
366
  From: pushtype@example.com
350
367
  Reply-To: pushtype@example.com
351
- To: joe-4@example.com
352
- Message-ID: <56c1e995a6bd3_40ab3fd7acc63be4973bb@Aarons-iMac.local.mail>
368
+ To: joe-5@example.com
369
+ Message-ID: <56c71b5b7e40a_1c1f3ff851863bf0501c2@Aarons-iMac.local.mail>
353
370
  Subject: [PushType] Confirm your account
354
371
  Mime-Version: 1.0
355
372
  Content-Type: multipart/alternative;
356
- boundary="--==_mimepart_56c1e995a6683_40ab3fd7acc63be49722b";
373
+ boundary="--==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036";
357
374
  charset=UTF-8
358
375
  Content-Transfer-Encoding: 7bit
359
376
 
360
377
 
361
- ----==_mimepart_56c1e995a6683_40ab3fd7acc63be49722b
378
+ ----==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036
362
379
  Content-Type: text/plain;
363
380
  charset=UTF-8
364
381
  Content-Transfer-Encoding: 7bit
@@ -373,10 +390,10 @@ created for you.
373
390
  To get started, confirm your account and set your own password by
374
391
  clicking the link below:
375
392
 
376
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Qeyvkqr_W6skkPgbVsvT )
393
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=cBNP6bM1NFE26EMEF7yg )
377
394
 
378
395
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
379
- ----==_mimepart_56c1e995a6683_40ab3fd7acc63be49722b
396
+ ----==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036
380
397
  Content-Type: text/html;
381
398
  charset=UTF-8
382
399
  Content-Transfer-Encoding: 7bit
@@ -422,7 +439,7 @@ body {
422
439
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
423
440
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
424
441
  <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">
425
- <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=Qeyvkqr_W6skkPgbVsvT" 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>
442
+ <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=cBNP6bM1NFE26EMEF7yg" 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>
426
443
  </td>
427
444
  </tr>
428
445
  </table>
@@ -467,226 +484,101 @@ body {
467
484
  </body>
468
485
  </html>
469
486
 
470
- ----==_mimepart_56c1e995a6683_40ab3fd7acc63be49722b--
487
+ ----==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036--
471
488
 
472
-  (0.1ms) RELEASE SAVEPOINT active_record_2
473
- Processing by PushType::ConfirmationsController#show as HTML
474
- Parameters: {"confirmation_token"=>"Qeyvkqr_W6skkPgbVsvT"}
475
- 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", "Qeyvkqr_W6skkPgbVsvT"]]
476
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
477
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
478
- Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms)
479
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
480
-  (0.1ms) ROLLBACK
481
-  (0.1ms) BEGIN
482
- ----------------------------------------------------------------
483
- PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
484
- ----------------------------------------------------------------
485
-  (0.1ms) SAVEPOINT active_record_1
486
-  (0.1ms) RELEASE SAVEPOINT active_record_1
487
-  (0.0ms) SAVEPOINT active_record_1
488
-  (0.1ms) SAVEPOINT active_record_2
489
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
490
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
491
- 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-5@example.com"], ["confirmation_sent_at", "2016-02-15 15:07:01.695331"], ["confirmed_at", "2016-02-15 15:07:01.695388"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.696753"], ["updated_at", "2016-02-15 15:07:01.696753"]]
492
-  (0.1ms) RELEASE SAVEPOINT active_record_2
493
- Processing by PushType::ProfilesController#edit as HTML
494
- 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", "a7939294-d697-4442-8925-57ef4956c029"]]
495
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
496
- Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
497
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
498
-  (0.1ms) ROLLBACK
499
-  (0.1ms) BEGIN
500
- ----------------------------------------------------------------
501
- PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
502
- ----------------------------------------------------------------
503
-  (0.0ms) SAVEPOINT active_record_1
504
-  (0.0ms) RELEASE SAVEPOINT active_record_1
505
-  (0.0ms) SAVEPOINT active_record_1
506
-  (0.1ms) SAVEPOINT active_record_2
507
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
508
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
509
- 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-6@example.com"], ["confirmation_sent_at", "2016-02-15 15:07:01.708416"], ["confirmed_at", "2016-02-15 15:07:01.708468"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.709751"], ["updated_at", "2016-02-15 15:07:01.709751"]]
510
-  (0.1ms) RELEASE SAVEPOINT active_record_2
511
- Processing by PushType::ProfilesController#edit as HTML
512
- 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", "8ecef287-30e4-471d-8e26-ebcd68cfbf42"]]
513
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
514
- Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.2ms)
515
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
516
-  (0.1ms) ROLLBACK
517
-  (0.1ms) BEGIN
518
- --------------------------------------------------------------------------------------
519
- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
520
- --------------------------------------------------------------------------------------
521
-  (0.1ms) SAVEPOINT active_record_1
522
-  (0.1ms) RELEASE SAVEPOINT active_record_1
523
-  (0.0ms) SAVEPOINT active_record_1
524
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
525
-  (0.0ms) ROLLBACK
526
-  (0.1ms) BEGIN
527
- -----------------------------------------------------------------------------------
528
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
529
- -----------------------------------------------------------------------------------
530
-  (0.0ms) SAVEPOINT active_record_1
531
-  (0.0ms) RELEASE SAVEPOINT active_record_1
532
-  (0.0ms) SAVEPOINT active_record_1
533
-  (0.1ms) SAVEPOINT active_record_2
534
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
535
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
536
- 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", "2016-02-15 15:07:01.723847"], ["confirmed_at", "2016-02-15 15:07:01.723911"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.725323"], ["updated_at", "2016-02-15 15:07:01.725323"]]
537
-  (0.1ms) RELEASE SAVEPOINT active_record_2
538
- Processing by PushType::ProfilesController#update as HTML
539
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
540
- 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", "641348b8-111f-4258-a56e-2ca1fa2165e9"]]
541
-  (0.1ms) SAVEPOINT active_record_2
542
- 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" != '641348b8-111f-4258-a56e-2ca1fa2165e9') LIMIT 1
543
- 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", "2016-02-15 15:07:01.729337"], ["id", "641348b8-111f-4258-a56e-2ca1fa2165e9"]]
544
489
   (0.1ms) RELEASE SAVEPOINT active_record_2
545
- Redirected to http://test.host/push_type/profile/edit
546
- Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
547
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "641348b8-111f-4258-a56e-2ca1fa2165e9"]]
490
+ Processing by PushType::ConfirmationsController#show as HTML
491
+ Parameters: {"confirmation_token"=>"cBNP6bM1NFE26EMEF7yg"}
492
+ 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", "cBNP6bM1NFE26EMEF7yg"]]
493
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
494
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.1ms)
495
+ Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms)
548
496
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
549
497
   (0.1ms) ROLLBACK
550
498
   (0.1ms) BEGIN
551
- -----------------------------------------------------------------------------------
552
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
553
- -----------------------------------------------------------------------------------
499
+ -------------------------------------------------------------------------------------
500
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
501
+ -------------------------------------------------------------------------------------
554
502
   (0.1ms) SAVEPOINT active_record_1
555
503
   (0.1ms) RELEASE SAVEPOINT active_record_1
556
504
   (0.0ms) SAVEPOINT active_record_1
557
505
   (0.1ms) SAVEPOINT active_record_2
558
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
559
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
560
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["confirmation_sent_at", "2016-02-15 15:07:01.733931"], ["confirmed_at", "2016-02-15 15:07:01.733977"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.735156"], ["updated_at", "2016-02-15 15:07:01.735156"]]
506
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
507
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
508
+ 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-6@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:43.531204"], ["confirmed_at", "2016-02-19 13:40:43.531274"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.532754"], ["updated_at", "2016-02-19 13:40:43.532754"]]
561
509
   (0.1ms) RELEASE SAVEPOINT active_record_2
562
510
  Processing by PushType::ProfilesController#update as HTML
563
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
564
- 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", "37d160a7-7f9a-4ad1-9a9e-efb402c5fd1b"]]
511
+ Parameters: {"user"=>{"name"=>""}}
512
+ 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", "057f34d9-8a5b-4366-ac3a-818d59318d6b"]]
565
513
   (0.1ms) SAVEPOINT active_record_2
566
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-8@example.com' AND "push_type_users"."id" != '37d160a7-7f9a-4ad1-9a9e-efb402c5fd1b') LIMIT 1
567
- 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", "2016-02-15 15:07:01.738972"], ["id", "37d160a7-7f9a-4ad1-9a9e-efb402c5fd1b"]]
514
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != '057f34d9-8a5b-4366-ac3a-818d59318d6b') LIMIT 1
515
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
516
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (6.7ms)
517
+ Completed 200 OK in 178ms (Views: 175.1ms | ActiveRecord: 0.5ms)
518
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
519
+  (0.1ms) ROLLBACK
520
+  (0.1ms) BEGIN
521
+ -------------------------------------------------------------------------------------
522
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
523
+ -------------------------------------------------------------------------------------
524
+  (0.1ms) SAVEPOINT active_record_1
525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
526
+  (0.0ms) SAVEPOINT active_record_1
527
+  (0.1ms) SAVEPOINT active_record_2
528
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
529
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
530
+ 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", "2016-02-19 13:40:43.715981"], ["confirmed_at", "2016-02-19 13:40:43.716076"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.718146"], ["updated_at", "2016-02-19 13:40:43.718146"]]
568
531
   (0.1ms) RELEASE SAVEPOINT active_record_2
569
- Redirected to http://test.host/push_type/profile/edit
570
- Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
571
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
532
+ Processing by PushType::ProfilesController#update as HTML
533
+ Parameters: {"user"=>{"name"=>""}}
534
+ 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", "0fe5cb0d-3054-4dfd-8cd2-7e679fd6de76"]]
535
+  (0.1ms) SAVEPOINT active_record_2
536
+ 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" != '0fe5cb0d-3054-4dfd-8cd2-7e679fd6de76') LIMIT 1
537
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
538
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.8ms)
539
+ Completed 200 OK in 15ms (Views: 11.0ms | ActiveRecord: 0.7ms)
540
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
572
541
   (0.1ms) ROLLBACK
573
542
   (0.1ms) BEGIN
574
- -----------------------------------------------------------------------------------
575
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
576
- -----------------------------------------------------------------------------------
543
+ -------------------------------------------------------------
544
+ PushType::AuthenticatableTest::trackable: test_0001_anonymous
545
+ -------------------------------------------------------------
577
546
   (0.1ms) SAVEPOINT active_record_1
578
547
   (0.0ms) RELEASE SAVEPOINT active_record_1
579
548
   (0.0ms) SAVEPOINT active_record_1
580
-  (0.1ms) SAVEPOINT active_record_2
581
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
582
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
583
- 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", "2016-02-15 15:07:01.741979"], ["confirmed_at", "2016-02-15 15:07:01.742022"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.743192"], ["updated_at", "2016-02-15 15:07:01.743192"]]
584
-  (0.1ms) RELEASE SAVEPOINT active_record_2
585
- Processing by PushType::ProfilesController#update as HTML
586
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
587
- 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", "b69ae75a-544a-41bd-b31e-991a1bf5e610"]]
588
-  (0.1ms) SAVEPOINT active_record_2
589
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-9@example.com' AND "push_type_users"."id" != 'b69ae75a-544a-41bd-b31e-991a1bf5e610') LIMIT 1
590
- 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", "2016-02-15 15:07:01.746754"], ["id", "b69ae75a-544a-41bd-b31e-991a1bf5e610"]]
591
-  (0.1ms) RELEASE SAVEPOINT active_record_2
592
- Redirected to http://test.host/push_type/profile/edit
593
- Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
594
549
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
595
550
   (0.1ms) ROLLBACK
596
551
   (0.1ms) BEGIN
597
- ----------------------------------------------------
598
- PushType::InvitationMethodsTest: test_0001_anonymous
599
- ----------------------------------------------------
600
-  (0.0ms) SAVEPOINT active_record_1
601
-  (0.0ms) RELEASE SAVEPOINT active_record_1
602
-  (0.0ms) SAVEPOINT active_record_1
603
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
604
-  (0.0ms) ROLLBACK
605
-  (0.0ms) BEGIN
606
- ---------------------------------------------------------------
607
- PushType::AuthenticatableTest::confirmable: test_0001_anonymous
608
- ---------------------------------------------------------------
609
-  (0.0ms) SAVEPOINT active_record_1
610
-  (0.0ms) RELEASE SAVEPOINT active_record_1
611
-  (0.0ms) SAVEPOINT active_record_1
612
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
613
-  (0.0ms) ROLLBACK
614
-  (0.0ms) BEGIN
615
- ---------------------------------------------------------------------------
616
- PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
617
- ---------------------------------------------------------------------------
618
-  (0.0ms) SAVEPOINT active_record_1
619
-  (0.0ms) RELEASE SAVEPOINT active_record_1
620
-  (0.0ms) SAVEPOINT active_record_1
621
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
622
-  (0.0ms) ROLLBACK
623
-  (0.1ms) BEGIN
624
- ---------------------------------------------------------------------------
625
- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
626
- ---------------------------------------------------------------------------
627
-  (0.0ms) SAVEPOINT active_record_1
628
-  (0.0ms) RELEASE SAVEPOINT active_record_1
629
-  (0.1ms) SAVEPOINT active_record_1
630
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
631
-  (0.0ms) ROLLBACK
632
-  (0.0ms) BEGIN
633
- ---------------------------------------------------------------
634
- PushType::AuthenticatableTest::validatable: test_0001_anonymous
635
- ---------------------------------------------------------------
636
-  (0.0ms) SAVEPOINT active_record_1
637
-  (0.0ms) RELEASE SAVEPOINT active_record_1
638
-  (0.0ms) SAVEPOINT active_record_1
639
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
640
-  (0.0ms) ROLLBACK
641
-  (0.1ms) BEGIN
642
- ---------------------------------------------------------------
643
- PushType::AuthenticatableTest::validatable: test_0002_anonymous
644
- ---------------------------------------------------------------
645
-  (0.0ms) SAVEPOINT active_record_1
646
-  (0.0ms) RELEASE SAVEPOINT active_record_1
647
-  (0.1ms) SAVEPOINT active_record_1
648
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
649
-  (0.0ms) ROLLBACK
650
-  (0.0ms) BEGIN
651
- ----------------------------------------------------------------
652
- PushType::AuthenticatableTest::rememberable: test_0001_anonymous
653
- ----------------------------------------------------------------
654
-  (0.0ms) SAVEPOINT active_record_1
655
-  (0.0ms) RELEASE SAVEPOINT active_record_1
656
-  (0.0ms) SAVEPOINT active_record_1
657
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
658
-  (0.0ms) ROLLBACK
659
-  (0.1ms) BEGIN
660
552
  --------------------------------------------------------------------------------------------------------------
661
553
  PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
662
554
  --------------------------------------------------------------------------------------------------------------
663
555
   (0.1ms) SAVEPOINT active_record_1
664
556
   (0.1ms) RELEASE SAVEPOINT active_record_1
665
-  (0.1ms) SAVEPOINT active_record_1
666
-  (0.1ms) SAVEPOINT active_record_2
667
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
668
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
669
- 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", "e59a3174ec38422a734b5a62274b54fe87136c922e79b853af8702faa62c4716"]]
670
- 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", "2016-02-15 15:07:01.761751"], ["updated_at", "2016-02-15 15:07:01.761751"], ["confirmation_token", "tTbCMR2vFabR6xpTCzZ_"], ["confirmation_sent_at", "2016-02-15 15:07:01.762450"]]
671
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
557
+  (0.0ms) SAVEPOINT active_record_1
558
+  (0.0ms) SAVEPOINT active_record_2
559
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
560
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
561
+ 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", "96af62ae4b0cf8fdcf1b378d62ce11fe0742c715bf4fcaec2637f885610ff28c"]]
562
+ 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", "2016-02-19 13:40:43.742910"], ["updated_at", "2016-02-19 13:40:43.742910"], ["confirmation_token", "D4Uh2ubQHboabsTuCyxP"], ["confirmation_sent_at", "2016-02-19 13:40:43.743802"]]
563
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
672
564
 
673
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
565
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms
674
566
 
675
- Sent mail to joe-10@example.com (3.0ms)
676
- Date: Mon, 15 Feb 2016 15:07:01 +0000
567
+ Sent mail to joe-8@example.com (3.9ms)
568
+ Date: Fri, 19 Feb 2016 13:40:43 +0000
677
569
  From: pushtype@example.com
678
570
  Reply-To: pushtype@example.com
679
- To: joe-10@example.com
680
- Message-ID: <56c1e995c1ace_40ab3fd7acc63be4976de@Aarons-iMac.local.mail>
571
+ To: joe-8@example.com
572
+ Message-ID: <56c71b5bbfa0d_1c1f3ff851863bf050420@Aarons-iMac.local.mail>
681
573
  Subject: [PushType] Confirm your account
682
574
  Mime-Version: 1.0
683
575
  Content-Type: multipart/alternative;
684
- boundary="--==_mimepart_56c1e995c1575_40ab3fd7acc63be4975f9";
576
+ boundary="--==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386";
685
577
  charset=UTF-8
686
578
  Content-Transfer-Encoding: 7bit
687
579
 
688
580
 
689
- ----==_mimepart_56c1e995c1575_40ab3fd7acc63be4975f9
581
+ ----==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386
690
582
  Content-Type: text/plain;
691
583
  charset=UTF-8
692
584
  Content-Transfer-Encoding: 7bit
@@ -701,10 +593,10 @@ created for you.
701
593
  To get started, confirm your account and set your own password by
702
594
  clicking the link below:
703
595
 
704
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=tTbCMR2vFabR6xpTCzZ_ )
596
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=D4Uh2ubQHboabsTuCyxP )
705
597
 
706
598
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
707
- ----==_mimepart_56c1e995c1575_40ab3fd7acc63be4975f9
599
+ ----==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386
708
600
  Content-Type: text/html;
709
601
  charset=UTF-8
710
602
  Content-Transfer-Encoding: 7bit
@@ -750,7 +642,7 @@ body {
750
642
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
751
643
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
752
644
  <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">
753
- <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=tTbCMR2vFabR6xpTCzZ_" 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>
645
+ <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=D4Uh2ubQHboabsTuCyxP" 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>
754
646
  </td>
755
647
  </tr>
756
648
  </table>
@@ -795,42 +687,90 @@ body {
795
687
  </body>
796
688
  </html>
797
689
 
798
- ----==_mimepart_56c1e995c1575_40ab3fd7acc63be4975f9--
690
+ ----==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386--
799
691
 
800
692
   (0.1ms) RELEASE SAVEPOINT active_record_2
801
693
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
802
694
   (0.1ms) ROLLBACK
803
695
   (0.1ms) BEGIN
804
- --------------------------------------------------------------------------------------------------------------
805
- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
806
- --------------------------------------------------------------------------------------------------------------
696
+ ---------------------------------------------------------------
697
+ PushType::AuthenticatableTest::confirmable: test_0001_anonymous
698
+ ---------------------------------------------------------------
699
+  (0.1ms) SAVEPOINT active_record_1
700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
701
+  (0.0ms) SAVEPOINT active_record_1
702
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
703
+  (0.1ms) ROLLBACK
704
+  (0.1ms) BEGIN
705
+ ------------------------------------------------------------------------------------------------------
706
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
707
+ ------------------------------------------------------------------------------------------------------
708
+  (0.1ms) SAVEPOINT active_record_1
709
+  (0.1ms) RELEASE SAVEPOINT active_record_1
710
+  (0.1ms) SAVEPOINT active_record_1
711
+ Processing by PushType::ConfirmationsController#show as HTML
712
+ Parameters: {"confirmation_token"=>"invalid"}
713
+ 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"]]
714
+ 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"]]
715
+ 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", "5db6601db4fc560df69b69ee7adfcc1a0e2b6a0becd6c76361d1228f6a052f20"]]
716
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
717
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (3.5ms)
718
+ Completed 200 OK in 14ms (Views: 9.0ms | ActiveRecord: 0.5ms)
719
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
720
+  (0.1ms) ROLLBACK
721
+  (0.1ms) BEGIN
722
+ ------------------------------------------------------------------------------------------------------
723
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
724
+ ------------------------------------------------------------------------------------------------------
725
+  (0.0ms) SAVEPOINT active_record_1
726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
727
+  (0.0ms) SAVEPOINT active_record_1
728
+ Processing by PushType::ConfirmationsController#show as HTML
729
+ Parameters: {"confirmation_token"=>"invalid"}
730
+ 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"]]
731
+ 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"]]
732
+ 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", "5db6601db4fc560df69b69ee7adfcc1a0e2b6a0becd6c76361d1228f6a052f20"]]
733
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
734
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.6ms)
735
+ Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.4ms)
736
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
737
+  (0.1ms) ROLLBACK
738
+  (0.0ms) BEGIN
739
+ ---------------------------------------------------------------
740
+ PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
741
+ ---------------------------------------------------------------
807
742
   (0.0ms) SAVEPOINT active_record_1
808
743
   (0.0ms) RELEASE SAVEPOINT active_record_1
809
744
   (0.0ms) SAVEPOINT active_record_1
810
-  (0.0ms) SAVEPOINT active_record_2
811
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
812
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
813
- 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", "a9b2ea06ca4ac0665d51a33eb57d10ad067d9602c5eda0b6f1a9d0121eecda15"]]
814
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", "2016-02-15 15:07:01.832354"], ["updated_at", "2016-02-15 15:07:01.832354"], ["confirmation_token", "mEQySfd8Ea7KaUDxDpsA"], ["confirmation_sent_at", "2016-02-15 15:07:01.833107"]]
815
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
745
+  (0.1ms) SAVEPOINT active_record_2
746
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
747
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
748
+ 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", "2016-02-19 13:40:43.876608"], ["confirmed_at", "2016-02-19 13:40:43.876682"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.878662"], ["updated_at", "2016-02-19 13:40:43.878662"]]
749
+  (0.1ms) RELEASE SAVEPOINT active_record_2
750
+  (0.1ms) SAVEPOINT active_record_2
751
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
752
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
753
+ 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", "e54ddce7cd7915d229e210a961671a18e85c94a96d5214eceaab356f4cf007de"]]
754
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", "2016-02-19 13:40:43.881884"], ["updated_at", "2016-02-19 13:40:43.881884"], ["confirmation_token", "Tx4nchxNx_RTmDnNrtfq"], ["confirmation_sent_at", "2016-02-19 13:40:43.882799"]]
755
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
816
756
 
817
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
757
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
818
758
 
819
- Sent mail to joe-11@example.com (2.9ms)
820
- Date: Mon, 15 Feb 2016 15:07:01 +0000
759
+ Sent mail to joe-10@example.com (3.4ms)
760
+ Date: Fri, 19 Feb 2016 13:40:43 +0000
821
761
  From: pushtype@example.com
822
762
  Reply-To: pushtype@example.com
823
- To: joe-11@example.com
824
- Message-ID: <56c1e995d2e26_40ab3fd7acc63be497966@Aarons-iMac.local.mail>
763
+ To: joe-10@example.com
764
+ Message-ID: <56c71b5be1005_1c1f3ff851863bf050770@Aarons-iMac.local.mail>
825
765
  Subject: [PushType] Confirm your account
826
766
  Mime-Version: 1.0
827
767
  Content-Type: multipart/alternative;
828
- boundary="--==_mimepart_56c1e995d28ed_40ab3fd7acc63be49788a";
768
+ boundary="--==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615";
829
769
  charset=UTF-8
830
770
  Content-Transfer-Encoding: 7bit
831
771
 
832
772
 
833
- ----==_mimepart_56c1e995d28ed_40ab3fd7acc63be49788a
773
+ ----==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615
834
774
  Content-Type: text/plain;
835
775
  charset=UTF-8
836
776
  Content-Transfer-Encoding: 7bit
@@ -845,10 +785,10 @@ created for you.
845
785
  To get started, confirm your account and set your own password by
846
786
  clicking the link below:
847
787
 
848
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=mEQySfd8Ea7KaUDxDpsA )
788
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Tx4nchxNx_RTmDnNrtfq )
849
789
 
850
790
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
851
- ----==_mimepart_56c1e995d28ed_40ab3fd7acc63be49788a
791
+ ----==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615
852
792
  Content-Type: text/html;
853
793
  charset=UTF-8
854
794
  Content-Transfer-Encoding: 7bit
@@ -894,7 +834,7 @@ body {
894
834
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
895
835
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
896
836
  <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">
897
- <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=mEQySfd8Ea7KaUDxDpsA" 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>
837
+ <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=Tx4nchxNx_RTmDnNrtfq" 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>
898
838
  </td>
899
839
  </tr>
900
840
  </table>
@@ -939,47 +879,34 @@ body {
939
879
  </body>
940
880
  </html>
941
881
 
942
- ----==_mimepart_56c1e995d28ed_40ab3fd7acc63be49788a--
882
+ ----==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615--
943
883
 
944
-  (0.1ms) RELEASE SAVEPOINT active_record_2
945
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
946
-  (0.1ms) ROLLBACK
947
-  (0.1ms) BEGIN
948
- ---------------------------------------------------------------
949
- PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
950
- ---------------------------------------------------------------
951
-  (0.0ms) SAVEPOINT active_record_1
952
-  (0.0ms) RELEASE SAVEPOINT active_record_1
953
-  (0.0ms) SAVEPOINT active_record_1
954
-  (0.1ms) SAVEPOINT active_record_2
955
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
956
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
957
- 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-12@example.com"], ["confirmation_sent_at", "2016-02-15 15:07:01.868609"], ["confirmed_at", "2016-02-15 15:07:01.868659"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:01.870059"], ["updated_at", "2016-02-15 15:07:01.870059"]]
884
+  (0.2ms) RELEASE SAVEPOINT active_record_2
885
+ Processing by PushType::UsersController#invite as HTML
886
+ Parameters: {"id"=>"c855a21c-d33d-4e4c-8468-336b89078368"}
887
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "b148ae00-3307-413e-9e80-50cd36184589"]]
888
+ 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", "c855a21c-d33d-4e4c-8468-336b89078368"]]
889
+  (0.1ms) SAVEPOINT active_record_2
958
890
   (0.1ms) RELEASE SAVEPOINT active_record_2
959
-  (0.0ms) SAVEPOINT active_record_2
960
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
961
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
962
- 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", "a517a3999fc2071dc53bdc734926c33662f9d3c4fa0167651f30981264bb251f"]]
963
- 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-13@example.com"], ["created_at", "2016-02-15 15:07:01.872377"], ["updated_at", "2016-02-15 15:07:01.872377"], ["confirmation_token", "rdSsBW4X49XoutBpccT9"], ["confirmation_sent_at", "2016-02-15 15:07:01.873082"]]
964
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
891
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
965
892
 
966
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
893
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
967
894
 
968
- Sent mail to joe-13@example.com (3.3ms)
969
- Date: Mon, 15 Feb 2016 15:07:01 +0000
895
+ Sent mail to joe-10@example.com (3.3ms)
896
+ Date: Fri, 19 Feb 2016 13:40:43 +0000
970
897
  From: pushtype@example.com
971
898
  Reply-To: pushtype@example.com
972
- To: joe-13@example.com
973
- Message-ID: <56c1e995e675e_40ab3fd7acc63be4982a5@Aarons-iMac.local.mail>
899
+ To: joe-10@example.com
900
+ Message-ID: <56c71b5bebbde_1c1f3ff851863bf0510b8@Aarons-iMac.local.mail>
974
901
  Subject: [PushType] Confirm your account
975
902
  Mime-Version: 1.0
976
903
  Content-Type: multipart/alternative;
977
- boundary="--==_mimepart_56c1e995e6136_40ab3fd7acc63be49816a";
904
+ boundary="--==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d";
978
905
  charset=UTF-8
979
906
  Content-Transfer-Encoding: 7bit
980
907
 
981
908
 
982
- ----==_mimepart_56c1e995e6136_40ab3fd7acc63be49816a
909
+ ----==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d
983
910
  Content-Type: text/plain;
984
911
  charset=UTF-8
985
912
  Content-Transfer-Encoding: 7bit
@@ -994,10 +921,10 @@ created for you.
994
921
  To get started, confirm your account and set your own password by
995
922
  clicking the link below:
996
923
 
997
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=rdSsBW4X49XoutBpccT9 )
924
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Tx4nchxNx_RTmDnNrtfq )
998
925
 
999
926
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1000
- ----==_mimepart_56c1e995e6136_40ab3fd7acc63be49816a
927
+ ----==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d
1001
928
  Content-Type: text/html;
1002
929
  charset=UTF-8
1003
930
  Content-Transfer-Encoding: 7bit
@@ -1043,7 +970,7 @@ body {
1043
970
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1044
971
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1045
972
  <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">
1046
- <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=rdSsBW4X49XoutBpccT9" 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>
973
+ <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=Tx4nchxNx_RTmDnNrtfq" 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>
1047
974
  </td>
1048
975
  </tr>
1049
976
  </table>
@@ -1088,34 +1015,48 @@ body {
1088
1015
  </body>
1089
1016
  </html>
1090
1017
 
1091
- ----==_mimepart_56c1e995e6136_40ab3fd7acc63be49816a--
1018
+ ----==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d--
1092
1019
 
1093
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1094
- Processing by PushType::UsersController#invite as HTML
1095
- Parameters: {"id"=>"fdc132fe-c8ab-4060-a82b-68f1c358a300"}
1096
- 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", "c2c97020-b2a2-480a-aecd-e6607a6ee15b"]]
1097
- 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", "fdc132fe-c8ab-4060-a82b-68f1c358a300"]]
1020
+ Redirected to /push_type/users
1021
+ Completed 302 Found in 42ms (ActiveRecord: 0.7ms)
1022
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1023
+  (0.1ms) ROLLBACK
1024
+  (0.1ms) BEGIN
1025
+ ---------------------------------------------------------------
1026
+ PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
1027
+ ---------------------------------------------------------------
1028
+  (0.0ms) SAVEPOINT active_record_1
1029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1030
+  (0.0ms) SAVEPOINT active_record_1
1098
1031
   (0.1ms) SAVEPOINT active_record_2
1099
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1100
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1032
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1033
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1034
+ 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", "2016-02-19 13:40:43.970430"], ["confirmed_at", "2016-02-19 13:40:43.970495"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.972122"], ["updated_at", "2016-02-19 13:40:43.972122"]]
1035
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1036
+  (0.1ms) SAVEPOINT active_record_2
1037
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1038
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1039
+ 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", "d2d20ab8db1c49eac8d71100b010db9ae45c9b888b7470abe557006bd336b598"]]
1040
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", "2016-02-19 13:40:43.974939"], ["updated_at", "2016-02-19 13:40:43.974939"], ["confirmation_token", "VxP4HTqHiXT4qcDC6x2r"], ["confirmation_sent_at", "2016-02-19 13:40:43.975788"]]
1041
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1101
1042
 
1102
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms
1043
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
1103
1044
 
1104
- Sent mail to joe-13@example.com (3.2ms)
1105
- Date: Mon, 15 Feb 2016 15:07:02 +0000
1045
+ Sent mail to joe-12@example.com (3.2ms)
1046
+ Date: Fri, 19 Feb 2016 13:40:44 +0000
1106
1047
  From: pushtype@example.com
1107
1048
  Reply-To: pushtype@example.com
1108
- To: joe-13@example.com
1109
- Message-ID: <56c1e99623ef_40ab3fd7acc63be49857f@Aarons-iMac.local.mail>
1049
+ To: joe-12@example.com
1050
+ Message-ID: <56c71b5c30d1_1c1f3ff851863bf051376@Aarons-iMac.local.mail>
1110
1051
  Subject: [PushType] Confirm your account
1111
1052
  Mime-Version: 1.0
1112
1053
  Content-Type: multipart/alternative;
1113
- boundary="--==_mimepart_56c1e9961e4e_40ab3fd7acc63be49849c";
1054
+ boundary="--==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5";
1114
1055
  charset=UTF-8
1115
1056
  Content-Transfer-Encoding: 7bit
1116
1057
 
1117
1058
 
1118
- ----==_mimepart_56c1e9961e4e_40ab3fd7acc63be49849c
1059
+ ----==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5
1119
1060
  Content-Type: text/plain;
1120
1061
  charset=UTF-8
1121
1062
  Content-Transfer-Encoding: 7bit
@@ -1130,10 +1071,10 @@ created for you.
1130
1071
  To get started, confirm your account and set your own password by
1131
1072
  clicking the link below:
1132
1073
 
1133
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=rdSsBW4X49XoutBpccT9 )
1074
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=VxP4HTqHiXT4qcDC6x2r )
1134
1075
 
1135
1076
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1136
- ----==_mimepart_56c1e9961e4e_40ab3fd7acc63be49849c
1077
+ ----==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5
1137
1078
  Content-Type: text/html;
1138
1079
  charset=UTF-8
1139
1080
  Content-Transfer-Encoding: 7bit
@@ -1179,7 +1120,7 @@ body {
1179
1120
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1180
1121
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1181
1122
  <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">
1182
- <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=rdSsBW4X49XoutBpccT9" 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>
1123
+ <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=VxP4HTqHiXT4qcDC6x2r" 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>
1183
1124
  </td>
1184
1125
  </tr>
1185
1126
  </table>
@@ -1224,48 +1165,34 @@ body {
1224
1165
  </body>
1225
1166
  </html>
1226
1167
 
1227
- ----==_mimepart_56c1e9961e4e_40ab3fd7acc63be49849c--
1168
+ ----==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5--
1228
1169
 
1229
- Redirected to /push_type/users
1230
- Completed 302 Found in 64ms (ActiveRecord: 0.4ms)
1231
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1232
-  (0.1ms) ROLLBACK
1233
-  (0.1ms) BEGIN
1234
- ---------------------------------------------------------------
1235
- PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
1236
- ---------------------------------------------------------------
1237
-  (0.0ms) SAVEPOINT active_record_1
1238
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1239
-  (0.0ms) SAVEPOINT active_record_1
1240
-  (0.1ms) SAVEPOINT active_record_2
1241
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1242
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1243
- 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", "2016-02-15 15:07:02.013602"], ["confirmed_at", "2016-02-15 15:07:02.013658"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:02.015110"], ["updated_at", "2016-02-15 15:07:02.015110"]]
1170
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1171
+ Processing by PushType::UsersController#invite as HTML
1172
+ Parameters: {"id"=>"920d1336-48c5-4f87-9d33-39dd5cd4585d"}
1173
+ 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", "8d9e60fc-433f-4c7a-855b-c2773f4c797c"]]
1174
+ 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", "920d1336-48c5-4f87-9d33-39dd5cd4585d"]]
1175
+  (0.1ms) SAVEPOINT active_record_2
1244
1176
   (0.1ms) RELEASE SAVEPOINT active_record_2
1245
-  (0.0ms) SAVEPOINT active_record_2
1246
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1247
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1248
- 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", "cbc221ba39e378e720179a240dd1b13eb182ff3f721c4ae7ad2a84a5937ef5b6"]]
1249
- 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", "2016-02-15 15:07:02.017526"], ["updated_at", "2016-02-15 15:07:02.017526"], ["confirmation_token", "Q4f4uXxb_sD6sYgy56Fa"], ["confirmation_sent_at", "2016-02-15 15:07:02.019209"]]
1250
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1177
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1251
1178
 
1252
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1179
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
1253
1180
 
1254
- Sent mail to joe-15@example.com (3.1ms)
1255
- Date: Mon, 15 Feb 2016 15:07:02 +0000
1181
+ Sent mail to joe-12@example.com (3.6ms)
1182
+ Date: Fri, 19 Feb 2016 13:40:44 +0000
1256
1183
  From: pushtype@example.com
1257
1184
  Reply-To: pushtype@example.com
1258
- To: joe-15@example.com
1259
- Message-ID: <56c1e996103e3_40ab3fd7acc63be49882@Aarons-iMac.local.mail>
1185
+ To: joe-12@example.com
1186
+ Message-ID: <56c71b5cd193_1c1f3ff851863bf051663@Aarons-iMac.local.mail>
1260
1187
  Subject: [PushType] Confirm your account
1261
1188
  Mime-Version: 1.0
1262
1189
  Content-Type: multipart/alternative;
1263
- boundary="--==_mimepart_56c1e996fe46_40ab3fd7acc63be4987b6";
1190
+ boundary="--==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2";
1264
1191
  charset=UTF-8
1265
1192
  Content-Transfer-Encoding: 7bit
1266
1193
 
1267
1194
 
1268
- ----==_mimepart_56c1e996fe46_40ab3fd7acc63be4987b6
1195
+ ----==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2
1269
1196
  Content-Type: text/plain;
1270
1197
  charset=UTF-8
1271
1198
  Content-Transfer-Encoding: 7bit
@@ -1280,10 +1207,10 @@ created for you.
1280
1207
  To get started, confirm your account and set your own password by
1281
1208
  clicking the link below:
1282
1209
 
1283
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Q4f4uXxb_sD6sYgy56Fa )
1210
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=VxP4HTqHiXT4qcDC6x2r )
1284
1211
 
1285
1212
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1286
- ----==_mimepart_56c1e996fe46_40ab3fd7acc63be4987b6
1213
+ ----==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2
1287
1214
  Content-Type: text/html;
1288
1215
  charset=UTF-8
1289
1216
  Content-Transfer-Encoding: 7bit
@@ -1329,7 +1256,7 @@ body {
1329
1256
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1330
1257
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1331
1258
  <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">
1332
- <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=Q4f4uXxb_sD6sYgy56Fa" 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>
1259
+ <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=VxP4HTqHiXT4qcDC6x2r" 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>
1333
1260
  </td>
1334
1261
  </tr>
1335
1262
  </table>
@@ -1374,34 +1301,48 @@ body {
1374
1301
  </body>
1375
1302
  </html>
1376
1303
 
1377
- ----==_mimepart_56c1e996fe46_40ab3fd7acc63be4987b6--
1304
+ ----==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2--
1378
1305
 
1379
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1380
- Processing by PushType::UsersController#invite as HTML
1381
- Parameters: {"id"=>"d6be2ddd-410a-4619-894c-daa1c513eba9"}
1382
- 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", "800d5e93-cb0a-46d6-b35a-5a2411be54a5"]]
1383
- 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", "d6be2ddd-410a-4619-894c-daa1c513eba9"]]
1306
+ Redirected to /push_type/users
1307
+ Completed 302 Found in 40ms (ActiveRecord: 0.5ms)
1308
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1309
+  (0.1ms) ROLLBACK
1310
+  (0.1ms) BEGIN
1311
+ ---------------------------------------------------------------
1312
+ PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
1313
+ ---------------------------------------------------------------
1314
+  (0.0ms) SAVEPOINT active_record_1
1315
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1316
+  (0.1ms) SAVEPOINT active_record_1
1384
1317
   (0.1ms) SAVEPOINT active_record_2
1385
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1318
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1319
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1320
+ 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", "2016-02-19 13:40:44.058322"], ["confirmed_at", "2016-02-19 13:40:44.058384"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:44.059880"], ["updated_at", "2016-02-19 13:40:44.059880"]]
1321
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1322
+  (0.1ms) SAVEPOINT active_record_2
1323
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1324
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1325
+ 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", "5a23928d4ce2694258a17585856f713585a71e991fd41986117e1001658c65df"]]
1326
+ 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", "2016-02-19 13:40:44.062554"], ["updated_at", "2016-02-19 13:40:44.062554"], ["confirmation_token", "Q7JcEiPzdkRXR-2htCBy"], ["confirmation_sent_at", "2016-02-19 13:40:44.063279"]]
1386
1327
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1387
1328
 
1388
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
1329
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1389
1330
 
1390
- Sent mail to joe-15@example.com (3.3ms)
1391
- Date: Mon, 15 Feb 2016 15:07:02 +0000
1331
+ Sent mail to joe-14@example.com (3.2ms)
1332
+ Date: Fri, 19 Feb 2016 13:40:44 +0000
1392
1333
  From: pushtype@example.com
1393
1334
  Reply-To: pushtype@example.com
1394
- To: joe-15@example.com
1395
- Message-ID: <56c1e9961b81d_40ab3fd7acc63be4991de@Aarons-iMac.local.mail>
1335
+ To: joe-14@example.com
1336
+ Message-ID: <56c71b5c1808f_1c1f3ff851863bf0519bf@Aarons-iMac.local.mail>
1396
1337
  Subject: [PushType] Confirm your account
1397
1338
  Mime-Version: 1.0
1398
1339
  Content-Type: multipart/alternative;
1399
- boundary="--==_mimepart_56c1e9961b232_40ab3fd7acc63be49907c";
1340
+ boundary="--==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884";
1400
1341
  charset=UTF-8
1401
1342
  Content-Transfer-Encoding: 7bit
1402
1343
 
1403
1344
 
1404
- ----==_mimepart_56c1e9961b232_40ab3fd7acc63be49907c
1345
+ ----==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884
1405
1346
  Content-Type: text/plain;
1406
1347
  charset=UTF-8
1407
1348
  Content-Transfer-Encoding: 7bit
@@ -1416,10 +1357,10 @@ created for you.
1416
1357
  To get started, confirm your account and set your own password by
1417
1358
  clicking the link below:
1418
1359
 
1419
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Q4f4uXxb_sD6sYgy56Fa )
1360
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Q7JcEiPzdkRXR-2htCBy )
1420
1361
 
1421
1362
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1422
- ----==_mimepart_56c1e9961b232_40ab3fd7acc63be49907c
1363
+ ----==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884
1423
1364
  Content-Type: text/html;
1424
1365
  charset=UTF-8
1425
1366
  Content-Transfer-Encoding: 7bit
@@ -1465,7 +1406,7 @@ body {
1465
1406
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1466
1407
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1467
1408
  <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">
1468
- <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=Q4f4uXxb_sD6sYgy56Fa" 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>
1409
+ <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=Q7JcEiPzdkRXR-2htCBy" 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>
1469
1410
  </td>
1470
1411
  </tr>
1471
1412
  </table>
@@ -1510,48 +1451,34 @@ body {
1510
1451
  </body>
1511
1452
  </html>
1512
1453
 
1513
- ----==_mimepart_56c1e9961b232_40ab3fd7acc63be49907c--
1454
+ ----==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884--
1514
1455
 
1515
- Redirected to /push_type/users
1516
- Completed 302 Found in 45ms (ActiveRecord: 0.4ms)
1517
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1518
-  (0.1ms) ROLLBACK
1519
-  (0.1ms) BEGIN
1520
- ---------------------------------------------------------------
1521
- PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
1522
- ---------------------------------------------------------------
1523
-  (0.0ms) SAVEPOINT active_record_1
1524
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1525
-  (0.0ms) SAVEPOINT active_record_1
1526
-  (0.1ms) SAVEPOINT active_record_2
1527
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1528
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1529
- 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", "2016-02-15 15:07:02.116794"], ["confirmed_at", "2016-02-15 15:07:02.116893"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-15 15:07:02.118361"], ["updated_at", "2016-02-15 15:07:02.118361"]]
1530
1456
   (0.1ms) RELEASE SAVEPOINT active_record_2
1531
-  (0.0ms) SAVEPOINT active_record_2
1532
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1533
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1534
- 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", "df5b2c78b6dc4261677428ece32f2ce6af9d8e8afd7e798e7bd07475ee46024b"]]
1535
- 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", "2016-02-15 15:07:02.120847"], ["updated_at", "2016-02-15 15:07:02.120847"], ["confirmation_token", "9Ri294HH2uRVZQx3WRRv"], ["confirmation_sent_at", "2016-02-15 15:07:02.121645"]]
1457
+ Processing by PushType::UsersController#invite as HTML
1458
+ Parameters: {"id"=>"771326f0-bc1f-4a04-b1f2-a3f385d3cb4e"}
1459
+ 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", "c25c9252-879a-4154-b7ce-ed305bf103b9"]]
1460
+ 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", "771326f0-bc1f-4a04-b1f2-a3f385d3cb4e"]]
1461
+  (0.1ms) SAVEPOINT active_record_2
1462
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1536
1463
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1537
1464
 
1538
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1465
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1539
1466
 
1540
- Sent mail to joe-17@example.com (3.4ms)
1541
- Date: Mon, 15 Feb 2016 15:07:02 +0000
1467
+ Sent mail to joe-14@example.com (3.2ms)
1468
+ Date: Fri, 19 Feb 2016 13:40:44 +0000
1542
1469
  From: pushtype@example.com
1543
1470
  Reply-To: pushtype@example.com
1544
- To: joe-17@example.com
1545
- Message-ID: <56c1e99626655_40ab3fd7acc63be49948@Aarons-iMac.local.mail>
1471
+ To: joe-14@example.com
1472
+ Message-ID: <56c71b5c21c50_1c1f3ff851863bf052272@Aarons-iMac.local.mail>
1546
1473
  Subject: [PushType] Confirm your account
1547
1474
  Mime-Version: 1.0
1548
1475
  Content-Type: multipart/alternative;
1549
- boundary="--==_mimepart_56c1e99626090_40ab3fd7acc63be4993b1";
1476
+ boundary="--==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf";
1550
1477
  charset=UTF-8
1551
1478
  Content-Transfer-Encoding: 7bit
1552
1479
 
1553
1480
 
1554
- ----==_mimepart_56c1e99626090_40ab3fd7acc63be4993b1
1481
+ ----==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf
1555
1482
  Content-Type: text/plain;
1556
1483
  charset=UTF-8
1557
1484
  Content-Transfer-Encoding: 7bit
@@ -1566,10 +1493,10 @@ created for you.
1566
1493
  To get started, confirm your account and set your own password by
1567
1494
  clicking the link below:
1568
1495
 
1569
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=9Ri294HH2uRVZQx3WRRv )
1496
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Q7JcEiPzdkRXR-2htCBy )
1570
1497
 
1571
1498
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1572
- ----==_mimepart_56c1e99626090_40ab3fd7acc63be4993b1
1499
+ ----==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf
1573
1500
  Content-Type: text/html;
1574
1501
  charset=UTF-8
1575
1502
  Content-Transfer-Encoding: 7bit
@@ -1615,7 +1542,7 @@ body {
1615
1542
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1616
1543
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1617
1544
  <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">
1618
- <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=9Ri294HH2uRVZQx3WRRv" 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>
1545
+ <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=Q7JcEiPzdkRXR-2htCBy" 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>
1619
1546
  </td>
1620
1547
  </tr>
1621
1548
  </table>
@@ -1660,34 +1587,43 @@ body {
1660
1587
  </body>
1661
1588
  </html>
1662
1589
 
1663
- ----==_mimepart_56c1e99626090_40ab3fd7acc63be4993b1--
1590
+ ----==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf--
1664
1591
 
1665
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1666
- Processing by PushType::UsersController#invite as HTML
1667
- Parameters: {"id"=>"a39bd8c0-a973-49fc-82f1-2f76f6e4bdd1"}
1668
- 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", "d3cbda52-920e-4619-ab3e-b19b8680bab8"]]
1669
- 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", "a39bd8c0-a973-49fc-82f1-2f76f6e4bdd1"]]
1592
+ Redirected to /push_type/users
1593
+ Completed 302 Found in 39ms (ActiveRecord: 0.4ms)
1594
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1595
+  (0.1ms) ROLLBACK
1596
+  (0.1ms) BEGIN
1597
+ ------------------------------------------------------------------------------------------
1598
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
1599
+ ------------------------------------------------------------------------------------------
1600
+  (0.1ms) SAVEPOINT active_record_1
1601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1602
+  (0.0ms) SAVEPOINT active_record_1
1670
1603
   (0.1ms) SAVEPOINT active_record_2
1671
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1672
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1604
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1605
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1606
+ 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", "83374a020fa298cde341be108ee06ba449123753c6827929d9a49636f549f8da"]]
1607
+ 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", "2016-02-19 13:40:44.145245"], ["updated_at", "2016-02-19 13:40:44.145245"], ["confirmation_token", "QcqsJa3fbdbg2q9zzTn5"], ["confirmation_sent_at", "2016-02-19 13:40:44.146010"]]
1608
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1673
1609
 
1674
1610
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1675
1611
 
1676
- Sent mail to joe-17@example.com (3.1ms)
1677
- Date: Mon, 15 Feb 2016 15:07:02 +0000
1612
+ Sent mail to joe-15@example.com (3.3ms)
1613
+ Date: Fri, 19 Feb 2016 13:40:44 +0000
1678
1614
  From: pushtype@example.com
1679
1615
  Reply-To: pushtype@example.com
1680
- To: joe-17@example.com
1681
- Message-ID: <56c1e9962fd34_40ab3fd7acc63be49977c@Aarons-iMac.local.mail>
1616
+ To: joe-15@example.com
1617
+ Message-ID: <56c71b5c3da39_1c1f3ff851863bf05251@Aarons-iMac.local.mail>
1682
1618
  Subject: [PushType] Confirm your account
1683
1619
  Mime-Version: 1.0
1684
1620
  Content-Type: multipart/alternative;
1685
- boundary="--==_mimepart_56c1e9962f7ba_40ab3fd7acc63be4996da";
1621
+ boundary="--==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a";
1686
1622
  charset=UTF-8
1687
1623
  Content-Transfer-Encoding: 7bit
1688
1624
 
1689
1625
 
1690
- ----==_mimepart_56c1e9962f7ba_40ab3fd7acc63be4996da
1626
+ ----==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a
1691
1627
  Content-Type: text/plain;
1692
1628
  charset=UTF-8
1693
1629
  Content-Transfer-Encoding: 7bit
@@ -1702,10 +1638,10 @@ created for you.
1702
1638
  To get started, confirm your account and set your own password by
1703
1639
  clicking the link below:
1704
1640
 
1705
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=9Ri294HH2uRVZQx3WRRv )
1641
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=QcqsJa3fbdbg2q9zzTn5 )
1706
1642
 
1707
1643
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1708
- ----==_mimepart_56c1e9962f7ba_40ab3fd7acc63be4996da
1644
+ ----==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a
1709
1645
  Content-Type: text/html;
1710
1646
  charset=UTF-8
1711
1647
  Content-Transfer-Encoding: 7bit
@@ -1751,7 +1687,7 @@ body {
1751
1687
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1752
1688
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1753
1689
  <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">
1754
- <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=9Ri294HH2uRVZQx3WRRv" 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>
1690
+ <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=QcqsJa3fbdbg2q9zzTn5" 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>
1755
1691
  </td>
1756
1692
  </tr>
1757
1693
  </table>
@@ -1796,70 +1732,49 @@ body {
1796
1732
  </body>
1797
1733
  </html>
1798
1734
 
1799
- ----==_mimepart_56c1e9962f7ba_40ab3fd7acc63be4996da--
1735
+ ----==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a--
1800
1736
 
1801
- Redirected to /push_type/users
1802
- Completed 302 Found in 37ms (ActiveRecord: 0.4ms)
1803
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1804
-  (0.1ms) ROLLBACK
1805
-  (0.1ms) BEGIN
1806
- ---------------------------------------------------------------
1807
- PushType::AuthenticatableTest::recoverable: test_0001_anonymous
1808
- ---------------------------------------------------------------
1809
-  (0.1ms) SAVEPOINT active_record_1
1810
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1811
-  (0.0ms) SAVEPOINT active_record_1
1812
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1813
-  (0.1ms) ROLLBACK
1814
-  (0.1ms) BEGIN
1815
- --------------------------------------------------------
1816
- PushType::AuthenticationMethodsTest: test_0001_anonymous
1817
- --------------------------------------------------------
1818
-  (0.1ms) SAVEPOINT active_record_1
1819
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1820
-  (0.0ms) SAVEPOINT active_record_1
1737
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1738
+ Processing by PushType::ConfirmationsController#update as HTML
1739
+ Parameters: {"user"=>{"confirmation_token"=>"QcqsJa3fbdbg2q9zzTn5", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1740
+ 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", "QcqsJa3fbdbg2q9zzTn5"]]
1741
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != 'b6f55d9c-dac3-4758-92f1-856cb442b78a') LIMIT 1
1742
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1743
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
1744
+ Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.4ms)
1821
1745
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1822
-  (0.0ms) ROLLBACK
1746
+  (0.1ms) ROLLBACK
1823
1747
   (0.1ms) BEGIN
1824
- --------------------------------------------------------
1825
- PushType::AuthenticationMethodsTest: test_0002_anonymous
1826
- --------------------------------------------------------
1827
-  (0.0ms) SAVEPOINT active_record_1
1828
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1829
-  (0.0ms) SAVEPOINT active_record_1
1830
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1831
-  (0.0ms) ROLLBACK
1832
-  (0.0ms) BEGIN
1833
- ----------------------------------------------------------------------------------------
1834
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
1835
- ----------------------------------------------------------------------------------------
1836
-  (0.0ms) SAVEPOINT active_record_1
1748
+ ------------------------------------------------------------------------------------------
1749
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
1750
+ ------------------------------------------------------------------------------------------
1751
+  (0.1ms) SAVEPOINT active_record_1
1837
1752
   (0.1ms) RELEASE SAVEPOINT active_record_1
1838
1753
   (0.0ms) SAVEPOINT active_record_1
1839
-  (0.0ms) SAVEPOINT active_record_2
1840
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1841
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
1842
- 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", "d8d0e76112bc7bb56e45bb91aa6adf9921b097b16d04c8ba9601d4f234dd3c94"]]
1843
- 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", "2016-02-15 15:07:02.206397"], ["updated_at", "2016-02-15 15:07:02.206397"], ["confirmation_token", "XzVFqbkxi4hkcb2ZN7tx"], ["confirmation_sent_at", "2016-02-15 15:07:02.207114"]]
1754
+  (0.1ms) SAVEPOINT active_record_2
1755
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1756
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1757
+ 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", "d32a0643bed62d7c0c2ba8eb1f6264d78a3aad9880f099c39fbe81e306844d9d"]]
1758
+ 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", "2016-02-19 13:40:44.268265"], ["updated_at", "2016-02-19 13:40:44.268265"], ["confirmation_token", "tEPHCEjb3qqvqpK5V1V4"], ["confirmation_sent_at", "2016-02-19 13:40:44.269066"]]
1844
1759
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1845
1760
 
1846
1761
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1847
1762
 
1848
- Sent mail to joe-18@example.com (2.9ms)
1849
- Date: Mon, 15 Feb 2016 15:07:02 +0000
1763
+ Sent mail to joe-16@example.com (3.3ms)
1764
+ Date: Fri, 19 Feb 2016 13:40:44 +0000
1850
1765
  From: pushtype@example.com
1851
1766
  Reply-To: pushtype@example.com
1852
- To: joe-18@example.com
1853
- Message-ID: <56c1e9963b1f7_40ab3fd7acc63be41000c@Aarons-iMac.local.mail>
1767
+ To: joe-16@example.com
1768
+ Message-ID: <56c71b5c49c98_1c1f3ff851863bf0528cb@Aarons-iMac.local.mail>
1854
1769
  Subject: [PushType] Confirm your account
1855
1770
  Mime-Version: 1.0
1856
1771
  Content-Type: multipart/alternative;
1857
- boundary="--==_mimepart_56c1e9963acbe_40ab3fd7acc63be499911";
1772
+ boundary="--==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4";
1858
1773
  charset=UTF-8
1859
1774
  Content-Transfer-Encoding: 7bit
1860
1775
 
1861
1776
 
1862
- ----==_mimepart_56c1e9963acbe_40ab3fd7acc63be499911
1777
+ ----==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4
1863
1778
  Content-Type: text/plain;
1864
1779
  charset=UTF-8
1865
1780
  Content-Transfer-Encoding: 7bit
@@ -1874,10 +1789,10 @@ created for you.
1874
1789
  To get started, confirm your account and set your own password by
1875
1790
  clicking the link below:
1876
1791
 
1877
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=XzVFqbkxi4hkcb2ZN7tx )
1792
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=tEPHCEjb3qqvqpK5V1V4 )
1878
1793
 
1879
1794
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1880
- ----==_mimepart_56c1e9963acbe_40ab3fd7acc63be499911
1795
+ ----==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4
1881
1796
  Content-Type: text/html;
1882
1797
  charset=UTF-8
1883
1798
  Content-Transfer-Encoding: 7bit
@@ -1923,7 +1838,7 @@ body {
1923
1838
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1924
1839
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1925
1840
  <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">
1926
- <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=XzVFqbkxi4hkcb2ZN7tx" 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>
1841
+ <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=tEPHCEjb3qqvqpK5V1V4" 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>
1927
1842
  </td>
1928
1843
  </tr>
1929
1844
  </table>
@@ -1968,55 +1883,49 @@ body {
1968
1883
  </body>
1969
1884
  </html>
1970
1885
 
1971
- ----==_mimepart_56c1e9963acbe_40ab3fd7acc63be499911--
1886
+ ----==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4--
1972
1887
 
1973
1888
   (0.1ms) RELEASE SAVEPOINT active_record_2
1974
1889
  Processing by PushType::ConfirmationsController#update as HTML
1975
- Parameters: {"user"=>{"confirmation_token"=>"XzVFqbkxi4hkcb2ZN7tx", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1976
- 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", "XzVFqbkxi4hkcb2ZN7tx"]]
1977
- 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" != 'c7da2289-6627-4779-b084-170180d816f2') LIMIT 1
1890
+ Parameters: {"user"=>{"confirmation_token"=>"tEPHCEjb3qqvqpK5V1V4", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1891
+ 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", "tEPHCEjb3qqvqpK5V1V4"]]
1892
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-16@example.com' AND "push_type_users"."id" != '073d8212-5f27-4663-9a64-2896ff359b7c') LIMIT 1
1893
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1894
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
1895
+ Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.4ms)
1896
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1897
+  (0.1ms) ROLLBACK
1898
+  (0.1ms) BEGIN
1899
+ ------------------------------------------------------------------------------------------
1900
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
1901
+ ------------------------------------------------------------------------------------------
1902
+  (0.1ms) SAVEPOINT active_record_1
1903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1904
+  (0.0ms) SAVEPOINT active_record_1
1978
1905
   (0.1ms) SAVEPOINT active_record_2
1979
- 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$T98UcqW0.5zzBpjI7fyeD.hKRuoxrAjiJ0m9dGtC1WclMb0sCtYLO"], ["confirmed_at", "2016-02-15 15:07:02.248290"], ["updated_at", "2016-02-15 15:07:02.248723"], ["id", "c7da2289-6627-4779-b084-170180d816f2"]]
1980
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1981
-  (0.1ms) SAVEPOINT active_record_2
1982
- 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", "2016-02-15 15:07:02.250236"], ["current_sign_in_at", "2016-02-15 15:07:02.250236"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-02-15 15:07:02.250757"], ["id", "c7da2289-6627-4779-b084-170180d816f2"]]
1983
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1984
- Redirected to http://test.host/push_type/
1985
- Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
1986
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "c7da2289-6627-4779-b084-170180d816f2"]]
1987
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1988
-  (0.1ms) ROLLBACK
1989
-  (0.1ms) BEGIN
1990
- ----------------------------------------------------------------------------------------
1991
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
1992
- ----------------------------------------------------------------------------------------
1993
-  (0.1ms) SAVEPOINT active_record_1
1994
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1995
-  (0.0ms) SAVEPOINT active_record_1
1996
-  (0.0ms) SAVEPOINT active_record_2
1997
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
1998
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
1999
- 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", "8af8561289764582fec63e3b46a1459ce134258f987ee2d80de5f62ce8f3741e"]]
2000
- 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", "2016-02-15 15:07:02.255720"], ["updated_at", "2016-02-15 15:07:02.255720"], ["confirmation_token", "Wq5YPyfBoEa7skPRJvKs"], ["confirmation_sent_at", "2016-02-15 15:07:02.256345"]]
1906
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1907
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1908
+ 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", "29b7a81db54182ee80f915d1f9ed37da61f1182e4558e6b18fbf5d69c9be43d3"]]
1909
+ 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", "2016-02-19 13:40:44.317562"], ["updated_at", "2016-02-19 13:40:44.317562"], ["confirmation_token", "_snLggDrxVeyyV6yXjMF"], ["confirmation_sent_at", "2016-02-19 13:40:44.318346"]]
2001
1910
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2002
1911
 
2003
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1912
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
2004
1913
 
2005
- Sent mail to joe-19@example.com (3.0ms)
2006
- Date: Mon, 15 Feb 2016 15:07:02 +0000
1914
+ Sent mail to joe-17@example.com (3.4ms)
1915
+ Date: Fri, 19 Feb 2016 13:40:44 +0000
2007
1916
  From: pushtype@example.com
2008
1917
  Reply-To: pushtype@example.com
2009
- To: joe-19@example.com
2010
- Message-ID: <56c1e996461e0_40ab3fd7acc63be41003ad@Aarons-iMac.local.mail>
1918
+ To: joe-17@example.com
1919
+ Message-ID: <56c71b5c55e60_1c1f3ff851863bf0531d4@Aarons-iMac.local.mail>
2011
1920
  Subject: [PushType] Confirm your account
2012
1921
  Mime-Version: 1.0
2013
1922
  Content-Type: multipart/alternative;
2014
- boundary="--==_mimepart_56c1e99645c99_40ab3fd7acc63be41002e2";
1923
+ boundary="--==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc";
2015
1924
  charset=UTF-8
2016
1925
  Content-Transfer-Encoding: 7bit
2017
1926
 
2018
1927
 
2019
- ----==_mimepart_56c1e99645c99_40ab3fd7acc63be41002e2
1928
+ ----==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc
2020
1929
  Content-Type: text/plain;
2021
1930
  charset=UTF-8
2022
1931
  Content-Transfer-Encoding: 7bit
@@ -2031,10 +1940,10 @@ created for you.
2031
1940
  To get started, confirm your account and set your own password by
2032
1941
  clicking the link below:
2033
1942
 
2034
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Wq5YPyfBoEa7skPRJvKs )
1943
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_snLggDrxVeyyV6yXjMF )
2035
1944
 
2036
1945
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2037
- ----==_mimepart_56c1e99645c99_40ab3fd7acc63be41002e2
1946
+ ----==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc
2038
1947
  Content-Type: text/html;
2039
1948
  charset=UTF-8
2040
1949
  Content-Transfer-Encoding: 7bit
@@ -2080,7 +1989,7 @@ body {
2080
1989
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2081
1990
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2082
1991
  <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">
2083
- <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=Wq5YPyfBoEa7skPRJvKs" 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>
1992
+ <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=_snLggDrxVeyyV6yXjMF" 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>
2084
1993
  </td>
2085
1994
  </tr>
2086
1995
  </table>
@@ -2125,88 +2034,49 @@ body {
2125
2034
  </body>
2126
2035
  </html>
2127
2036
 
2128
- ----==_mimepart_56c1e99645c99_40ab3fd7acc63be41002e2--
2037
+ ----==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc--
2129
2038
 
2130
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2039
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2131
2040
  Processing by PushType::ConfirmationsController#update as HTML
2132
- Parameters: {"user"=>{"confirmation_token"=>"Wq5YPyfBoEa7skPRJvKs", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2133
- 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", "Wq5YPyfBoEa7skPRJvKs"]]
2134
- 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" != 'f7710d29-1e86-49a2-a9fd-fa150e2d7caa') LIMIT 1
2135
-  (0.1ms) SAVEPOINT active_record_2
2136
- 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$b6OMojGEnWWQaIRTIOA0CuExx2gfQZTHrdzhHUT1p4vAmO9WdvkEq"], ["confirmed_at", "2016-02-15 15:07:02.293134"], ["updated_at", "2016-02-15 15:07:02.293560"], ["id", "f7710d29-1e86-49a2-a9fd-fa150e2d7caa"]]
2137
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2138
-  (0.1ms) SAVEPOINT active_record_2
2139
- 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", "2016-02-15 15:07:02.294842"], ["current_sign_in_at", "2016-02-15 15:07:02.294842"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-02-15 15:07:02.295231"], ["id", "f7710d29-1e86-49a2-a9fd-fa150e2d7caa"]]
2140
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2141
- Redirected to http://test.host/push_type/
2142
- Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
2143
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2144
-  (0.1ms) ROLLBACK
2145
-  (0.1ms) BEGIN
2146
- ------------------------------------------------------------------------------------------------------
2147
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
2148
- ------------------------------------------------------------------------------------------------------
2149
-  (0.1ms) SAVEPOINT active_record_1
2150
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2151
-  (0.0ms) SAVEPOINT active_record_1
2152
- Processing by PushType::ConfirmationsController#show as HTML
2153
- Parameters: {"confirmation_token"=>"invalid"}
2154
- 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"]]
2155
- 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"]]
2156
- 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", "ba2627981609cc5370212e149c1bd0b422c4d0872cb27260137da523d795bb55"]]
2041
+ Parameters: {"user"=>{"confirmation_token"=>"_snLggDrxVeyyV6yXjMF", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2042
+ 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", "_snLggDrxVeyyV6yXjMF"]]
2043
+ 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" != '613499d6-5b25-428e-a596-58fca002e9aa') LIMIT 1
2157
2044
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2158
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (2.5ms)
2159
- Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.2ms)
2045
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
2046
+ Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.4ms)
2160
2047
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2161
2048
   (0.1ms) ROLLBACK
2162
2049
   (0.1ms) BEGIN
2163
- ------------------------------------------------------------------------------------------------------
2164
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
2165
- ------------------------------------------------------------------------------------------------------
2166
-  (0.0ms) SAVEPOINT active_record_1
2167
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2050
+ ----------------------------------------------------------------------------------------
2051
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
2052
+ ----------------------------------------------------------------------------------------
2053
+  (0.1ms) SAVEPOINT active_record_1
2054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2168
2055
   (0.0ms) SAVEPOINT active_record_1
2169
- Processing by PushType::ConfirmationsController#show as HTML
2170
- Parameters: {"confirmation_token"=>"invalid"}
2171
- 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"]]
2172
- 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"]]
2173
- 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", "ba2627981609cc5370212e149c1bd0b422c4d0872cb27260137da523d795bb55"]]
2174
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.2ms)
2175
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.2ms)
2176
- Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.3ms)
2177
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2178
-  (0.1ms) ROLLBACK
2179
-  (0.1ms) BEGIN
2180
- ------------------------------------------------------------------------------------------
2181
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
2182
- ------------------------------------------------------------------------------------------
2183
-  (0.0ms) SAVEPOINT active_record_1
2184
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2185
-  (0.0ms) SAVEPOINT active_record_1
2186
-  (0.0ms) SAVEPOINT active_record_2
2187
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2188
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2189
- 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", "9cbe75ec35cab355d11ffa1df097f18137901f4c1225a8627a12ec1fa9412071"]]
2190
- 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", "2016-02-15 15:07:02.321086"], ["updated_at", "2016-02-15 15:07:02.321086"], ["confirmation_token", "iVCLqXiXY9ByxKt6Rb_8"], ["confirmation_sent_at", "2016-02-15 15:07:02.321777"]]
2191
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2056
+  (0.1ms) SAVEPOINT active_record_2
2057
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2058
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2059
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "f2b8df42f6f5e6af64028cd1ff0991e67c95d78be2e2b7a04ce1c9b56f0e9fe4"]]
2060
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", "2016-02-19 13:40:44.367560"], ["updated_at", "2016-02-19 13:40:44.367560"], ["confirmation_token", "Qd4sNTMqiEi53ABw6C-a"], ["confirmation_sent_at", "2016-02-19 13:40:44.368353"]]
2061
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2192
2062
 
2193
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
2063
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2194
2064
 
2195
- Sent mail to joe-20@example.com (3.0ms)
2196
- Date: Mon, 15 Feb 2016 15:07:02 +0000
2065
+ Sent mail to joe-18@example.com (3.4ms)
2066
+ Date: Fri, 19 Feb 2016 13:40:44 +0000
2197
2067
  From: pushtype@example.com
2198
2068
  Reply-To: pushtype@example.com
2199
- To: joe-20@example.com
2200
- Message-ID: <56c1e99655fdc_40ab3fd7acc63be410064a@Aarons-iMac.local.mail>
2069
+ To: joe-18@example.com
2070
+ Message-ID: <56c71b5c61dad_1c1f3ff851863bf053495@Aarons-iMac.local.mail>
2201
2071
  Subject: [PushType] Confirm your account
2202
2072
  Mime-Version: 1.0
2203
2073
  Content-Type: multipart/alternative;
2204
- boundary="--==_mimepart_56c1e99655a8e_40ab3fd7acc63be41005a3";
2074
+ boundary="--==_mimepart_56c71b5c61741_1c1f3ff851863bf053372";
2205
2075
  charset=UTF-8
2206
2076
  Content-Transfer-Encoding: 7bit
2207
2077
 
2208
2078
 
2209
- ----==_mimepart_56c1e99655a8e_40ab3fd7acc63be41005a3
2079
+ ----==_mimepart_56c71b5c61741_1c1f3ff851863bf053372
2210
2080
  Content-Type: text/plain;
2211
2081
  charset=UTF-8
2212
2082
  Content-Transfer-Encoding: 7bit
@@ -2221,10 +2091,10 @@ created for you.
2221
2091
  To get started, confirm your account and set your own password by
2222
2092
  clicking the link below:
2223
2093
 
2224
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=iVCLqXiXY9ByxKt6Rb_8 )
2094
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Qd4sNTMqiEi53ABw6C-a )
2225
2095
 
2226
2096
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2227
- ----==_mimepart_56c1e99655a8e_40ab3fd7acc63be41005a3
2097
+ ----==_mimepart_56c71b5c61741_1c1f3ff851863bf053372
2228
2098
  Content-Type: text/html;
2229
2099
  charset=UTF-8
2230
2100
  Content-Transfer-Encoding: 7bit
@@ -2270,7 +2140,7 @@ body {
2270
2140
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2271
2141
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2272
2142
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2273
- <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=iVCLqXiXY9ByxKt6Rb_8" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2143
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Qd4sNTMqiEi53ABw6C-a" 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>
2274
2144
  </td>
2275
2145
  </tr>
2276
2146
  </table>
@@ -2315,49 +2185,55 @@ body {
2315
2185
  </body>
2316
2186
  </html>
2317
2187
 
2318
- ----==_mimepart_56c1e99655a8e_40ab3fd7acc63be41005a3--
2188
+ ----==_mimepart_56c71b5c61741_1c1f3ff851863bf053372--
2319
2189
 
2320
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2190
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2321
2191
  Processing by PushType::ConfirmationsController#update as HTML
2322
- Parameters: {"user"=>{"confirmation_token"=>"iVCLqXiXY9ByxKt6Rb_8", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2323
- 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", "iVCLqXiXY9ByxKt6Rb_8"]]
2324
- 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" != '3c47fa2e-d482-49d2-ad06-547b2148c372') LIMIT 1
2325
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2326
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
2327
- Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms)
2192
+ Parameters: {"user"=>{"confirmation_token"=>"Qd4sNTMqiEi53ABw6C-a", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2193
+ 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", "Qd4sNTMqiEi53ABw6C-a"]]
2194
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-18@example.com' AND "push_type_users"."id" != '710b1017-ff96-440d-8716-a396835d4311') LIMIT 1
2195
+  (0.1ms) SAVEPOINT active_record_2
2196
+ 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$igHSAtD.P6y6V2991Cl95..DU3JsL4sQCY5kgqFL2ub7PmtMlhfOG"], ["confirmed_at", "2016-02-19 13:40:44.407456"], ["updated_at", "2016-02-19 13:40:44.407786"], ["id", "710b1017-ff96-440d-8716-a396835d4311"]]
2197
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2198
+  (0.1ms) SAVEPOINT active_record_2
2199
+ 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", "2016-02-19 13:40:44.409540"], ["current_sign_in_at", "2016-02-19 13:40:44.409540"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-02-19 13:40:44.410103"], ["id", "710b1017-ff96-440d-8716-a396835d4311"]]
2200
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2201
+ Redirected to http://test.host/push_type/
2202
+ Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
2203
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "710b1017-ff96-440d-8716-a396835d4311"]]
2328
2204
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2329
2205
   (0.1ms) ROLLBACK
2330
2206
   (0.1ms) BEGIN
2331
- ------------------------------------------------------------------------------------------
2332
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
2333
- ------------------------------------------------------------------------------------------
2207
+ ----------------------------------------------------------------------------------------
2208
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
2209
+ ----------------------------------------------------------------------------------------
2334
2210
   (0.0ms) SAVEPOINT active_record_1
2335
2211
   (0.0ms) RELEASE SAVEPOINT active_record_1
2336
2212
   (0.0ms) SAVEPOINT active_record_1
2337
2213
   (0.0ms) SAVEPOINT active_record_2
2338
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2339
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2340
- 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", "47a4aae21dfa404fdd0602d471a43c6469ea674178ec4d390110454eb52ea33a"]]
2341
- 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", "2016-02-15 15:07:02.365570"], ["updated_at", "2016-02-15 15:07:02.365570"], ["confirmation_token", "eFXMpM93TXoZYZzsgw1C"], ["confirmation_sent_at", "2016-02-15 15:07:02.366403"]]
2214
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2215
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@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", "c0d0793b3d270dee439c96ada766cbd8ea86b149f21b551218a31bc755d8d24a"]]
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-19@example.com"], ["created_at", "2016-02-19 13:40:44.415511"], ["updated_at", "2016-02-19 13:40:44.415511"], ["confirmation_token", "m8eSskAyNz_qp1PqS-yS"], ["confirmation_sent_at", "2016-02-19 13:40:44.416218"]]
2342
2218
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2343
2219
 
2344
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
2220
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
2345
2221
 
2346
- Sent mail to joe-21@example.com (3.0ms)
2347
- Date: Mon, 15 Feb 2016 15:07:02 +0000
2222
+ Sent mail to joe-19@example.com (3.3ms)
2223
+ Date: Fri, 19 Feb 2016 13:40:44 +0000
2348
2224
  From: pushtype@example.com
2349
2225
  Reply-To: pushtype@example.com
2350
- To: joe-21@example.com
2351
- Message-ID: <56c1e99660c7d_40ab3fd7acc63be41009a9@Aarons-iMac.local.mail>
2226
+ To: joe-19@example.com
2227
+ Message-ID: <56c71b5c6d571_1c1f3ff851863bf053726@Aarons-iMac.local.mail>
2352
2228
  Subject: [PushType] Confirm your account
2353
2229
  Mime-Version: 1.0
2354
2230
  Content-Type: multipart/alternative;
2355
- boundary="--==_mimepart_56c1e9966073e_40ab3fd7acc63be41008d9";
2231
+ boundary="--==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f";
2356
2232
  charset=UTF-8
2357
2233
  Content-Transfer-Encoding: 7bit
2358
2234
 
2359
2235
 
2360
- ----==_mimepart_56c1e9966073e_40ab3fd7acc63be41008d9
2236
+ ----==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f
2361
2237
  Content-Type: text/plain;
2362
2238
  charset=UTF-8
2363
2239
  Content-Transfer-Encoding: 7bit
@@ -2372,10 +2248,10 @@ created for you.
2372
2248
  To get started, confirm your account and set your own password by
2373
2249
  clicking the link below:
2374
2250
 
2375
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=eFXMpM93TXoZYZzsgw1C )
2251
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=m8eSskAyNz_qp1PqS-yS )
2376
2252
 
2377
2253
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2378
- ----==_mimepart_56c1e9966073e_40ab3fd7acc63be41008d9
2254
+ ----==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f
2379
2255
  Content-Type: text/html;
2380
2256
  charset=UTF-8
2381
2257
  Content-Transfer-Encoding: 7bit
@@ -2421,7 +2297,7 @@ body {
2421
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%">
2422
2298
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2423
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">
2424
- <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=eFXMpM93TXoZYZzsgw1C" 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=m8eSskAyNz_qp1PqS-yS" 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>
2425
2301
  </td>
2426
2302
  </tr>
2427
2303
  </table>
@@ -2466,49 +2342,126 @@ body {
2466
2342
  </body>
2467
2343
  </html>
2468
2344
 
2469
- ----==_mimepart_56c1e9966073e_40ab3fd7acc63be41008d9--
2345
+ ----==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f--
2470
2346
 
2471
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2347
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2472
2348
  Processing by PushType::ConfirmationsController#update as HTML
2473
- Parameters: {"user"=>{"confirmation_token"=>"eFXMpM93TXoZYZzsgw1C", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2474
- 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", "eFXMpM93TXoZYZzsgw1C"]]
2475
- 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" != '069c9309-b2b4-417f-af02-0585924bb2e5') LIMIT 1
2476
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2477
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.5ms)
2478
- Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms)
2349
+ Parameters: {"user"=>{"confirmation_token"=>"m8eSskAyNz_qp1PqS-yS", "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", "m8eSskAyNz_qp1PqS-yS"]]
2351
+ 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" != 'bbac1d43-e616-4b72-ba40-a96101927676') LIMIT 1
2352
+  (0.1ms) SAVEPOINT active_record_2
2353
+ 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$GW9Y7M8AR8f8hY52MEyRQO.wRdw4fgs3X.olYCTLEA5zawXrRcaFG"], ["confirmed_at", "2016-02-19 13:40:44.454515"], ["updated_at", "2016-02-19 13:40:44.454976"], ["id", "bbac1d43-e616-4b72-ba40-a96101927676"]]
2354
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2355
+  (0.1ms) SAVEPOINT active_record_2
2356
+ 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", "2016-02-19 13:40:44.456394"], ["current_sign_in_at", "2016-02-19 13:40:44.456394"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-02-19 13:40:44.456791"], ["id", "bbac1d43-e616-4b72-ba40-a96101927676"]]
2357
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2358
+ Redirected to http://test.host/push_type/
2359
+ Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
2479
2360
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2480
2361
   (0.1ms) ROLLBACK
2481
2362
   (0.1ms) BEGIN
2482
- ------------------------------------------------------------------------------------------
2483
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
2484
- ------------------------------------------------------------------------------------------
2363
+ ---------------------------------------------------------------
2364
+ PushType::AuthenticatableTest::validatable: test_0001_anonymous
2365
+ ---------------------------------------------------------------
2366
+  (0.0ms) SAVEPOINT active_record_1
2367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2368
+  (0.1ms) SAVEPOINT active_record_1
2369
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2370
+  (0.1ms) ROLLBACK
2371
+  (0.1ms) BEGIN
2372
+ ---------------------------------------------------------------
2373
+ PushType::AuthenticatableTest::validatable: test_0002_anonymous
2374
+ ---------------------------------------------------------------
2375
+  (0.0ms) SAVEPOINT active_record_1
2376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2377
+  (0.0ms) SAVEPOINT active_record_1
2378
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2379
+  (0.1ms) ROLLBACK
2380
+  (0.1ms) BEGIN
2381
+ ---------------------------------------------------------------
2382
+ PushType::AuthenticatableTest::recoverable: test_0001_anonymous
2383
+ ---------------------------------------------------------------
2384
+  (0.0ms) SAVEPOINT active_record_1
2385
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2386
+  (0.0ms) SAVEPOINT active_record_1
2387
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2388
+  (0.1ms) ROLLBACK
2389
+  (0.1ms) BEGIN
2390
+ ---------------------------------------------------------------------------
2391
+ PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
2392
+ ---------------------------------------------------------------------------
2393
+  (0.0ms) SAVEPOINT active_record_1
2394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2395
+  (0.0ms) SAVEPOINT active_record_1
2396
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2397
+  (0.0ms) ROLLBACK
2398
+  (0.1ms) BEGIN
2399
+ ---------------------------------------------------------------------------
2400
+ PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
2401
+ ---------------------------------------------------------------------------
2402
+  (0.0ms) SAVEPOINT active_record_1
2403
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2404
+  (0.0ms) SAVEPOINT active_record_1
2405
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2406
+  (0.1ms) ROLLBACK
2407
+  (0.0ms) BEGIN
2408
+ ----------------------------------------------------------------
2409
+ PushType::AuthenticatableTest::rememberable: test_0001_anonymous
2410
+ ----------------------------------------------------------------
2411
+  (0.0ms) SAVEPOINT active_record_1
2412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2413
+  (0.0ms) SAVEPOINT active_record_1
2414
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2415
+  (0.1ms) ROLLBACK
2416
+  (0.1ms) BEGIN
2417
+ --------------------------------------------------------------------------------------
2418
+ PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
2419
+ --------------------------------------------------------------------------------------
2420
+  (0.0ms) SAVEPOINT active_record_1
2421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2422
+  (0.0ms) SAVEPOINT active_record_1
2423
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2424
+  (0.0ms) ROLLBACK
2425
+  (0.0ms) BEGIN
2426
+ ----------------------------------------------------
2427
+ PushType::InvitationMethodsTest: test_0001_anonymous
2428
+ ----------------------------------------------------
2429
+  (0.0ms) SAVEPOINT active_record_1
2430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2431
+  (0.0ms) SAVEPOINT active_record_1
2432
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2433
+  (0.1ms) ROLLBACK
2434
+  (0.0ms) BEGIN
2435
+ --------------------------------------------------------------------------------------------------------------
2436
+ PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
2437
+ --------------------------------------------------------------------------------------------------------------
2485
2438
   (0.0ms) SAVEPOINT active_record_1
2486
2439
   (0.0ms) RELEASE SAVEPOINT active_record_1
2487
2440
   (0.0ms) SAVEPOINT active_record_1
2488
2441
   (0.0ms) SAVEPOINT active_record_2
2489
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2490
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2491
- 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", "0e3bf893470274dc3eb05e62fdbd98bc13eded3ea6636d3d631f44ed4e320c08"]]
2492
- 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", "2016-02-15 15:07:02.409863"], ["updated_at", "2016-02-15 15:07:02.409863"], ["confirmation_token", "Q_k_djTN2dJnXtbJqT8K"], ["confirmation_sent_at", "2016-02-15 15:07:02.410532"]]
2442
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2443
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2444
+ 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", "e04e4fccc3f99874c297747a3c22d0eff64e484e34327b689cb2d87b748d2ec6"]]
2445
+ 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", "2016-02-19 13:40:44.473593"], ["updated_at", "2016-02-19 13:40:44.473593"], ["confirmation_token", "_wM1UkDyWqL8Myx7usbA"], ["confirmation_sent_at", "2016-02-19 13:40:44.474400"]]
2493
2446
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2494
2447
 
2495
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
2448
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
2496
2449
 
2497
- Sent mail to joe-22@example.com (3.0ms)
2498
- Date: Mon, 15 Feb 2016 15:07:02 +0000
2450
+ Sent mail to joe-20@example.com (3.1ms)
2451
+ Date: Fri, 19 Feb 2016 13:40:44 +0000
2499
2452
  From: pushtype@example.com
2500
2453
  Reply-To: pushtype@example.com
2501
- To: joe-22@example.com
2502
- Message-ID: <56c1e9966b8d4_40ab3fd7acc63be410122f@Aarons-iMac.local.mail>
2454
+ To: joe-20@example.com
2455
+ Message-ID: <56c71b5c7bc0e_1c1f3ff851863bf0540dc@Aarons-iMac.local.mail>
2503
2456
  Subject: [PushType] Confirm your account
2504
2457
  Mime-Version: 1.0
2505
2458
  Content-Type: multipart/alternative;
2506
- boundary="--==_mimepart_56c1e9966b39f_40ab3fd7acc63be4101114";
2459
+ boundary="--==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974";
2507
2460
  charset=UTF-8
2508
2461
  Content-Transfer-Encoding: 7bit
2509
2462
 
2510
2463
 
2511
- ----==_mimepart_56c1e9966b39f_40ab3fd7acc63be4101114
2464
+ ----==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974
2512
2465
  Content-Type: text/plain;
2513
2466
  charset=UTF-8
2514
2467
  Content-Transfer-Encoding: 7bit
@@ -2523,10 +2476,10 @@ created for you.
2523
2476
  To get started, confirm your account and set your own password by
2524
2477
  clicking the link below:
2525
2478
 
2526
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Q_k_djTN2dJnXtbJqT8K )
2479
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_wM1UkDyWqL8Myx7usbA )
2527
2480
 
2528
2481
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2529
- ----==_mimepart_56c1e9966b39f_40ab3fd7acc63be4101114
2482
+ ----==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974
2530
2483
  Content-Type: text/html;
2531
2484
  charset=UTF-8
2532
2485
  Content-Transfer-Encoding: 7bit
@@ -2572,7 +2525,7 @@ body {
2572
2525
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2573
2526
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2574
2527
  <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">
2575
- <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=Q_k_djTN2dJnXtbJqT8K" 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>
2528
+ <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=_wM1UkDyWqL8Myx7usbA" 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>
2576
2529
  </td>
2577
2530
  </tr>
2578
2531
  </table>
@@ -2617,15 +2570,62 @@ body {
2617
2570
  </body>
2618
2571
  </html>
2619
2572
 
2620
- ----==_mimepart_56c1e9966b39f_40ab3fd7acc63be4101114--
2573
+ ----==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974--
2621
2574
 
2622
2575
   (0.1ms) RELEASE SAVEPOINT active_record_2
2623
- Processing by PushType::ConfirmationsController#update as HTML
2624
- Parameters: {"user"=>{"confirmation_token"=>"Q_k_djTN2dJnXtbJqT8K", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2625
- 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", "Q_k_djTN2dJnXtbJqT8K"]]
2626
- 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" != '154576e5-e143-43cf-af3c-1c64de3188c3') LIMIT 1
2627
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.2ms)
2628
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.5ms)
2629
- Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms)
2576
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2577
+  (0.1ms) ROLLBACK
2578
+  (0.1ms) BEGIN
2579
+ --------------------------------------------------------
2580
+ PushType::AuthenticationMethodsTest: test_0001_anonymous
2581
+ --------------------------------------------------------
2582
+  (0.1ms) SAVEPOINT active_record_1
2583
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2584
+  (0.0ms) SAVEPOINT active_record_1
2585
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2586
+  (0.0ms) ROLLBACK
2587
+  (0.1ms) BEGIN
2588
+ --------------------------------------------------------
2589
+ PushType::AuthenticationMethodsTest: test_0002_anonymous
2590
+ --------------------------------------------------------
2591
+  (0.0ms) SAVEPOINT active_record_1
2592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2593
+  (0.0ms) SAVEPOINT active_record_1
2594
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2595
+  (0.0ms) ROLLBACK
2596
+  (0.1ms) BEGIN
2597
+ ----------------------------------------------------------------
2598
+ PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
2599
+ ----------------------------------------------------------------
2600
+  (0.1ms) SAVEPOINT active_record_1
2601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2602
+  (0.0ms) SAVEPOINT active_record_1
2603
+  (0.1ms) SAVEPOINT active_record_2
2604
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2605
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2606
+ 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", "2016-02-19 13:40:44.515326"], ["confirmed_at", "2016-02-19 13:40:44.515382"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:44.516939"], ["updated_at", "2016-02-19 13:40:44.516939"]]
2607
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2608
+ Processing by PushType::ProfilesController#edit as HTML
2609
+ 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", "39862360-4e85-48a6-bfd4-6ce677e4acd9"]]
2610
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
2611
+ Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.1ms)
2612
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2613
+  (0.1ms) ROLLBACK
2614
+  (0.1ms) BEGIN
2615
+ ----------------------------------------------------------------
2616
+ PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
2617
+ ----------------------------------------------------------------
2618
+  (0.1ms) SAVEPOINT active_record_1
2619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2620
+  (0.0ms) SAVEPOINT active_record_1
2621
+  (0.1ms) SAVEPOINT active_record_2
2622
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2623
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2624
+ 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-22@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:44.529062"], ["confirmed_at", "2016-02-19 13:40:44.529112"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:44.530575"], ["updated_at", "2016-02-19 13:40:44.530575"]]
2625
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2626
+ Processing by PushType::ProfilesController#edit as HTML
2627
+ 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", "0f4bdc7a-46cc-475b-bec9-efe56b08634c"]]
2628
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
2629
+ Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.1ms)
2630
2630
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2631
2631
   (0.1ms) ROLLBACK