push_type_auth 0.6.0.beta.2 → 0.6.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.
- checksums.yaml +4 -4
- data/test/dummy/app/models/location.rb +6 -0
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20151102165930_create_push_type_users.push_type.rb → 20151102202810_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165931_create_push_type_nodes.push_type.rb → 20151102202811_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165932_create_push_type_node_hierarchies.push_type.rb → 20151102202812_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165933_create_push_type_assets.push_type.rb → 20151102202813_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165934_create_push_type_taxonomies.push_type.rb → 20151102202814_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165935_create_push_type_taxonomy_hierarchies.push_type.rb → 20151102202815_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165936_add_field_store_default_values.push_type.rb → 20151102202816_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20151102165937_devise_extend_push_type_users.push_type_auth.rb → 20151102202817_devise_extend_push_type_users.push_type_auth.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +693 -693
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/13enFOLQsI8Mye9dhTWkj9KKyYFODHE888fUc0YLTYw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{pUDQP8HidXQvtJQEhTGC7_ODICFEiSU9Vh6peKiUX8o.cache → T8sccjFXxE1mgzkBdDIfr-KPpfLsct71V_4nwVaPXLs.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YYzFefU0_ds10v4STNe8TB77tSdI0H_KoOTf3IC0W5w.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/f1opt7BM9dnmxGb_MLgUjRgCNqtffPgDaP1yQPYozHw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/megN6QCcG4mwKczRObfHIHA8XpDGRwlsppU_Zz3_Tl4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{p-RMJZhToSQmo_KPJdkWODZQZ4dnJ91jbL8gIxjXoZ0.cache → zP91Jjz9HOOY02y9uWi9dLwV74l3kIGkSw6i7PUFkoQ.cache} +0 -0
- metadata +27 -25
data/test/dummy/log/test.log
CHANGED
@@ -1,74 +1,74 @@
|
|
1
1
|
[1m[36m (2.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
-
[1m[35m (
|
2
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
3
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreatePushTypeUsers (
|
4
|
+
Migrating to CreatePushTypeUsers (20151102202810)
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
6
|
-
[1m[36mSQL (1.
|
7
|
-
[1m[35m (2.
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
6
|
+
[1m[36mSQL (1.9ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
|
+
[1m[35m (2.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20151102202810"]]
|
9
9
|
[1m[35m (0.7ms)[0m COMMIT
|
10
|
-
Migrating to CreatePushTypeNodes (
|
10
|
+
Migrating to CreatePushTypeNodes (20151102202811)
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12
|
-
[1m[35m (2.
|
13
|
-
[1m[36mSQL (0.
|
12
|
+
[1m[35m (2.0ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20151102202811"]]
|
14
14
|
[1m[35m (0.4ms)[0m COMMIT
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20151102202812)
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17
17
|
[1m[35m (0.4ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
18
|
-
[1m[36m (0.
|
19
|
-
[1m[35m (0.
|
20
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
18
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
19
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20151102202812"]]
|
21
21
|
[1m[35m (0.4ms)[0m COMMIT
|
22
|
-
Migrating to CreatePushTypeAssets (
|
22
|
+
Migrating to CreatePushTypeAssets (20151102202813)
|
23
23
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
24
|
-
[1m[35m (2.
|
25
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
26
|
-
[1m[35m (0.
|
27
|
-
Migrating to CreatePushTypeTaxonomies (
|
24
|
+
[1m[35m (2.4ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20151102202813"]]
|
26
|
+
[1m[35m (0.5ms)[0m COMMIT
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20151102202814)
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29
|
-
[1m[35m (2.
|
29
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
30
30
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_assets" ADD "tags" character varying[][0m
|
31
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
32
|
-
[1m[36m (0.
|
33
|
-
Migrating to CreatePushTypeTaxonomyHierarchies (
|
31
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202814"]]
|
32
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20151102202815)
|
34
34
|
[1m[35m (0.1ms)[0m BEGIN
|
35
|
-
[1m[36m (0.
|
35
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) [0m
|
36
36
|
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
|
37
|
-
[1m[36m (
|
38
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
37
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")[0m
|
38
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202815"]]
|
39
39
|
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20151102202816)
|
41
41
|
[1m[35m (0.1ms)[0m BEGIN
|
42
42
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb[0m
|
43
43
|
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
44
|
-
[1m[36m (0.
|
44
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
45
45
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
|
46
46
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
|
47
47
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
48
48
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
49
|
-
[1m[35m (0.
|
50
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
49
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
|
50
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20151102202816"]]
|
51
51
|
[1m[35m (0.5ms)[0m COMMIT
|
52
|
-
Migrating to DeviseExtendPushTypeUsers (
|
52
|
+
Migrating to DeviseExtendPushTypeUsers (20151102202817)
|
53
53
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
54
|
-
[1m[35m (2.
|
54
|
+
[1m[35m (2.8ms)[0m ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
|
55
55
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ADD "reset_password_token" character varying[0m
|
56
56
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
|
57
|
-
[1m[36m (0.
|
58
|
-
[1m[35m (2.
|
59
|
-
[1m[36m (0.
|
57
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "remember_created_at" timestamp[0m
|
58
|
+
[1m[35m (2.3ms)[0m ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
|
59
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp[0m
|
60
60
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
|
61
61
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying[0m
|
62
62
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
|
63
63
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "confirmation_token" character varying[0m
|
64
64
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
|
65
65
|
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp[0m
|
66
|
-
[1m[35m (0.
|
66
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
|
67
67
|
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")[0m
|
68
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
69
|
-
[1m[36m (1.
|
68
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102202817"]]
|
69
|
+
[1m[36m (1.0ms)[0m [1mCOMMIT[0m
|
70
70
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
71
|
-
[1m[36m (1.
|
71
|
+
[1m[36m (1.9ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
72
72
|
FROM pg_constraint c
|
73
73
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
74
74
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -80,7 +80,7 @@ WHERE c.contype = 'f'
|
|
80
80
|
AND t3.nspname = ANY (current_schemas(false))
|
81
81
|
ORDER BY c.conname
|
82
82
|
[0m
|
83
|
-
[1m[35m (1.
|
83
|
+
[1m[35m (1.3ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
84
84
|
FROM pg_constraint c
|
85
85
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
86
86
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -104,7 +104,7 @@ WHERE c.contype = 'f'
|
|
104
104
|
AND t3.nspname = ANY (current_schemas(false))
|
105
105
|
ORDER BY c.conname
|
106
106
|
[0m
|
107
|
-
[1m[35m (1.
|
107
|
+
[1m[35m (1.2ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
108
108
|
FROM pg_constraint c
|
109
109
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
110
110
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -128,7 +128,7 @@ WHERE c.contype = 'f'
|
|
128
128
|
AND t3.nspname = ANY (current_schemas(false))
|
129
129
|
ORDER BY c.conname
|
130
130
|
[0m
|
131
|
-
[1m[35m (1.
|
131
|
+
[1m[35m (1.4ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
132
132
|
FROM pg_constraint c
|
133
133
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
134
134
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -140,190 +140,76 @@ WHERE c.contype = 'f'
|
|
140
140
|
AND t3.nspname = ANY (current_schemas(false))
|
141
141
|
ORDER BY c.conname
|
142
142
|
|
143
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
144
|
-
[1m[35m (0.
|
145
|
-
[1m[36m (1.
|
143
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
144
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
|
145
|
+
[1m[36m (1.1ms)[0m [1m SELECT schemaname || '.' || tablename
|
146
146
|
FROM pg_tables
|
147
147
|
WHERE
|
148
148
|
tablename !~ '_prt_' AND
|
149
149
|
tablename <> 'schema_migrations' AND
|
150
150
|
schemaname = ANY (current_schemas(false))
|
151
151
|
[0m
|
152
|
-
[1m[35m (
|
153
|
-
[1m[36m (
|
152
|
+
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
153
|
+
[1m[36m (10.3ms)[0m [1mTRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies", "public"."push_type_users" RESTART IDENTITY CASCADE;[0m
|
154
154
|
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
|
155
155
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
156
|
-
|
157
|
-
PushType::
|
158
|
-
|
156
|
+
--------------------------------------------------------------------------------------
|
157
|
+
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
158
|
+
--------------------------------------------------------------------------------------
|
159
159
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
160
160
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
161
161
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
162
162
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
163
163
|
[1m[35m (0.1ms)[0m ROLLBACK
|
164
|
-
[1m[36m (0.
|
164
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
165
165
|
--------------------------------------------------------
|
166
166
|
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
167
167
|
--------------------------------------------------------
|
168
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
169
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
170
168
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
171
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
172
|
-
[1m[35m (0.0ms)[0m ROLLBACK
|
173
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
174
|
-
----------------------------------------------------
|
175
|
-
PushType::InvitationMethodsTest: test_0001_anonymous
|
176
|
-
----------------------------------------------------
|
177
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
178
169
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
179
170
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
180
171
|
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
181
172
|
[1m[35m (0.0ms)[0m ROLLBACK
|
182
|
-
[1m[36m (0.
|
183
|
-
|
184
|
-
PushType::
|
185
|
-
|
173
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
174
|
+
--------------------------------------------------------
|
175
|
+
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
176
|
+
--------------------------------------------------------
|
186
177
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
187
178
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
188
179
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
189
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
190
|
-
[1m[35mPushType::User Exists (0.4ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
|
191
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1[0m
|
192
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:35.973181"], ["confirmed_at", "2015-11-02 16:59:35.973257"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:35.983762"], ["updated_at", "2015-11-02 16:59:35.983762"]]
|
193
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
194
|
-
Processing by PushType::ProfilesController#update as HTML
|
195
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
196
|
-
[1m[35mPushType::User Load (0.3ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "a3bfb415-b5cc-4845-8ab5-b570c6a9ba5d"]]
|
197
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
198
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != 'a3bfb415-b5cc-4845-8ab5-b570c6a9ba5d') LIMIT 1
|
199
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", "2015-11-02 16:59:36.004467"], ["id", "a3bfb415-b5cc-4845-8ab5-b570c6a9ba5d"]]
|
200
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
201
|
-
Redirected to http://test.host/push_type/profile/edit
|
202
|
-
Completed 302 Found in 16ms (ActiveRecord: 0.9ms)
|
203
180
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
204
|
-
[1m[35m (0.
|
205
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
206
|
-
-----------------------------------------------------------------------------------
|
207
|
-
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
208
|
-
-----------------------------------------------------------------------------------
|
209
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
210
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
211
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
212
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
213
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
|
214
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1[0m
|
215
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:36.008458"], ["confirmed_at", "2015-11-02 16:59:36.008507"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:36.009899"], ["updated_at", "2015-11-02 16:59:36.009899"]]
|
216
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
217
|
-
Processing by PushType::ProfilesController#update as HTML
|
218
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
219
|
-
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "10880f8d-69b1-409f-b506-013e2e04e892"]]
|
220
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
221
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-2@example.com' AND "push_type_users"."id" != '10880f8d-69b1-409f-b506-013e2e04e892') LIMIT 1
|
222
|
-
[1m[36mSQL (0.1ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", "2015-11-02 16:59:36.014650"], ["id", "10880f8d-69b1-409f-b506-013e2e04e892"]]
|
223
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
224
|
-
Redirected to http://test.host/push_type/profile/edit
|
225
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
226
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
227
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
228
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
229
|
-
-----------------------------------------------------------------------------------
|
230
|
-
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
231
|
-
-----------------------------------------------------------------------------------
|
232
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
233
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
234
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
235
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
236
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
|
237
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1[0m
|
238
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:36.017907"], ["confirmed_at", "2015-11-02 16:59:36.017948"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:36.019347"], ["updated_at", "2015-11-02 16:59:36.019347"]]
|
239
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
240
|
-
Processing by PushType::ProfilesController#update as HTML
|
241
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
242
|
-
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "0c537ecc-5678-4ab5-8883-d339e8cc90b4"]]
|
243
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
244
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '0c537ecc-5678-4ab5-8883-d339e8cc90b4') LIMIT 1
|
245
|
-
[1m[36mSQL (0.1ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", "2015-11-02 16:59:36.023616"], ["id", "0c537ecc-5678-4ab5-8883-d339e8cc90b4"]]
|
246
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
247
|
-
Redirected to http://test.host/push_type/profile/edit
|
248
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
249
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1[0m [["id", "0c537ecc-5678-4ab5-8883-d339e8cc90b4"]]
|
250
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
251
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
252
|
-
[1m[35m (0.1ms)[0m BEGIN
|
253
|
-
-------------------------------------------------------------------------------------
|
254
|
-
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
255
|
-
-------------------------------------------------------------------------------------
|
256
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
257
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
258
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
259
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
260
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1[0m
|
261
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
|
262
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:36.028212"], ["confirmed_at", "2015-11-02 16:59:36.028260"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:36.029671"], ["updated_at", "2015-11-02 16:59:36.029671"]]
|
263
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
264
|
-
Processing by PushType::ProfilesController#update as HTML
|
265
|
-
Parameters: {"user"=>{"name"=>""}}
|
266
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "e2958d29-b7aa-4d7b-a934-cb101eb16f93"]]
|
267
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
268
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != 'e2958d29-b7aa-4d7b-a934-cb101eb16f93') LIMIT 1[0m
|
269
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
270
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (12.1ms)
|
271
|
-
Completed 200 OK in 10851ms (Views: 10848.1ms | ActiveRecord: 0.5ms)
|
272
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
273
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
181
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
274
182
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
275
|
-
|
276
|
-
PushType::
|
277
|
-
|
183
|
+
--------------------------------------------------------------------------------------------------------------
|
184
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
|
185
|
+
--------------------------------------------------------------------------------------------------------------
|
278
186
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
279
187
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
280
188
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
281
189
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
282
|
-
[1m[35mPushType::User Exists (0.
|
283
|
-
[1m[36mPushType::User Exists (0.
|
284
|
-
[1m[
|
285
|
-
[1m[
|
286
|
-
|
287
|
-
Parameters: {"user"=>{"name"=>""}}
|
288
|
-
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "b3d94bf8-729e-4c8d-9ef7-9cb9b76f553d"]]
|
289
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
290
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-5@example.com' AND "push_type_users"."id" != 'b3d94bf8-729e-4c8d-9ef7-9cb9b76f553d') LIMIT 1
|
291
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
292
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.0ms)
|
293
|
-
Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.5ms)
|
294
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
295
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
296
|
-
[1m[35m (0.1ms)[0m BEGIN
|
297
|
-
----------------------------------------------------------------------------------------
|
298
|
-
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
|
299
|
-
----------------------------------------------------------------------------------------
|
300
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
301
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
302
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
303
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
304
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1[0m
|
305
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
|
306
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "5086a300017642ca9d0928c84f8cfe85e2007fedf816b402bcc84ba91ef8c79a"]]
|
307
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", "2015-11-02 16:59:46.927241"], ["updated_at", "2015-11-02 16:59:46.927241"], ["confirmation_token", "jN3PS6mGPdcLcxYiVU1q"], ["confirmation_sent_at", "2015-11-02 16:59:47.102634"]]
|
308
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
|
190
|
+
[1m[35mPushType::User Exists (0.5ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
|
191
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1[0m
|
192
|
+
[1m[35mPushType::User Load (0.3ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "060a5dbb216b217803bbbacd98dc4bfeca8dde076a51b06907e42eb0515d2b33"]]
|
193
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", "2015-11-02 20:28:16.227736"], ["updated_at", "2015-11-02 20:28:16.227736"], ["confirmation_token", "59ejRKJi8QgrasNmbyei"], ["confirmation_sent_at", "2015-11-02 20:28:16.410147"]]
|
194
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.5ms)
|
309
195
|
|
310
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
196
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 265.4ms
|
311
197
|
|
312
|
-
Sent mail to joe-
|
313
|
-
Date: Mon, 02 Nov 2015
|
198
|
+
Sent mail to joe-1@example.com (7.2ms)
|
199
|
+
Date: Mon, 02 Nov 2015 20:28:16 +0000
|
314
200
|
From: pushtype@example.com
|
315
201
|
Reply-To: pushtype@example.com
|
316
|
-
To: joe-
|
317
|
-
Message-ID: <
|
202
|
+
To: joe-1@example.com
|
203
|
+
Message-ID: <5637c760af5d4_3b263fcf84c63bec939dc@Aarons-iMac.local.mail>
|
318
204
|
Subject: [PushType] Confirm your account
|
319
205
|
Mime-Version: 1.0
|
320
206
|
Content-Type: multipart/alternative;
|
321
|
-
boundary="--==
|
207
|
+
boundary="--==_mimepart_5637c760ae531_3b263fcf84c63bec93810";
|
322
208
|
charset=UTF-8
|
323
209
|
Content-Transfer-Encoding: 7bit
|
324
210
|
|
325
211
|
|
326
|
-
----==
|
212
|
+
----==_mimepart_5637c760ae531_3b263fcf84c63bec93810
|
327
213
|
Content-Type: text/plain;
|
328
214
|
charset=UTF-8
|
329
215
|
Content-Transfer-Encoding: 7bit
|
@@ -338,10 +224,10 @@ created for you.
|
|
338
224
|
To get started, confirm your account and set your own password by
|
339
225
|
clicking the link below:
|
340
226
|
|
341
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
227
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=59ejRKJi8QgrasNmbyei )
|
342
228
|
|
343
229
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
344
|
-
----==
|
230
|
+
----==_mimepart_5637c760ae531_3b263fcf84c63bec93810
|
345
231
|
Content-Type: text/html;
|
346
232
|
charset=UTF-8
|
347
233
|
Content-Transfer-Encoding: 7bit
|
@@ -387,7 +273,7 @@ body {
|
|
387
273
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
388
274
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
389
275
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
390
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
276
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=59ejRKJi8QgrasNmbyei" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
391
277
|
</td>
|
392
278
|
</tr>
|
393
279
|
</table>
|
@@ -432,55 +318,42 @@ body {
|
|
432
318
|
</body>
|
433
319
|
</html>
|
434
320
|
|
435
|
-
----==
|
321
|
+
----==_mimepart_5637c760ae531_3b263fcf84c63bec93810--
|
436
322
|
|
437
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
438
|
-
Processing by PushType::ConfirmationsController#update as HTML
|
439
|
-
Parameters: {"user"=>{"confirmation_token"=>"jN3PS6mGPdcLcxYiVU1q", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
440
|
-
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "jN3PS6mGPdcLcxYiVU1q"]]
|
441
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != 'afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a') LIMIT 1[0m
|
442
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
443
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["encrypted_password", "$2a$04$3EocGU6w8bX0SNOcr9S0E.XJLGf3RBM7jfFPaQigHTERXIILd2Ar2"], ["confirmed_at", "2015-11-02 16:59:47.279882"], ["updated_at", "2015-11-02 16:59:47.280474"], ["id", "afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a"]]
|
444
323
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
445
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
446
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-11-02 16:59:47.282104"], ["current_sign_in_at", "2015-11-02 16:59:47.282104"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-02 16:59:47.282625"], ["id", "afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a"]]
|
447
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
448
|
-
Redirected to http://test.host/push_type/
|
449
|
-
Completed 302 Found in 30ms (ActiveRecord: 1.2ms)
|
450
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a"]]
|
451
324
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
452
|
-
[1m[35m (0.
|
325
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
453
326
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
454
|
-
|
455
|
-
PushType::
|
456
|
-
|
327
|
+
--------------------------------------------------------------------------------------------------------------
|
328
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
|
329
|
+
--------------------------------------------------------------------------------------------------------------
|
457
330
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
458
|
-
[1m[36m (0.
|
331
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
459
332
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
460
|
-
[1m[36m (0.
|
461
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
462
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
463
|
-
[1m[35mPushType::User Load (0.
|
464
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
465
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
333
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
334
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
|
335
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1[0m
|
336
|
+
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "0cb3066000f0e8a35605dc8201f9a0e7a5d22530429930a7dd68ff2180c32549"]]
|
337
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", "2015-11-02 20:28:16.734131"], ["updated_at", "2015-11-02 20:28:16.734131"], ["confirmation_token", "W_Yvt2KVPnLAJQjBR4We"], ["confirmation_sent_at", "2015-11-02 20:28:16.735010"]]
|
338
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
466
339
|
|
467
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
340
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
|
468
341
|
|
469
|
-
Sent mail to joe-
|
470
|
-
Date: Mon, 02 Nov 2015
|
342
|
+
Sent mail to joe-2@example.com (3.2ms)
|
343
|
+
Date: Mon, 02 Nov 2015 20:28:16 +0000
|
471
344
|
From: pushtype@example.com
|
472
345
|
Reply-To: pushtype@example.com
|
473
|
-
To: joe-
|
474
|
-
Message-ID: <
|
346
|
+
To: joe-2@example.com
|
347
|
+
Message-ID: <5637c760bbae2_3b263fcf84c63bec9423f@Aarons-iMac.local.mail>
|
475
348
|
Subject: [PushType] Confirm your account
|
476
349
|
Mime-Version: 1.0
|
477
350
|
Content-Type: multipart/alternative;
|
478
|
-
boundary="--==
|
351
|
+
boundary="--==_mimepart_5637c760bb559_3b263fcf84c63bec94183";
|
479
352
|
charset=UTF-8
|
480
353
|
Content-Transfer-Encoding: 7bit
|
481
354
|
|
482
355
|
|
483
|
-
----==
|
356
|
+
----==_mimepart_5637c760bb559_3b263fcf84c63bec94183
|
484
357
|
Content-Type: text/plain;
|
485
358
|
charset=UTF-8
|
486
359
|
Content-Transfer-Encoding: 7bit
|
@@ -495,10 +368,10 @@ created for you.
|
|
495
368
|
To get started, confirm your account and set your own password by
|
496
369
|
clicking the link below:
|
497
370
|
|
498
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
371
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=W_Yvt2KVPnLAJQjBR4We )
|
499
372
|
|
500
373
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
501
|
-
----==
|
374
|
+
----==_mimepart_5637c760bb559_3b263fcf84c63bec94183
|
502
375
|
Content-Type: text/html;
|
503
376
|
charset=UTF-8
|
504
377
|
Content-Transfer-Encoding: 7bit
|
@@ -544,7 +417,7 @@ body {
|
|
544
417
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
545
418
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
546
419
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
547
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
420
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=W_Yvt2KVPnLAJQjBR4We" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
548
421
|
</td>
|
549
422
|
</tr>
|
550
423
|
</table>
|
@@ -589,54 +462,76 @@ body {
|
|
589
462
|
</body>
|
590
463
|
</html>
|
591
464
|
|
592
|
-
----==
|
465
|
+
----==_mimepart_5637c760bb559_3b263fcf84c63bec94183--
|
593
466
|
|
594
467
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
595
|
-
Processing by PushType::ConfirmationsController#update as HTML
|
596
|
-
Parameters: {"user"=>{"confirmation_token"=>"7URfEsvgpVDX52za-_EK", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
597
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "7URfEsvgpVDX52za-_EK"]]
|
598
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '6d7790bd-e781-40f6-9ac1-97fd9b5e001e') LIMIT 1
|
599
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
600
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$Flts4NYl5hPw.nG/4cznauWUpzB5Kk.32uzdUfZwNES9TwhsHYqNO"], ["confirmed_at", "2015-11-02 16:59:47.325577"], ["updated_at", "2015-11-02 16:59:47.326095"], ["id", "6d7790bd-e781-40f6-9ac1-97fd9b5e001e"]]
|
601
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
602
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
603
|
-
[1m[36mSQL (0.1ms)[0m [1mUPDATE "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[0m [["last_sign_in_at", "2015-11-02 16:59:47.327327"], ["current_sign_in_at", "2015-11-02 16:59:47.327327"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-02 16:59:47.327724"], ["id", "6d7790bd-e781-40f6-9ac1-97fd9b5e001e"]]
|
604
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
605
|
-
Redirected to http://test.host/push_type/
|
606
|
-
Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
|
607
468
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
608
469
|
[1m[35m (0.1ms)[0m ROLLBACK
|
609
470
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
610
|
-
|
611
|
-
PushType::
|
612
|
-
|
471
|
+
------------------------------------------------------------------------------------------------------
|
472
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
473
|
+
------------------------------------------------------------------------------------------------------
|
474
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
475
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
613
476
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
477
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
478
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
479
|
+
[1m[36mPushType::User Load (0.3ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "invalid"]]
|
480
|
+
[1m[35mPushType::User Load (0.3ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
|
481
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "28f7df9a6236f9200910a798dd2926c2089541bdd936c8e1cff259b33244fd39"]]
|
482
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
|
483
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (9.0ms)
|
484
|
+
Completed 200 OK in 10862ms (Views: 10857.7ms | ActiveRecord: 0.7ms)
|
485
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
486
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
487
|
+
[1m[35m (0.1ms)[0m BEGIN
|
488
|
+
------------------------------------------------------------------------------------------------------
|
489
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
490
|
+
------------------------------------------------------------------------------------------------------
|
491
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
492
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
493
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
494
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
495
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
496
|
+
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
|
497
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "invalid"]]
|
498
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "28f7df9a6236f9200910a798dd2926c2089541bdd936c8e1cff259b33244fd39"]]
|
499
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
500
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.5ms)
|
501
|
+
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.4ms)
|
502
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
503
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
504
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
505
|
+
----------------------------------------------------------------------------------------------------
|
506
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
507
|
+
----------------------------------------------------------------------------------------------------
|
508
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
614
509
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
615
510
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
616
|
-
[1m[36m (0.
|
617
|
-
[1m[35mPushType::User Exists (0.
|
618
|
-
[1m[36mPushType::User Exists (0.
|
619
|
-
[1m[35mPushType::User Load (0.
|
620
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
511
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
512
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
|
513
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1[0m
|
514
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "e1c20e0327e6a8d02591988780b79eef35ae5d96bd01dffb6bcff19a1e14619b"]]
|
515
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", "2015-11-02 20:28:27.659554"], ["updated_at", "2015-11-02 20:28:27.659554"], ["confirmation_token", "ji6gpVv55s4TzY4zGTnU"], ["confirmation_sent_at", "2015-11-02 20:28:27.660309"]]
|
621
516
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
622
517
|
|
623
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
518
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
624
519
|
|
625
|
-
Sent mail to joe-
|
626
|
-
Date: Mon, 02 Nov 2015
|
520
|
+
Sent mail to joe-3@example.com (3.3ms)
|
521
|
+
Date: Mon, 02 Nov 2015 20:28:27 +0000
|
627
522
|
From: pushtype@example.com
|
628
523
|
Reply-To: pushtype@example.com
|
629
|
-
To: joe-
|
630
|
-
Message-ID: <
|
524
|
+
To: joe-3@example.com
|
525
|
+
Message-ID: <5637c76ba90b2_3b263fcf84c63bec94515@Aarons-iMac.local.mail>
|
631
526
|
Subject: [PushType] Confirm your account
|
632
527
|
Mime-Version: 1.0
|
633
528
|
Content-Type: multipart/alternative;
|
634
|
-
boundary="--==
|
529
|
+
boundary="--==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f";
|
635
530
|
charset=UTF-8
|
636
531
|
Content-Transfer-Encoding: 7bit
|
637
532
|
|
638
533
|
|
639
|
-
----==
|
534
|
+
----==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f
|
640
535
|
Content-Type: text/plain;
|
641
536
|
charset=UTF-8
|
642
537
|
Content-Transfer-Encoding: 7bit
|
@@ -651,10 +546,10 @@ created for you.
|
|
651
546
|
To get started, confirm your account and set your own password by
|
652
547
|
clicking the link below:
|
653
548
|
|
654
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
549
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ji6gpVv55s4TzY4zGTnU )
|
655
550
|
|
656
551
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
657
|
-
----==
|
552
|
+
----==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f
|
658
553
|
Content-Type: text/html;
|
659
554
|
charset=UTF-8
|
660
555
|
Content-Transfer-Encoding: 7bit
|
@@ -700,7 +595,7 @@ body {
|
|
700
595
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
701
596
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
702
597
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
703
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
598
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=ji6gpVv55s4TzY4zGTnU" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
704
599
|
</td>
|
705
600
|
</tr>
|
706
601
|
</table>
|
@@ -745,108 +640,48 @@ body {
|
|
745
640
|
</body>
|
746
641
|
</html>
|
747
642
|
|
748
|
-
----==
|
643
|
+
----==_mimepart_5637c76ba8b12_3b263fcf84c63bec9448f--
|
749
644
|
|
750
645
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
751
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
752
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
753
|
-
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
754
|
-
---------------------------------------------------------------------------
|
755
|
-
PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
|
756
|
-
---------------------------------------------------------------------------
|
757
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
758
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
759
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
760
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
761
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
762
|
-
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
763
|
-
---------------------------------------------------------------------------
|
764
|
-
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
765
|
-
---------------------------------------------------------------------------
|
766
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
767
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
768
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
769
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
770
|
-
[1m[35m (0.0ms)[0m ROLLBACK
|
771
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
772
|
-
------------------------------------------------------------------------------------------------------
|
773
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
774
|
-
------------------------------------------------------------------------------------------------------
|
775
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
776
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
777
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
778
646
|
Processing by PushType::ConfirmationsController#show as HTML
|
779
|
-
Parameters: {"confirmation_token"=>"
|
780
|
-
[1m[36mPushType::User Load (0.
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (5.5ms)
|
785
|
-
Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 0.3ms)
|
647
|
+
Parameters: {"confirmation_token"=>"ji6gpVv55s4TzY4zGTnU"}
|
648
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "ji6gpVv55s4TzY4zGTnU"]]
|
649
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
650
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (4.8ms)
|
651
|
+
Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.1ms)
|
786
652
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
787
653
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
788
654
|
[1m[35m (0.1ms)[0m BEGIN
|
789
|
-
|
790
|
-
PushType::ConfirmationsControllerTest::GET #show::with
|
791
|
-
|
792
|
-
[1m[36m (0.
|
655
|
+
----------------------------------------------------------------------------------------------------
|
656
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
|
657
|
+
----------------------------------------------------------------------------------------------------
|
658
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
793
659
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
794
|
-
[1m[36m (0.
|
795
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
796
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
797
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
|
798
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "invalid"]]
|
799
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5912ef8b395805b8aaccedf740acc0c9afa2afe691cd77fc01b8baad06332f6f"]]
|
800
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
801
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.3ms)
|
802
|
-
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms)
|
803
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
804
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
805
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
806
|
-
---------------------------------------------------------------
|
807
|
-
PushType::AuthenticatableTest::recoverable: test_0001_anonymous
|
808
|
-
---------------------------------------------------------------
|
809
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
810
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
811
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
812
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
813
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
814
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
815
|
-
---------------------------------------------------------------
|
816
|
-
PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
|
817
|
-
---------------------------------------------------------------
|
818
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
819
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
820
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
821
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
822
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
|
823
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1[0m
|
824
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.399711"], ["confirmed_at", "2015-11-02 16:59:47.399775"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.401342"], ["updated_at", "2015-11-02 16:59:47.401342"]]
|
825
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
660
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
826
661
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
827
|
-
[1m[36mPushType::User Exists (0.
|
828
|
-
[1m[35mPushType::User Exists (0.
|
829
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "
|
830
|
-
[1m[35mSQL (0.1ms)[0m 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-
|
831
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
662
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1[0m
|
663
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
|
664
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "c1c471c1e4cd2ff6833102522aeb6387fc3ec92bf9e2baa393227e5ede0a9d90"]]
|
665
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", "2015-11-02 20:28:27.709452"], ["updated_at", "2015-11-02 20:28:27.709452"], ["confirmation_token", "Hv4_6NNm5nVQyCxMZmMa"], ["confirmation_sent_at", "2015-11-02 20:28:27.710203"]]
|
666
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
832
667
|
|
833
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
668
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
|
834
669
|
|
835
|
-
Sent mail to joe-
|
836
|
-
Date: Mon, 02 Nov 2015
|
670
|
+
Sent mail to joe-4@example.com (3.2ms)
|
671
|
+
Date: Mon, 02 Nov 2015 20:28:27 +0000
|
837
672
|
From: pushtype@example.com
|
838
673
|
Reply-To: pushtype@example.com
|
839
|
-
To: joe-
|
840
|
-
Message-ID: <
|
674
|
+
To: joe-4@example.com
|
675
|
+
Message-ID: <5637c76bb50ac_3b263fcf84c63bec94832@Aarons-iMac.local.mail>
|
841
676
|
Subject: [PushType] Confirm your account
|
842
677
|
Mime-Version: 1.0
|
843
678
|
Content-Type: multipart/alternative;
|
844
|
-
boundary="--==
|
679
|
+
boundary="--==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476";
|
845
680
|
charset=UTF-8
|
846
681
|
Content-Transfer-Encoding: 7bit
|
847
682
|
|
848
683
|
|
849
|
-
----==
|
684
|
+
----==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476
|
850
685
|
Content-Type: text/plain;
|
851
686
|
charset=UTF-8
|
852
687
|
Content-Transfer-Encoding: 7bit
|
@@ -861,10 +696,10 @@ created for you.
|
|
861
696
|
To get started, confirm your account and set your own password by
|
862
697
|
clicking the link below:
|
863
698
|
|
864
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
699
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Hv4_6NNm5nVQyCxMZmMa )
|
865
700
|
|
866
701
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
867
|
-
----==
|
702
|
+
----==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476
|
868
703
|
Content-Type: text/html;
|
869
704
|
charset=UTF-8
|
870
705
|
Content-Transfer-Encoding: 7bit
|
@@ -910,7 +745,7 @@ body {
|
|
910
745
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
911
746
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
912
747
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
913
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
748
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Hv4_6NNm5nVQyCxMZmMa" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
914
749
|
</td>
|
915
750
|
</tr>
|
916
751
|
</table>
|
@@ -955,34 +790,80 @@ body {
|
|
955
790
|
</body>
|
956
791
|
</html>
|
957
792
|
|
958
|
-
----==
|
793
|
+
----==_mimepart_5637c76bb4ace_3b263fcf84c63bec9476--
|
959
794
|
|
960
795
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
961
|
-
Processing by PushType::
|
962
|
-
Parameters: {"
|
963
|
-
[1m[35mPushType::User Load (0.
|
964
|
-
|
965
|
-
|
796
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
797
|
+
Parameters: {"confirmation_token"=>"Hv4_6NNm5nVQyCxMZmMa"}
|
798
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "Hv4_6NNm5nVQyCxMZmMa"]]
|
799
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
800
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
|
801
|
+
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms)
|
802
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
803
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
804
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
805
|
+
---------------------------------------------------------------
|
806
|
+
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
807
|
+
---------------------------------------------------------------
|
808
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
809
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
810
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
811
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
812
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
813
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
814
|
+
---------------------------------------------------------------
|
815
|
+
PushType::AuthenticatableTest::recoverable: test_0001_anonymous
|
816
|
+
---------------------------------------------------------------
|
817
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
818
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
819
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
820
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
821
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
822
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
823
|
+
----------------------------------------------------
|
824
|
+
PushType::InvitationMethodsTest: test_0001_anonymous
|
825
|
+
----------------------------------------------------
|
826
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
827
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
828
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
829
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
830
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
831
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
832
|
+
---------------------------------------------------------------
|
833
|
+
PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
|
834
|
+
---------------------------------------------------------------
|
835
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
836
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
837
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
838
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
839
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
|
840
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1[0m
|
841
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:27.758692"], ["confirmed_at", "2015-11-02 20:28:27.758763"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:27.760506"], ["updated_at", "2015-11-02 20:28:27.760506"]]
|
966
842
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
967
|
-
|
843
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
844
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1[0m
|
845
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
|
846
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "9bdc8a3d5b27db0483f2d49160216909599887deb245c2ffb5e2d974db577e19"]]
|
847
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", "2015-11-02 20:28:27.763393"], ["updated_at", "2015-11-02 20:28:27.763393"], ["confirmation_token", "_bxoS-8bD6zLarnXvCmp"], ["confirmation_sent_at", "2015-11-02 20:28:27.764167"]]
|
848
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
968
849
|
|
969
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
850
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
970
851
|
|
971
|
-
Sent mail to joe-
|
972
|
-
Date: Mon, 02 Nov 2015
|
852
|
+
Sent mail to joe-6@example.com (3.1ms)
|
853
|
+
Date: Mon, 02 Nov 2015 20:28:27 +0000
|
973
854
|
From: pushtype@example.com
|
974
855
|
Reply-To: pushtype@example.com
|
975
|
-
To: joe-
|
976
|
-
Message-ID: <
|
856
|
+
To: joe-6@example.com
|
857
|
+
Message-ID: <5637c76bc257e_3b263fcf84c63bec951f@Aarons-iMac.local.mail>
|
977
858
|
Subject: [PushType] Confirm your account
|
978
859
|
Mime-Version: 1.0
|
979
860
|
Content-Type: multipart/alternative;
|
980
|
-
boundary="--==
|
861
|
+
boundary="--==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3";
|
981
862
|
charset=UTF-8
|
982
863
|
Content-Transfer-Encoding: 7bit
|
983
864
|
|
984
865
|
|
985
|
-
----==
|
866
|
+
----==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3
|
986
867
|
Content-Type: text/plain;
|
987
868
|
charset=UTF-8
|
988
869
|
Content-Transfer-Encoding: 7bit
|
@@ -997,10 +878,10 @@ created for you.
|
|
997
878
|
To get started, confirm your account and set your own password by
|
998
879
|
clicking the link below:
|
999
880
|
|
1000
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
881
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_bxoS-8bD6zLarnXvCmp )
|
1001
882
|
|
1002
883
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1003
|
-
----==
|
884
|
+
----==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3
|
1004
885
|
Content-Type: text/html;
|
1005
886
|
charset=UTF-8
|
1006
887
|
Content-Transfer-Encoding: 7bit
|
@@ -1046,7 +927,7 @@ body {
|
|
1046
927
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
1047
928
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
1048
929
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
1049
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
930
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=_bxoS-8bD6zLarnXvCmp" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
1050
931
|
</td>
|
1051
932
|
</tr>
|
1052
933
|
</table>
|
@@ -1091,48 +972,34 @@ body {
|
|
1091
972
|
</body>
|
1092
973
|
</html>
|
1093
974
|
|
1094
|
-
----==
|
975
|
+
----==_mimepart_5637c76bc1fea_3b263fcf84c63bec950c3--
|
1095
976
|
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
[1m[
|
1100
|
-
[1m[
|
1101
|
-
---------------------------------------------------------------
|
1102
|
-
PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
|
1103
|
-
---------------------------------------------------------------
|
1104
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1105
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1106
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
977
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
978
|
+
Processing by PushType::UsersController#invite as HTML
|
979
|
+
Parameters: {"id"=>"8e553283-c837-4891-93a5-7bbbc27ae66b"}
|
980
|
+
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "90031e60-fbf7-4220-9685-fa8596e8b603"]]
|
981
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "8e553283-c837-4891-93a5-7bbbc27ae66b"]]
|
1107
982
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1108
|
-
[1m[
|
1109
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
|
1110
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.561475"], ["confirmed_at", "2015-11-02 16:59:47.561536"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.563165"], ["updated_at", "2015-11-02 16:59:47.563165"]]
|
1111
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1112
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1113
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
|
1114
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1[0m
|
1115
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "9f538f65f85cb0ba3c9558f2ce160a43a9634ab7691b3ce6416654d5446b9797"]]
|
1116
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", "2015-11-02 16:59:47.565859"], ["updated_at", "2015-11-02 16:59:47.565859"], ["confirmation_token", "gYHzp7eggMJfXvucHgay"], ["confirmation_sent_at", "2015-11-02 16:59:47.566548"]]
|
983
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1117
984
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
1118
985
|
|
1119
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
986
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
1120
987
|
|
1121
|
-
Sent mail to joe-
|
1122
|
-
Date: Mon, 02 Nov 2015
|
988
|
+
Sent mail to joe-6@example.com (3.0ms)
|
989
|
+
Date: Mon, 02 Nov 2015 20:28:27 +0000
|
1123
990
|
From: pushtype@example.com
|
1124
991
|
Reply-To: pushtype@example.com
|
1125
|
-
To: joe-
|
1126
|
-
Message-ID: <
|
992
|
+
To: joe-6@example.com
|
993
|
+
Message-ID: <5637c76bcb6d1_3b263fcf84c63bec95474@Aarons-iMac.local.mail>
|
1127
994
|
Subject: [PushType] Confirm your account
|
1128
995
|
Mime-Version: 1.0
|
1129
996
|
Content-Type: multipart/alternative;
|
1130
|
-
boundary="--==
|
997
|
+
boundary="--==_mimepart_5637c76bcb141_3b263fcf84c63bec95395";
|
1131
998
|
charset=UTF-8
|
1132
999
|
Content-Transfer-Encoding: 7bit
|
1133
1000
|
|
1134
1001
|
|
1135
|
-
----==
|
1002
|
+
----==_mimepart_5637c76bcb141_3b263fcf84c63bec95395
|
1136
1003
|
Content-Type: text/plain;
|
1137
1004
|
charset=UTF-8
|
1138
1005
|
Content-Transfer-Encoding: 7bit
|
@@ -1147,10 +1014,10 @@ created for you.
|
|
1147
1014
|
To get started, confirm your account and set your own password by
|
1148
1015
|
clicking the link below:
|
1149
1016
|
|
1150
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1017
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_bxoS-8bD6zLarnXvCmp )
|
1151
1018
|
|
1152
1019
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1153
|
-
----==
|
1020
|
+
----==_mimepart_5637c76bcb141_3b263fcf84c63bec95395
|
1154
1021
|
Content-Type: text/html;
|
1155
1022
|
charset=UTF-8
|
1156
1023
|
Content-Transfer-Encoding: 7bit
|
@@ -1196,7 +1063,7 @@ body {
|
|
1196
1063
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
1197
1064
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
1198
1065
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
1199
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
1066
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=_bxoS-8bD6zLarnXvCmp" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
1200
1067
|
</td>
|
1201
1068
|
</tr>
|
1202
1069
|
</table>
|
@@ -1241,34 +1108,48 @@ body {
|
|
1241
1108
|
</body>
|
1242
1109
|
</html>
|
1243
1110
|
|
1244
|
-
----==
|
1111
|
+
----==_mimepart_5637c76bcb141_3b263fcf84c63bec95395--
|
1245
1112
|
|
1113
|
+
Redirected to /push_type/users
|
1114
|
+
Completed 302 Found in 35ms (ActiveRecord: 0.5ms)
|
1115
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1116
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1117
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1118
|
+
---------------------------------------------------------------
|
1119
|
+
PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
|
1120
|
+
---------------------------------------------------------------
|
1121
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1122
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1123
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1124
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1125
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1[0m
|
1126
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
|
1127
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:27.837600"], ["confirmed_at", "2015-11-02 20:28:27.837661"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:27.839352"], ["updated_at", "2015-11-02 20:28:27.839352"]]
|
1246
1128
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1247
|
-
Processing by PushType::UsersController#invite as HTML
|
1248
|
-
Parameters: {"id"=>"b8a50076-3e93-499b-9d25-76680ab361f8"}
|
1249
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "d95f4911-dd4a-4a89-b3b1-e530f7197571"]]
|
1250
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "b8a50076-3e93-499b-9d25-76680ab361f8"]]
|
1251
1129
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1252
|
-
[1m[
|
1253
|
-
|
1130
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
|
1131
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1[0m
|
1132
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "dce89aebd270973836ef57f3d56d5eecacd88a0d42dc73c7df4551fea761ca44"]]
|
1133
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", "2015-11-02 20:28:27.842179"], ["updated_at", "2015-11-02 20:28:27.842179"], ["confirmation_token", "sARd_cmnYbb-Yn91p5zm"], ["confirmation_sent_at", "2015-11-02 20:28:27.842909"]]
|
1134
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
1254
1135
|
|
1255
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
1136
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
1256
1137
|
|
1257
|
-
Sent mail to joe-
|
1258
|
-
Date: Mon, 02 Nov 2015
|
1138
|
+
Sent mail to joe-8@example.com (3.0ms)
|
1139
|
+
Date: Mon, 02 Nov 2015 20:28:27 +0000
|
1259
1140
|
From: pushtype@example.com
|
1260
1141
|
Reply-To: pushtype@example.com
|
1261
|
-
To: joe-
|
1262
|
-
Message-ID: <
|
1142
|
+
To: joe-8@example.com
|
1143
|
+
Message-ID: <5637c76bd57c5_3b263fcf84c63bec9577c@Aarons-iMac.local.mail>
|
1263
1144
|
Subject: [PushType] Confirm your account
|
1264
1145
|
Mime-Version: 1.0
|
1265
1146
|
Content-Type: multipart/alternative;
|
1266
|
-
boundary="--==
|
1147
|
+
boundary="--==_mimepart_5637c76bd523e_3b263fcf84c63bec95614";
|
1267
1148
|
charset=UTF-8
|
1268
1149
|
Content-Transfer-Encoding: 7bit
|
1269
1150
|
|
1270
1151
|
|
1271
|
-
----==
|
1152
|
+
----==_mimepart_5637c76bd523e_3b263fcf84c63bec95614
|
1272
1153
|
Content-Type: text/plain;
|
1273
1154
|
charset=UTF-8
|
1274
1155
|
Content-Transfer-Encoding: 7bit
|
@@ -1283,10 +1164,10 @@ created for you.
|
|
1283
1164
|
To get started, confirm your account and set your own password by
|
1284
1165
|
clicking the link below:
|
1285
1166
|
|
1286
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1167
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=sARd_cmnYbb-Yn91p5zm )
|
1287
1168
|
|
1288
1169
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1289
|
-
----==
|
1170
|
+
----==_mimepart_5637c76bd523e_3b263fcf84c63bec95614
|
1290
1171
|
Content-Type: text/html;
|
1291
1172
|
charset=UTF-8
|
1292
1173
|
Content-Transfer-Encoding: 7bit
|
@@ -1332,7 +1213,7 @@ body {
|
|
1332
1213
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
1333
1214
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
1334
1215
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
1335
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
1216
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=sARd_cmnYbb-Yn91p5zm" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
1336
1217
|
</td>
|
1337
1218
|
</tr>
|
1338
1219
|
</table>
|
@@ -1377,48 +1258,34 @@ body {
|
|
1377
1258
|
</body>
|
1378
1259
|
</html>
|
1379
1260
|
|
1380
|
-
----==
|
1261
|
+
----==_mimepart_5637c76bd523e_3b263fcf84c63bec95614--
|
1381
1262
|
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
[1m[
|
1386
|
-
[1m[
|
1387
|
-
---------------------------------------------------------------
|
1388
|
-
PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
|
1389
|
-
---------------------------------------------------------------
|
1390
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1391
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1392
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1263
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1264
|
+
Processing by PushType::UsersController#invite as HTML
|
1265
|
+
Parameters: {"id"=>"fcfa4fdd-76d7-4582-8436-50b855faac8c"}
|
1266
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "717e9d06-f742-4b4a-96d4-1ae094a0c7f6"]]
|
1267
|
+
[1m[35mPushType::User Load (0.3ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "fcfa4fdd-76d7-4582-8436-50b855faac8c"]]
|
1393
1268
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1394
|
-
[1m[
|
1395
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1[0m
|
1396
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.636777"], ["confirmed_at", "2015-11-02 16:59:47.636836"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.638408"], ["updated_at", "2015-11-02 16:59:47.638408"]]
|
1397
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1398
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1399
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1[0m
|
1400
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
|
1401
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "c514fcaf5a8e478d9008486d909f81041e8315d44d3912e57f09e84d82847c2b"]]
|
1402
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", "2015-11-02 16:59:47.640986"], ["updated_at", "2015-11-02 16:59:47.640986"], ["confirmation_token", "5r-shr8nEwAfCncaNw-9"], ["confirmation_sent_at", "2015-11-02 16:59:47.641630"]]
|
1269
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1403
1270
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
1404
1271
|
|
1405
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
1272
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
|
1406
1273
|
|
1407
|
-
Sent mail to joe-
|
1408
|
-
Date: Mon, 02 Nov 2015
|
1274
|
+
Sent mail to joe-8@example.com (2.9ms)
|
1275
|
+
Date: Mon, 02 Nov 2015 20:28:27 +0000
|
1409
1276
|
From: pushtype@example.com
|
1410
1277
|
Reply-To: pushtype@example.com
|
1411
|
-
To: joe-
|
1412
|
-
Message-ID: <
|
1278
|
+
To: joe-8@example.com
|
1279
|
+
Message-ID: <5637c76bde2d8_3b263fcf84c63bec960e8@Aarons-iMac.local.mail>
|
1413
1280
|
Subject: [PushType] Confirm your account
|
1414
1281
|
Mime-Version: 1.0
|
1415
1282
|
Content-Type: multipart/alternative;
|
1416
|
-
boundary="--==
|
1283
|
+
boundary="--==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f";
|
1417
1284
|
charset=UTF-8
|
1418
1285
|
Content-Transfer-Encoding: 7bit
|
1419
1286
|
|
1420
1287
|
|
1421
|
-
----==
|
1288
|
+
----==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f
|
1422
1289
|
Content-Type: text/plain;
|
1423
1290
|
charset=UTF-8
|
1424
1291
|
Content-Transfer-Encoding: 7bit
|
@@ -1433,10 +1300,10 @@ created for you.
|
|
1433
1300
|
To get started, confirm your account and set your own password by
|
1434
1301
|
clicking the link below:
|
1435
1302
|
|
1436
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1303
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=sARd_cmnYbb-Yn91p5zm )
|
1437
1304
|
|
1438
1305
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1439
|
-
----==
|
1306
|
+
----==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f
|
1440
1307
|
Content-Type: text/html;
|
1441
1308
|
charset=UTF-8
|
1442
1309
|
Content-Transfer-Encoding: 7bit
|
@@ -1482,7 +1349,7 @@ body {
|
|
1482
1349
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
1483
1350
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
1484
1351
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
1485
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
1352
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=sARd_cmnYbb-Yn91p5zm" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
1486
1353
|
</td>
|
1487
1354
|
</tr>
|
1488
1355
|
</table>
|
@@ -1527,34 +1394,48 @@ body {
|
|
1527
1394
|
</body>
|
1528
1395
|
</html>
|
1529
1396
|
|
1530
|
-
----==
|
1397
|
+
----==_mimepart_5637c76bdddd2_3b263fcf84c63bec9594f--
|
1531
1398
|
|
1399
|
+
Redirected to /push_type/users
|
1400
|
+
Completed 302 Found in 34ms (ActiveRecord: 0.7ms)
|
1401
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1402
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1403
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1404
|
+
---------------------------------------------------------------
|
1405
|
+
PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
|
1406
|
+
---------------------------------------------------------------
|
1407
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1408
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1409
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1410
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
1411
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
|
1412
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1[0m
|
1413
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:27.914098"], ["confirmed_at", "2015-11-02 20:28:27.914179"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:27.915723"], ["updated_at", "2015-11-02 20:28:27.915723"]]
|
1532
1414
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1533
|
-
Processing by PushType::UsersController#invite as HTML
|
1534
|
-
Parameters: {"id"=>"0583c5fd-3e1e-4c7c-b779-5f002793dfea"}
|
1535
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "e0ef9a0e-8c82-43da-8c40-1fda4d39bf2c"]]
|
1536
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "0583c5fd-3e1e-4c7c-b779-5f002793dfea"]]
|
1537
1415
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1538
|
-
[1m[
|
1416
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1[0m
|
1417
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
|
1418
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "5d29b887aa967220553cb678de3b2dde4e0ff4a131071a2562f0a67ec3580765"]]
|
1419
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", "2015-11-02 20:28:27.918483"], ["updated_at", "2015-11-02 20:28:27.918483"], ["confirmation_token", "z7Jhxm9LMeDb5tnV8VMe"], ["confirmation_sent_at", "2015-11-02 20:28:27.919160"]]
|
1539
1420
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
1540
1421
|
|
1541
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
1422
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
1542
1423
|
|
1543
|
-
Sent mail to joe-
|
1544
|
-
Date: Mon, 02 Nov 2015
|
1424
|
+
Sent mail to joe-10@example.com (3.0ms)
|
1425
|
+
Date: Mon, 02 Nov 2015 20:28:27 +0000
|
1545
1426
|
From: pushtype@example.com
|
1546
1427
|
Reply-To: pushtype@example.com
|
1547
|
-
To: joe-
|
1548
|
-
Message-ID: <
|
1428
|
+
To: joe-10@example.com
|
1429
|
+
Message-ID: <5637c76be7fcd_3b263fcf84c63bec963e9@Aarons-iMac.local.mail>
|
1549
1430
|
Subject: [PushType] Confirm your account
|
1550
1431
|
Mime-Version: 1.0
|
1551
1432
|
Content-Type: multipart/alternative;
|
1552
|
-
boundary="--==
|
1433
|
+
boundary="--==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c";
|
1553
1434
|
charset=UTF-8
|
1554
1435
|
Content-Transfer-Encoding: 7bit
|
1555
1436
|
|
1556
1437
|
|
1557
|
-
----==
|
1438
|
+
----==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c
|
1558
1439
|
Content-Type: text/plain;
|
1559
1440
|
charset=UTF-8
|
1560
1441
|
Content-Transfer-Encoding: 7bit
|
@@ -1569,10 +1450,10 @@ created for you.
|
|
1569
1450
|
To get started, confirm your account and set your own password by
|
1570
1451
|
clicking the link below:
|
1571
1452
|
|
1572
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1453
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=z7Jhxm9LMeDb5tnV8VMe )
|
1573
1454
|
|
1574
1455
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1575
|
-
----==
|
1456
|
+
----==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c
|
1576
1457
|
Content-Type: text/html;
|
1577
1458
|
charset=UTF-8
|
1578
1459
|
Content-Transfer-Encoding: 7bit
|
@@ -1618,7 +1499,7 @@ body {
|
|
1618
1499
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
1619
1500
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
1620
1501
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
1621
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
1502
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=z7Jhxm9LMeDb5tnV8VMe" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
1622
1503
|
</td>
|
1623
1504
|
</tr>
|
1624
1505
|
</table>
|
@@ -1663,61 +1544,34 @@ body {
|
|
1663
1544
|
</body>
|
1664
1545
|
</html>
|
1665
1546
|
|
1666
|
-
----==
|
1547
|
+
----==_mimepart_5637c76be79e6_3b263fcf84c63bec9624c--
|
1667
1548
|
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
[1m[
|
1672
|
-
[1m[
|
1673
|
-
|
1674
|
-
|
1675
|
-
-------------------------------------------------------------
|
1676
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1677
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1678
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1679
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1680
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1681
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1682
|
-
----------------------------------------------------------------
|
1683
|
-
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
1684
|
-
----------------------------------------------------------------
|
1685
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1686
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1687
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1688
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1689
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1690
|
-
[1m[35m (0.0ms)[0m BEGIN
|
1691
|
-
----------------------------------------------------------------------------------------------------
|
1692
|
-
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
1693
|
-
----------------------------------------------------------------------------------------------------
|
1694
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1695
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1696
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1697
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1698
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1[0m
|
1699
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
|
1700
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "ce68a03d06c03ce3a6895bfe8d50e7b4798d92a13227e1b7b7e7e0a859dcf9b2"]]
|
1701
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", "2015-11-02 16:59:47.718788"], ["updated_at", "2015-11-02 16:59:47.718788"], ["confirmation_token", "ojUinCQ242dipt2MwAQg"], ["confirmation_sent_at", "2015-11-02 16:59:47.719488"]]
|
1549
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1550
|
+
Processing by PushType::UsersController#invite as HTML
|
1551
|
+
Parameters: {"id"=>"ff177457-1030-4a19-9132-52f2fc31e7f9"}
|
1552
|
+
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "d7a58e34-eeab-42b5-ba58-299f7e931490"]]
|
1553
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "ff177457-1030-4a19-9132-52f2fc31e7f9"]]
|
1554
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1555
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1702
1556
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
1703
1557
|
|
1704
1558
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
|
1705
1559
|
|
1706
|
-
Sent mail to joe-
|
1707
|
-
Date: Mon, 02 Nov 2015
|
1560
|
+
Sent mail to joe-10@example.com (2.9ms)
|
1561
|
+
Date: Mon, 02 Nov 2015 20:28:27 +0000
|
1708
1562
|
From: pushtype@example.com
|
1709
1563
|
Reply-To: pushtype@example.com
|
1710
|
-
To: joe-
|
1711
|
-
Message-ID: <
|
1564
|
+
To: joe-10@example.com
|
1565
|
+
Message-ID: <5637c76bf09a4_3b263fcf84c63bec966f7@Aarons-iMac.local.mail>
|
1712
1566
|
Subject: [PushType] Confirm your account
|
1713
1567
|
Mime-Version: 1.0
|
1714
1568
|
Content-Type: multipart/alternative;
|
1715
|
-
boundary="--==
|
1569
|
+
boundary="--==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d";
|
1716
1570
|
charset=UTF-8
|
1717
1571
|
Content-Transfer-Encoding: 7bit
|
1718
1572
|
|
1719
1573
|
|
1720
|
-
----==
|
1574
|
+
----==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d
|
1721
1575
|
Content-Type: text/plain;
|
1722
1576
|
charset=UTF-8
|
1723
1577
|
Content-Transfer-Encoding: 7bit
|
@@ -1732,10 +1586,10 @@ created for you.
|
|
1732
1586
|
To get started, confirm your account and set your own password by
|
1733
1587
|
clicking the link below:
|
1734
1588
|
|
1735
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1589
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=z7Jhxm9LMeDb5tnV8VMe )
|
1736
1590
|
|
1737
1591
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1738
|
-
----==
|
1592
|
+
----==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d
|
1739
1593
|
Content-Type: text/html;
|
1740
1594
|
charset=UTF-8
|
1741
1595
|
Content-Transfer-Encoding: 7bit
|
@@ -1781,7 +1635,7 @@ body {
|
|
1781
1635
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
1782
1636
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
1783
1637
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
1784
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
1638
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=z7Jhxm9LMeDb5tnV8VMe" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
1785
1639
|
</td>
|
1786
1640
|
</tr>
|
1787
1641
|
</table>
|
@@ -1826,48 +1680,193 @@ body {
|
|
1826
1680
|
</body>
|
1827
1681
|
</html>
|
1828
1682
|
|
1829
|
-
----==
|
1683
|
+
----==_mimepart_5637c76bf0494_3b263fcf84c63bec9655d--
|
1830
1684
|
|
1685
|
+
Redirected to /push_type/users
|
1686
|
+
Completed 302 Found in 34ms (ActiveRecord: 0.5ms)
|
1687
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1688
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1689
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1690
|
+
-------------------------------------------------------------------------------------
|
1691
|
+
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
1692
|
+
-------------------------------------------------------------------------------------
|
1693
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1694
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1695
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1696
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1697
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1[0m
|
1698
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
|
1699
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:27.993031"], ["confirmed_at", "2015-11-02 20:28:27.993094"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:27.994799"], ["updated_at", "2015-11-02 20:28:27.994799"]]
|
1700
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1701
|
+
Processing by PushType::ProfilesController#update as HTML
|
1702
|
+
Parameters: {"user"=>{"name"=>""}}
|
1703
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "accc4f3a-7a89-4c8f-8813-5f02d44834e6"]]
|
1704
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1705
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-11@example.com' AND "push_type_users"."id" != 'accc4f3a-7a89-4c8f-8813-5f02d44834e6') LIMIT 1[0m
|
1706
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
|
1707
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (5.2ms)
|
1708
|
+
Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 0.5ms)
|
1709
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1710
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1711
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
1712
|
+
-------------------------------------------------------------------------------------
|
1713
|
+
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
1714
|
+
-------------------------------------------------------------------------------------
|
1715
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1716
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1717
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1718
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1719
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
|
1720
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1[0m
|
1721
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.025101"], ["confirmed_at", "2015-11-02 20:28:28.025168"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.026692"], ["updated_at", "2015-11-02 20:28:28.026692"]]
|
1722
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1723
|
+
Processing by PushType::ProfilesController#update as HTML
|
1724
|
+
Parameters: {"user"=>{"name"=>""}}
|
1725
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "344f0aa5-c254-4d6f-a998-d34ae8187a35"]]
|
1726
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1727
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-12@example.com' AND "push_type_users"."id" != '344f0aa5-c254-4d6f-a998-d34ae8187a35') LIMIT 1
|
1728
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
1729
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
|
1730
|
+
Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.4ms)
|
1731
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1732
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1733
|
+
[1m[35m (0.0ms)[0m BEGIN
|
1734
|
+
-----------------------------------------------------------------------------------
|
1735
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
1736
|
+
-----------------------------------------------------------------------------------
|
1737
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1738
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1739
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1740
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1741
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1[0m
|
1742
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
|
1743
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.040866"], ["confirmed_at", "2015-11-02 20:28:28.040925"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.042486"], ["updated_at", "2015-11-02 20:28:28.042486"]]
|
1744
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1745
|
+
Processing by PushType::ProfilesController#update as HTML
|
1746
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
1747
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "d31322a9-bb6d-4c87-a45f-36793e8a49e9"]]
|
1748
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1749
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-13@example.com' AND "push_type_users"."id" != 'd31322a9-bb6d-4c87-a45f-36793e8a49e9') LIMIT 1[0m
|
1750
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-11-02 20:28:28.046501"], ["id", "d31322a9-bb6d-4c87-a45f-36793e8a49e9"]]
|
1751
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1752
|
+
Redirected to http://test.host/push_type/profile/edit
|
1753
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
1754
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "d31322a9-bb6d-4c87-a45f-36793e8a49e9"]]
|
1755
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1756
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1757
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1758
|
+
-----------------------------------------------------------------------------------
|
1759
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
1760
|
+
-----------------------------------------------------------------------------------
|
1761
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1763
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1764
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1765
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
|
1766
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1[0m
|
1767
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.051152"], ["confirmed_at", "2015-11-02 20:28:28.051198"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.052476"], ["updated_at", "2015-11-02 20:28:28.052476"]]
|
1768
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1769
|
+
Processing by PushType::ProfilesController#update as HTML
|
1770
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
1771
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "19d4d57f-822f-4464-91ed-71a90674d6bb"]]
|
1772
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1773
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-14@example.com' AND "push_type_users"."id" != '19d4d57f-822f-4464-91ed-71a90674d6bb') LIMIT 1
|
1774
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", "2015-11-02 20:28:28.056349"], ["id", "19d4d57f-822f-4464-91ed-71a90674d6bb"]]
|
1775
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1776
|
+
Redirected to http://test.host/push_type/profile/edit
|
1777
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
1778
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1779
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1780
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
1781
|
+
-----------------------------------------------------------------------------------
|
1782
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
|
1783
|
+
-----------------------------------------------------------------------------------
|
1784
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1785
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1786
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1787
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1788
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
|
1789
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1[0m
|
1790
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.059231"], ["confirmed_at", "2015-11-02 20:28:28.059317"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.060793"], ["updated_at", "2015-11-02 20:28:28.060793"]]
|
1831
1791
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1832
|
-
Processing by PushType::
|
1833
|
-
Parameters: {"
|
1834
|
-
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1792
|
+
Processing by PushType::ProfilesController#update as HTML
|
1793
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
1794
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "c920f327-6cab-45d0-b84f-676a9736f4a1"]]
|
1795
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1796
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != 'c920f327-6cab-45d0-b84f-676a9736f4a1') LIMIT 1
|
1797
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", "2015-11-02 20:28:28.065124"], ["id", "c920f327-6cab-45d0-b84f-676a9736f4a1"]]
|
1798
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1799
|
+
Redirected to http://test.host/push_type/profile/edit
|
1800
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
1838
1801
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1839
1802
|
[1m[35m (0.1ms)[0m ROLLBACK
|
1840
1803
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1841
|
-
|
1842
|
-
PushType::
|
1843
|
-
|
1804
|
+
----------------------------------------------------------------
|
1805
|
+
PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
|
1806
|
+
----------------------------------------------------------------
|
1807
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1808
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1809
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1810
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1811
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
|
1812
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1[0m
|
1813
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.069938"], ["confirmed_at", "2015-11-02 20:28:28.069983"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.071454"], ["updated_at", "2015-11-02 20:28:28.071454"]]
|
1814
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1815
|
+
Processing by PushType::ProfilesController#edit as HTML
|
1816
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "0776829b-2ce0-4b09-90de-ca70a4dc74c4"]]
|
1817
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
|
1818
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.1ms)
|
1819
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1820
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1821
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1822
|
+
----------------------------------------------------------------
|
1823
|
+
PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
1824
|
+
----------------------------------------------------------------
|
1825
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1826
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1827
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1828
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1829
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
|
1830
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1[0m
|
1831
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["confirmation_sent_at", "2015-11-02 20:28:28.082872"], ["confirmed_at", "2015-11-02 20:28:28.082927"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 20:28:28.084419"], ["updated_at", "2015-11-02 20:28:28.084419"]]
|
1832
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1833
|
+
Processing by PushType::ProfilesController#edit as HTML
|
1834
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "0fa8c988-633f-455a-a276-8ba47f4a25c9"]]
|
1835
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
|
1836
|
+
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
|
1837
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1838
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1839
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1840
|
+
----------------------------------------------------------------------------------------
|
1841
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
|
1842
|
+
----------------------------------------------------------------------------------------
|
1844
1843
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1845
1844
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1846
1845
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1847
1846
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1848
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
1849
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
1850
|
-
[1m[35mPushType::User Load (0.1ms)[0m 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", "
|
1851
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
1847
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
|
1848
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1[0m
|
1849
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "8ff1dc8f021328912901fc1a039cf14c441e755b8c61362e2a66246efd7918b2"]]
|
1850
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", "2015-11-02 20:28:28.098197"], ["updated_at", "2015-11-02 20:28:28.098197"], ["confirmation_token", "Woe5rN-8KD_p5yxJuAa5"], ["confirmation_sent_at", "2015-11-02 20:28:28.098913"]]
|
1852
1851
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
1853
1852
|
|
1854
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
1853
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
1855
1854
|
|
1856
|
-
Sent mail to joe-
|
1857
|
-
Date: Mon, 02 Nov 2015
|
1855
|
+
Sent mail to joe-18@example.com (3.2ms)
|
1856
|
+
Date: Mon, 02 Nov 2015 20:28:28 +0000
|
1858
1857
|
From: pushtype@example.com
|
1859
1858
|
Reply-To: pushtype@example.com
|
1860
|
-
To: joe-
|
1861
|
-
Message-ID: <
|
1859
|
+
To: joe-18@example.com
|
1860
|
+
Message-ID: <5637c76c1fb29_3b263fcf84c63bec9694c@Aarons-iMac.local.mail>
|
1862
1861
|
Subject: [PushType] Confirm your account
|
1863
1862
|
Mime-Version: 1.0
|
1864
1863
|
Content-Type: multipart/alternative;
|
1865
|
-
boundary="--==
|
1864
|
+
boundary="--==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7";
|
1866
1865
|
charset=UTF-8
|
1867
1866
|
Content-Transfer-Encoding: 7bit
|
1868
1867
|
|
1869
1868
|
|
1870
|
-
----==
|
1869
|
+
----==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7
|
1871
1870
|
Content-Type: text/plain;
|
1872
1871
|
charset=UTF-8
|
1873
1872
|
Content-Transfer-Encoding: 7bit
|
@@ -1882,10 +1881,10 @@ created for you.
|
|
1882
1881
|
To get started, confirm your account and set your own password by
|
1883
1882
|
clicking the link below:
|
1884
1883
|
|
1885
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1884
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Woe5rN-8KD_p5yxJuAa5 )
|
1886
1885
|
|
1887
1886
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1888
|
-
----==
|
1887
|
+
----==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7
|
1889
1888
|
Content-Type: text/html;
|
1890
1889
|
charset=UTF-8
|
1891
1890
|
Content-Transfer-Encoding: 7bit
|
@@ -1931,7 +1930,7 @@ body {
|
|
1931
1930
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
1932
1931
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
1933
1932
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
1934
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
1933
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Woe5rN-8KD_p5yxJuAa5" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
1935
1934
|
</td>
|
1936
1935
|
</tr>
|
1937
1936
|
</table>
|
@@ -1976,48 +1975,54 @@ body {
|
|
1976
1975
|
</body>
|
1977
1976
|
</html>
|
1978
1977
|
|
1979
|
-
----==
|
1978
|
+
----==_mimepart_5637c76c1f531_3b263fcf84c63bec968f7--
|
1980
1979
|
|
1981
1980
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1982
|
-
Processing by PushType::ConfirmationsController#
|
1983
|
-
Parameters: {"confirmation_token"=>"
|
1984
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "
|
1985
|
-
|
1986
|
-
|
1987
|
-
|
1988
|
-
[1m[
|
1989
|
-
[1m[
|
1990
|
-
[1m[
|
1991
|
-
|
1992
|
-
|
1993
|
-
|
1994
|
-
[1m[36m (0.
|
1995
|
-
[1m[35m (0.
|
1996
|
-
[1m[36m (0.
|
1997
|
-
|
1998
|
-
|
1999
|
-
|
2000
|
-
[1m[
|
2001
|
-
[1m[
|
1981
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
1982
|
+
Parameters: {"user"=>{"confirmation_token"=>"Woe5rN-8KD_p5yxJuAa5", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
1983
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "Woe5rN-8KD_p5yxJuAa5"]]
|
1984
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-18@example.com' AND "push_type_users"."id" != '1895c312-c7ae-4117-a614-45fd6359c2b9') LIMIT 1
|
1985
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1986
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$X/Y4zpYBNVu4eXa8p8URp.zP8.setRGVQZbSznllxMJs0Yxvlrjrq"], ["confirmed_at", "2015-11-02 20:28:28.136323"], ["updated_at", "2015-11-02 20:28:28.136733"], ["id", "1895c312-c7ae-4117-a614-45fd6359c2b9"]]
|
1987
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1988
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1989
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "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[0m [["last_sign_in_at", "2015-11-02 20:28:28.138206"], ["current_sign_in_at", "2015-11-02 20:28:28.138206"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-02 20:28:28.138735"], ["id", "1895c312-c7ae-4117-a614-45fd6359c2b9"]]
|
1990
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1991
|
+
Redirected to http://test.host/push_type/
|
1992
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
|
1993
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1994
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1995
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1996
|
+
----------------------------------------------------------------------------------------
|
1997
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
|
1998
|
+
----------------------------------------------------------------------------------------
|
1999
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2000
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2001
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2002
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
2003
|
+
[1m[35mPushType::User Exists (0.3ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
|
2004
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1[0m
|
2005
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ee6676cf38cacc6a03921c808d96f2689acf1dd078cab61b65dc78fc11f4a713"]]
|
2006
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", "2015-11-02 20:28:28.143508"], ["updated_at", "2015-11-02 20:28:28.143508"], ["confirmation_token", "_zAj1_psLqz-exVYEvkK"], ["confirmation_sent_at", "2015-11-02 20:28:28.144231"]]
|
2002
2007
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
2003
2008
|
|
2004
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
2009
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
2005
2010
|
|
2006
|
-
Sent mail to joe-
|
2007
|
-
Date: Mon, 02 Nov 2015
|
2011
|
+
Sent mail to joe-19@example.com (3.1ms)
|
2012
|
+
Date: Mon, 02 Nov 2015 20:28:28 +0000
|
2008
2013
|
From: pushtype@example.com
|
2009
2014
|
Reply-To: pushtype@example.com
|
2010
|
-
To: joe-
|
2011
|
-
Message-ID: <
|
2015
|
+
To: joe-19@example.com
|
2016
|
+
Message-ID: <5637c76c2aa2b_3b263fcf84c63bec97215@Aarons-iMac.local.mail>
|
2012
2017
|
Subject: [PushType] Confirm your account
|
2013
2018
|
Mime-Version: 1.0
|
2014
2019
|
Content-Type: multipart/alternative;
|
2015
|
-
boundary="--==
|
2020
|
+
boundary="--==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187";
|
2016
2021
|
charset=UTF-8
|
2017
2022
|
Content-Transfer-Encoding: 7bit
|
2018
2023
|
|
2019
2024
|
|
2020
|
-
----==
|
2025
|
+
----==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187
|
2021
2026
|
Content-Type: text/plain;
|
2022
2027
|
charset=UTF-8
|
2023
2028
|
Content-Transfer-Encoding: 7bit
|
@@ -2032,10 +2037,10 @@ created for you.
|
|
2032
2037
|
To get started, confirm your account and set your own password by
|
2033
2038
|
clicking the link below:
|
2034
2039
|
|
2035
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
2040
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_zAj1_psLqz-exVYEvkK )
|
2036
2041
|
|
2037
2042
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
2038
|
-
----==
|
2043
|
+
----==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187
|
2039
2044
|
Content-Type: text/html;
|
2040
2045
|
charset=UTF-8
|
2041
2046
|
Content-Transfer-Encoding: 7bit
|
@@ -2081,7 +2086,7 @@ body {
|
|
2081
2086
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
2082
2087
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
2083
2088
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
2084
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
2089
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=_zAj1_psLqz-exVYEvkK" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
2085
2090
|
</td>
|
2086
2091
|
</tr>
|
2087
2092
|
</table>
|
@@ -2126,49 +2131,109 @@ body {
|
|
2126
2131
|
</body>
|
2127
2132
|
</html>
|
2128
2133
|
|
2129
|
-
----==
|
2134
|
+
----==_mimepart_5637c76c2a4ce_3b263fcf84c63bec97187--
|
2130
2135
|
|
2131
|
-
[1m[
|
2136
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
2132
2137
|
Processing by PushType::ConfirmationsController#update as HTML
|
2133
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
2134
|
-
[1m[
|
2135
|
-
[1m[
|
2136
|
-
|
2137
|
-
|
2138
|
-
|
2138
|
+
Parameters: {"user"=>{"confirmation_token"=>"_zAj1_psLqz-exVYEvkK", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
2139
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "_zAj1_psLqz-exVYEvkK"]]
|
2140
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-19@example.com' AND "push_type_users"."id" != '2a037ca6-65e9-4c79-85f5-b5536c337226') LIMIT 1
|
2141
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
2142
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$gXAv/OgQyAfGeo06uezfS.n6RVA/xFDItkEIiLCv9n27jUoUWzkqq"], ["confirmed_at", "2015-11-02 20:28:28.181129"], ["updated_at", "2015-11-02 20:28:28.181571"], ["id", "2a037ca6-65e9-4c79-85f5-b5536c337226"]]
|
2143
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
2144
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
2145
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "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[0m [["last_sign_in_at", "2015-11-02 20:28:28.182835"], ["current_sign_in_at", "2015-11-02 20:28:28.182835"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-02 20:28:28.183272"], ["id", "2a037ca6-65e9-4c79-85f5-b5536c337226"]]
|
2146
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
2147
|
+
Redirected to http://test.host/push_type/
|
2148
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
|
2149
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1[0m [["id", "2a037ca6-65e9-4c79-85f5-b5536c337226"]]
|
2139
2150
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2140
2151
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2141
2152
|
[1m[35m (0.1ms)[0m BEGIN
|
2142
|
-
|
2143
|
-
PushType::
|
2144
|
-
|
2153
|
+
---------------------------------------------------------------
|
2154
|
+
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
2155
|
+
---------------------------------------------------------------
|
2156
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2157
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2158
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2159
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2160
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2161
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2162
|
+
---------------------------------------------------------------
|
2163
|
+
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
2164
|
+
---------------------------------------------------------------
|
2145
2165
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2146
2166
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2167
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2168
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2169
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
2170
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2171
|
+
-------------------------------------------------------------
|
2172
|
+
PushType::AuthenticatableTest::trackable: test_0001_anonymous
|
2173
|
+
-------------------------------------------------------------
|
2174
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2175
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2176
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2177
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2178
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2179
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2180
|
+
---------------------------------------------------------------------------
|
2181
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
|
2182
|
+
---------------------------------------------------------------------------
|
2147
2183
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2148
|
-
[1m[35m (0.
|
2149
|
-
[1m[
|
2150
|
-
[1m[
|
2151
|
-
[1m[
|
2152
|
-
[1m[
|
2184
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2185
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2186
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2187
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
2188
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2189
|
+
---------------------------------------------------------------------------
|
2190
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
2191
|
+
---------------------------------------------------------------------------
|
2192
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2193
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2194
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2195
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2196
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
2197
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2198
|
+
----------------------------------------------------------------
|
2199
|
+
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
2200
|
+
----------------------------------------------------------------
|
2201
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2203
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2204
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2205
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2206
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2207
|
+
------------------------------------------------------------------------------------------
|
2208
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
2209
|
+
------------------------------------------------------------------------------------------
|
2210
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2211
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2212
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2213
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
2214
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1[0m
|
2215
|
+
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
|
2216
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "413a383e8b43164f38bbffa69c743ee896628a0b1c09e2c57a8467a98832f841"]]
|
2217
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", "2015-11-02 20:28:28.199409"], ["updated_at", "2015-11-02 20:28:28.199409"], ["confirmation_token", "75vpx6fuqwdrWdfHwuj-"], ["confirmation_sent_at", "2015-11-02 20:28:28.200129"]]
|
2153
2218
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
2154
2219
|
|
2155
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
2220
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
2156
2221
|
|
2157
|
-
Sent mail to joe-
|
2158
|
-
Date: Mon, 02 Nov 2015
|
2222
|
+
Sent mail to joe-20@example.com (3.0ms)
|
2223
|
+
Date: Mon, 02 Nov 2015 20:28:28 +0000
|
2159
2224
|
From: pushtype@example.com
|
2160
2225
|
Reply-To: pushtype@example.com
|
2161
|
-
To: joe-
|
2162
|
-
Message-ID: <
|
2226
|
+
To: joe-20@example.com
|
2227
|
+
Message-ID: <5637c76c38866_3b263fcf84c63bec97524@Aarons-iMac.local.mail>
|
2163
2228
|
Subject: [PushType] Confirm your account
|
2164
2229
|
Mime-Version: 1.0
|
2165
2230
|
Content-Type: multipart/alternative;
|
2166
|
-
boundary="--==
|
2231
|
+
boundary="--==_mimepart_5637c76c38314_3b263fcf84c63bec97427";
|
2167
2232
|
charset=UTF-8
|
2168
2233
|
Content-Transfer-Encoding: 7bit
|
2169
2234
|
|
2170
2235
|
|
2171
|
-
----==
|
2236
|
+
----==_mimepart_5637c76c38314_3b263fcf84c63bec97427
|
2172
2237
|
Content-Type: text/plain;
|
2173
2238
|
charset=UTF-8
|
2174
2239
|
Content-Transfer-Encoding: 7bit
|
@@ -2183,10 +2248,10 @@ created for you.
|
|
2183
2248
|
To get started, confirm your account and set your own password by
|
2184
2249
|
clicking the link below:
|
2185
2250
|
|
2186
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
2251
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=75vpx6fuqwdrWdfHwuj- )
|
2187
2252
|
|
2188
2253
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
2189
|
-
----==
|
2254
|
+
----==_mimepart_5637c76c38314_3b263fcf84c63bec97427
|
2190
2255
|
Content-Type: text/html;
|
2191
2256
|
charset=UTF-8
|
2192
2257
|
Content-Transfer-Encoding: 7bit
|
@@ -2232,7 +2297,7 @@ body {
|
|
2232
2297
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
2233
2298
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
2234
2299
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
2235
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
2300
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=75vpx6fuqwdrWdfHwuj-" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
2236
2301
|
</td>
|
2237
2302
|
</tr>
|
2238
2303
|
</table>
|
@@ -2277,49 +2342,49 @@ body {
|
|
2277
2342
|
</body>
|
2278
2343
|
</html>
|
2279
2344
|
|
2280
|
-
----==
|
2345
|
+
----==_mimepart_5637c76c38314_3b263fcf84c63bec97427--
|
2281
2346
|
|
2282
|
-
[1m[36m (0.
|
2347
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
2283
2348
|
Processing by PushType::ConfirmationsController#update as HTML
|
2284
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
2285
|
-
[1m[35mPushType::User Load (0.
|
2286
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-
|
2349
|
+
Parameters: {"user"=>{"confirmation_token"=>"75vpx6fuqwdrWdfHwuj-", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
2350
|
+
[1m[35mPushType::User Load (0.2ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "75vpx6fuqwdrWdfHwuj-"]]
|
2351
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-20@example.com' AND "push_type_users"."id" != '700f03dc-7e3e-4e16-8935-dfaf94314da8') LIMIT 1[0m
|
2287
2352
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
2288
2353
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
|
2289
|
-
Completed 200 OK in
|
2290
|
-
[1m[35m (0.
|
2354
|
+
Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.4ms)
|
2355
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2291
2356
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2292
2357
|
[1m[35m (0.1ms)[0m BEGIN
|
2293
2358
|
------------------------------------------------------------------------------------------
|
2294
|
-
PushType::ConfirmationsControllerTest::PUT #update::with invalid user:
|
2359
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
2295
2360
|
------------------------------------------------------------------------------------------
|
2296
|
-
[1m[36m (0.
|
2361
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2297
2362
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2298
2363
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2299
|
-
[1m[35m (0.
|
2300
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
2301
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-
|
2302
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "
|
2303
|
-
[1m[35mSQL (0.
|
2304
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
2364
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
2365
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1[0m
|
2366
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
|
2367
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "fd45579cc9e10690495ce7d90a780bd17e2b8afc3e31dff818c4323fec906da9"]]
|
2368
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", "2015-11-02 20:28:28.246139"], ["updated_at", "2015-11-02 20:28:28.246139"], ["confirmation_token", "PoVPfv_nFrZWCh9JrJAT"], ["confirmation_sent_at", "2015-11-02 20:28:28.246883"]]
|
2369
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
2305
2370
|
|
2306
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
2371
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
2307
2372
|
|
2308
|
-
Sent mail to joe-
|
2309
|
-
Date: Mon, 02 Nov 2015
|
2373
|
+
Sent mail to joe-21@example.com (3.2ms)
|
2374
|
+
Date: Mon, 02 Nov 2015 20:28:28 +0000
|
2310
2375
|
From: pushtype@example.com
|
2311
2376
|
Reply-To: pushtype@example.com
|
2312
|
-
To: joe-
|
2313
|
-
Message-ID: <
|
2377
|
+
To: joe-21@example.com
|
2378
|
+
Message-ID: <5637c76c43d21_3b263fcf84c63bec978da@Aarons-iMac.local.mail>
|
2314
2379
|
Subject: [PushType] Confirm your account
|
2315
2380
|
Mime-Version: 1.0
|
2316
2381
|
Content-Type: multipart/alternative;
|
2317
|
-
boundary="--==
|
2382
|
+
boundary="--==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b";
|
2318
2383
|
charset=UTF-8
|
2319
2384
|
Content-Transfer-Encoding: 7bit
|
2320
2385
|
|
2321
2386
|
|
2322
|
-
----==
|
2387
|
+
----==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b
|
2323
2388
|
Content-Type: text/plain;
|
2324
2389
|
charset=UTF-8
|
2325
2390
|
Content-Transfer-Encoding: 7bit
|
@@ -2334,10 +2399,10 @@ created for you.
|
|
2334
2399
|
To get started, confirm your account and set your own password by
|
2335
2400
|
clicking the link below:
|
2336
2401
|
|
2337
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
2402
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=PoVPfv_nFrZWCh9JrJAT )
|
2338
2403
|
|
2339
2404
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
2340
|
-
----==
|
2405
|
+
----==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b
|
2341
2406
|
Content-Type: text/html;
|
2342
2407
|
charset=UTF-8
|
2343
2408
|
Content-Transfer-Encoding: 7bit
|
@@ -2383,7 +2448,7 @@ body {
|
|
2383
2448
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
2384
2449
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
2385
2450
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
2386
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
2451
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=PoVPfv_nFrZWCh9JrJAT" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
2387
2452
|
</td>
|
2388
2453
|
</tr>
|
2389
2454
|
</table>
|
@@ -2428,121 +2493,49 @@ body {
|
|
2428
2493
|
</body>
|
2429
2494
|
</html>
|
2430
2495
|
|
2431
|
-
----==
|
2496
|
+
----==_mimepart_5637c76c4375b_3b263fcf84c63bec9777b--
|
2432
2497
|
|
2433
2498
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
2434
2499
|
Processing by PushType::ConfirmationsController#update as HTML
|
2435
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
2436
|
-
[1m[35mPushType::User Load (0.1ms)[0m 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", "
|
2437
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-
|
2500
|
+
Parameters: {"user"=>{"confirmation_token"=>"PoVPfv_nFrZWCh9JrJAT", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
2501
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "PoVPfv_nFrZWCh9JrJAT"]]
|
2502
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-21@example.com' AND "push_type_users"."id" != 'a3685954-cca3-424e-b9f3-d22a43697b4e') LIMIT 1[0m
|
2438
2503
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
2439
2504
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
|
2440
|
-
Completed 200 OK in 7ms (Views: 5.
|
2441
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2442
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2443
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2444
|
-
---------------------------------------------------------------
|
2445
|
-
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
2446
|
-
---------------------------------------------------------------
|
2447
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2448
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2449
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2450
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2451
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2452
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2453
|
-
---------------------------------------------------------------
|
2454
|
-
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
2455
|
-
---------------------------------------------------------------
|
2456
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2457
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2458
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2459
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2460
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
2461
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2462
|
-
---------------------------------------------------------------
|
2463
|
-
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
2464
|
-
---------------------------------------------------------------
|
2465
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2466
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2467
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2468
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2469
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
2470
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2471
|
-
----------------------------------------------------------------
|
2472
|
-
PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
|
2473
|
-
----------------------------------------------------------------
|
2474
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2475
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2476
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2477
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
2478
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1[0m
|
2479
|
-
[1m[35mPushType::User Exists (0.2ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
|
2480
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.949035"], ["confirmed_at", "2015-11-02 16:59:47.949099"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.950635"], ["updated_at", "2015-11-02 16:59:47.950635"]]
|
2481
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
2482
|
-
Processing by PushType::ProfilesController#edit as HTML
|
2483
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "aac3c4d8-c707-4eae-9de4-4e8114ce68ee"]]
|
2484
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
|
2485
|
-
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
|
2486
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2487
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2488
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2489
|
-
----------------------------------------------------------------
|
2490
|
-
PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
2491
|
-
----------------------------------------------------------------
|
2492
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2493
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2494
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2495
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
2496
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1[0m
|
2497
|
-
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
|
2498
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT 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"[0m [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.961943"], ["confirmed_at", "2015-11-02 16:59:47.961999"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.963422"], ["updated_at", "2015-11-02 16:59:47.963422"]]
|
2499
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
2500
|
-
Processing by PushType::ProfilesController#edit as HTML
|
2501
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["id", "de462119-10f5-4edf-875f-4625bf3126ee"]]
|
2502
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
|
2503
|
-
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.1ms)
|
2505
|
+
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.4ms)
|
2504
2506
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2505
2507
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2506
2508
|
[1m[35m (0.1ms)[0m BEGIN
|
2507
|
-
|
2508
|
-
PushType::
|
2509
|
-
|
2510
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2511
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2512
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2513
|
-
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2514
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
2515
|
-
[1m[35m (0.0ms)[0m BEGIN
|
2516
|
-
--------------------------------------------------------------------------------------------------------------
|
2517
|
-
PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
|
2518
|
-
--------------------------------------------------------------------------------------------------------------
|
2509
|
+
------------------------------------------------------------------------------------------
|
2510
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
|
2511
|
+
------------------------------------------------------------------------------------------
|
2519
2512
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2520
2513
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2521
2514
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2522
2515
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
2523
2516
|
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1[0m
|
2524
|
-
[1m[35mPushType::User Exists (0.
|
2525
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "
|
2526
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", "2015-11-02
|
2527
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
2517
|
+
[1m[35mPushType::User Exists (0.1ms)[0m SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
|
2518
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1[0m [["confirmation_token", "6f49c6c1ddb9d45240deda2cf8b3d3adce3d85c0d059db20d0fe43ebadf57bbd"]]
|
2519
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", "2015-11-02 20:28:28.291597"], ["updated_at", "2015-11-02 20:28:28.291597"], ["confirmation_token", "aSJEQsv4yhmuAWx1KN9_"], ["confirmation_sent_at", "2015-11-02 20:28:28.292351"]]
|
2520
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
2528
2521
|
|
2529
2522
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
2530
2523
|
|
2531
|
-
Sent mail to joe-22@example.com (
|
2532
|
-
Date: Mon, 02 Nov 2015
|
2524
|
+
Sent mail to joe-22@example.com (2.9ms)
|
2525
|
+
Date: Mon, 02 Nov 2015 20:28:28 +0000
|
2533
2526
|
From: pushtype@example.com
|
2534
2527
|
Reply-To: pushtype@example.com
|
2535
2528
|
To: joe-22@example.com
|
2536
|
-
Message-ID: <
|
2529
|
+
Message-ID: <5637c76c4eeee_3b263fcf84c63bec981d0@Aarons-iMac.local.mail>
|
2537
2530
|
Subject: [PushType] Confirm your account
|
2538
2531
|
Mime-Version: 1.0
|
2539
2532
|
Content-Type: multipart/alternative;
|
2540
|
-
boundary="--==
|
2533
|
+
boundary="--==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce";
|
2541
2534
|
charset=UTF-8
|
2542
2535
|
Content-Transfer-Encoding: 7bit
|
2543
2536
|
|
2544
2537
|
|
2545
|
-
----==
|
2538
|
+
----==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce
|
2546
2539
|
Content-Type: text/plain;
|
2547
2540
|
charset=UTF-8
|
2548
2541
|
Content-Transfer-Encoding: 7bit
|
@@ -2557,10 +2550,10 @@ created for you.
|
|
2557
2550
|
To get started, confirm your account and set your own password by
|
2558
2551
|
clicking the link below:
|
2559
2552
|
|
2560
|
-
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=
|
2553
|
+
Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=aSJEQsv4yhmuAWx1KN9_ )
|
2561
2554
|
|
2562
2555
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
2563
|
-
----==
|
2556
|
+
----==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce
|
2564
2557
|
Content-Type: text/html;
|
2565
2558
|
charset=UTF-8
|
2566
2559
|
Content-Transfer-Encoding: 7bit
|
@@ -2606,7 +2599,7 @@ body {
|
|
2606
2599
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
|
2607
2600
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
|
2608
2601
|
<td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
|
2609
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=
|
2602
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=aSJEQsv4yhmuAWx1KN9_" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
|
2610
2603
|
</td>
|
2611
2604
|
</tr>
|
2612
2605
|
</table>
|
@@ -2651,8 +2644,15 @@ body {
|
|
2651
2644
|
</body>
|
2652
2645
|
</html>
|
2653
2646
|
|
2654
|
-
----==
|
2647
|
+
----==_mimepart_5637c76c4e9aa_3b263fcf84c63bec980ce--
|
2655
2648
|
|
2656
2649
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
2650
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
2651
|
+
Parameters: {"user"=>{"confirmation_token"=>"aSJEQsv4yhmuAWx1KN9_", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
2652
|
+
[1m[35mPushType::User Load (0.1ms)[0m SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "aSJEQsv4yhmuAWx1KN9_"]]
|
2653
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-22@example.com' AND "push_type_users"."id" != 'adf21899-be9f-4e4d-9c01-c43b299d0707') LIMIT 1[0m
|
2654
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
2655
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
|
2656
|
+
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.4ms)
|
2657
2657
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2658
2658
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|