push_type_auth 0.9.0.beta.2 → 0.9.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/lib/push_type/auth/engine.rb +24 -11
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20160725104604_create_push_type_users.push_type.rb → 20160727140505_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160725104605_create_push_type_nodes.push_type.rb → 20160727140506_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160725104606_create_push_type_node_hierarchies.push_type.rb → 20160727140507_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160725104607_create_push_type_assets.push_type.rb → 20160727140508_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160725104608_add_field_store_default_values.push_type.rb → 20160727140509_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160725104609_drop_legacy_push_type_taxonomies.push_type.rb → 20160727140510_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160725104610_devise_extend_push_type_users.push_type_auth.rb → 20160727140511_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 +678 -678
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/43/43-axooBwgATO2o8xLF_PxBDPnQ635xfbeARTUv7SGI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/8z/8zdemLLucSsQ46-iwDF2vdKsCf3Bz6f8_i0v23fT0oI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{9d → 9D}/9D0ey2PDcoDtRq52B7TaPT0vuzVbYEG8HZaNQ1F18HU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{9d → 9D}/9DSPfaB8ygiGwiajDsVAMG3AkGpjznEZia2WXzKGeWM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{OQ/OQqrOs8rVLWYgK44o_HO5exmSRzrIxZU41i93q_UQtU.cache → I9/I9iyE-qEwbhr6s3dyKBFTo7jHKKsq-NDJswx4OJtbuk.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ih/IhvhyCeob9YHSfuKuNbD0yVLCj39vop6ANsQUXqA2TA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Lj/lJuDmsbAPgoLERV1tqEuAw44tH_XPD0rdSNsjW2zW3g.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{2r/2rB9TBgagz2bVJVNgtoRLoVCjclpTL1XDZAPsmnVzIw.cache → Oa/OaCPflWy619EZ3Q54UhEVxjsEn73D5PPpz970m3TL7Q.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{9d/9d-v7mm-yBRYH0Ci4Vjevq6rwg6lvjJsMO6Od1MN3lY.cache → QF/QFVbmmDphcJOpO83Kn3eso3tvTEf9VlC63gbX2Y4vl8.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{qn → Qn}/QnEnX2B5TnKy5eBQN00edQX6Nic_-ZYwGoWWUZu2ycM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{qn → Qn}/qNOz7Rvtjul20-XTH3jifHnv-ypnSVomm2Q1nckbmqQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Uh/uhlIc96sr4CZ7rqx7zQznMBXf9hGmpdTaNdQzigutbA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{NG/NG8APov2tuD5ViIxvzl8ReHmczpA-9EdfAdifr9FfEE.cache → WK/WKvXEUQhqHYsjSy85HgLElXgqolRksvgvcDIrLMgtSQ.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wu/Wu3D4YOppuuzcfnos1jInbKTRL-lEbEqkD_fgdI5ZLk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{qn/qnd-uf7hdLg1vyI1HiLygpdYClOMa_fy7JUbCN6f4_s.cache → br/bRnCFsdZrHP_7UGe5wEEr6TjdLvs17TkWJM__8Ls4GU.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/br/brEdmylym5Y0Jdn5iac53isVd3f53zgodIYmuJNckik.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{PH/PHAm_CoF5TQJr8zPP7G6Yhom_yzQosOIz3LOdNZaphU.cache → en/en6UaZdnafQ32rQm8ZQRZuQlxHb70DlHBA8xo2svYa4.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/eu/eupft2-wafspZIamF3UoEUMZR78rwrPB3yjciVP2MiA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hx/HXEKnZVJhveZPQIKW66beQYofdmOYovkV63Wpt_q4Ww.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{CU/CUUJuoB5rhGahOcB_7_wrE2aJguBo3yJo5WRCPPlY_I.cache → jr/jrNS71vrZL_8WjA6J6wR2KUlyFqPS0q1hpjmC-5xICU.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mQ/MQI4EeiZ6l33LzlXstKseRAt4SmsfCXFVYVwoPP0maw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{PH → ph}/PH09N26aFeEpo0bv_bU9KiXcLwt1CHL0GVBFFCgdNgA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{PH → ph}/PhqukQGq4A7Rce70H4NQG56qJ3NglFgwhP1Zzt0-ruQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{PH → ph}/phWjBWlt1MPXIvskQy6X4uUBLyRPQFat0ND_rL_D8XQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vO/vOvUCwDqqaDHfJ5urP6uZtpJ4auHYbcEjGgO5KeNJx8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cn/cn-RCoE80_cvNiBBedMqm9zZxFidQhFeGsj8PxEG8s8.cache → vY/vYeqA5rAv52N_fNS2uzKoHcgn9bxKuqldLkHBX70Omo.cache} +0 -0
- metadata +50 -50
data/test/dummy/log/test.log
CHANGED
@@ -1,83 +1,83 @@
|
|
1
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
1
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
2
2
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
3
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-07-
|
4
|
-
[1m[35m (
|
3
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-07-27 14:05:01 UTC], ["updated_at", 2016-07-27 14:05:01 UTC]]
|
4
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
5
5
|
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6
|
-
[1m[35m (0.
|
6
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
|
7
7
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8
8
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
|
9
9
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10
10
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
|
11
|
-
[1m[35m (
|
12
|
-
[1m[35m (
|
13
|
-
[1m[35m (
|
14
|
-
[1m[35m (
|
15
|
-
[1m[35m (0.
|
16
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
17
|
-
Migrating to CreatePushTypeUsers (
|
11
|
+
[1m[35m (112.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
12
|
+
[1m[35m (231.6ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
|
13
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
|
14
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
15
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(2735718569030447490);[0m
|
16
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
17
|
+
Migrating to CreatePushTypeUsers (20160727140505)
|
18
18
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
19
|
-
[1m[35mSQL (
|
20
|
-
[1m[35m (
|
21
|
-
[1m[35mSQL (0.
|
22
|
-
[1m[35m (
|
23
|
-
Migrating to CreatePushTypeNodes (
|
19
|
+
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
20
|
+
[1m[35m (9.8ms)[0m [1m[35mCREATE TABLE "push_type_users" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
21
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20160727140505"]]
|
22
|
+
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
|
23
|
+
Migrating to CreatePushTypeNodes (20160727140506)
|
24
24
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
25
|
-
[1m[35m (
|
26
|
-
[1m[35mSQL (0.
|
27
|
-
[1m[35m (
|
28
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
25
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "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)[0m
|
26
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20160727140506"]]
|
27
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
28
|
+
Migrating to CreatePushTypeNodeHierarchies (20160727140507)
|
29
29
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
30
|
-
[1m[35m (0.
|
31
|
-
[1m[35m (0.
|
32
|
-
[1m[35m (0.
|
33
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
34
|
-
[1m[35m (
|
35
|
-
Migrating to CreatePushTypeAssets (
|
30
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)[0m
|
31
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
32
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")[0m
|
33
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20160727140507"]]
|
34
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
35
|
+
Migrating to CreatePushTypeAssets (20160727140508)
|
36
36
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
37
|
-
[1m[35m (
|
38
|
-
[1m[35mSQL (0.
|
39
|
-
[1m[35m (
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
37
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "push_type_assets" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "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)[0m
|
38
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20160727140508"]]
|
39
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20160727140509)
|
41
41
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
42
|
-
[1m[35m (0.
|
42
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb[0m
|
43
43
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'[0m
|
44
44
|
[1m[35m (0.2ms)[0m [1m[33mUPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
45
|
-
[1m[35m (0.
|
45
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL[0m
|
46
46
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
|
47
47
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'[0m
|
48
48
|
[1m[35m (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
49
49
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL[0m
|
50
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
51
|
-
[1m[35m (
|
52
|
-
Migrating to DropLegacyPushTypeTaxonomies (
|
50
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20160727140509"]]
|
51
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
52
|
+
Migrating to DropLegacyPushTypeTaxonomies (20160727140510)
|
53
53
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
54
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
55
|
-
[1m[35m (
|
56
|
-
Migrating to DeviseExtendPushTypeUsers (
|
54
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20160727140510"]]
|
55
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
56
|
+
Migrating to DeviseExtendPushTypeUsers (20160727140511)
|
57
57
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
58
|
-
[1m[35m (
|
58
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL[0m
|
59
59
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "reset_password_token" character varying[0m
|
60
60
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp[0m
|
61
61
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "remember_created_at" timestamp[0m
|
62
|
-
[1m[35m (
|
62
|
+
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL[0m
|
63
63
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp[0m
|
64
64
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp[0m
|
65
|
-
[1m[35m (0.
|
66
|
-
[1m[35m (0.
|
65
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying[0m
|
66
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying[0m
|
67
67
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "confirmation_token" character varying[0m
|
68
|
-
[1m[35m (0.
|
68
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "confirmed_at" timestamp[0m
|
69
69
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp[0m
|
70
|
-
[1m[35m (
|
71
|
-
[1m[35m (
|
72
|
-
[1m[35mSQL (0.
|
73
|
-
[1m[35m (
|
70
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")[0m
|
71
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")[0m
|
72
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20160727140511"]]
|
73
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
74
74
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
75
75
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
76
|
-
[1m[35mSQL (0.
|
77
|
-
[1m[35m (
|
78
|
-
[1m[35m (0.
|
79
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
80
|
-
[1m[35m (1.
|
76
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-07-27 14:05:08 UTC], ["updated_at", 2016-07-27 14:05:08 UTC]]
|
77
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
78
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(2735718569030447490)[0m
|
79
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
80
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT 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
|
81
81
|
FROM pg_constraint c
|
82
82
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
83
83
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -113,7 +113,7 @@ WHERE c.contype = 'f'
|
|
113
113
|
AND t3.nspname = ANY (current_schemas(false))
|
114
114
|
ORDER BY c.conname
|
115
115
|
[0m
|
116
|
-
[1m[35m (1.
|
116
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT 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
|
117
117
|
FROM pg_constraint c
|
118
118
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
119
119
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -130,7 +130,7 @@ Creating scope :published. Overwriting existing method PushType::Node.published.
|
|
130
130
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
131
131
|
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL[0m
|
132
132
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
133
|
-
[1m[35m (1.
|
133
|
+
[1m[35m (1.0ms)[0m [1m[34m SELECT schemaname || '.' || tablename
|
134
134
|
FROM pg_tables
|
135
135
|
WHERE
|
136
136
|
tablename !~ '_prt_' AND
|
@@ -138,55 +138,46 @@ Creating scope :published. Overwriting existing method PushType::Node.published.
|
|
138
138
|
schemaname = ANY (current_schemas(false))
|
139
139
|
[0m
|
140
140
|
[1m[35m (0.9ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'dummy_test'[0m
|
141
|
-
[1m[35m (
|
141
|
+
[1m[35m (8.6ms)[0m [1m[35mTRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;[0m
|
142
142
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
143
|
-
[1m[35m (0.
|
143
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL[0m
|
144
144
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
145
145
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
146
|
-
--------------------------------------------------------------------------------------
|
147
|
-
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
148
|
-
--------------------------------------------------------------------------------------
|
149
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
150
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
151
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
152
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
153
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
154
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
155
146
|
--------------------------------------------------------------------------------------------------------------
|
156
147
|
PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
|
157
148
|
--------------------------------------------------------------------------------------------------------------
|
158
149
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
159
|
-
[1m[35m (0.
|
160
|
-
[1m[35m (0.
|
150
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
151
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
161
152
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
162
153
|
[1m[36mPushType::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-1@example.com"], ["LIMIT", 1]]
|
163
|
-
[1m[36mPushType::User Exists (0.
|
164
|
-
[1m[35mSQL (0.
|
154
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-1@example.com"], ["LIMIT", 1]]
|
155
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT 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", 2016-07-27 14:05:12 UTC], ["updated_at", 2016-07-27 14:05:12 UTC], ["confirmation_token", "MosQQtuDL72uTzwsruHM"], ["confirmation_sent_at", 2016-07-27 14:05:12 UTC]]
|
165
156
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
166
157
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
167
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (
|
158
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (4.5ms)
|
168
159
|
DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.3.0@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
|
169
160
|
in a future version of Sass. To preserve the current behavior, use quotes:
|
170
161
|
|
171
162
|
unquote("#{lower-bound($medium-range)}")
|
172
163
|
|
173
164
|
|
174
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
175
|
-
Sent mail to joe-1@example.com (
|
176
|
-
Date:
|
165
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 11606.8ms
|
166
|
+
Sent mail to joe-1@example.com (9.5ms)
|
167
|
+
Date: Wed, 27 Jul 2016 15:05:23 +0100
|
177
168
|
From: pushtype@example.com
|
178
169
|
Reply-To: pushtype@example.com
|
179
170
|
To: joe-1@example.com
|
180
|
-
Message-ID: <
|
171
|
+
Message-ID: <5798bfa3cb87c_90b53fd9e443f9ec23885@Aarons-iMac.local.mail>
|
181
172
|
Subject: [PushType] Confirm your account
|
182
173
|
Mime-Version: 1.0
|
183
174
|
Content-Type: multipart/alternative;
|
184
|
-
boundary="--==
|
175
|
+
boundary="--==_mimepart_5798bfa3ca4df_90b53fd9e443f9ec23718";
|
185
176
|
charset=UTF-8
|
186
177
|
Content-Transfer-Encoding: 7bit
|
187
178
|
|
188
179
|
|
189
|
-
----==
|
180
|
+
----==_mimepart_5798bfa3ca4df_90b53fd9e443f9ec23718
|
190
181
|
Content-Type: text/plain;
|
191
182
|
charset=UTF-8
|
192
183
|
Content-Transfer-Encoding: 7bit
|
@@ -202,11 +193,11 @@ To get started, confirm your account and set your own password by
|
|
202
193
|
clicking the link below:
|
203
194
|
|
204
195
|
Confirm my account
|
205
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
196
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=MosQQtuDL72uTzwsruHM )
|
206
197
|
|
207
198
|
|
208
199
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
209
|
-
----==
|
200
|
+
----==_mimepart_5798bfa3ca4df_90b53fd9e443f9ec23718
|
210
201
|
Content-Type: text/html;
|
211
202
|
charset=UTF-8
|
212
203
|
Content-Transfer-Encoding: 7bit
|
@@ -252,7 +243,7 @@ body {
|
|
252
243
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
253
244
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
254
245
|
<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;">
|
255
|
-
<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=
|
246
|
+
<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=MosQQtuDL72uTzwsruHM" 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>
|
256
247
|
</td>
|
257
248
|
</tr>
|
258
249
|
</table>
|
@@ -297,45 +288,203 @@ body {
|
|
297
288
|
</body>
|
298
289
|
</html>
|
299
290
|
|
300
|
-
----==
|
291
|
+
----==_mimepart_5798bfa3ca4df_90b53fd9e443f9ec23718--
|
301
292
|
|
302
293
|
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
303
|
-
[1m[35m (0.
|
294
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
304
295
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
305
296
|
---------------------------------------------------------------
|
306
|
-
PushType::
|
297
|
+
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
307
298
|
---------------------------------------------------------------
|
299
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
300
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
301
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
302
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
303
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
304
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
305
|
+
---------------------------------------------------------------------------
|
306
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
|
307
|
+
---------------------------------------------------------------------------
|
308
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
309
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
308
310
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
311
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
312
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
313
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
314
|
+
---------------------------------------------------------------------------
|
315
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
316
|
+
---------------------------------------------------------------------------
|
317
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
318
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
319
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
320
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
321
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
322
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
323
|
+
-------------------------------------------------------------
|
324
|
+
PushType::AuthenticatableTest::trackable: test_0001_anonymous
|
325
|
+
-------------------------------------------------------------
|
326
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
309
327
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
310
328
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
329
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
330
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
331
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
332
|
+
-------------------------------------------------------------------------------------
|
333
|
+
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
334
|
+
-------------------------------------------------------------------------------------
|
335
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
336
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
337
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
311
338
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
312
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-2@example.com"], ["LIMIT", 1]]
|
313
339
|
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-2@example.com"], ["LIMIT", 1]]
|
314
|
-
[1m[
|
340
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-2@example.com"], ["LIMIT", 1]]
|
341
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2016-07-27 14:05:23 UTC], ["updated_at", 2016-07-27 14:05:23 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-27 14:05:23 UTC], ["confirmation_sent_at", 2016-07-27 14:05:23 UTC]]
|
315
342
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
343
|
+
Processing by PushType::ProfilesController#update as HTML
|
344
|
+
Parameters: {"user"=>{"name"=>""}}
|
345
|
+
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "d48b345d-c021-46bb-a548-a6e73341c701"], ["LIMIT", 1]]
|
346
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
347
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-2@example.com"], ["id", "d48b345d-c021-46bb-a548-a6e73341c701"], ["LIMIT", 1]]
|
348
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
349
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
|
350
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (14.2ms)
|
351
|
+
Completed 200 OK in 36ms (Views: 29.9ms | ActiveRecord: 0.9ms)
|
352
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
353
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
354
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
355
|
+
-------------------------------------------------------------------------------------
|
356
|
+
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
357
|
+
-------------------------------------------------------------------------------------
|
358
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
359
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
360
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
316
361
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
317
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-3@example.com"], ["LIMIT", 1]]
|
318
362
|
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-3@example.com"], ["LIMIT", 1]]
|
319
|
-
[1m[
|
363
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-3@example.com"], ["LIMIT", 1]]
|
364
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", 2016-07-27 14:05:23 UTC], ["updated_at", 2016-07-27 14:05:23 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-27 14:05:23 UTC], ["confirmation_sent_at", 2016-07-27 14:05:23 UTC]]
|
365
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
366
|
+
Processing by PushType::ProfilesController#update as HTML
|
367
|
+
Parameters: {"user"=>{"name"=>""}}
|
368
|
+
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "11604e2c-21ec-4650-92b2-dab6319e5777"], ["LIMIT", 1]]
|
369
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
370
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-3@example.com"], ["id", "11604e2c-21ec-4650-92b2-dab6319e5777"], ["LIMIT", 1]]
|
371
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
372
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
|
373
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
|
374
|
+
Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.6ms)
|
375
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
376
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
377
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
378
|
+
------------------------------------------------------------------------------------------------------
|
379
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
380
|
+
------------------------------------------------------------------------------------------------------
|
381
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
382
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
383
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
384
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
385
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
386
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
387
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
388
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "99103e8eeab3510c885a17097caa5751857b094c9f959fa219c0560b27042873"], ["LIMIT", 1]]
|
389
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
390
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.8ms)
|
391
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (7.0ms)
|
392
|
+
Completed 200 OK in 179ms (Views: 17.5ms | ActiveRecord: 0.5ms)
|
393
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
394
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
395
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
396
|
+
------------------------------------------------------------------------------------------------------
|
397
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
398
|
+
------------------------------------------------------------------------------------------------------
|
399
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
400
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
401
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
402
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
403
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
404
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
405
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
406
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "99103e8eeab3510c885a17097caa5751857b094c9f959fa219c0560b27042873"], ["LIMIT", 1]]
|
407
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
408
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
|
409
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.5ms)
|
410
|
+
Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.4ms)
|
411
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
412
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
413
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
414
|
+
----------------------------------------------------
|
415
|
+
PushType::InvitationMethodsTest: test_0001_anonymous
|
416
|
+
----------------------------------------------------
|
417
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
418
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
419
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
420
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
421
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
422
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
423
|
+
----------------------------------------------------------------
|
424
|
+
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
425
|
+
----------------------------------------------------------------
|
426
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
427
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
428
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
429
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
430
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
431
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
432
|
+
--------------------------------------------------------------------------------------
|
433
|
+
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
434
|
+
--------------------------------------------------------------------------------------
|
435
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
436
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
437
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
438
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
439
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
440
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
441
|
+
---------------------------------------------------------------
|
442
|
+
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
443
|
+
---------------------------------------------------------------
|
444
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
445
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
446
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
447
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
448
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
449
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
450
|
+
---------------------------------------------------------------
|
451
|
+
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
452
|
+
---------------------------------------------------------------
|
453
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
454
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
455
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
456
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
457
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
458
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
459
|
+
--------------------------------------------------------------------------------------------------------------
|
460
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
|
461
|
+
--------------------------------------------------------------------------------------------------------------
|
462
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
463
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
464
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
465
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
466
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-4@example.com"], ["LIMIT", 1]]
|
467
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-4@example.com"], ["LIMIT", 1]]
|
468
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-4@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "AzzrMMs-QkezBgqsbBeR"], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
320
469
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
321
470
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
322
471
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
323
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
324
|
-
Sent mail to joe-
|
325
|
-
Date:
|
472
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
|
473
|
+
Sent mail to joe-4@example.com (3.4ms)
|
474
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
326
475
|
From: pushtype@example.com
|
327
476
|
Reply-To: pushtype@example.com
|
328
|
-
To: joe-
|
329
|
-
Message-ID: <
|
477
|
+
To: joe-4@example.com
|
478
|
+
Message-ID: <5798bfa42a83f_90b53fd9e443f9ec2419f@Aarons-iMac.local.mail>
|
330
479
|
Subject: [PushType] Confirm your account
|
331
480
|
Mime-Version: 1.0
|
332
481
|
Content-Type: multipart/alternative;
|
333
|
-
boundary="--==
|
482
|
+
boundary="--==_mimepart_5798bfa42a439_90b53fd9e443f9ec2406b";
|
334
483
|
charset=UTF-8
|
335
484
|
Content-Transfer-Encoding: 7bit
|
336
485
|
|
337
486
|
|
338
|
-
----==
|
487
|
+
----==_mimepart_5798bfa42a439_90b53fd9e443f9ec2406b
|
339
488
|
Content-Type: text/plain;
|
340
489
|
charset=UTF-8
|
341
490
|
Content-Transfer-Encoding: 7bit
|
@@ -351,11 +500,11 @@ To get started, confirm your account and set your own password by
|
|
351
500
|
clicking the link below:
|
352
501
|
|
353
502
|
Confirm my account
|
354
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
503
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=AzzrMMs-QkezBgqsbBeR )
|
355
504
|
|
356
505
|
|
357
506
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
358
|
-
----==
|
507
|
+
----==_mimepart_5798bfa42a439_90b53fd9e443f9ec2406b
|
359
508
|
Content-Type: text/html;
|
360
509
|
charset=UTF-8
|
361
510
|
Content-Transfer-Encoding: 7bit
|
@@ -401,7 +550,7 @@ body {
|
|
401
550
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
402
551
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
403
552
|
<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;">
|
404
|
-
<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=
|
553
|
+
<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=AzzrMMs-QkezBgqsbBeR" 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>
|
405
554
|
</td>
|
406
555
|
</tr>
|
407
556
|
</table>
|
@@ -446,32 +595,40 @@ body {
|
|
446
595
|
</body>
|
447
596
|
</html>
|
448
597
|
|
449
|
-
----==
|
598
|
+
----==_mimepart_5798bfa42a439_90b53fd9e443f9ec2406b--
|
450
599
|
|
451
|
-
|
452
|
-
|
453
|
-
[1m[
|
454
|
-
|
600
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
601
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
602
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
603
|
+
----------------------------------------------------------------------------------------------------
|
604
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
605
|
+
----------------------------------------------------------------------------------------------------
|
606
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
607
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
608
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
455
609
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
610
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-5@example.com"], ["LIMIT", 1]]
|
611
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-5@example.com"], ["LIMIT", 1]]
|
612
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-5@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "fduxoMzZg_vjyXCzyx-U"], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
456
613
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
457
614
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
458
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
459
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
460
|
-
Sent mail to joe-
|
461
|
-
Date:
|
615
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
616
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
617
|
+
Sent mail to joe-5@example.com (3.9ms)
|
618
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
462
619
|
From: pushtype@example.com
|
463
620
|
Reply-To: pushtype@example.com
|
464
|
-
To: joe-
|
465
|
-
Message-ID: <
|
621
|
+
To: joe-5@example.com
|
622
|
+
Message-ID: <5798bfa4344b8_90b53fd9e443f9ec2449d@Aarons-iMac.local.mail>
|
466
623
|
Subject: [PushType] Confirm your account
|
467
624
|
Mime-Version: 1.0
|
468
625
|
Content-Type: multipart/alternative;
|
469
|
-
boundary="--==
|
626
|
+
boundary="--==_mimepart_5798bfa433f70_90b53fd9e443f9ec243de";
|
470
627
|
charset=UTF-8
|
471
628
|
Content-Transfer-Encoding: 7bit
|
472
629
|
|
473
630
|
|
474
|
-
----==
|
631
|
+
----==_mimepart_5798bfa433f70_90b53fd9e443f9ec243de
|
475
632
|
Content-Type: text/plain;
|
476
633
|
charset=UTF-8
|
477
634
|
Content-Transfer-Encoding: 7bit
|
@@ -487,11 +644,11 @@ To get started, confirm your account and set your own password by
|
|
487
644
|
clicking the link below:
|
488
645
|
|
489
646
|
Confirm my account
|
490
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
647
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=fduxoMzZg_vjyXCzyx-U )
|
491
648
|
|
492
649
|
|
493
650
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
494
|
-
----==
|
651
|
+
----==_mimepart_5798bfa433f70_90b53fd9e443f9ec243de
|
495
652
|
Content-Type: text/html;
|
496
653
|
charset=UTF-8
|
497
654
|
Content-Transfer-Encoding: 7bit
|
@@ -537,7 +694,7 @@ body {
|
|
537
694
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
538
695
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
539
696
|
<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;">
|
540
|
-
<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=
|
697
|
+
<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=fduxoMzZg_vjyXCzyx-U" 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>
|
541
698
|
</td>
|
542
699
|
</tr>
|
543
700
|
</table>
|
@@ -582,47 +739,47 @@ body {
|
|
582
739
|
</body>
|
583
740
|
</html>
|
584
741
|
|
585
|
-
----==
|
742
|
+
----==_mimepart_5798bfa433f70_90b53fd9e443f9ec243de--
|
586
743
|
|
587
|
-
|
588
|
-
|
744
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
745
|
+
Parameters: {"confirmation_token"=>"fduxoMzZg_vjyXCzyx-U"}
|
746
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "fduxoMzZg_vjyXCzyx-U"], ["LIMIT", 1]]
|
747
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
748
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
749
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (4.4ms)
|
750
|
+
Completed 200 OK in 13ms (Views: 8.2ms | ActiveRecord: 0.2ms)
|
589
751
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
590
752
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
591
753
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
592
|
-
|
593
|
-
PushType::
|
594
|
-
|
595
|
-
[1m[35m (0.
|
754
|
+
----------------------------------------------------------------------------------------------------
|
755
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
|
756
|
+
----------------------------------------------------------------------------------------------------
|
757
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
596
758
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
597
759
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
598
760
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
599
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
600
|
-
[1m[36mPushType::User Exists (0.
|
601
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "
|
602
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
603
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
604
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-5@example.com"], ["LIMIT", 1]]
|
605
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-5@example.com"], ["LIMIT", 1]]
|
606
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-5@example.com"], ["created_at", 2016-07-25 10:46:31 UTC], ["updated_at", 2016-07-25 10:46:31 UTC], ["confirmation_token", "BzZsyMyP5SRB8pWaPQhP"], ["confirmation_sent_at", 2016-07-25 10:46:31 UTC]]
|
761
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-6@example.com"], ["LIMIT", 1]]
|
762
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-6@example.com"], ["LIMIT", 1]]
|
763
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-6@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "fxZEzX15ZrAQkz9vzKCx"], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
607
764
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
608
765
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
609
766
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
610
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
611
|
-
Sent mail to joe-
|
612
|
-
Date:
|
767
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
768
|
+
Sent mail to joe-6@example.com (3.8ms)
|
769
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
613
770
|
From: pushtype@example.com
|
614
771
|
Reply-To: pushtype@example.com
|
615
|
-
To: joe-
|
616
|
-
Message-ID: <
|
772
|
+
To: joe-6@example.com
|
773
|
+
Message-ID: <5798bfa44288a_90b53fd9e443f9ec247a@Aarons-iMac.local.mail>
|
617
774
|
Subject: [PushType] Confirm your account
|
618
775
|
Mime-Version: 1.0
|
619
776
|
Content-Type: multipart/alternative;
|
620
|
-
boundary="--==
|
777
|
+
boundary="--==_mimepart_5798bfa4423fb_90b53fd9e443f9ec2468b";
|
621
778
|
charset=UTF-8
|
622
779
|
Content-Transfer-Encoding: 7bit
|
623
780
|
|
624
781
|
|
625
|
-
----==
|
782
|
+
----==_mimepart_5798bfa4423fb_90b53fd9e443f9ec2468b
|
626
783
|
Content-Type: text/plain;
|
627
784
|
charset=UTF-8
|
628
785
|
Content-Transfer-Encoding: 7bit
|
@@ -638,11 +795,11 @@ To get started, confirm your account and set your own password by
|
|
638
795
|
clicking the link below:
|
639
796
|
|
640
797
|
Confirm my account
|
641
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
798
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=fxZEzX15ZrAQkz9vzKCx )
|
642
799
|
|
643
800
|
|
644
801
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
645
|
-
----==
|
802
|
+
----==_mimepart_5798bfa4423fb_90b53fd9e443f9ec2468b
|
646
803
|
Content-Type: text/html;
|
647
804
|
charset=UTF-8
|
648
805
|
Content-Transfer-Encoding: 7bit
|
@@ -688,7 +845,7 @@ body {
|
|
688
845
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
689
846
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
690
847
|
<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;">
|
691
|
-
<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=
|
848
|
+
<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=fxZEzX15ZrAQkz9vzKCx" 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>
|
692
849
|
</td>
|
693
850
|
</tr>
|
694
851
|
</table>
|
@@ -733,32 +890,47 @@ body {
|
|
733
890
|
</body>
|
734
891
|
</html>
|
735
892
|
|
736
|
-
----==
|
893
|
+
----==_mimepart_5798bfa4423fb_90b53fd9e443f9ec2468b--
|
737
894
|
|
738
|
-
Processing by PushType::
|
739
|
-
Parameters: {"
|
740
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."
|
741
|
-
|
895
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
896
|
+
Parameters: {"confirmation_token"=>"fxZEzX15ZrAQkz9vzKCx"}
|
897
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "fxZEzX15ZrAQkz9vzKCx"], ["LIMIT", 1]]
|
898
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
899
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
|
900
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
|
901
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)
|
902
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
903
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
904
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
905
|
+
------------------------------------------------------------------------------------------
|
906
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
907
|
+
------------------------------------------------------------------------------------------
|
908
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
909
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
910
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
742
911
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
912
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-7@example.com"], ["LIMIT", 1]]
|
913
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-7@example.com"], ["LIMIT", 1]]
|
914
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-7@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "m1DzYFYrxN3qYXwKsY3f"], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
743
915
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
744
916
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
745
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
746
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
747
|
-
Sent mail to joe-
|
748
|
-
Date:
|
917
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
918
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
|
919
|
+
Sent mail to joe-7@example.com (3.4ms)
|
920
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
749
921
|
From: pushtype@example.com
|
750
922
|
Reply-To: pushtype@example.com
|
751
|
-
To: joe-
|
752
|
-
Message-ID: <
|
923
|
+
To: joe-7@example.com
|
924
|
+
Message-ID: <5798bfa450f5f_90b53fd9e443f9ec250c4@Aarons-iMac.local.mail>
|
753
925
|
Subject: [PushType] Confirm your account
|
754
926
|
Mime-Version: 1.0
|
755
927
|
Content-Type: multipart/alternative;
|
756
|
-
boundary="--==
|
928
|
+
boundary="--==_mimepart_5798bfa450b5d_90b53fd9e443f9ec2495b";
|
757
929
|
charset=UTF-8
|
758
930
|
Content-Transfer-Encoding: 7bit
|
759
931
|
|
760
932
|
|
761
|
-
----==
|
933
|
+
----==_mimepart_5798bfa450b5d_90b53fd9e443f9ec2495b
|
762
934
|
Content-Type: text/plain;
|
763
935
|
charset=UTF-8
|
764
936
|
Content-Transfer-Encoding: 7bit
|
@@ -774,11 +946,11 @@ To get started, confirm your account and set your own password by
|
|
774
946
|
clicking the link below:
|
775
947
|
|
776
948
|
Confirm my account
|
777
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
949
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=m1DzYFYrxN3qYXwKsY3f )
|
778
950
|
|
779
951
|
|
780
952
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
781
|
-
----==
|
953
|
+
----==_mimepart_5798bfa450b5d_90b53fd9e443f9ec2495b
|
782
954
|
Content-Type: text/html;
|
783
955
|
charset=UTF-8
|
784
956
|
Content-Transfer-Encoding: 7bit
|
@@ -824,7 +996,7 @@ body {
|
|
824
996
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
825
997
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
826
998
|
<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;">
|
827
|
-
<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=
|
999
|
+
<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=m1DzYFYrxN3qYXwKsY3f" 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>
|
828
1000
|
</td>
|
829
1001
|
</tr>
|
830
1002
|
</table>
|
@@ -869,47 +1041,48 @@ body {
|
|
869
1041
|
</body>
|
870
1042
|
</html>
|
871
1043
|
|
872
|
-
----==
|
1044
|
+
----==_mimepart_5798bfa450b5d_90b53fd9e443f9ec2495b--
|
873
1045
|
|
874
|
-
|
875
|
-
|
1046
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
1047
|
+
Parameters: {"user"=>{"confirmation_token"=>"m1DzYFYrxN3qYXwKsY3f", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
1048
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "m1DzYFYrxN3qYXwKsY3f"], ["LIMIT", 1]]
|
1049
|
+
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-7@example.com"], ["id", "3732864b-bd5a-4c05-962b-8d53f430fa8a"], ["LIMIT", 1]]
|
1050
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
1051
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
1052
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
|
1053
|
+
Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.4ms)
|
876
1054
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
877
1055
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
878
1056
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
879
|
-
|
880
|
-
PushType::
|
881
|
-
|
1057
|
+
------------------------------------------------------------------------------------------
|
1058
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
1059
|
+
------------------------------------------------------------------------------------------
|
1060
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1061
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
882
1062
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
883
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
884
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
885
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
886
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-6@example.com"], ["LIMIT", 1]]
|
887
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-6@example.com"], ["LIMIT", 1]]
|
888
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", 2016-07-25 10:46:31 UTC], ["updated_at", 2016-07-25 10:46:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-25 10:46:31 UTC], ["confirmation_sent_at", 2016-07-25 10:46:31 UTC]]
|
889
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
890
1063
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
891
|
-
[1m[36mPushType::User Exists (0.
|
892
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
893
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-
|
1064
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-8@example.com"], ["LIMIT", 1]]
|
1065
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-8@example.com"], ["LIMIT", 1]]
|
1066
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "ytBpy3E6BjyKTwyrR_hT"], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
894
1067
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
895
1068
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
896
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
897
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
898
|
-
Sent mail to joe-
|
899
|
-
Date:
|
1069
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
1070
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
1071
|
+
Sent mail to joe-8@example.com (3.6ms)
|
1072
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
900
1073
|
From: pushtype@example.com
|
901
1074
|
Reply-To: pushtype@example.com
|
902
|
-
To: joe-
|
903
|
-
Message-ID: <
|
1075
|
+
To: joe-8@example.com
|
1076
|
+
Message-ID: <5798bfa45ce40_90b53fd9e443f9ec25323@Aarons-iMac.local.mail>
|
904
1077
|
Subject: [PushType] Confirm your account
|
905
1078
|
Mime-Version: 1.0
|
906
1079
|
Content-Type: multipart/alternative;
|
907
|
-
boundary="--==
|
1080
|
+
boundary="--==_mimepart_5798bfa45c995_90b53fd9e443f9ec2527b";
|
908
1081
|
charset=UTF-8
|
909
1082
|
Content-Transfer-Encoding: 7bit
|
910
1083
|
|
911
1084
|
|
912
|
-
----==
|
1085
|
+
----==_mimepart_5798bfa45c995_90b53fd9e443f9ec2527b
|
913
1086
|
Content-Type: text/plain;
|
914
1087
|
charset=UTF-8
|
915
1088
|
Content-Transfer-Encoding: 7bit
|
@@ -925,11 +1098,11 @@ To get started, confirm your account and set your own password by
|
|
925
1098
|
clicking the link below:
|
926
1099
|
|
927
1100
|
Confirm my account
|
928
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1101
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=ytBpy3E6BjyKTwyrR_hT )
|
929
1102
|
|
930
1103
|
|
931
1104
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
932
|
-
----==
|
1105
|
+
----==_mimepart_5798bfa45c995_90b53fd9e443f9ec2527b
|
933
1106
|
Content-Type: text/html;
|
934
1107
|
charset=UTF-8
|
935
1108
|
Content-Transfer-Encoding: 7bit
|
@@ -975,7 +1148,7 @@ body {
|
|
975
1148
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
976
1149
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
977
1150
|
<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;">
|
978
|
-
<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=
|
1151
|
+
<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=ytBpy3E6BjyKTwyrR_hT" 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>
|
979
1152
|
</td>
|
980
1153
|
</tr>
|
981
1154
|
</table>
|
@@ -1020,32 +1193,48 @@ body {
|
|
1020
1193
|
</body>
|
1021
1194
|
</html>
|
1022
1195
|
|
1023
|
-
----==
|
1196
|
+
----==_mimepart_5798bfa45c995_90b53fd9e443f9ec2527b--
|
1024
1197
|
|
1025
|
-
Processing by PushType::
|
1026
|
-
Parameters: {"
|
1027
|
-
[1m[36mPushType::User Load (0.
|
1028
|
-
[1m[36mPushType::User
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1198
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
1199
|
+
Parameters: {"user"=>{"confirmation_token"=>"ytBpy3E6BjyKTwyrR_hT", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
1200
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "ytBpy3E6BjyKTwyrR_hT"], ["LIMIT", 1]]
|
1201
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-8@example.com"], ["id", "8add1595-0569-45b8-8094-935322f5113b"], ["LIMIT", 1]]
|
1202
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
1203
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
1204
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
|
1205
|
+
Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.4ms)
|
1206
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1207
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1208
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1209
|
+
------------------------------------------------------------------------------------------
|
1210
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
|
1211
|
+
------------------------------------------------------------------------------------------
|
1212
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1213
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1214
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1215
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1216
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-9@example.com"], ["LIMIT", 1]]
|
1217
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-9@example.com"], ["LIMIT", 1]]
|
1218
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-9@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "ecgFbkxGd2-VShtz_AG6"], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
1219
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1220
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
1221
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
1222
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
|
1223
|
+
Sent mail to joe-9@example.com (3.5ms)
|
1224
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
1225
|
+
From: pushtype@example.com
|
1226
|
+
Reply-To: pushtype@example.com
|
1227
|
+
To: joe-9@example.com
|
1228
|
+
Message-ID: <5798bfa469715_90b53fd9e443f9ec2562a@Aarons-iMac.local.mail>
|
1229
|
+
Subject: [PushType] Confirm your account
|
1230
|
+
Mime-Version: 1.0
|
1231
|
+
Content-Type: multipart/alternative;
|
1232
|
+
boundary="--==_mimepart_5798bfa4692c2_90b53fd9e443f9ec2556a";
|
1044
1233
|
charset=UTF-8
|
1045
1234
|
Content-Transfer-Encoding: 7bit
|
1046
1235
|
|
1047
1236
|
|
1048
|
-
----==
|
1237
|
+
----==_mimepart_5798bfa4692c2_90b53fd9e443f9ec2556a
|
1049
1238
|
Content-Type: text/plain;
|
1050
1239
|
charset=UTF-8
|
1051
1240
|
Content-Transfer-Encoding: 7bit
|
@@ -1061,11 +1250,11 @@ To get started, confirm your account and set your own password by
|
|
1061
1250
|
clicking the link below:
|
1062
1251
|
|
1063
1252
|
Confirm my account
|
1064
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1253
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=ecgFbkxGd2-VShtz_AG6 )
|
1065
1254
|
|
1066
1255
|
|
1067
1256
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1068
|
-
----==
|
1257
|
+
----==_mimepart_5798bfa4692c2_90b53fd9e443f9ec2556a
|
1069
1258
|
Content-Type: text/html;
|
1070
1259
|
charset=UTF-8
|
1071
1260
|
Content-Transfer-Encoding: 7bit
|
@@ -1111,7 +1300,7 @@ body {
|
|
1111
1300
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
1112
1301
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
1113
1302
|
<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;">
|
1114
|
-
<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=
|
1303
|
+
<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=ecgFbkxGd2-VShtz_AG6" 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>
|
1115
1304
|
</td>
|
1116
1305
|
</tr>
|
1117
1306
|
</table>
|
@@ -1156,87 +1345,62 @@ body {
|
|
1156
1345
|
</body>
|
1157
1346
|
</html>
|
1158
1347
|
|
1159
|
-
----==
|
1348
|
+
----==_mimepart_5798bfa4692c2_90b53fd9e443f9ec2556a--
|
1160
1349
|
|
1161
|
-
|
1162
|
-
|
1350
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
1351
|
+
Parameters: {"user"=>{"confirmation_token"=>"ecgFbkxGd2-VShtz_AG6", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
1352
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "ecgFbkxGd2-VShtz_AG6"], ["LIMIT", 1]]
|
1353
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-9@example.com"], ["id", "0756db43-ec8f-42d1-a68b-93d55f09d00c"], ["LIMIT", 1]]
|
1354
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
1355
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
|
1356
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.8ms)
|
1357
|
+
Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.4ms)
|
1163
1358
|
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1164
1359
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1165
1360
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1166
|
-
--------------------------------------------------------
|
1167
|
-
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
1168
|
-
--------------------------------------------------------
|
1169
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1170
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1171
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1172
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1173
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1174
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1175
|
-
--------------------------------------------------------
|
1176
|
-
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
1177
|
-
--------------------------------------------------------
|
1178
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1179
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1180
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1181
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1182
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1183
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
1184
1361
|
---------------------------------------------------------------
|
1185
1362
|
PushType::AuthenticatableTest::recoverable: test_0001_anonymous
|
1186
|
-
---------------------------------------------------------------
|
1187
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1188
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1189
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1190
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1191
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1192
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1193
|
-
---------------------------------------------------------------
|
1194
|
-
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
1195
1363
|
---------------------------------------------------------------
|
1196
1364
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1197
1365
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1198
|
-
[1m[35m (0.
|
1366
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1199
1367
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1200
1368
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1201
1369
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1202
|
-
|
1203
|
-
PushType::
|
1204
|
-
|
1205
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1206
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1370
|
+
---------------------------------------------------------------
|
1371
|
+
PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
|
1372
|
+
---------------------------------------------------------------
|
1207
1373
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1208
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1209
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1210
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
1211
|
-
----------------------------------------------------------------------------------------------------
|
1212
|
-
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
|
1213
|
-
----------------------------------------------------------------------------------------------------
|
1214
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1215
1374
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1216
1375
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1217
1376
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1218
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
1219
|
-
[1m[36mPushType::User Exists (0.
|
1220
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-
|
1377
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-10@example.com"], ["LIMIT", 1]]
|
1378
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-10@example.com"], ["LIMIT", 1]]
|
1379
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-27 14:05:24 UTC], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
1380
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1381
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1382
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-11@example.com"], ["LIMIT", 1]]
|
1383
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-11@example.com"], ["LIMIT", 1]]
|
1384
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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-11@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "WWjviN96tCydUH1-vcH3"], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
1221
1385
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1222
1386
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
1223
1387
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
1224
1388
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
1225
|
-
Sent mail to joe-
|
1226
|
-
Date:
|
1389
|
+
Sent mail to joe-11@example.com (3.2ms)
|
1390
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
1227
1391
|
From: pushtype@example.com
|
1228
1392
|
Reply-To: pushtype@example.com
|
1229
|
-
To: joe-
|
1230
|
-
Message-ID: <
|
1393
|
+
To: joe-11@example.com
|
1394
|
+
Message-ID: <5798bfa476ec0_90b53fd9e443f9ec259bd@Aarons-iMac.local.mail>
|
1231
1395
|
Subject: [PushType] Confirm your account
|
1232
1396
|
Mime-Version: 1.0
|
1233
1397
|
Content-Type: multipart/alternative;
|
1234
|
-
boundary="--==
|
1398
|
+
boundary="--==_mimepart_5798bfa476abe_90b53fd9e443f9ec2585";
|
1235
1399
|
charset=UTF-8
|
1236
1400
|
Content-Transfer-Encoding: 7bit
|
1237
1401
|
|
1238
1402
|
|
1239
|
-
----==
|
1403
|
+
----==_mimepart_5798bfa476abe_90b53fd9e443f9ec2585
|
1240
1404
|
Content-Type: text/plain;
|
1241
1405
|
charset=UTF-8
|
1242
1406
|
Content-Transfer-Encoding: 7bit
|
@@ -1252,11 +1416,11 @@ To get started, confirm your account and set your own password by
|
|
1252
1416
|
clicking the link below:
|
1253
1417
|
|
1254
1418
|
Confirm my account
|
1255
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1419
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=WWjviN96tCydUH1-vcH3 )
|
1256
1420
|
|
1257
1421
|
|
1258
1422
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1259
|
-
----==
|
1423
|
+
----==_mimepart_5798bfa476abe_90b53fd9e443f9ec2585
|
1260
1424
|
Content-Type: text/html;
|
1261
1425
|
charset=UTF-8
|
1262
1426
|
Content-Transfer-Encoding: 7bit
|
@@ -1302,7 +1466,7 @@ body {
|
|
1302
1466
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
1303
1467
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
1304
1468
|
<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;">
|
1305
|
-
<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=
|
1469
|
+
<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=WWjviN96tCydUH1-vcH3" 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>
|
1306
1470
|
</td>
|
1307
1471
|
</tr>
|
1308
1472
|
</table>
|
@@ -1347,47 +1511,32 @@ body {
|
|
1347
1511
|
</body>
|
1348
1512
|
</html>
|
1349
1513
|
|
1350
|
-
----==
|
1514
|
+
----==_mimepart_5798bfa476abe_90b53fd9e443f9ec2585--
|
1351
1515
|
|
1352
|
-
Processing by PushType::
|
1353
|
-
Parameters: {"
|
1354
|
-
[1m[36mPushType::User Load (0.
|
1355
|
-
|
1356
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.4ms)
|
1357
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (264.5ms)
|
1358
|
-
Completed 200 OK in 281ms (Views: 274.3ms | ActiveRecord: 0.2ms)
|
1359
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1360
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1361
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1362
|
-
----------------------------------------------------------------------------------------------------
|
1363
|
-
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
1364
|
-
----------------------------------------------------------------------------------------------------
|
1365
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1366
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1367
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1516
|
+
Processing by PushType::UsersController#invite as HTML
|
1517
|
+
Parameters: {"id"=>"4a67a616-2b26-4215-88f6-33f9080fdab2"}
|
1518
|
+
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "7dcd919d-55bb-4267-8e29-a9b405cd326b"], ["LIMIT", 1]]
|
1519
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "4a67a616-2b26-4215-88f6-33f9080fdab2"], ["LIMIT", 1]]
|
1368
1520
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1369
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-9@example.com"], ["LIMIT", 1]]
|
1370
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-9@example.com"], ["LIMIT", 1]]
|
1371
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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-9@example.com"], ["created_at", 2016-07-25 10:46:32 UTC], ["updated_at", 2016-07-25 10:46:32 UTC], ["confirmation_token", "DxH7wbBoTHXsWFKumQdP"], ["confirmation_sent_at", 2016-07-25 10:46:32 UTC]]
|
1372
1521
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1373
1522
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
1374
1523
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
1375
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
1376
|
-
Sent mail to joe-
|
1377
|
-
Date:
|
1524
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
1525
|
+
Sent mail to joe-11@example.com (3.5ms)
|
1526
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
1378
1527
|
From: pushtype@example.com
|
1379
1528
|
Reply-To: pushtype@example.com
|
1380
|
-
To: joe-
|
1381
|
-
Message-ID: <
|
1529
|
+
To: joe-11@example.com
|
1530
|
+
Message-ID: <5798bfa480493_90b53fd9e443f9ec26252@Aarons-iMac.local.mail>
|
1382
1531
|
Subject: [PushType] Confirm your account
|
1383
1532
|
Mime-Version: 1.0
|
1384
1533
|
Content-Type: multipart/alternative;
|
1385
|
-
boundary="--==
|
1534
|
+
boundary="--==_mimepart_5798bfa48003a_90b53fd9e443f9ec261e7";
|
1386
1535
|
charset=UTF-8
|
1387
1536
|
Content-Transfer-Encoding: 7bit
|
1388
1537
|
|
1389
1538
|
|
1390
|
-
----==
|
1539
|
+
----==_mimepart_5798bfa48003a_90b53fd9e443f9ec261e7
|
1391
1540
|
Content-Type: text/plain;
|
1392
1541
|
charset=UTF-8
|
1393
1542
|
Content-Transfer-Encoding: 7bit
|
@@ -1403,11 +1552,11 @@ To get started, confirm your account and set your own password by
|
|
1403
1552
|
clicking the link below:
|
1404
1553
|
|
1405
1554
|
Confirm my account
|
1406
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1555
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=WWjviN96tCydUH1-vcH3 )
|
1407
1556
|
|
1408
1557
|
|
1409
1558
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1410
|
-
----==
|
1559
|
+
----==_mimepart_5798bfa48003a_90b53fd9e443f9ec261e7
|
1411
1560
|
Content-Type: text/html;
|
1412
1561
|
charset=UTF-8
|
1413
1562
|
Content-Transfer-Encoding: 7bit
|
@@ -1453,7 +1602,7 @@ body {
|
|
1453
1602
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
1454
1603
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
1455
1604
|
<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;">
|
1456
|
-
<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=
|
1605
|
+
<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=WWjviN96tCydUH1-vcH3" 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>
|
1457
1606
|
</td>
|
1458
1607
|
</tr>
|
1459
1608
|
</table>
|
@@ -1498,47 +1647,47 @@ body {
|
|
1498
1647
|
</body>
|
1499
1648
|
</html>
|
1500
1649
|
|
1501
|
-
----==
|
1650
|
+
----==_mimepart_5798bfa48003a_90b53fd9e443f9ec261e7--
|
1502
1651
|
|
1503
|
-
|
1504
|
-
|
1505
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "DxH7wbBoTHXsWFKumQdP"], ["LIMIT", 1]]
|
1506
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
1507
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
1508
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
|
1509
|
-
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.2ms)
|
1652
|
+
Redirected to http://test.host/push_type/users
|
1653
|
+
Completed 302 Found in 38ms (ActiveRecord: 0.6ms)
|
1510
1654
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1511
1655
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1512
1656
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1513
|
-
|
1514
|
-
PushType::
|
1515
|
-
|
1516
|
-
[1m[35m (0.
|
1517
|
-
[1m[35m (0.
|
1518
|
-
[1m[35m (0.
|
1657
|
+
---------------------------------------------------------------
|
1658
|
+
PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
|
1659
|
+
---------------------------------------------------------------
|
1660
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1661
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1662
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1519
1663
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1520
|
-
[1m[36mPushType::User Exists (0.
|
1521
|
-
[1m[36mPushType::User Exists (0.
|
1522
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-
|
1664
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-12@example.com"], ["LIMIT", 1]]
|
1665
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-12@example.com"], ["LIMIT", 1]]
|
1666
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-27 14:05:24 UTC], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
1667
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1668
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1669
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-13@example.com"], ["LIMIT", 1]]
|
1670
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-13@example.com"], ["LIMIT", 1]]
|
1671
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-13@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "VgZjQ6gtka9yZc-_8c_Y"], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
1523
1672
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1524
1673
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
1525
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
1526
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
1527
|
-
Sent mail to joe-
|
1528
|
-
Date:
|
1674
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
1675
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
1676
|
+
Sent mail to joe-13@example.com (3.2ms)
|
1677
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
1529
1678
|
From: pushtype@example.com
|
1530
1679
|
Reply-To: pushtype@example.com
|
1531
|
-
To: joe-
|
1532
|
-
Message-ID: <
|
1680
|
+
To: joe-13@example.com
|
1681
|
+
Message-ID: <5798bfa48a9b5_90b53fd9e443f9ec26581@Aarons-iMac.local.mail>
|
1533
1682
|
Subject: [PushType] Confirm your account
|
1534
1683
|
Mime-Version: 1.0
|
1535
1684
|
Content-Type: multipart/alternative;
|
1536
|
-
boundary="--==
|
1685
|
+
boundary="--==_mimepart_5798bfa48a5a9_90b53fd9e443f9ec26493";
|
1537
1686
|
charset=UTF-8
|
1538
1687
|
Content-Transfer-Encoding: 7bit
|
1539
1688
|
|
1540
1689
|
|
1541
|
-
----==
|
1690
|
+
----==_mimepart_5798bfa48a5a9_90b53fd9e443f9ec26493
|
1542
1691
|
Content-Type: text/plain;
|
1543
1692
|
charset=UTF-8
|
1544
1693
|
Content-Transfer-Encoding: 7bit
|
@@ -1554,11 +1703,11 @@ To get started, confirm your account and set your own password by
|
|
1554
1703
|
clicking the link below:
|
1555
1704
|
|
1556
1705
|
Confirm my account
|
1557
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1706
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=VgZjQ6gtka9yZc-_8c_Y )
|
1558
1707
|
|
1559
1708
|
|
1560
1709
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1561
|
-
----==
|
1710
|
+
----==_mimepart_5798bfa48a5a9_90b53fd9e443f9ec26493
|
1562
1711
|
Content-Type: text/html;
|
1563
1712
|
charset=UTF-8
|
1564
1713
|
Content-Transfer-Encoding: 7bit
|
@@ -1604,7 +1753,7 @@ body {
|
|
1604
1753
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
1605
1754
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
1606
1755
|
<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;">
|
1607
|
-
<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=
|
1756
|
+
<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=VgZjQ6gtka9yZc-_8c_Y" 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>
|
1608
1757
|
</td>
|
1609
1758
|
</tr>
|
1610
1759
|
</table>
|
@@ -1649,53 +1798,32 @@ body {
|
|
1649
1798
|
</body>
|
1650
1799
|
</html>
|
1651
1800
|
|
1652
|
-
----==
|
1801
|
+
----==_mimepart_5798bfa48a5a9_90b53fd9e443f9ec26493--
|
1653
1802
|
|
1654
|
-
Processing by PushType::
|
1655
|
-
Parameters: {"
|
1656
|
-
[1m[36mPushType::User Load (0.
|
1657
|
-
[1m[36mPushType::User
|
1658
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1659
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["encrypted_password", "$2a$04$ycjQoybdkbhTP4CTK00pIOdCrCgYbCCbeXhrr0wkDfJ7RHZHlfvEC"], ["confirmed_at", 2016-07-25 10:46:32 UTC], ["updated_at", 2016-07-25 10:46:32 UTC], ["id", "22dbe88b-faa0-4c4b-b34b-4e122f049e3b"]]
|
1660
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1661
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1662
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2016-07-25 10:46:32 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-07-25 10:46:32 UTC], ["last_sign_in_at", 2016-07-25 10:46:32 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "22dbe88b-faa0-4c4b-b34b-4e122f049e3b"]]
|
1663
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1664
|
-
Redirected to http://test.host/push_type/
|
1665
|
-
Completed 302 Found in 12ms (ActiveRecord: 1.6ms)
|
1666
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2[0m [["id", "22dbe88b-faa0-4c4b-b34b-4e122f049e3b"], ["LIMIT", 1]]
|
1667
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1668
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1669
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1670
|
-
----------------------------------------------------------------------------------------
|
1671
|
-
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
|
1672
|
-
----------------------------------------------------------------------------------------
|
1673
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1674
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1675
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1803
|
+
Processing by PushType::UsersController#invite as HTML
|
1804
|
+
Parameters: {"id"=>"eebb7ffd-ab45-4f87-88d8-5d0ff438a22e"}
|
1805
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "93837e03-3ce7-4005-9124-d44340b8e4a7"], ["LIMIT", 1]]
|
1806
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "eebb7ffd-ab45-4f87-88d8-5d0ff438a22e"], ["LIMIT", 1]]
|
1676
1807
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1677
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-11@example.com"], ["LIMIT", 1]]
|
1678
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-11@example.com"], ["LIMIT", 1]]
|
1679
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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-11@example.com"], ["created_at", 2016-07-25 10:46:32 UTC], ["updated_at", 2016-07-25 10:46:32 UTC], ["confirmation_token", "AbB1CE98nac6ML-9fxEp"], ["confirmation_sent_at", 2016-07-25 10:46:32 UTC]]
|
1680
1808
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1681
1809
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
1682
1810
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
1683
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
1684
|
-
Sent mail to joe-
|
1685
|
-
Date:
|
1811
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
1812
|
+
Sent mail to joe-13@example.com (3.4ms)
|
1813
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
1686
1814
|
From: pushtype@example.com
|
1687
1815
|
Reply-To: pushtype@example.com
|
1688
|
-
To: joe-
|
1689
|
-
Message-ID: <
|
1816
|
+
To: joe-13@example.com
|
1817
|
+
Message-ID: <5798bfa493f14_90b53fd9e443f9ec2689@Aarons-iMac.local.mail>
|
1690
1818
|
Subject: [PushType] Confirm your account
|
1691
1819
|
Mime-Version: 1.0
|
1692
1820
|
Content-Type: multipart/alternative;
|
1693
|
-
boundary="--==
|
1821
|
+
boundary="--==_mimepart_5798bfa493ad8_90b53fd9e443f9ec267c2";
|
1694
1822
|
charset=UTF-8
|
1695
1823
|
Content-Transfer-Encoding: 7bit
|
1696
1824
|
|
1697
1825
|
|
1698
|
-
----==
|
1826
|
+
----==_mimepart_5798bfa493ad8_90b53fd9e443f9ec267c2
|
1699
1827
|
Content-Type: text/plain;
|
1700
1828
|
charset=UTF-8
|
1701
1829
|
Content-Transfer-Encoding: 7bit
|
@@ -1711,11 +1839,11 @@ To get started, confirm your account and set your own password by
|
|
1711
1839
|
clicking the link below:
|
1712
1840
|
|
1713
1841
|
Confirm my account
|
1714
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1842
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=VgZjQ6gtka9yZc-_8c_Y )
|
1715
1843
|
|
1716
1844
|
|
1717
1845
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1718
|
-
----==
|
1846
|
+
----==_mimepart_5798bfa493ad8_90b53fd9e443f9ec267c2
|
1719
1847
|
Content-Type: text/html;
|
1720
1848
|
charset=UTF-8
|
1721
1849
|
Content-Transfer-Encoding: 7bit
|
@@ -1761,7 +1889,7 @@ body {
|
|
1761
1889
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
1762
1890
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
1763
1891
|
<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;">
|
1764
|
-
<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=
|
1892
|
+
<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=VgZjQ6gtka9yZc-_8c_Y" 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>
|
1765
1893
|
</td>
|
1766
1894
|
</tr>
|
1767
1895
|
</table>
|
@@ -1806,52 +1934,47 @@ body {
|
|
1806
1934
|
</body>
|
1807
1935
|
</html>
|
1808
1936
|
|
1809
|
-
----==
|
1937
|
+
----==_mimepart_5798bfa493ad8_90b53fd9e443f9ec267c2--
|
1810
1938
|
|
1811
|
-
|
1812
|
-
|
1813
|
-
[1m[
|
1814
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-11@example.com"], ["id", "88f5ee33-ad0a-4292-90f2-2e2e4d469524"], ["LIMIT", 1]]
|
1815
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1816
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["encrypted_password", "$2a$04$o8rBe1/vwmI9tl3ZHCGFcuBkxfhPNgi5qQ79PG.3PgHqDU5XV1kj."], ["confirmed_at", 2016-07-25 10:46:32 UTC], ["updated_at", 2016-07-25 10:46:32 UTC], ["id", "88f5ee33-ad0a-4292-90f2-2e2e4d469524"]]
|
1817
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1818
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1819
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2016-07-25 10:46:32 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-07-25 10:46:32 UTC], ["last_sign_in_at", 2016-07-25 10:46:32 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "88f5ee33-ad0a-4292-90f2-2e2e4d469524"]]
|
1820
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1821
|
-
Redirected to http://test.host/push_type/
|
1822
|
-
Completed 302 Found in 8ms (ActiveRecord: 1.3ms)
|
1823
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1939
|
+
Redirected to http://test.host/push_type/users
|
1940
|
+
Completed 302 Found in 38ms (ActiveRecord: 0.6ms)
|
1941
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1824
1942
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1825
1943
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1826
|
-
|
1827
|
-
PushType::
|
1828
|
-
|
1944
|
+
---------------------------------------------------------------
|
1945
|
+
PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
|
1946
|
+
---------------------------------------------------------------
|
1829
1947
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1830
1948
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1831
|
-
[1m[35m (0.
|
1949
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1832
1950
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1833
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
1834
|
-
[1m[36mPushType::User Exists (0.
|
1835
|
-
[1m[35mSQL (0.
|
1951
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-14@example.com"], ["LIMIT", 1]]
|
1952
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-14@example.com"], ["LIMIT", 1]]
|
1953
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-27 14:05:24 UTC], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
1954
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1955
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1956
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-15@example.com"], ["LIMIT", 1]]
|
1957
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-15@example.com"], ["LIMIT", 1]]
|
1958
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-15@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "AzH5VWgYSz-uH1SC9ypU"], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
1836
1959
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1837
1960
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
1838
1961
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
1839
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
1840
|
-
Sent mail to joe-
|
1841
|
-
Date:
|
1962
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
1963
|
+
Sent mail to joe-15@example.com (3.5ms)
|
1964
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
1842
1965
|
From: pushtype@example.com
|
1843
1966
|
Reply-To: pushtype@example.com
|
1844
|
-
To: joe-
|
1845
|
-
Message-ID: <
|
1967
|
+
To: joe-15@example.com
|
1968
|
+
Message-ID: <5798bfa49ea38_90b53fd9e443f9ec27178@Aarons-iMac.local.mail>
|
1846
1969
|
Subject: [PushType] Confirm your account
|
1847
1970
|
Mime-Version: 1.0
|
1848
1971
|
Content-Type: multipart/alternative;
|
1849
|
-
boundary="--==
|
1972
|
+
boundary="--==_mimepart_5798bfa49e5a2_90b53fd9e443f9ec2702e";
|
1850
1973
|
charset=UTF-8
|
1851
1974
|
Content-Transfer-Encoding: 7bit
|
1852
1975
|
|
1853
1976
|
|
1854
|
-
----==
|
1977
|
+
----==_mimepart_5798bfa49e5a2_90b53fd9e443f9ec2702e
|
1855
1978
|
Content-Type: text/plain;
|
1856
1979
|
charset=UTF-8
|
1857
1980
|
Content-Transfer-Encoding: 7bit
|
@@ -1867,11 +1990,11 @@ To get started, confirm your account and set your own password by
|
|
1867
1990
|
clicking the link below:
|
1868
1991
|
|
1869
1992
|
Confirm my account
|
1870
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
1993
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=AzH5VWgYSz-uH1SC9ypU )
|
1871
1994
|
|
1872
1995
|
|
1873
1996
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
1874
|
-
----==
|
1997
|
+
----==_mimepart_5798bfa49e5a2_90b53fd9e443f9ec2702e
|
1875
1998
|
Content-Type: text/html;
|
1876
1999
|
charset=UTF-8
|
1877
2000
|
Content-Transfer-Encoding: 7bit
|
@@ -1917,7 +2040,7 @@ body {
|
|
1917
2040
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
1918
2041
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
1919
2042
|
<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;">
|
1920
|
-
<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=
|
2043
|
+
<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=AzH5VWgYSz-uH1SC9ypU" 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>
|
1921
2044
|
</td>
|
1922
2045
|
</tr>
|
1923
2046
|
</table>
|
@@ -1962,192 +2085,32 @@ body {
|
|
1962
2085
|
</body>
|
1963
2086
|
</html>
|
1964
2087
|
|
1965
|
-
----==
|
2088
|
+
----==_mimepart_5798bfa49e5a2_90b53fd9e443f9ec2702e--
|
1966
2089
|
|
1967
|
-
|
1968
|
-
|
1969
|
-
[1m[
|
1970
|
-
|
1971
|
-
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
1972
|
-
-------------------------------------------------------------------------------------
|
1973
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1974
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1975
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1976
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1977
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-13@example.com"], ["LIMIT", 1]]
|
1978
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-13@example.com"], ["LIMIT", 1]]
|
1979
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", 2016-07-25 10:46:32 UTC], ["updated_at", 2016-07-25 10:46:32 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-25 10:46:32 UTC], ["confirmation_sent_at", 2016-07-25 10:46:32 UTC]]
|
1980
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
1981
|
-
Processing by PushType::ProfilesController#update as HTML
|
1982
|
-
Parameters: {"user"=>{"name"=>""}}
|
1983
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "0634998b-6592-4b37-b27e-49baf04a2268"], ["LIMIT", 1]]
|
1984
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
1985
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-13@example.com"], ["id", "0634998b-6592-4b37-b27e-49baf04a2268"], ["LIMIT", 1]]
|
1986
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
1987
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
|
1988
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (6.4ms)
|
1989
|
-
Completed 200 OK in 25ms (Views: 20.5ms | ActiveRecord: 0.7ms)
|
1990
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1991
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1992
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1993
|
-
-------------------------------------------------------------------------------------
|
1994
|
-
PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
1995
|
-
-------------------------------------------------------------------------------------
|
1996
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1997
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1998
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1999
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2000
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-14@example.com"], ["LIMIT", 1]]
|
2001
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-14@example.com"], ["LIMIT", 1]]
|
2002
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2016-07-25 10:46:32 UTC], ["updated_at", 2016-07-25 10:46:32 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-25 10:46:32 UTC], ["confirmation_sent_at", 2016-07-25 10:46:32 UTC]]
|
2003
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2004
|
-
Processing by PushType::ProfilesController#update as HTML
|
2005
|
-
Parameters: {"user"=>{"name"=>""}}
|
2006
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "92bc1692-d41a-4bbf-b1ce-fc466200731d"], ["LIMIT", 1]]
|
2007
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2008
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-14@example.com"], ["id", "92bc1692-d41a-4bbf-b1ce-fc466200731d"], ["LIMIT", 1]]
|
2009
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
2010
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
|
2011
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
|
2012
|
-
Completed 200 OK in 11ms (Views: 7.4ms | ActiveRecord: 0.5ms)
|
2013
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2014
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2015
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2016
|
-
------------------------------------------------------------------------------------------------------
|
2017
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
2018
|
-
------------------------------------------------------------------------------------------------------
|
2019
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2020
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2021
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2022
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
2023
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
2024
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
2025
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
2026
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "4a5945a6f29b843da9845481e49d2521932f5436c50528654ad90bbbb92d60b8"], ["LIMIT", 1]]
|
2027
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
2028
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
|
2029
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (3.3ms)
|
2030
|
-
Completed 200 OK in 236ms (Views: 10.0ms | ActiveRecord: 0.6ms)
|
2031
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2032
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2033
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2034
|
-
------------------------------------------------------------------------------------------------------
|
2035
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
2036
|
-
------------------------------------------------------------------------------------------------------
|
2037
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2038
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2039
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2040
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
2041
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
2042
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
2043
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "invalid"], ["LIMIT", 1]]
|
2044
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "4a5945a6f29b843da9845481e49d2521932f5436c50528654ad90bbbb92d60b8"], ["LIMIT", 1]]
|
2045
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
2046
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
2047
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.3ms)
|
2048
|
-
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.3ms)
|
2049
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2050
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2051
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
2052
|
-
-----------------------------------------------------------------------------------
|
2053
|
-
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
2054
|
-
-----------------------------------------------------------------------------------
|
2055
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2056
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2057
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2058
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2059
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-15@example.com"], ["LIMIT", 1]]
|
2060
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-15@example.com"], ["LIMIT", 1]]
|
2061
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2016-07-25 10:46:32 UTC], ["updated_at", 2016-07-25 10:46:32 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-25 10:46:32 UTC], ["confirmation_sent_at", 2016-07-25 10:46:32 UTC]]
|
2062
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2063
|
-
Processing by PushType::ProfilesController#update as HTML
|
2064
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
2065
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "a4b27367-0909-41dd-90bc-28464868015e"], ["LIMIT", 1]]
|
2066
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2067
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-15@example.com"], ["id", "a4b27367-0909-41dd-90bc-28464868015e"], ["LIMIT", 1]]
|
2068
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-07-25 10:46:32 UTC], ["id", "a4b27367-0909-41dd-90bc-28464868015e"]]
|
2069
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2070
|
-
Redirected to http://test.host/push_type/profile/edit
|
2071
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
2072
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2073
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2074
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2075
|
-
-----------------------------------------------------------------------------------
|
2076
|
-
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
2077
|
-
-----------------------------------------------------------------------------------
|
2078
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2079
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2080
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2081
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2082
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-16@example.com"], ["LIMIT", 1]]
|
2083
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-16@example.com"], ["LIMIT", 1]]
|
2084
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", 2016-07-25 10:46:32 UTC], ["updated_at", 2016-07-25 10:46:32 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-25 10:46:32 UTC], ["confirmation_sent_at", 2016-07-25 10:46:32 UTC]]
|
2085
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2086
|
-
Processing by PushType::ProfilesController#update as HTML
|
2087
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
2088
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "4d28cd8d-bf5f-4b61-8f93-cc14ec84ba3e"], ["LIMIT", 1]]
|
2089
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2090
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-16@example.com"], ["id", "4d28cd8d-bf5f-4b61-8f93-cc14ec84ba3e"], ["LIMIT", 1]]
|
2091
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-07-25 10:46:32 UTC], ["id", "4d28cd8d-bf5f-4b61-8f93-cc14ec84ba3e"]]
|
2092
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2093
|
-
Redirected to http://test.host/push_type/profile/edit
|
2094
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
2095
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2[0m [["id", "4d28cd8d-bf5f-4b61-8f93-cc14ec84ba3e"], ["LIMIT", 1]]
|
2096
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2097
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2098
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2099
|
-
-----------------------------------------------------------------------------------
|
2100
|
-
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
|
2101
|
-
-----------------------------------------------------------------------------------
|
2102
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2103
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2104
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2105
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2106
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-17@example.com"], ["LIMIT", 1]]
|
2107
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-17@example.com"], ["LIMIT", 1]]
|
2108
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2016-07-25 10:46:32 UTC], ["updated_at", 2016-07-25 10:46:32 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-25 10:46:32 UTC], ["confirmation_sent_at", 2016-07-25 10:46:32 UTC]]
|
2109
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2110
|
-
Processing by PushType::ProfilesController#update as HTML
|
2111
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
2112
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "e25d4029-ecb9-4b99-bf64-e69e98456154"], ["LIMIT", 1]]
|
2113
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2114
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-17@example.com"], ["id", "e25d4029-ecb9-4b99-bf64-e69e98456154"], ["LIMIT", 1]]
|
2115
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-07-25 10:46:32 UTC], ["id", "e25d4029-ecb9-4b99-bf64-e69e98456154"]]
|
2116
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2117
|
-
Redirected to http://test.host/push_type/profile/edit
|
2118
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
2119
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2120
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2121
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2122
|
-
------------------------------------------------------------------------------------------
|
2123
|
-
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
2124
|
-
------------------------------------------------------------------------------------------
|
2125
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2126
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2127
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2090
|
+
Processing by PushType::UsersController#invite as HTML
|
2091
|
+
Parameters: {"id"=>"0859bdb5-cc6e-4e62-b5f5-8945cdc055ad"}
|
2092
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "dcda10ec-395d-48bd-8ab9-bdb53f3478a0"], ["LIMIT", 1]]
|
2093
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "0859bdb5-cc6e-4e62-b5f5-8945cdc055ad"], ["LIMIT", 1]]
|
2128
2094
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2129
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-18@example.com"], ["LIMIT", 1]]
|
2130
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-18@example.com"], ["LIMIT", 1]]
|
2131
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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", 2016-07-25 10:46:32 UTC], ["updated_at", 2016-07-25 10:46:32 UTC], ["confirmation_token", "_gkGABdfLXx6rbo49CcW"], ["confirmation_sent_at", 2016-07-25 10:46:32 UTC]]
|
2132
2095
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2133
2096
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
2134
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
2135
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
2136
|
-
Sent mail to joe-
|
2137
|
-
Date:
|
2097
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
|
2098
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
|
2099
|
+
Sent mail to joe-15@example.com (3.3ms)
|
2100
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
2138
2101
|
From: pushtype@example.com
|
2139
2102
|
Reply-To: pushtype@example.com
|
2140
|
-
To: joe-
|
2141
|
-
Message-ID: <
|
2103
|
+
To: joe-15@example.com
|
2104
|
+
Message-ID: <5798bfa4a84ce_90b53fd9e443f9ec27423@Aarons-iMac.local.mail>
|
2142
2105
|
Subject: [PushType] Confirm your account
|
2143
2106
|
Mime-Version: 1.0
|
2144
2107
|
Content-Type: multipart/alternative;
|
2145
|
-
boundary="--==
|
2108
|
+
boundary="--==_mimepart_5798bfa4a808d_90b53fd9e443f9ec273bb";
|
2146
2109
|
charset=UTF-8
|
2147
2110
|
Content-Transfer-Encoding: 7bit
|
2148
2111
|
|
2149
2112
|
|
2150
|
-
----==
|
2113
|
+
----==_mimepart_5798bfa4a808d_90b53fd9e443f9ec273bb
|
2151
2114
|
Content-Type: text/plain;
|
2152
2115
|
charset=UTF-8
|
2153
2116
|
Content-Transfer-Encoding: 7bit
|
@@ -2163,11 +2126,11 @@ To get started, confirm your account and set your own password by
|
|
2163
2126
|
clicking the link below:
|
2164
2127
|
|
2165
2128
|
Confirm my account
|
2166
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
2129
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=AzH5VWgYSz-uH1SC9ypU )
|
2167
2130
|
|
2168
2131
|
|
2169
2132
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
2170
|
-
----==
|
2133
|
+
----==_mimepart_5798bfa4a808d_90b53fd9e443f9ec273bb
|
2171
2134
|
Content-Type: text/html;
|
2172
2135
|
charset=UTF-8
|
2173
2136
|
Content-Transfer-Encoding: 7bit
|
@@ -2213,7 +2176,7 @@ body {
|
|
2213
2176
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
2214
2177
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
2215
2178
|
<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;">
|
2216
|
-
<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=
|
2179
|
+
<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=AzH5VWgYSz-uH1SC9ypU" 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>
|
2217
2180
|
</td>
|
2218
2181
|
</tr>
|
2219
2182
|
</table>
|
@@ -2258,48 +2221,42 @@ body {
|
|
2258
2221
|
</body>
|
2259
2222
|
</html>
|
2260
2223
|
|
2261
|
-
----==
|
2224
|
+
----==_mimepart_5798bfa4a808d_90b53fd9e443f9ec273bb--
|
2262
2225
|
|
2263
|
-
|
2264
|
-
|
2265
|
-
[1m[
|
2266
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-18@example.com"], ["id", "c59210c8-a9a4-4599-b248-d278ef55b9e1"], ["LIMIT", 1]]
|
2267
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
2268
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
2269
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.4ms)
|
2270
|
-
Completed 200 OK in 18ms (Views: 15.1ms | ActiveRecord: 0.4ms)
|
2271
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2226
|
+
Redirected to http://test.host/push_type/users
|
2227
|
+
Completed 302 Found in 39ms (ActiveRecord: 0.4ms)
|
2228
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2272
2229
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2273
|
-
[1m[35m (0.
|
2274
|
-
|
2275
|
-
PushType::ConfirmationsControllerTest::PUT #update::with
|
2276
|
-
|
2230
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
2231
|
+
----------------------------------------------------------------------------------------
|
2232
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
|
2233
|
+
----------------------------------------------------------------------------------------
|
2277
2234
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2278
|
-
[1m[35m (0.
|
2235
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2279
2236
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2280
2237
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2281
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
2282
|
-
[1m[36mPushType::User Exists (0.
|
2283
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-
|
2238
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-16@example.com"], ["LIMIT", 1]]
|
2239
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-16@example.com"], ["LIMIT", 1]]
|
2240
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-16@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "wZstLfpGabe3yFjQsodM"], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
2284
2241
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2285
2242
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
2286
2243
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
2287
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
2288
|
-
Sent mail to joe-
|
2289
|
-
Date:
|
2244
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
2245
|
+
Sent mail to joe-16@example.com (3.4ms)
|
2246
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
2290
2247
|
From: pushtype@example.com
|
2291
2248
|
Reply-To: pushtype@example.com
|
2292
|
-
To: joe-
|
2293
|
-
Message-ID: <
|
2249
|
+
To: joe-16@example.com
|
2250
|
+
Message-ID: <5798bfa4b1954_90b53fd9e443f9ec27745@Aarons-iMac.local.mail>
|
2294
2251
|
Subject: [PushType] Confirm your account
|
2295
2252
|
Mime-Version: 1.0
|
2296
2253
|
Content-Type: multipart/alternative;
|
2297
|
-
boundary="--==
|
2254
|
+
boundary="--==_mimepart_5798bfa4b154f_90b53fd9e443f9ec27657";
|
2298
2255
|
charset=UTF-8
|
2299
2256
|
Content-Transfer-Encoding: 7bit
|
2300
2257
|
|
2301
2258
|
|
2302
|
-
----==
|
2259
|
+
----==_mimepart_5798bfa4b154f_90b53fd9e443f9ec27657
|
2303
2260
|
Content-Type: text/plain;
|
2304
2261
|
charset=UTF-8
|
2305
2262
|
Content-Transfer-Encoding: 7bit
|
@@ -2315,11 +2272,11 @@ To get started, confirm your account and set your own password by
|
|
2315
2272
|
clicking the link below:
|
2316
2273
|
|
2317
2274
|
Confirm my account
|
2318
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
2275
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=wZstLfpGabe3yFjQsodM )
|
2319
2276
|
|
2320
2277
|
|
2321
2278
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
2322
|
-
----==
|
2279
|
+
----==_mimepart_5798bfa4b154f_90b53fd9e443f9ec27657
|
2323
2280
|
Content-Type: text/html;
|
2324
2281
|
charset=UTF-8
|
2325
2282
|
Content-Transfer-Encoding: 7bit
|
@@ -2365,7 +2322,7 @@ body {
|
|
2365
2322
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
2366
2323
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
2367
2324
|
<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;">
|
2368
|
-
<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=
|
2325
|
+
<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=wZstLfpGabe3yFjQsodM" 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>
|
2369
2326
|
</td>
|
2370
2327
|
</tr>
|
2371
2328
|
</table>
|
@@ -2410,48 +2367,53 @@ body {
|
|
2410
2367
|
</body>
|
2411
2368
|
</html>
|
2412
2369
|
|
2413
|
-
----==
|
2370
|
+
----==_mimepart_5798bfa4b154f_90b53fd9e443f9ec27657--
|
2414
2371
|
|
2415
2372
|
Processing by PushType::ConfirmationsController#update as HTML
|
2416
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
2417
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "
|
2418
|
-
[1m[36mPushType::User Exists (0.
|
2419
|
-
|
2420
|
-
|
2421
|
-
|
2422
|
-
|
2373
|
+
Parameters: {"user"=>{"confirmation_token"=>"wZstLfpGabe3yFjQsodM", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
2374
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "wZstLfpGabe3yFjQsodM"], ["LIMIT", 1]]
|
2375
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-16@example.com"], ["id", "57c703fb-b278-4785-9a1f-12ddbdad53e6"], ["LIMIT", 1]]
|
2376
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2377
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["encrypted_password", "$2a$04$cPNaBn2sUkrp2jYM3.YD9OOxqizfnXPZ4i9SK0oBN7zZ0HQLZJC1C"], ["confirmed_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["id", "57c703fb-b278-4785-9a1f-12ddbdad53e6"]]
|
2378
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2379
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2380
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2016-07-27 14:05:24 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-07-27 14:05:24 UTC], ["last_sign_in_at", 2016-07-27 14:05:24 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "57c703fb-b278-4785-9a1f-12ddbdad53e6"]]
|
2381
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2382
|
+
Redirected to http://test.host/push_type/
|
2383
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
|
2384
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2[0m [["id", "57c703fb-b278-4785-9a1f-12ddbdad53e6"], ["LIMIT", 1]]
|
2423
2385
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2424
2386
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2425
2387
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2426
|
-
|
2427
|
-
PushType::ConfirmationsControllerTest::PUT #update::with
|
2428
|
-
|
2429
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2430
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2388
|
+
----------------------------------------------------------------------------------------
|
2389
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
|
2390
|
+
----------------------------------------------------------------------------------------
|
2431
2391
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2432
|
-
[1m[35m (0.0ms)[0m [1m[
|
2433
|
-
[1m[
|
2434
|
-
[1m[
|
2435
|
-
[1m[
|
2392
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2393
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2394
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2395
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-17@example.com"], ["LIMIT", 1]]
|
2396
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-17@example.com"], ["LIMIT", 1]]
|
2397
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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-17@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "tDytBsksX55fn73dTnnN"], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
2436
2398
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2437
2399
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
2438
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
2439
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
2440
|
-
Sent mail to joe-
|
2441
|
-
Date:
|
2400
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
2401
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
|
2402
|
+
Sent mail to joe-17@example.com (3.4ms)
|
2403
|
+
Date: Wed, 27 Jul 2016 15:05:24 +0100
|
2442
2404
|
From: pushtype@example.com
|
2443
2405
|
Reply-To: pushtype@example.com
|
2444
|
-
To: joe-
|
2445
|
-
Message-ID: <
|
2406
|
+
To: joe-17@example.com
|
2407
|
+
Message-ID: <5798bfa4bcea6_90b53fd9e443f9ec28036@Aarons-iMac.local.mail>
|
2446
2408
|
Subject: [PushType] Confirm your account
|
2447
2409
|
Mime-Version: 1.0
|
2448
2410
|
Content-Type: multipart/alternative;
|
2449
|
-
boundary="--==
|
2411
|
+
boundary="--==_mimepart_5798bfa4bca99_90b53fd9e443f9ec279d";
|
2450
2412
|
charset=UTF-8
|
2451
2413
|
Content-Transfer-Encoding: 7bit
|
2452
2414
|
|
2453
2415
|
|
2454
|
-
----==
|
2416
|
+
----==_mimepart_5798bfa4bca99_90b53fd9e443f9ec279d
|
2455
2417
|
Content-Type: text/plain;
|
2456
2418
|
charset=UTF-8
|
2457
2419
|
Content-Transfer-Encoding: 7bit
|
@@ -2467,11 +2429,11 @@ To get started, confirm your account and set your own password by
|
|
2467
2429
|
clicking the link below:
|
2468
2430
|
|
2469
2431
|
Confirm my account
|
2470
|
-
( http://localhost:3000/push_type/confirmation?confirmation_token=
|
2432
|
+
( http://localhost:3000/push_type/confirmation?confirmation_token=tDytBsksX55fn73dTnnN )
|
2471
2433
|
|
2472
2434
|
|
2473
2435
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
2474
|
-
----==
|
2436
|
+
----==_mimepart_5798bfa4bca99_90b53fd9e443f9ec279d
|
2475
2437
|
Content-Type: text/html;
|
2476
2438
|
charset=UTF-8
|
2477
2439
|
Content-Transfer-Encoding: 7bit
|
@@ -2517,7 +2479,7 @@ body {
|
|
2517
2479
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
2518
2480
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
2519
2481
|
<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;">
|
2520
|
-
<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=
|
2482
|
+
<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=tDytBsksX55fn73dTnnN" 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>
|
2521
2483
|
</td>
|
2522
2484
|
</tr>
|
2523
2485
|
</table>
|
@@ -2562,107 +2524,145 @@ body {
|
|
2562
2524
|
</body>
|
2563
2525
|
</html>
|
2564
2526
|
|
2565
|
-
----==
|
2527
|
+
----==_mimepart_5798bfa4bca99_90b53fd9e443f9ec279d--
|
2566
2528
|
|
2567
2529
|
Processing by PushType::ConfirmationsController#update as HTML
|
2568
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
2569
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "
|
2570
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-
|
2571
|
-
|
2572
|
-
|
2573
|
-
|
2574
|
-
|
2530
|
+
Parameters: {"user"=>{"confirmation_token"=>"tDytBsksX55fn73dTnnN", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
2531
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["confirmation_token", "tDytBsksX55fn73dTnnN"], ["LIMIT", 1]]
|
2532
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-17@example.com"], ["id", "87f614f4-b1fd-4639-8f2f-5ab3d9237b94"], ["LIMIT", 1]]
|
2533
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2534
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["encrypted_password", "$2a$04$DIE3XBVngc.pd1jQxgTYPObjeugv8WNnGejF7ydPmmUBcSvL8jDru"], ["confirmed_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["id", "87f614f4-b1fd-4639-8f2f-5ab3d9237b94"]]
|
2535
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2536
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2537
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2016-07-27 14:05:24 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-07-27 14:05:24 UTC], ["last_sign_in_at", 2016-07-27 14:05:24 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "87f614f4-b1fd-4639-8f2f-5ab3d9237b94"]]
|
2538
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2539
|
+
Redirected to http://test.host/push_type/
|
2540
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
|
2575
2541
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2576
2542
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2577
2543
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2578
|
-
|
2579
|
-
PushType::
|
2580
|
-
|
2581
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2582
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2544
|
+
--------------------------------------------------------
|
2545
|
+
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
2546
|
+
--------------------------------------------------------
|
2583
2547
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2584
|
-
[1m[35m (0.
|
2585
|
-
[1m[35m (0.
|
2586
|
-
[1m[35m (0.
|
2587
|
-
---------------------------------------------------------------
|
2588
|
-
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
2589
|
-
---------------------------------------------------------------
|
2590
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2591
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2592
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2593
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2548
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2549
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2550
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2594
2551
|
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
2595
2552
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2553
|
+
--------------------------------------------------------
|
2554
|
+
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
2555
|
+
--------------------------------------------------------
|
2556
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2557
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2558
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2559
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2560
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
2561
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
2596
2562
|
----------------------------------------------------------------
|
2597
2563
|
PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
|
2598
2564
|
----------------------------------------------------------------
|
2599
|
-
[1m[35m (0.
|
2600
|
-
[1m[35m (0.
|
2601
|
-
[1m[35m (0.
|
2565
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2566
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2567
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2602
2568
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2603
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
2604
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-
|
2605
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
2569
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-18@example.com"], ["LIMIT", 1]]
|
2570
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-18@example.com"], ["LIMIT", 1]]
|
2571
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-27 14:05:24 UTC], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
2606
2572
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2607
2573
|
Processing by PushType::ProfilesController#edit as HTML
|
2608
|
-
[1m[36mPushType::User Load (0.
|
2574
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "16511873-53d1-4ab2-ac85-650d311dbc06"], ["LIMIT", 1]]
|
2609
2575
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
|
2610
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (
|
2611
|
-
Completed 200 OK in
|
2576
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
|
2577
|
+
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
|
2612
2578
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2613
2579
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2614
2580
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2615
2581
|
----------------------------------------------------------------
|
2616
2582
|
PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
2617
2583
|
----------------------------------------------------------------
|
2618
|
-
[1m[35m (0.
|
2584
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2619
2585
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2620
2586
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2621
2587
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2622
|
-
[1m[36mPushType::User Exists (0.
|
2623
|
-
[1m[36mPushType::User Exists (0.
|
2624
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-
|
2588
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-19@example.com"], ["LIMIT", 1]]
|
2589
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-19@example.com"], ["LIMIT", 1]]
|
2590
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-27 14:05:24 UTC], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
2625
2591
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2626
2592
|
Processing by PushType::ProfilesController#edit as HTML
|
2627
|
-
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "
|
2593
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "e0b22503-f80a-4344-9577-94aefa4a0a77"], ["LIMIT", 1]]
|
2628
2594
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
|
2629
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (
|
2630
|
-
Completed 200 OK in
|
2595
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.5ms)
|
2596
|
+
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.1ms)
|
2631
2597
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2632
2598
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2633
2599
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2634
|
-
|
2635
|
-
PushType::
|
2636
|
-
|
2637
|
-
[1m[35m (0.
|
2638
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2639
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2640
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2641
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2642
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
2643
|
-
---------------------------------------------------------------------------
|
2644
|
-
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
2645
|
-
---------------------------------------------------------------------------
|
2646
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2600
|
+
-----------------------------------------------------------------------------------
|
2601
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
2602
|
+
-----------------------------------------------------------------------------------
|
2603
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2647
2604
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2648
2605
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2606
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2607
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-20@example.com"], ["LIMIT", 1]]
|
2608
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-20@example.com"], ["LIMIT", 1]]
|
2609
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-27 14:05:24 UTC], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
2610
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2611
|
+
Processing by PushType::ProfilesController#update as HTML
|
2612
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
2613
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "fae30dd8-d48d-4f73-8181-e8ecc33f20c9"], ["LIMIT", 1]]
|
2614
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2615
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-20@example.com"], ["id", "fae30dd8-d48d-4f73-8181-e8ecc33f20c9"], ["LIMIT", 1]]
|
2616
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-07-27 14:05:24 UTC], ["id", "fae30dd8-d48d-4f73-8181-e8ecc33f20c9"]]
|
2617
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2618
|
+
Redirected to http://test.host/push_type/profile/edit
|
2619
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
2649
2620
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2650
|
-
[1m[35m (0.
|
2621
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2651
2622
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2652
|
-
|
2653
|
-
PushType::
|
2654
|
-
|
2623
|
+
-----------------------------------------------------------------------------------
|
2624
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
|
2625
|
+
-----------------------------------------------------------------------------------
|
2655
2626
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2656
2627
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2657
|
-
[1m[35m (0.
|
2628
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2629
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2630
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-21@example.com"], ["LIMIT", 1]]
|
2631
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-21@example.com"], ["LIMIT", 1]]
|
2632
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-27 14:05:24 UTC], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
2633
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2634
|
+
Processing by PushType::ProfilesController#update as HTML
|
2635
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
2636
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "ac0fb1fb-00be-4deb-8328-d66acbac7c0b"], ["LIMIT", 1]]
|
2637
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2638
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-21@example.com"], ["id", "ac0fb1fb-00be-4deb-8328-d66acbac7c0b"], ["LIMIT", 1]]
|
2639
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-07-27 14:05:24 UTC], ["id", "ac0fb1fb-00be-4deb-8328-d66acbac7c0b"]]
|
2640
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2641
|
+
Redirected to http://test.host/push_type/profile/edit
|
2642
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
2658
2643
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2659
2644
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2660
2645
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2661
|
-
|
2662
|
-
PushType::
|
2663
|
-
|
2664
|
-
[1m[35m (0.
|
2665
|
-
[1m[35m (0.
|
2646
|
+
-----------------------------------------------------------------------------------
|
2647
|
+
PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
2648
|
+
-----------------------------------------------------------------------------------
|
2649
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2650
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2666
2651
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2652
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2653
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-22@example.com"], ["LIMIT", 1]]
|
2654
|
+
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-22@example.com"], ["LIMIT", 1]]
|
2655
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2016-07-27 14:05:24 UTC], ["updated_at", 2016-07-27 14:05:24 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-27 14:05:24 UTC], ["confirmation_sent_at", 2016-07-27 14:05:24 UTC]]
|
2656
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2657
|
+
Processing by PushType::ProfilesController#update as HTML
|
2658
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
2659
|
+
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["id", "dbe53bf7-7022-468b-afc1-6f19e793a4aa"], ["LIMIT", 1]]
|
2660
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
2661
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-22@example.com"], ["id", "dbe53bf7-7022-468b-afc1-6f19e793a4aa"], ["LIMIT", 1]]
|
2662
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-07-27 14:05:24 UTC], ["id", "dbe53bf7-7022-468b-afc1-6f19e793a4aa"]]
|
2663
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
2664
|
+
Redirected to http://test.host/push_type/profile/edit
|
2665
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
|
2666
|
+
[1m[36mPushType::User Load (0.1ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2[0m [["id", "dbe53bf7-7022-468b-afc1-6f19e793a4aa"], ["LIMIT", 1]]
|
2667
2667
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
2668
2668
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|