push_type_auth 0.11.0.beta.2 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20170506161432_create_push_type_users.push_type.rb → 20170518181804_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20170506161433_create_push_type_nodes.push_type.rb → 20170518181805_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20170506161434_create_push_type_node_hierarchies.push_type.rb → 20170518181806_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20170506161435_create_push_type_assets.push_type.rb → 20170518181807_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20170506161436_add_field_store_default_values.push_type.rb → 20170518181808_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20170506161437_drop_legacy_push_type_taxonomies.push_type.rb → 20170518181809_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20170506161438_devise_extend_push_type_users.push_type_auth.rb → 20170518181810_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 +776 -776
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2n/2nehHVzQu5ZdatRSS0QoyZOdj4Rn9IiSMvVjZVMRc6Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{O9/O9zZx9ZhkmkuIg3iojcRJEmZu7EKH9fiaLu3bDQSoh4.cache → 6c/6ccz77cpw8JvCuw0LURaC5vCcZGDDCWXclBvpzmI5aI.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/7z/7zVUI6RnxAyRNa4YAQDo-WOgq_shbX19qniKWIPfNl8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/B-/B-QUSCYaV2CjVLfldvD6moYCYXa-Pi3Uzm9o3i7wzDg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{4L/4Lb5TNvYsPdegtYPx_8JhcnCWKVloCbKW9KZnf1yuao.cache → Bu/BuNVyrrLua6zvw5aGZBmuqMKZYCKGrI-xs8O8LZPsY4.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/CZ/CZuaDu1KFUnMWBM4UrLTmL-RcDYAzHN5yBZ_Z8rKeDg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ie/IeMExh5XZnnZotiqeRXRK-aeO5aavK2IflVnC1KQvmE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{IV → Iv}/IVtzEQSFGSK1Z7luLv7-iLXCZ7WELgGjNij5Drb-v8M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{IV → Iv}/IvcUZAkKt_KPBaJYKodMbvPxfqIMAoMUC8GkY_VERbk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{IV → Iv}/iVB7uoSdcQ76naC4pMayywt6taoeqjBtvGq6S2zna1k.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Mu/MuC4-rwjoy5LpzP-YW6j2g3Jw9D-7zltqLTxhRe7TRs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ti/Ti7af8_bIJtX6GfAXMqblb6aBLbiX57YGPIjN0dOGe8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Wa → WA}/WAOJ5NUclxsmweehPpSWE-2wJ_qgrO_03ELm6TzVhL8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{J5/J5u2OXVZ1vHKwzOXNPWG1QCMFS-yYC_dSeK42k6Dglc.cache → WA/WAQU9KxaBLYJxooQPbYSiqJS4aUtn5bMy2W-IphXoQ8.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Wa → WA}/Wa6cQ4TDQ9DvwN7aMEUMB5L-gBO187KlrMPXAOo5Rro.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Wa → WA}/wAsljnyZ3f7262eG_VDDlsAmSi7s7f1x9gwlSAb03HI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ym/Ym_FU1KdcC_SroOTGp2OoAKytPQf2N-xr32O8iv7_qU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{IV/IVVO4PPA1J84xEs0J5fqIzNBraBpi1RVkxwczpxp4hU.cache → _s/_S3E6N2oeQvJ04XNwNLkioUC0pB7WMvtdIGdGI8ptTg.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{h7/h706at21mmSOxbhzdAQSLl66kfKlSCLUNGRnMlJy7Ng.cache → an/anncTCQwXYCJo8RtZUUtyoyyPJOFSkUIa9nOgOyJw6g.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/e5/E54fCf9v75rjaByU59jtRielMv-O9aAK4ulnT4fvvJA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{yj/yjKI38z2zgjzCIZ5077dAuvZFw2mFBg_cUf2yLmeLHk.cache → eQ/EQB-hJXVhLRfKW6nJaEvN9-VMowMx9PRqt7_jjtbPrw.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{J5 → j5}/j5Fq0JLuMUjH6dSddtbZjunAzl_sRK32_0-0IAIBDcI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{KS → kS}/KSF97Z_xV5peKCYebPNj0N79ibbAAo9G9nKYUeSB0BQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{KS → kS}/Ksgj75EJWHSroUlBiZ_Yxf1ckdbfDlTBBzqLb1g152Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{MT/MT-GwtnWVIHmQZkRUieQbj2YNHRcUQRMO6d_Ls-KN-s.cache → kS/kS1DyoQoQ8vDWkcyR3pSpzAWyS3oU8hNtJtZRSJA5LQ.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/qR/qRaOhZp1YmFLj_RYzdWltKrv2bZC9_p-pOS57fD73uw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{WP/WPrTPJXmaLzAvVMjsj0AQGv5jvjR9wJ0fRKnmeZCFm8.cache → sV/Sv4opHqR64bL84hMm5sfIxwuui7KtAcUKSFI9Px9XX4.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xW/xWcH2_la6lj8DnYcPo7QHiF2_IhFrEtsn0ATKNOBZPM.cache +0 -0
- metadata +60 -60
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9351dc23d6e81b3d7617d25fa05b262f485ed66
|
|
4
|
+
data.tar.gz: 1d200879b09ba7550dba28e5214889cb72bc9fdd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb5e273344dcf1514d23da066faeaa1511ea6250b9e6e3c765dccba65cad4ce1a3aeecce026d55d0a673d274300823b513bfe38bc951c268954d917edd2af9a5
|
|
7
|
+
data.tar.gz: 729ba622b284d07f10e2b94048ed3dbec8f51203fc7f9c35ec3b9ef44645a408e75e0d607d6e30d52464bae55ade33ca0127583c743d58843289edfe62d883fe
|
|
@@ -45,6 +45,6 @@ PushType.setup do |config|
|
|
|
45
45
|
# secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
|
|
46
46
|
# }
|
|
47
47
|
|
|
48
|
-
# config.dragonfly_secret = '
|
|
48
|
+
# config.dragonfly_secret = '34517278a1753d893472e3e134f3a2935b3d5caf8798ba3d05da1fb3bf3a1176'
|
|
49
49
|
|
|
50
50
|
end
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
# if you're sharing your code publicly.
|
|
12
12
|
|
|
13
13
|
development:
|
|
14
|
-
secret_key_base:
|
|
14
|
+
secret_key_base: eeaf55317980e79e3af80835a5349b7ab8b1b446b29736e19bbc964d541011482661209ac5b2c48dfb0a01fe370be6aff774daf2734416efa05f6b74fe929efa
|
|
15
15
|
|
|
16
16
|
test:
|
|
17
|
-
secret_key_base:
|
|
17
|
+
secret_key_base: 167378647d8da21ee9aebfa360f30f9d208ed4446207bf618f7a620004d0c2986794e636fc1521778791f11f1fb108beb9126a9a27eee4bc6794104103d9b6ec
|
|
18
18
|
|
|
19
19
|
# Do not keep production secrets in the repository,
|
|
20
20
|
# instead read values from the environment.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/test/dummy/db/schema.rb
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
#
|
|
11
11
|
# It's strongly recommended that you check this file into your version control system.
|
|
12
12
|
|
|
13
|
-
ActiveRecord::Schema.define(version:
|
|
13
|
+
ActiveRecord::Schema.define(version: 20170518181810) do
|
|
14
14
|
|
|
15
15
|
# These are extensions that must be enabled in order to support this database
|
|
16
16
|
enable_extension "plpgsql"
|
data/test/dummy/log/test.log
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
[1m[36mActiveRecord::InternalMetadata Load (
|
|
2
|
-
[1m[35m (0.
|
|
3
|
-
[1m[35mSQL (0.
|
|
4
|
-
[1m[35m (
|
|
5
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
|
6
|
-
[1m[35m (0.
|
|
1
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
|
2
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
3
|
+
[1m[35mSQL (0.4ms)[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", 2017-05-18 18:17:58 UTC], ["updated_at", 2017-05-18 18:17:58 UTC]]
|
|
4
|
+
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
|
|
5
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
6
|
+
[1m[35m (0.3ms)[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 (
|
|
11
|
+
[1m[35m (193.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
|
12
|
+
[1m[35m (707.8ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
|
|
13
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
|
|
14
|
+
[1m[35m (2.2ms)[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
15
|
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(2735718569030447490);[0m
|
|
16
16
|
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
17
|
-
Migrating to CreatePushTypeUsers (
|
|
17
|
+
Migrating to CreatePushTypeUsers (20170518181804)
|
|
18
18
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
19
|
-
[1m[35mSQL (
|
|
20
|
-
[1m[35m (2.
|
|
21
|
-
[1m[35mSQL (0.
|
|
19
|
+
[1m[35mSQL (14.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
|
20
|
+
[1m[35m (2.1ms)[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.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170518181804"]]
|
|
22
22
|
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
|
23
|
-
Migrating to CreatePushTypeNodes (
|
|
24
|
-
[1m[35m (0.
|
|
25
|
-
[1m[35m (
|
|
26
|
-
[1m[35mSQL (0.
|
|
23
|
+
Migrating to CreatePushTypeNodes (20170518181805)
|
|
24
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
25
|
+
[1m[35m (1.9ms)[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.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170518181805"]]
|
|
27
27
|
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
28
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
|
28
|
+
Migrating to CreatePushTypeNodeHierarchies (20170518181806)
|
|
29
29
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
30
|
-
[1m[35m (0.
|
|
31
|
-
[1m[35m (
|
|
32
|
-
[1m[35m (0.
|
|
33
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
|
34
|
-
[1m[35m (0.
|
|
35
|
-
Migrating to CreatePushTypeAssets (
|
|
30
|
+
[1m[35m (0.6ms)[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.7ms)[0m [1m[35mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
|
32
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")[0m
|
|
33
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170518181806"]]
|
|
34
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
35
|
+
Migrating to CreatePushTypeAssets (20170518181807)
|
|
36
36
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
37
|
-
[1m[35m (2.
|
|
38
|
-
[1m[35mSQL (0.
|
|
37
|
+
[1m[35m (2.1ms)[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.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170518181807"]]
|
|
39
39
|
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20170518181808)
|
|
41
41
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
42
|
-
[1m[35m (0.
|
|
43
|
-
[1m[35m (0.
|
|
42
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb[0m
|
|
43
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'[0m
|
|
44
44
|
[1m[35m (0.4ms)[0m [1m[33mUPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
|
45
|
-
[1m[35m (0.
|
|
46
|
-
[1m[35m (0.
|
|
47
|
-
[1m[35m (0.
|
|
48
|
-
[1m[35m (0.
|
|
49
|
-
[1m[35m (0.
|
|
50
|
-
[1m[35mSQL (0.
|
|
51
|
-
[1m[35m (0.
|
|
52
|
-
Migrating to DropLegacyPushTypeTaxonomies (
|
|
45
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL[0m
|
|
46
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
|
|
47
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'[0m
|
|
48
|
+
[1m[35m (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
|
49
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL[0m
|
|
50
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170518181808"]]
|
|
51
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
52
|
+
Migrating to DropLegacyPushTypeTaxonomies (20170518181809)
|
|
53
53
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
54
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
|
54
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170518181809"]]
|
|
55
55
|
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
56
|
-
Migrating to DeviseExtendPushTypeUsers (
|
|
56
|
+
Migrating to DeviseExtendPushTypeUsers (20170518181810)
|
|
57
57
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
58
58
|
[1m[35m (3.0ms)[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 (2.
|
|
63
|
-
[1m[35m (0.
|
|
62
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL[0m
|
|
63
|
+
[1m[35m (0.3ms)[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.
|
|
65
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying[0m
|
|
66
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
68
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "confirmed_at" timestamp[0m
|
|
69
|
-
[1m[35m (0.
|
|
69
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp[0m
|
|
70
70
|
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")[0m
|
|
71
|
-
[1m[35m (
|
|
72
|
-
[1m[35mSQL (0.
|
|
71
|
+
[1m[35m (0.8ms)[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.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170518181810"]]
|
|
73
73
|
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
|
74
74
|
[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]]
|
|
75
75
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
76
|
-
[1m[35mSQL (0.
|
|
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", 2017-05-18 18:18:07 UTC], ["updated_at", 2017-05-18 18:18:07 UTC]]
|
|
77
77
|
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
78
|
-
[1m[35m (0.
|
|
78
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(2735718569030447490)[0m
|
|
79
79
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
80
80
|
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
81
81
|
Creating scope :published. Overwriting existing method PushType::Node.published.
|
|
82
82
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
83
|
-
[1m[35m (0.
|
|
83
|
+
[1m[35m (0.6ms)[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
|
|
84
84
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
|
85
85
|
[1m[35m (1.0ms)[0m [1m[34m SELECT schemaname || '.' || tablename
|
|
86
86
|
FROM pg_tables
|
|
@@ -90,60 +90,46 @@ Creating scope :published. Overwriting existing method PushType::Node.published.
|
|
|
90
90
|
schemaname = ANY (current_schemas(false))
|
|
91
91
|
[0m
|
|
92
92
|
[1m[35m (1.0ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'dummy_test'[0m
|
|
93
|
-
[1m[35m (
|
|
93
|
+
[1m[35m (26.5ms)[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
|
|
94
94
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
95
|
-
[1m[35m (0.
|
|
95
|
+
[1m[35m (0.3ms)[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
|
|
96
96
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
|
97
97
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
102
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
98
|
+
--------------------------------------------------------------------------------------------------------------
|
|
99
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
|
|
100
|
+
--------------------------------------------------------------------------------------------------------------
|
|
103
101
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
104
|
-
Started GET "/admin/nodes" for 127.0.0.1 at 2017-05-06 17:14:40 +0100
|
|
105
|
-
Processing by PushType::Admin::NodesController#index as HTML
|
|
106
|
-
Redirected to http://www.example.com/admin/sign_in
|
|
107
|
-
Filter chain halted as :authenticate_user! rendered or redirected
|
|
108
|
-
Completed 302 Found in 22ms (ActiveRecord: 0.0ms)
|
|
109
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
110
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
111
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
112
|
-
----------------------------------------------------------------------------------------------------
|
|
113
|
-
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
|
114
|
-
----------------------------------------------------------------------------------------------------
|
|
115
|
-
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
116
102
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
117
103
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
118
|
-
[1m[35m (0.
|
|
119
|
-
[1m[36mPushType::User Exists (0.
|
|
120
|
-
[1m[36mPushType::User Exists (0.
|
|
121
|
-
[1m[35mSQL (1.
|
|
122
|
-
[1m[35m (0.
|
|
104
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
105
|
+
[1m[36mPushType::User Exists (0.6ms)[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]]
|
|
106
|
+
[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]]
|
|
107
|
+
[1m[35mSQL (1.7ms)[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", 2017-05-18 18:18:12 UTC], ["updated_at", 2017-05-18 18:18:12 UTC], ["confirmation_token", "dm-x42NyLSCXmx18yri2"], ["confirmation_sent_at", 2017-05-18 18:18:12 UTC]]
|
|
108
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
123
109
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
124
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (
|
|
110
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (6.7ms)
|
|
125
111
|
DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.3.1@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
|
|
126
112
|
in a future version of Sass. To preserve the current behavior, use quotes:
|
|
127
113
|
|
|
128
114
|
unquote("#{lower-bound($medium-range)}")
|
|
129
115
|
|
|
130
116
|
|
|
131
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
117
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 18736.9ms
|
|
132
118
|
Sent mail to joe-1@example.com (10.4ms)
|
|
133
|
-
Date:
|
|
119
|
+
Date: Thu, 18 May 2017 19:18:30 +0100
|
|
134
120
|
From: pushtype@example.com
|
|
135
121
|
Reply-To: pushtype@example.com
|
|
136
122
|
To: joe-1@example.com
|
|
137
|
-
Message-ID: <
|
|
123
|
+
Message-ID: <591de576cc518_161843fe237c339b81001ac@Aarons-iMac.local.mail>
|
|
138
124
|
Subject: [PushType] Confirm your account
|
|
139
125
|
Mime-Version: 1.0
|
|
140
126
|
Content-Type: multipart/alternative;
|
|
141
|
-
boundary="--==
|
|
127
|
+
boundary="--==_mimepart_591de576cafef_161843fe237c339b8100066";
|
|
142
128
|
charset=UTF-8
|
|
143
129
|
Content-Transfer-Encoding: 7bit
|
|
144
130
|
|
|
145
131
|
|
|
146
|
-
----==
|
|
132
|
+
----==_mimepart_591de576cafef_161843fe237c339b8100066
|
|
147
133
|
Content-Type: text/plain;
|
|
148
134
|
charset=UTF-8
|
|
149
135
|
Content-Transfer-Encoding: 7bit
|
|
@@ -159,12 +145,12 @@ To get started, confirm your account and set your own password by
|
|
|
159
145
|
clicking the link below:
|
|
160
146
|
|
|
161
147
|
Confirm my account
|
|
162
|
-
( http://localhost:3000/admin/confirmation.
|
|
148
|
+
( http://localhost:3000/admin/confirmation.de042fa6-84cf-4619-bb74-483e867cd3a0?confirmation_token=dm-x42NyLSCXmx18yri2 )
|
|
163
149
|
|
|
164
150
|
|
|
165
151
|
PushType CMS: www.pushtype.org
|
|
166
152
|
( http://www.pushtype.org ).
|
|
167
|
-
----==
|
|
153
|
+
----==_mimepart_591de576cafef_161843fe237c339b8100066
|
|
168
154
|
Content-Type: text/html;
|
|
169
155
|
charset=UTF-8
|
|
170
156
|
Content-Transfer-Encoding: 7bit
|
|
@@ -209,7 +195,7 @@ body {
|
|
|
209
195
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
210
196
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
211
197
|
<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;">
|
|
212
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
198
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.de042fa6-84cf-4619-bb74-483e867cd3a0?confirmation_token=dm-x42NyLSCXmx18yri2" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
213
199
|
</td>
|
|
214
200
|
</tr>
|
|
215
201
|
</table>
|
|
@@ -254,47 +240,72 @@ body {
|
|
|
254
240
|
</body>
|
|
255
241
|
</html>
|
|
256
242
|
|
|
257
|
-
----==
|
|
243
|
+
----==_mimepart_591de576cafef_161843fe237c339b8100066--
|
|
258
244
|
|
|
259
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
|
260
|
-
Parameters: {"confirmation_token"=>"VDCvFjJ6vQtfKqMjb6u7"}
|
|
261
|
-
[1m[36mPushType::User Load (6.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", "VDCvFjJ6vQtfKqMjb6u7"], ["LIMIT", 1]]
|
|
262
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
263
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.2ms)
|
|
264
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (19.5ms)
|
|
265
|
-
Completed 200 OK in 40ms (Views: 28.4ms | ActiveRecord: 6.2ms)
|
|
266
245
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
267
246
|
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
|
268
247
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
248
|
+
-----------------------------------------------------------------------
|
|
249
|
+
AuthenticatedControllerTest::authenticated request: test_0001_anonymous
|
|
250
|
+
-----------------------------------------------------------------------
|
|
251
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
252
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
253
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
254
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
255
|
+
[1m[36mPushType::User Exists (0.4ms)[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]]
|
|
256
|
+
[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]]
|
|
257
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "encrypted_password", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2017-05-18 18:18:30 UTC], ["updated_at", 2017-05-18 18:18:30 UTC], ["encrypted_password", "$2a$04$4AgjQwE1wu4xA8Q5/Y2bf.uS/wq4gJ/VedlMaiQnxkRD8dpTvxV3a"], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:30 UTC], ["confirmation_sent_at", 2017-05-18 18:18:30 UTC]]
|
|
258
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
259
|
+
Started POST "/admin/sign_in" for 127.0.0.1 at 2017-05-18 19:18:30 +0100
|
|
260
|
+
Processing by PushType::SessionsController#create as HTML
|
|
261
|
+
Parameters: {"user"=>{"email"=>"joe-2@example.com", "password"=>"[FILTERED]"}}
|
|
262
|
+
[1m[36mPushType::User Load (13.9ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."email" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["email", "joe-2@example.com"], ["LIMIT", 1]]
|
|
263
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
264
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7[0m [["current_sign_in_at", 2017-05-18 18:18:30 UTC], ["last_sign_in_at", 2017-05-18 18:18:30 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2017-05-18 18:18:30 UTC], ["id", "afd8a821-5e7e-48d0-8ab4-8ffacce05668"]]
|
|
265
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
266
|
+
Redirected to http://www.example.com/admin/
|
|
267
|
+
Completed 302 Found in 77ms (ActiveRecord: 14.5ms)
|
|
268
|
+
Started GET "/admin/nodes" for 127.0.0.1 at 2017-05-18 19:18:30 +0100
|
|
269
|
+
Processing by PushType::Admin::NodesController#index as HTML
|
|
270
|
+
[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", "afd8a821-5e7e-48d0-8ab4-8ffacce05668"], ["LIMIT", 1]]
|
|
271
|
+
Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin
|
|
272
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL LIMIT $1 OFFSET $2) subquery_for_count[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
273
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL[0m
|
|
274
|
+
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (3.2ms)
|
|
275
|
+
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (38.5ms)
|
|
276
|
+
Completed 200 OK in 60ms (Views: 49.2ms | ActiveRecord: 2.6ms)
|
|
277
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
278
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
279
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
269
280
|
----------------------------------------------------------------------------------------------------
|
|
270
|
-
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token:
|
|
281
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
|
271
282
|
----------------------------------------------------------------------------------------------------
|
|
272
283
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
273
|
-
[1m[35m (0.
|
|
284
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
274
285
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
275
286
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
276
|
-
[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-
|
|
277
|
-
[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-
|
|
278
|
-
[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-
|
|
287
|
+
[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]]
|
|
288
|
+
[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]]
|
|
289
|
+
[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-3@example.com"], ["created_at", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "2_kqQxrx4MwvCzeVXE_y"], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
279
290
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
280
291
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
281
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
282
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
283
|
-
Sent mail to joe-
|
|
284
|
-
Date:
|
|
292
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.9ms)
|
|
293
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 42.9ms
|
|
294
|
+
Sent mail to joe-3@example.com (4.4ms)
|
|
295
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
285
296
|
From: pushtype@example.com
|
|
286
297
|
Reply-To: pushtype@example.com
|
|
287
|
-
To: joe-
|
|
288
|
-
Message-ID: <
|
|
298
|
+
To: joe-3@example.com
|
|
299
|
+
Message-ID: <591de5771f097_161843fe237c339b8100467@Aarons-iMac.local.mail>
|
|
289
300
|
Subject: [PushType] Confirm your account
|
|
290
301
|
Mime-Version: 1.0
|
|
291
302
|
Content-Type: multipart/alternative;
|
|
292
|
-
boundary="--==
|
|
303
|
+
boundary="--==_mimepart_591de5771ebc3_161843fe237c339b81003c";
|
|
293
304
|
charset=UTF-8
|
|
294
305
|
Content-Transfer-Encoding: 7bit
|
|
295
306
|
|
|
296
307
|
|
|
297
|
-
----==
|
|
308
|
+
----==_mimepart_591de5771ebc3_161843fe237c339b81003c
|
|
298
309
|
Content-Type: text/plain;
|
|
299
310
|
charset=UTF-8
|
|
300
311
|
Content-Transfer-Encoding: 7bit
|
|
@@ -310,12 +321,12 @@ To get started, confirm your account and set your own password by
|
|
|
310
321
|
clicking the link below:
|
|
311
322
|
|
|
312
323
|
Confirm my account
|
|
313
|
-
( http://localhost:3000/admin/confirmation.
|
|
324
|
+
( http://localhost:3000/admin/confirmation.67c42b48-7bba-46fe-9a82-07519b6295b7?confirmation_token=2_kqQxrx4MwvCzeVXE_y )
|
|
314
325
|
|
|
315
326
|
|
|
316
327
|
PushType CMS: www.pushtype.org
|
|
317
328
|
( http://www.pushtype.org ).
|
|
318
|
-
----==
|
|
329
|
+
----==_mimepart_591de5771ebc3_161843fe237c339b81003c
|
|
319
330
|
Content-Type: text/html;
|
|
320
331
|
charset=UTF-8
|
|
321
332
|
Content-Transfer-Encoding: 7bit
|
|
@@ -360,7 +371,7 @@ body {
|
|
|
360
371
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
361
372
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
362
373
|
<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;">
|
|
363
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
374
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.67c42b48-7bba-46fe-9a82-07519b6295b7?confirmation_token=2_kqQxrx4MwvCzeVXE_y" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
364
375
|
</td>
|
|
365
376
|
</tr>
|
|
366
377
|
</table>
|
|
@@ -405,231 +416,47 @@ body {
|
|
|
405
416
|
</body>
|
|
406
417
|
</html>
|
|
407
418
|
|
|
408
|
-
----==
|
|
419
|
+
----==_mimepart_591de5771ebc3_161843fe237c339b81003c--
|
|
409
420
|
|
|
410
421
|
Processing by PushType::ConfirmationsController#show as HTML
|
|
411
|
-
Parameters: {"confirmation_token"=>"
|
|
412
|
-
[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", "
|
|
422
|
+
Parameters: {"confirmation_token"=>"2_kqQxrx4MwvCzeVXE_y"}
|
|
423
|
+
[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", "2_kqQxrx4MwvCzeVXE_y"], ["LIMIT", 1]]
|
|
413
424
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
414
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (
|
|
415
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (
|
|
416
|
-
Completed 200 OK in
|
|
417
|
-
[1m[35m (0.
|
|
418
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
419
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
420
|
-
--------------------------------------------------------
|
|
421
|
-
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
|
422
|
-
--------------------------------------------------------
|
|
423
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
424
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
425
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
426
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
427
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
428
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
429
|
-
--------------------------------------------------------
|
|
430
|
-
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
|
431
|
-
--------------------------------------------------------
|
|
432
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
433
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
434
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
435
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
436
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
437
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
438
|
-
---------------------------------------------------------------
|
|
439
|
-
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
|
440
|
-
---------------------------------------------------------------
|
|
441
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
442
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
443
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
444
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
445
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
446
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
447
|
-
-----------------------------------------------------------------------
|
|
448
|
-
AuthenticatedControllerTest::authenticated request: test_0001_anonymous
|
|
449
|
-
-----------------------------------------------------------------------
|
|
450
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
451
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
452
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
453
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
454
|
-
[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-3@example.com"], ["LIMIT", 1]]
|
|
455
|
-
[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]]
|
|
456
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "encrypted_password", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", 2017-05-06 16:14:58 UTC], ["updated_at", 2017-05-06 16:14:58 UTC], ["encrypted_password", "$2a$04$PvuBeXYkWjL1eWEyIE9E2uLieg3gDZ7AJhVS8vxGdMhgEEirua2FW"], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-06 16:14:58 UTC], ["confirmation_sent_at", 2017-05-06 16:14:58 UTC]]
|
|
457
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
458
|
-
Started POST "/admin/sign_in" for 127.0.0.1 at 2017-05-06 17:14:58 +0100
|
|
459
|
-
Processing by PushType::SessionsController#create as HTML
|
|
460
|
-
Parameters: {"user"=>{"email"=>"joe-3@example.com", "password"=>"[FILTERED]"}}
|
|
461
|
-
[1m[36mPushType::User Load (0.3ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."email" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2[0m [["email", "joe-3@example.com"], ["LIMIT", 1]]
|
|
462
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
463
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7[0m [["current_sign_in_at", 2017-05-06 16:14:58 UTC], ["last_sign_in_at", 2017-05-06 16:14:58 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2017-05-06 16:14:58 UTC], ["id", "ef999188-d6cf-4761-a3ac-7b895f960443"]]
|
|
464
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
465
|
-
Redirected to http://www.example.com/admin/
|
|
466
|
-
Completed 302 Found in 47ms (ActiveRecord: 0.8ms)
|
|
467
|
-
Started GET "/admin/nodes" for 127.0.0.1 at 2017-05-06 17:14:58 +0100
|
|
468
|
-
Processing by PushType::Admin::NodesController#index as HTML
|
|
469
|
-
[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", "ef999188-d6cf-4761-a3ac-7b895f960443"], ["LIMIT", 1]]
|
|
470
|
-
Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin
|
|
471
|
-
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL LIMIT $1 OFFSET $2) subquery_for_count[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
472
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL[0m
|
|
473
|
-
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (2.9ms)
|
|
474
|
-
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (28.2ms)
|
|
475
|
-
Completed 200 OK in 48ms (Views: 39.3ms | ActiveRecord: 1.4ms)
|
|
476
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
425
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.5ms)
|
|
426
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (17.8ms)
|
|
427
|
+
Completed 200 OK in 33ms (Views: 27.5ms | ActiveRecord: 0.3ms)
|
|
428
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
477
429
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
478
430
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
431
|
+
----------------------------------------------------------------------------------------------------
|
|
432
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
|
|
433
|
+
----------------------------------------------------------------------------------------------------
|
|
482
434
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
483
435
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
484
436
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
485
437
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
486
438
|
[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]]
|
|
487
439
|
[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-4@example.com"], ["LIMIT", 1]]
|
|
488
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "
|
|
489
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
490
|
-
Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0OTQxNzM2OTgsInN1YiI6IjExMjk0NTY1LWJhNWItNGFkNC04N2QwLWIxZDg4NWMxMmZhOSJ9.AGb6iQUStWDEGIt7lJPkg3WDGcyIykF38El40BXWJm0" for 127.0.0.1 at 2017-05-06 17:14:58 +0100
|
|
491
|
-
Processing by PushType::Api::NodesController#index as JSON
|
|
492
|
-
Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0OTQxNzM2OTgsInN1YiI6IjExMjk0NTY1LWJhNWItNGFkNC04N2QwLWIxZDg4NWMxMmZhOSJ9.AGb6iQUStWDEGIt7lJPkg3WDGcyIykF38El40BXWJm0"}
|
|
493
|
-
[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", "11294565-ba5b-4ad4-87d0-b1d885c12fa9"], ["LIMIT", 1]]
|
|
494
|
-
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
495
|
-
[1m[36mPushType::Node Load (0.4ms)[0m [1m[34mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
496
|
-
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
497
|
-
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (6.7ms)
|
|
498
|
-
Completed 200 OK in 46ms (Views: 36.1ms | ActiveRecord: 0.7ms)
|
|
499
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
500
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
501
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
502
|
-
--------------------------------------------------------------------------------------------
|
|
503
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
504
|
-
--------------------------------------------------------------------------------------------
|
|
505
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
506
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
507
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
508
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
509
|
-
[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]]
|
|
510
|
-
[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]]
|
|
511
|
-
[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-5@example.com"], ["created_at", 2017-05-06 16:14:58 UTC], ["updated_at", 2017-05-06 16:14:58 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-06 16:14:58 UTC], ["confirmation_sent_at", 2017-05-06 16:14:58 UTC]]
|
|
512
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
513
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
514
|
-
Parameters: {"user"=>{"name"=>""}}
|
|
515
|
-
[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", "8d7c4418-2efa-43be-8047-73dc5a041377"], ["LIMIT", 1]]
|
|
516
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
517
|
-
[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-5@example.com"], ["id", "8d7c4418-2efa-43be-8047-73dc5a041377"], ["LIMIT", 1]]
|
|
518
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
519
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
520
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (10.7ms)
|
|
521
|
-
Completed 200 OK in 31ms (Views: 26.6ms | ActiveRecord: 0.6ms)
|
|
522
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
523
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
524
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
525
|
-
--------------------------------------------------------------------------------------------
|
|
526
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
527
|
-
--------------------------------------------------------------------------------------------
|
|
528
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
529
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
530
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
531
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
532
|
-
[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]]
|
|
533
|
-
[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]]
|
|
534
|
-
[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", 2017-05-06 16:14:58 UTC], ["updated_at", 2017-05-06 16:14:58 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-06 16:14:58 UTC], ["confirmation_sent_at", 2017-05-06 16:14:58 UTC]]
|
|
535
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
536
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
537
|
-
Parameters: {"user"=>{"name"=>""}}
|
|
538
|
-
[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", "121eecb0-c179-49e1-a859-63452801773d"], ["LIMIT", 1]]
|
|
539
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
540
|
-
[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-6@example.com"], ["id", "121eecb0-c179-49e1-a859-63452801773d"], ["LIMIT", 1]]
|
|
541
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
542
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
543
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
|
|
544
|
-
Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 0.5ms)
|
|
545
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
546
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
547
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
548
|
-
----------------------------------------------------------------
|
|
549
|
-
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
|
550
|
-
----------------------------------------------------------------
|
|
551
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
552
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
553
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
554
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
555
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
556
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
557
|
-
--------------------------------------------------------------------------------------
|
|
558
|
-
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
|
559
|
-
--------------------------------------------------------------------------------------
|
|
560
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
561
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
562
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
563
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
564
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
565
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
566
|
-
-----------------------------------------------------------------------
|
|
567
|
-
PushType::Admin::ProfilesControllerTest::GET #edit: test_0001_anonymous
|
|
568
|
-
-----------------------------------------------------------------------
|
|
569
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
570
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
571
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
572
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
573
|
-
[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]]
|
|
574
|
-
[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]]
|
|
575
|
-
[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-7@example.com"], ["created_at", 2017-05-06 16:14:58 UTC], ["updated_at", 2017-05-06 16:14:58 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-06 16:14:58 UTC], ["confirmation_sent_at", 2017-05-06 16:14:58 UTC]]
|
|
576
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
577
|
-
Processing by PushType::Admin::ProfilesController#edit as HTML
|
|
578
|
-
[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", "66a9c759-5367-42ef-b0c8-58934cadcaa9"], ["LIMIT", 1]]
|
|
579
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
580
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (2.0ms)
|
|
581
|
-
Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.2ms)
|
|
582
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
583
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
584
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
585
|
-
-----------------------------------------------------------------------
|
|
586
|
-
PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
|
587
|
-
-----------------------------------------------------------------------
|
|
588
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
589
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
590
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
591
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
592
|
-
[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]]
|
|
593
|
-
[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]]
|
|
594
|
-
[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-8@example.com"], ["created_at", 2017-05-06 16:14:58 UTC], ["updated_at", 2017-05-06 16:14:58 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-06 16:14:58 UTC], ["confirmation_sent_at", 2017-05-06 16:14:58 UTC]]
|
|
595
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
596
|
-
Processing by PushType::Admin::ProfilesController#edit as HTML
|
|
597
|
-
[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", "bd8e5c83-f9e1-4310-893e-0b61d4b476b3"], ["LIMIT", 1]]
|
|
598
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
599
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.6ms)
|
|
600
|
-
Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.3ms)
|
|
601
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
602
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
603
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
604
|
-
--------------------------------------------------------------------------------------------------------------
|
|
605
|
-
PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
|
|
606
|
-
--------------------------------------------------------------------------------------------------------------
|
|
607
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
608
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
609
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
610
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
611
|
-
[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]]
|
|
612
|
-
[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]]
|
|
613
|
-
[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", 2017-05-06 16:14:58 UTC], ["updated_at", 2017-05-06 16:14:58 UTC], ["confirmation_token", "BombYH_popVLVe7Y3Hs5"], ["confirmation_sent_at", 2017-05-06 16:14:58 UTC]]
|
|
440
|
+
[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "ZXJK2LnPGQh_kmXy-WwY"], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
614
441
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
615
442
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
616
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
617
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
618
|
-
Sent mail to joe-
|
|
619
|
-
Date:
|
|
443
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
|
|
444
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.3ms
|
|
445
|
+
Sent mail to joe-4@example.com (3.7ms)
|
|
446
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
620
447
|
From: pushtype@example.com
|
|
621
448
|
Reply-To: pushtype@example.com
|
|
622
|
-
To: joe-
|
|
623
|
-
Message-ID: <
|
|
449
|
+
To: joe-4@example.com
|
|
450
|
+
Message-ID: <591de57733235_161843fe237c339b810078c@Aarons-iMac.local.mail>
|
|
624
451
|
Subject: [PushType] Confirm your account
|
|
625
452
|
Mime-Version: 1.0
|
|
626
453
|
Content-Type: multipart/alternative;
|
|
627
|
-
boundary="--==
|
|
454
|
+
boundary="--==_mimepart_591de57732d2f_161843fe237c339b8100661";
|
|
628
455
|
charset=UTF-8
|
|
629
456
|
Content-Transfer-Encoding: 7bit
|
|
630
457
|
|
|
631
458
|
|
|
632
|
-
----==
|
|
459
|
+
----==_mimepart_591de57732d2f_161843fe237c339b8100661
|
|
633
460
|
Content-Type: text/plain;
|
|
634
461
|
charset=UTF-8
|
|
635
462
|
Content-Transfer-Encoding: 7bit
|
|
@@ -645,12 +472,12 @@ To get started, confirm your account and set your own password by
|
|
|
645
472
|
clicking the link below:
|
|
646
473
|
|
|
647
474
|
Confirm my account
|
|
648
|
-
( http://localhost:3000/admin/confirmation.
|
|
475
|
+
( http://localhost:3000/admin/confirmation.6ddb425d-fe8d-4f53-baab-7f746278f990?confirmation_token=ZXJK2LnPGQh_kmXy-WwY )
|
|
649
476
|
|
|
650
477
|
|
|
651
478
|
PushType CMS: www.pushtype.org
|
|
652
479
|
( http://www.pushtype.org ).
|
|
653
|
-
----==
|
|
480
|
+
----==_mimepart_591de57732d2f_161843fe237c339b8100661
|
|
654
481
|
Content-Type: text/html;
|
|
655
482
|
charset=UTF-8
|
|
656
483
|
Content-Transfer-Encoding: 7bit
|
|
@@ -695,7 +522,7 @@ body {
|
|
|
695
522
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
696
523
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
697
524
|
<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;">
|
|
698
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
525
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.6ddb425d-fe8d-4f53-baab-7f746278f990?confirmation_token=ZXJK2LnPGQh_kmXy-WwY" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
699
526
|
</td>
|
|
700
527
|
</tr>
|
|
701
528
|
</table>
|
|
@@ -740,253 +567,56 @@ body {
|
|
|
740
567
|
</body>
|
|
741
568
|
</html>
|
|
742
569
|
|
|
743
|
-
----==
|
|
570
|
+
----==_mimepart_591de57732d2f_161843fe237c339b8100661--
|
|
744
571
|
|
|
572
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
573
|
+
Parameters: {"confirmation_token"=>"ZXJK2LnPGQh_kmXy-WwY"}
|
|
574
|
+
[1m[36mPushType::User Load (0.3ms)[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", "ZXJK2LnPGQh_kmXy-WwY"], ["LIMIT", 1]]
|
|
575
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
576
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
577
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
|
|
578
|
+
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.3ms)
|
|
745
579
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
746
580
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
747
581
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
748
|
-
|
|
749
|
-
PushType::
|
|
750
|
-
|
|
751
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
752
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
753
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
754
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
755
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
756
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
757
|
-
-----------------------------------------------------------
|
|
758
|
-
PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
|
|
759
|
-
-----------------------------------------------------------
|
|
760
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
761
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
762
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
763
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
764
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
765
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
766
|
-
-----------------------------------------------------------
|
|
767
|
-
PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
|
|
768
|
-
-----------------------------------------------------------
|
|
769
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
770
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
771
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
772
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
773
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
774
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
775
|
-
-----------------------------------------------------------
|
|
776
|
-
PushType::ApiAuthenticationMethodsTest: test_0004_anonymous
|
|
777
|
-
-----------------------------------------------------------
|
|
582
|
+
----------------------------------------------------------------
|
|
583
|
+
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
|
584
|
+
----------------------------------------------------------------
|
|
778
585
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
779
586
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
780
587
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
781
|
-
[1m[35m (0.
|
|
782
|
-
[1m[35m (0.
|
|
588
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
589
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
783
590
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
784
|
-
|
|
785
|
-
PushType::
|
|
786
|
-
|
|
787
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
788
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
789
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
790
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
791
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
792
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
793
|
-
---------------------------------------------------------------------------
|
|
794
|
-
PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
|
|
795
|
-
---------------------------------------------------------------------------
|
|
796
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
797
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
798
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
799
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
800
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
801
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
802
|
-
---------------------------------------------------------------------------
|
|
803
|
-
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
|
804
|
-
---------------------------------------------------------------------------
|
|
805
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
806
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
807
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
808
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
809
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
810
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
811
|
-
--------------------------------------------------------------------------------------------
|
|
812
|
-
AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous
|
|
813
|
-
--------------------------------------------------------------------------------------------
|
|
814
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
815
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
816
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
817
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
818
|
-
[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]]
|
|
819
|
-
[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]]
|
|
820
|
-
[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", 2017-05-06 16:14:58 UTC], ["updated_at", 2017-05-06 16:14:58 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-06 16:14:58 UTC], ["confirmation_sent_at", 2017-05-06 16:14:58 UTC]]
|
|
821
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
822
|
-
Started GET "/api/nodes" for 127.0.0.1 at 2017-05-06 17:14:58 +0100
|
|
823
|
-
Processing by PushType::Api::NodesController#index as JSON
|
|
824
|
-
[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", "6e547964-1eac-4870-9e59-919ee7b7cc91"], ["LIMIT", 1]]
|
|
825
|
-
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
826
|
-
[1m[36mPushType::Node Load (0.3ms)[0m [1m[34mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
827
|
-
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
828
|
-
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (3.7ms)
|
|
829
|
-
Completed 200 OK in 42ms (Views: 32.4ms | ActiveRecord: 0.5ms)
|
|
830
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
831
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
832
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
833
|
-
------------------------------------------------------------------------------------------
|
|
834
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
835
|
-
------------------------------------------------------------------------------------------
|
|
836
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
837
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
838
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
839
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
840
|
-
[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]]
|
|
841
|
-
[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]]
|
|
842
|
-
[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-11@example.com"], ["created_at", 2017-05-06 16:14:58 UTC], ["updated_at", 2017-05-06 16:14:58 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-06 16:14:58 UTC], ["confirmation_sent_at", 2017-05-06 16:14:58 UTC]]
|
|
843
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
844
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
845
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
846
|
-
[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", "7ba835ce-d240-4a5c-a46b-ddd05d2bf490"], ["LIMIT", 1]]
|
|
847
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
848
|
-
[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", "7ba835ce-d240-4a5c-a46b-ddd05d2bf490"], ["LIMIT", 1]]
|
|
849
|
-
[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", 2017-05-06 16:14:58 UTC], ["id", "7ba835ce-d240-4a5c-a46b-ddd05d2bf490"]]
|
|
850
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
851
|
-
Redirected to http://test.host/admin/profile/edit
|
|
852
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
|
853
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
854
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
855
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
856
|
-
------------------------------------------------------------------------------------------
|
|
857
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
858
|
-
------------------------------------------------------------------------------------------
|
|
859
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
860
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
861
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
862
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
863
|
-
[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]]
|
|
864
|
-
[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]]
|
|
865
|
-
[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", 2017-05-06 16:14:58 UTC], ["updated_at", 2017-05-06 16:14:58 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-06 16:14:58 UTC], ["confirmation_sent_at", 2017-05-06 16:14:58 UTC]]
|
|
866
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
867
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
868
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
869
|
-
[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", "9a4284c0-914d-4802-be14-7e9a7d7a72a5"], ["LIMIT", 1]]
|
|
870
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
871
|
-
[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-12@example.com"], ["id", "9a4284c0-914d-4802-be14-7e9a7d7a72a5"], ["LIMIT", 1]]
|
|
872
|
-
[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", 2017-05-06 16:14:58 UTC], ["id", "9a4284c0-914d-4802-be14-7e9a7d7a72a5"]]
|
|
873
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
874
|
-
Redirected to http://test.host/admin/profile/edit
|
|
875
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
|
876
|
-
[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", "9a4284c0-914d-4802-be14-7e9a7d7a72a5"], ["LIMIT", 1]]
|
|
877
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
878
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
879
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
880
|
-
------------------------------------------------------------------------------------------
|
|
881
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
|
|
882
|
-
------------------------------------------------------------------------------------------
|
|
883
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
884
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
885
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
886
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
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-13@example.com"], ["LIMIT", 1]]
|
|
888
|
-
[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]]
|
|
889
|
-
[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", 2017-05-06 16:14:58 UTC], ["updated_at", 2017-05-06 16:14:58 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-06 16:14:58 UTC], ["confirmation_sent_at", 2017-05-06 16:14:58 UTC]]
|
|
890
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
891
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
892
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
893
|
-
[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", "17fcdbf6-5adc-4a61-8c9c-5f64701e5b69"], ["LIMIT", 1]]
|
|
894
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
895
|
-
[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-13@example.com"], ["id", "17fcdbf6-5adc-4a61-8c9c-5f64701e5b69"], ["LIMIT", 1]]
|
|
896
|
-
[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", 2017-05-06 16:14:58 UTC], ["id", "17fcdbf6-5adc-4a61-8c9c-5f64701e5b69"]]
|
|
897
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
898
|
-
Redirected to http://test.host/admin/profile/edit
|
|
899
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
|
900
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
901
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
902
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
903
|
-
----------------------------------------------------------------------------
|
|
904
|
-
AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous
|
|
905
|
-
----------------------------------------------------------------------------
|
|
906
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
907
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
908
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
909
|
-
Started GET "/api/nodes" for 127.0.0.1 at 2017-05-06 17:14:58 +0100
|
|
910
|
-
Processing by PushType::Api::NodesController#index as JSON
|
|
911
|
-
Filter chain halted as :authenticate_user! rendered or redirected
|
|
912
|
-
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
|
|
913
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
914
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
915
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
916
|
-
------------------------------------------------------------------------------------------------------
|
|
917
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
|
918
|
-
------------------------------------------------------------------------------------------------------
|
|
919
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
920
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
921
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
922
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
|
923
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
|
924
|
-
[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]]
|
|
925
|
-
[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]]
|
|
926
|
-
[1m[36mPushType::User Load (0.3ms)[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", "4ed679af5abbb025203596f2024145fda7a00bedca713605b0eb185c446fff69"], ["LIMIT", 1]]
|
|
927
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
928
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.2ms)
|
|
929
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (7.4ms)
|
|
930
|
-
Completed 200 OK in 215ms (Views: 18.9ms | ActiveRecord: 0.6ms)
|
|
931
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
932
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
933
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
934
|
-
------------------------------------------------------------------------------------------------------
|
|
935
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
|
936
|
-
------------------------------------------------------------------------------------------------------
|
|
937
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
938
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
939
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
940
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
|
941
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
|
942
|
-
[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]]
|
|
943
|
-
[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]]
|
|
944
|
-
[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", "4ed679af5abbb025203596f2024145fda7a00bedca713605b0eb185c446fff69"], ["LIMIT", 1]]
|
|
945
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
946
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
947
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.3ms)
|
|
948
|
-
Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.4ms)
|
|
949
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
950
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
951
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
952
|
-
---------------------------------------------------------------
|
|
953
|
-
PushType::AuthenticatableTest::recoverable: test_0001_anonymous
|
|
954
|
-
---------------------------------------------------------------
|
|
591
|
+
----------------------------------------------------------------------------------------
|
|
592
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
593
|
+
----------------------------------------------------------------------------------------
|
|
955
594
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
956
595
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
957
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
958
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
959
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
960
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
961
|
-
------------------------------------------------------------------------------------------
|
|
962
|
-
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
|
|
963
|
-
------------------------------------------------------------------------------------------
|
|
964
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
965
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
966
596
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
967
597
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
968
|
-
[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-
|
|
969
|
-
[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-
|
|
970
|
-
[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-
|
|
598
|
+
[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]]
|
|
599
|
+
[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]]
|
|
600
|
+
[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "YJgRSDvGWsyQQMsqzKMy"], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
971
601
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
972
602
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
973
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
974
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
975
|
-
Sent mail to joe-
|
|
976
|
-
Date:
|
|
603
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
604
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
|
|
605
|
+
Sent mail to joe-5@example.com (3.7ms)
|
|
606
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
977
607
|
From: pushtype@example.com
|
|
978
608
|
Reply-To: pushtype@example.com
|
|
979
|
-
To: joe-
|
|
980
|
-
Message-ID: <
|
|
609
|
+
To: joe-5@example.com
|
|
610
|
+
Message-ID: <591de5773fe8b_161843fe237c339b810104@Aarons-iMac.local.mail>
|
|
981
611
|
Subject: [PushType] Confirm your account
|
|
982
612
|
Mime-Version: 1.0
|
|
983
613
|
Content-Type: multipart/alternative;
|
|
984
|
-
boundary="--==
|
|
614
|
+
boundary="--==_mimepart_591de5773f9ba_161843fe237c339b810093a";
|
|
985
615
|
charset=UTF-8
|
|
986
616
|
Content-Transfer-Encoding: 7bit
|
|
987
617
|
|
|
988
618
|
|
|
989
|
-
----==
|
|
619
|
+
----==_mimepart_591de5773f9ba_161843fe237c339b810093a
|
|
990
620
|
Content-Type: text/plain;
|
|
991
621
|
charset=UTF-8
|
|
992
622
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1002,12 +632,12 @@ To get started, confirm your account and set your own password by
|
|
|
1002
632
|
clicking the link below:
|
|
1003
633
|
|
|
1004
634
|
Confirm my account
|
|
1005
|
-
( http://localhost:3000/admin/confirmation.
|
|
635
|
+
( http://localhost:3000/admin/confirmation.16217086-8af4-4c20-b0e4-fe2d84fbdce9?confirmation_token=YJgRSDvGWsyQQMsqzKMy )
|
|
1006
636
|
|
|
1007
637
|
|
|
1008
638
|
PushType CMS: www.pushtype.org
|
|
1009
639
|
( http://www.pushtype.org ).
|
|
1010
|
-
----==
|
|
640
|
+
----==_mimepart_591de5773f9ba_161843fe237c339b810093a
|
|
1011
641
|
Content-Type: text/html;
|
|
1012
642
|
charset=UTF-8
|
|
1013
643
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1052,7 +682,7 @@ body {
|
|
|
1052
682
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
1053
683
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1054
684
|
<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;">
|
|
1055
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
685
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.16217086-8af4-4c20-b0e4-fe2d84fbdce9?confirmation_token=YJgRSDvGWsyQQMsqzKMy" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
1056
686
|
</td>
|
|
1057
687
|
</tr>
|
|
1058
688
|
</table>
|
|
@@ -1097,48 +727,53 @@ body {
|
|
|
1097
727
|
</body>
|
|
1098
728
|
</html>
|
|
1099
729
|
|
|
1100
|
-
----==
|
|
730
|
+
----==_mimepart_591de5773f9ba_161843fe237c339b810093a--
|
|
1101
731
|
|
|
1102
732
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
1103
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
1104
|
-
[1m[36mPushType::User Load (0.
|
|
1105
|
-
[1m[36mPushType::User Exists (0.
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
733
|
+
Parameters: {"user"=>{"confirmation_token"=>"YJgRSDvGWsyQQMsqzKMy", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
734
|
+
[1m[36mPushType::User Load (0.3ms)[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", "YJgRSDvGWsyQQMsqzKMy"], ["LIMIT", 1]]
|
|
735
|
+
[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-5@example.com"], ["id", "16217086-8af4-4c20-b0e4-fe2d84fbdce9"], ["LIMIT", 1]]
|
|
736
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
737
|
+
[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$xoIjbcRiZip6LmbTPgFio.6Df2pCieChbeGXtiIuXpgjy8JCupFOC"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["id", "16217086-8af4-4c20-b0e4-fe2d84fbdce9"]]
|
|
738
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
739
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
740
|
+
[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", 2017-05-18 18:18:31 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2017-05-18 18:18:31 UTC], ["last_sign_in_at", 2017-05-18 18:18:31 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "16217086-8af4-4c20-b0e4-fe2d84fbdce9"]]
|
|
741
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
742
|
+
Redirected to http://test.host/admin/
|
|
743
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.3ms)
|
|
744
|
+
[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", "16217086-8af4-4c20-b0e4-fe2d84fbdce9"], ["LIMIT", 1]]
|
|
1110
745
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1111
746
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1112
747
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1113
|
-
|
|
1114
|
-
PushType::ConfirmationsControllerTest::PUT #update::with
|
|
1115
|
-
|
|
748
|
+
----------------------------------------------------------------------------------------
|
|
749
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
750
|
+
----------------------------------------------------------------------------------------
|
|
1116
751
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1117
|
-
[1m[35m (0.
|
|
752
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1118
753
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1119
754
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1120
|
-
[1m[36mPushType::User Exists (0.
|
|
1121
|
-
[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-
|
|
1122
|
-
[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-
|
|
755
|
+
[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]]
|
|
756
|
+
[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]]
|
|
757
|
+
[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "cXcbS1icqYjRK_x7wryk"], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1123
758
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1124
759
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1125
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1126
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1127
|
-
Sent mail to joe-
|
|
1128
|
-
Date:
|
|
760
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
761
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
|
762
|
+
Sent mail to joe-6@example.com (3.6ms)
|
|
763
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
1129
764
|
From: pushtype@example.com
|
|
1130
765
|
Reply-To: pushtype@example.com
|
|
1131
|
-
To: joe-
|
|
1132
|
-
Message-ID: <
|
|
766
|
+
To: joe-6@example.com
|
|
767
|
+
Message-ID: <591de5774cd2b_161843fe237c339b810132b@Aarons-iMac.local.mail>
|
|
1133
768
|
Subject: [PushType] Confirm your account
|
|
1134
769
|
Mime-Version: 1.0
|
|
1135
770
|
Content-Type: multipart/alternative;
|
|
1136
|
-
boundary="--==
|
|
771
|
+
boundary="--==_mimepart_591de5774c870_161843fe237c339b81012b9";
|
|
1137
772
|
charset=UTF-8
|
|
1138
773
|
Content-Transfer-Encoding: 7bit
|
|
1139
774
|
|
|
1140
775
|
|
|
1141
|
-
----==
|
|
776
|
+
----==_mimepart_591de5774c870_161843fe237c339b81012b9
|
|
1142
777
|
Content-Type: text/plain;
|
|
1143
778
|
charset=UTF-8
|
|
1144
779
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1154,12 +789,12 @@ To get started, confirm your account and set your own password by
|
|
|
1154
789
|
clicking the link below:
|
|
1155
790
|
|
|
1156
791
|
Confirm my account
|
|
1157
|
-
( http://localhost:3000/admin/confirmation.
|
|
792
|
+
( http://localhost:3000/admin/confirmation.1836571a-c51f-434d-acbb-ff814b2eb002?confirmation_token=cXcbS1icqYjRK_x7wryk )
|
|
1158
793
|
|
|
1159
794
|
|
|
1160
795
|
PushType CMS: www.pushtype.org
|
|
1161
796
|
( http://www.pushtype.org ).
|
|
1162
|
-
----==
|
|
797
|
+
----==_mimepart_591de5774c870_161843fe237c339b81012b9
|
|
1163
798
|
Content-Type: text/html;
|
|
1164
799
|
charset=UTF-8
|
|
1165
800
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1204,7 +839,7 @@ body {
|
|
|
1204
839
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
1205
840
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1206
841
|
<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;">
|
|
1207
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
842
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.1836571a-c51f-434d-acbb-ff814b2eb002?confirmation_token=cXcbS1icqYjRK_x7wryk" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
1208
843
|
</td>
|
|
1209
844
|
</tr>
|
|
1210
845
|
</table>
|
|
@@ -1249,48 +884,97 @@ body {
|
|
|
1249
884
|
</body>
|
|
1250
885
|
</html>
|
|
1251
886
|
|
|
1252
|
-
----==
|
|
887
|
+
----==_mimepart_591de5774c870_161843fe237c339b81012b9--
|
|
1253
888
|
|
|
1254
889
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
1255
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
1256
|
-
[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", "
|
|
1257
|
-
[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-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
890
|
+
Parameters: {"user"=>{"confirmation_token"=>"cXcbS1icqYjRK_x7wryk", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
891
|
+
[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", "cXcbS1icqYjRK_x7wryk"], ["LIMIT", 1]]
|
|
892
|
+
[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-6@example.com"], ["id", "1836571a-c51f-434d-acbb-ff814b2eb002"], ["LIMIT", 1]]
|
|
893
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
894
|
+
[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$LWpMT/1GRhypX.nSyZlS.etCviBlwSTe1Q8T5ImgLbZhcy74MDnmK"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["id", "1836571a-c51f-434d-acbb-ff814b2eb002"]]
|
|
895
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
896
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
897
|
+
[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", 2017-05-18 18:18:31 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2017-05-18 18:18:31 UTC], ["last_sign_in_at", 2017-05-18 18:18:31 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "1836571a-c51f-434d-acbb-ff814b2eb002"]]
|
|
898
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
899
|
+
Redirected to http://test.host/admin/
|
|
900
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
|
|
1262
901
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1263
902
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1264
903
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1265
|
-
|
|
1266
|
-
PushType::
|
|
1267
|
-
|
|
904
|
+
---------------------------------------------------------------------------
|
|
905
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
|
|
906
|
+
---------------------------------------------------------------------------
|
|
907
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
908
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
909
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
910
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
911
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
912
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
913
|
+
---------------------------------------------------------------------------
|
|
914
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
|
915
|
+
---------------------------------------------------------------------------
|
|
916
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
917
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1268
918
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1269
|
-
[1m[35m (0.1ms)[0m [1m[
|
|
919
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
920
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
921
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
922
|
+
-------------------------------------------------------------
|
|
923
|
+
PushType::AuthenticatableTest::trackable: test_0001_anonymous
|
|
924
|
+
-------------------------------------------------------------
|
|
925
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
926
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
927
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
928
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
929
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
930
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
931
|
+
--------------------------------------------------------
|
|
932
|
+
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
|
933
|
+
--------------------------------------------------------
|
|
934
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
935
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
936
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
937
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
938
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
939
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
940
|
+
--------------------------------------------------------
|
|
941
|
+
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
|
942
|
+
--------------------------------------------------------
|
|
943
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
944
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
945
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
946
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
947
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
948
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
949
|
+
--------------------------------------------------------------------------------------------------------------
|
|
950
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
|
|
951
|
+
--------------------------------------------------------------------------------------------------------------
|
|
952
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
953
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1270
954
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1271
955
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1272
|
-
[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-
|
|
1273
|
-
[1m[36mPushType::User Exists (0.
|
|
1274
|
-
[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-
|
|
956
|
+
[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]]
|
|
957
|
+
[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]]
|
|
958
|
+
[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "y9W5MJgpfSYNdDguK2F_"], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1275
959
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1276
960
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1277
961
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
1278
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1279
|
-
Sent mail to joe-
|
|
1280
|
-
Date:
|
|
962
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
|
963
|
+
Sent mail to joe-7@example.com (3.4ms)
|
|
964
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
1281
965
|
From: pushtype@example.com
|
|
1282
966
|
Reply-To: pushtype@example.com
|
|
1283
|
-
To: joe-
|
|
1284
|
-
Message-ID: <
|
|
967
|
+
To: joe-7@example.com
|
|
968
|
+
Message-ID: <591de5775b187_161843fe237c339b8101674@Aarons-iMac.local.mail>
|
|
1285
969
|
Subject: [PushType] Confirm your account
|
|
1286
970
|
Mime-Version: 1.0
|
|
1287
971
|
Content-Type: multipart/alternative;
|
|
1288
|
-
boundary="--==
|
|
972
|
+
boundary="--==_mimepart_591de5775ad6b_161843fe237c339b81015a6";
|
|
1289
973
|
charset=UTF-8
|
|
1290
974
|
Content-Transfer-Encoding: 7bit
|
|
1291
975
|
|
|
1292
976
|
|
|
1293
|
-
----==
|
|
977
|
+
----==_mimepart_591de5775ad6b_161843fe237c339b81015a6
|
|
1294
978
|
Content-Type: text/plain;
|
|
1295
979
|
charset=UTF-8
|
|
1296
980
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1306,12 +990,12 @@ To get started, confirm your account and set your own password by
|
|
|
1306
990
|
clicking the link below:
|
|
1307
991
|
|
|
1308
992
|
Confirm my account
|
|
1309
|
-
( http://localhost:3000/admin/confirmation.
|
|
993
|
+
( http://localhost:3000/admin/confirmation.4447b05e-7a3d-497e-bbe8-0683572796b5?confirmation_token=y9W5MJgpfSYNdDguK2F_ )
|
|
1310
994
|
|
|
1311
995
|
|
|
1312
996
|
PushType CMS: www.pushtype.org
|
|
1313
997
|
( http://www.pushtype.org ).
|
|
1314
|
-
----==
|
|
998
|
+
----==_mimepart_591de5775ad6b_161843fe237c339b81015a6
|
|
1315
999
|
Content-Type: text/html;
|
|
1316
1000
|
charset=UTF-8
|
|
1317
1001
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1356,7 +1040,7 @@ body {
|
|
|
1356
1040
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
1357
1041
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1358
1042
|
<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;">
|
|
1359
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
1043
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.4447b05e-7a3d-497e-bbe8-0683572796b5?confirmation_token=y9W5MJgpfSYNdDguK2F_" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
1360
1044
|
</td>
|
|
1361
1045
|
</tr>
|
|
1362
1046
|
</table>
|
|
@@ -1401,71 +1085,298 @@ body {
|
|
|
1401
1085
|
</body>
|
|
1402
1086
|
</html>
|
|
1403
1087
|
|
|
1404
|
-
----==
|
|
1088
|
+
----==_mimepart_591de5775ad6b_161843fe237c339b81015a6--
|
|
1405
1089
|
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
[1m[
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1090
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1091
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
|
1092
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1093
|
+
---------------------------------------------------------------
|
|
1094
|
+
PushType::AuthenticatableTest::recoverable: test_0001_anonymous
|
|
1095
|
+
---------------------------------------------------------------
|
|
1096
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1097
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1098
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1099
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1100
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1101
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1102
|
+
-----------------------------------------------------------------------
|
|
1103
|
+
PushType::Admin::ProfilesControllerTest::GET #edit: test_0001_anonymous
|
|
1104
|
+
-----------------------------------------------------------------------
|
|
1105
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1106
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1107
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1108
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1109
|
+
[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]]
|
|
1110
|
+
[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]]
|
|
1111
|
+
[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-8@example.com"], ["created_at", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1112
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1113
|
+
Processing by PushType::Admin::ProfilesController#edit as HTML
|
|
1114
|
+
[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", "0ceedd89-fe3a-444f-a36b-366ac4407812"], ["LIMIT", 1]]
|
|
1115
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
1116
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (11.3ms)
|
|
1117
|
+
Completed 200 OK in 23ms (Views: 18.2ms | ActiveRecord: 0.2ms)
|
|
1118
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1119
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1120
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1121
|
+
-----------------------------------------------------------------------
|
|
1122
|
+
PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
|
1123
|
+
-----------------------------------------------------------------------
|
|
1124
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1125
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1126
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1127
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1128
|
+
[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]]
|
|
1129
|
+
[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]]
|
|
1130
|
+
[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-9@example.com"], ["created_at", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1131
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1132
|
+
Processing by PushType::Admin::ProfilesController#edit as HTML
|
|
1133
|
+
[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", "9e8a0904-8ee9-470c-b541-dcd5ce34d308"], ["LIMIT", 1]]
|
|
1134
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
1135
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
|
|
1136
|
+
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.2ms)
|
|
1137
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1138
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
|
1139
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1140
|
+
-----------------------------------------------------------------------------------
|
|
1141
|
+
AuthenticatedApiControllerTest::authenticated with token param: test_0001_anonymous
|
|
1142
|
+
-----------------------------------------------------------------------------------
|
|
1143
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1144
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1145
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1146
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1147
|
+
[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]]
|
|
1148
|
+
[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]]
|
|
1149
|
+
[1m[35mSQL (0.3ms)[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1150
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1151
|
+
Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0OTUyMTc5MTEsInN1YiI6ImM0ODViYmI4LTQ1OWMtNDIwMS1iODg5LWIxZjc4MmFiMGM0NCJ9.jQpkbpPgOgUPxalS4IodqJ0DN3IAHUsB4e1oYdZEIAM" for 127.0.0.1 at 2017-05-18 19:18:31 +0100
|
|
1152
|
+
Processing by PushType::Api::NodesController#index as JSON
|
|
1153
|
+
Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0OTUyMTc5MTEsInN1YiI6ImM0ODViYmI4LTQ1OWMtNDIwMS1iODg5LWIxZjc4MmFiMGM0NCJ9.jQpkbpPgOgUPxalS4IodqJ0DN3IAHUsB4e1oYdZEIAM"}
|
|
1154
|
+
[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", "c485bbb8-459c-4201-b889-b1f782ab0c44"], ["LIMIT", 1]]
|
|
1155
|
+
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
1156
|
+
[1m[36mPushType::Node Load (0.4ms)[0m [1m[34mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
1157
|
+
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
1158
|
+
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (8.1ms)
|
|
1159
|
+
Completed 200 OK in 52ms (Views: 40.8ms | ActiveRecord: 0.7ms)
|
|
1160
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1161
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1162
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1163
|
+
--------------------------------------------------------------------------------------
|
|
1164
|
+
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
|
1165
|
+
--------------------------------------------------------------------------------------
|
|
1166
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1167
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1168
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1169
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1170
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1171
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1172
|
+
------------------------------------------------------------------------------------------
|
|
1173
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
1174
|
+
------------------------------------------------------------------------------------------
|
|
1175
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1176
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1177
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1178
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1179
|
+
[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]]
|
|
1180
|
+
[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]]
|
|
1181
|
+
[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-11@example.com"], ["created_at", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1182
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1183
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
1184
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
1185
|
+
[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", "d093b066-78bc-4e17-bea3-b51bcdb94a07"], ["LIMIT", 1]]
|
|
1186
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1187
|
+
[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", "d093b066-78bc-4e17-bea3-b51bcdb94a07"], ["LIMIT", 1]]
|
|
1188
|
+
[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", 2017-05-18 18:18:31 UTC], ["id", "d093b066-78bc-4e17-bea3-b51bcdb94a07"]]
|
|
1189
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1190
|
+
Redirected to http://test.host/admin/profile/edit
|
|
1191
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
|
|
1192
|
+
[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", "d093b066-78bc-4e17-bea3-b51bcdb94a07"], ["LIMIT", 1]]
|
|
1193
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1194
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1195
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1196
|
+
------------------------------------------------------------------------------------------
|
|
1197
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
1198
|
+
------------------------------------------------------------------------------------------
|
|
1199
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1200
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1201
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1202
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1203
|
+
[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]]
|
|
1204
|
+
[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]]
|
|
1205
|
+
[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1206
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1207
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
1208
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
1209
|
+
[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", "c50e461e-a906-4948-bfe1-cf17410be655"], ["LIMIT", 1]]
|
|
1210
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1211
|
+
[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-12@example.com"], ["id", "c50e461e-a906-4948-bfe1-cf17410be655"], ["LIMIT", 1]]
|
|
1212
|
+
[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", 2017-05-18 18:18:31 UTC], ["id", "c50e461e-a906-4948-bfe1-cf17410be655"]]
|
|
1213
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1214
|
+
Redirected to http://test.host/admin/profile/edit
|
|
1215
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
|
1216
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1217
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1218
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1219
|
+
------------------------------------------------------------------------------------------
|
|
1220
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
|
|
1221
|
+
------------------------------------------------------------------------------------------
|
|
1222
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1223
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1224
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1225
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1226
|
+
[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]]
|
|
1227
|
+
[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]]
|
|
1228
|
+
[1m[35mSQL (0.3ms)[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1229
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1230
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
1231
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
1232
|
+
[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", "1c0c582a-58eb-4ba6-9c59-87ad796b2595"], ["LIMIT", 1]]
|
|
1233
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1234
|
+
[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-13@example.com"], ["id", "1c0c582a-58eb-4ba6-9c59-87ad796b2595"], ["LIMIT", 1]]
|
|
1235
|
+
[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", 2017-05-18 18:18:31 UTC], ["id", "1c0c582a-58eb-4ba6-9c59-87ad796b2595"]]
|
|
1236
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1237
|
+
Redirected to http://test.host/admin/profile/edit
|
|
1238
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
|
1414
1239
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1415
1240
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1416
1241
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1242
|
+
--------------------------------------------------------------------------------------------
|
|
1243
|
+
AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous
|
|
1244
|
+
--------------------------------------------------------------------------------------------
|
|
1420
1245
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1421
1246
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1422
1247
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1248
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1249
|
+
[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]]
|
|
1250
|
+
[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]]
|
|
1251
|
+
[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1252
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1253
|
+
Started GET "/api/nodes" for 127.0.0.1 at 2017-05-18 19:18:31 +0100
|
|
1254
|
+
Processing by PushType::Api::NodesController#index as JSON
|
|
1255
|
+
[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", "e9a576ec-e89b-402a-8740-cc6525fe2101"], ["LIMIT", 1]]
|
|
1256
|
+
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
1257
|
+
[1m[36mPushType::Node Load (0.3ms)[0m [1m[34mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL ORDER BY sort_order LIMIT $1 OFFSET $2[0m [["LIMIT", 30], ["OFFSET", 0]]
|
|
1258
|
+
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
1259
|
+
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (3.9ms)
|
|
1260
|
+
Completed 200 OK in 44ms (Views: 34.4ms | ActiveRecord: 0.6ms)
|
|
1423
1261
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1424
|
-
[1m[35m (0.
|
|
1262
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1425
1263
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1426
|
-
|
|
1427
|
-
PushType::
|
|
1428
|
-
|
|
1264
|
+
--------------------------------------------------------------------------------------------
|
|
1265
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
1266
|
+
--------------------------------------------------------------------------------------------
|
|
1267
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1268
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1269
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1270
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1271
|
+
[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]]
|
|
1272
|
+
[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]]
|
|
1273
|
+
[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1274
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1275
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
1276
|
+
Parameters: {"user"=>{"name"=>""}}
|
|
1277
|
+
[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", "3974c4df-5072-4822-b22d-42d31f62627a"], ["LIMIT", 1]]
|
|
1278
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1279
|
+
[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-15@example.com"], ["id", "3974c4df-5072-4822-b22d-42d31f62627a"], ["LIMIT", 1]]
|
|
1280
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
1281
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
1282
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (8.6ms)
|
|
1283
|
+
Completed 200 OK in 27ms (Views: 22.7ms | ActiveRecord: 0.6ms)
|
|
1284
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1285
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1286
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1287
|
+
--------------------------------------------------------------------------------------------
|
|
1288
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
1289
|
+
--------------------------------------------------------------------------------------------
|
|
1290
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1291
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1292
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1293
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1294
|
+
[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]]
|
|
1295
|
+
[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]]
|
|
1296
|
+
[1m[35mSQL (0.3ms)[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1297
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1298
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
1299
|
+
Parameters: {"user"=>{"name"=>""}}
|
|
1300
|
+
[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", "12157558-7ed9-4a3a-8980-214aa53e1307"], ["LIMIT", 1]]
|
|
1301
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1302
|
+
[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", "12157558-7ed9-4a3a-8980-214aa53e1307"], ["LIMIT", 1]]
|
|
1303
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
1304
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
1305
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
|
|
1306
|
+
Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 0.5ms)
|
|
1307
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1308
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1309
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1310
|
+
-----------------------------------------------------------
|
|
1311
|
+
PushType::ApiAuthenticationMethodsTest: test_0003_anonymous
|
|
1312
|
+
-----------------------------------------------------------
|
|
1313
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1314
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1315
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1316
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1317
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1318
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1319
|
+
-----------------------------------------------------------
|
|
1320
|
+
PushType::ApiAuthenticationMethodsTest: test_0004_anonymous
|
|
1321
|
+
-----------------------------------------------------------
|
|
1322
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1323
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1324
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1325
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1326
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1327
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1328
|
+
-----------------------------------------------------------
|
|
1329
|
+
PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
|
|
1330
|
+
-----------------------------------------------------------
|
|
1429
1331
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1430
1332
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1431
1333
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1432
1334
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1433
1335
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1434
1336
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1337
|
+
-----------------------------------------------------------
|
|
1338
|
+
PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
|
|
1339
|
+
-----------------------------------------------------------
|
|
1340
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1341
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1342
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1343
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1344
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
1345
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1435
1346
|
----------------------------------------------------------------------
|
|
1436
1347
|
PushType::Admin::UsersControllerTest::PUT #invite: test_0001_anonymous
|
|
1437
1348
|
----------------------------------------------------------------------
|
|
1438
1349
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1439
1350
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1440
|
-
[1m[35m (0.
|
|
1351
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1441
1352
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1442
1353
|
[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]]
|
|
1443
|
-
[1m[36mPushType::User Exists (0.
|
|
1444
|
-
[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", 2017-05-
|
|
1354
|
+
[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]]
|
|
1355
|
+
[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1445
1356
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1446
1357
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1447
1358
|
[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]]
|
|
1448
|
-
[1m[36mPushType::User Exists (0.
|
|
1449
|
-
[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", 2017-05-
|
|
1359
|
+
[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]]
|
|
1360
|
+
[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Rs-zbfnCLipEK1yXn2Sa"], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1450
1361
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1451
1362
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1452
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1453
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1454
|
-
Sent mail to joe-18@example.com (
|
|
1455
|
-
Date:
|
|
1363
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
|
|
1364
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 39.7ms
|
|
1365
|
+
Sent mail to joe-18@example.com (3.3ms)
|
|
1366
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
1456
1367
|
From: pushtype@example.com
|
|
1457
1368
|
Reply-To: pushtype@example.com
|
|
1458
1369
|
To: joe-18@example.com
|
|
1459
|
-
Message-ID: <
|
|
1370
|
+
Message-ID: <591de577b1f0a_161843fe237c339b81019df@Aarons-iMac.local.mail>
|
|
1460
1371
|
Subject: [PushType] Confirm your account
|
|
1461
1372
|
Mime-Version: 1.0
|
|
1462
1373
|
Content-Type: multipart/alternative;
|
|
1463
|
-
boundary="--==
|
|
1374
|
+
boundary="--==_mimepart_591de577b1aff_161843fe237c339b810188";
|
|
1464
1375
|
charset=UTF-8
|
|
1465
1376
|
Content-Transfer-Encoding: 7bit
|
|
1466
1377
|
|
|
1467
1378
|
|
|
1468
|
-
----==
|
|
1379
|
+
----==_mimepart_591de577b1aff_161843fe237c339b810188
|
|
1469
1380
|
Content-Type: text/plain;
|
|
1470
1381
|
charset=UTF-8
|
|
1471
1382
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1481,12 +1392,12 @@ To get started, confirm your account and set your own password by
|
|
|
1481
1392
|
clicking the link below:
|
|
1482
1393
|
|
|
1483
1394
|
Confirm my account
|
|
1484
|
-
( http://localhost:3000/admin/confirmation.
|
|
1395
|
+
( http://localhost:3000/admin/confirmation.356c3f1c-8a2c-46cc-95c2-a56ced40a72b?confirmation_token=Rs-zbfnCLipEK1yXn2Sa )
|
|
1485
1396
|
|
|
1486
1397
|
|
|
1487
1398
|
PushType CMS: www.pushtype.org
|
|
1488
1399
|
( http://www.pushtype.org ).
|
|
1489
|
-
----==
|
|
1400
|
+
----==_mimepart_591de577b1aff_161843fe237c339b810188
|
|
1490
1401
|
Content-Type: text/html;
|
|
1491
1402
|
charset=UTF-8
|
|
1492
1403
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1531,7 +1442,7 @@ body {
|
|
|
1531
1442
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
1532
1443
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1533
1444
|
<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;">
|
|
1534
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
1445
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.356c3f1c-8a2c-46cc-95c2-a56ced40a72b?confirmation_token=Rs-zbfnCLipEK1yXn2Sa" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
1535
1446
|
</td>
|
|
1536
1447
|
</tr>
|
|
1537
1448
|
</table>
|
|
@@ -1576,32 +1487,32 @@ body {
|
|
|
1576
1487
|
</body>
|
|
1577
1488
|
</html>
|
|
1578
1489
|
|
|
1579
|
-
----==
|
|
1490
|
+
----==_mimepart_591de577b1aff_161843fe237c339b810188--
|
|
1580
1491
|
|
|
1581
1492
|
Processing by PushType::Admin::UsersController#invite as HTML
|
|
1582
|
-
Parameters: {"id"=>"
|
|
1583
|
-
[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", "
|
|
1584
|
-
[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", "
|
|
1493
|
+
Parameters: {"id"=>"356c3f1c-8a2c-46cc-95c2-a56ced40a72b"}
|
|
1494
|
+
[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", "67721768-a4b3-45f5-88c6-ee1caa0d55e5"], ["LIMIT", 1]]
|
|
1495
|
+
[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", "356c3f1c-8a2c-46cc-95c2-a56ced40a72b"], ["LIMIT", 1]]
|
|
1585
1496
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1586
1497
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1587
1498
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1588
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1499
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
1589
1500
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
|
1590
|
-
Sent mail to joe-18@example.com (3.
|
|
1591
|
-
Date:
|
|
1501
|
+
Sent mail to joe-18@example.com (3.4ms)
|
|
1502
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
1592
1503
|
From: pushtype@example.com
|
|
1593
1504
|
Reply-To: pushtype@example.com
|
|
1594
1505
|
To: joe-18@example.com
|
|
1595
|
-
Message-ID: <
|
|
1506
|
+
Message-ID: <591de577bba10_161843fe237c339b810221d@Aarons-iMac.local.mail>
|
|
1596
1507
|
Subject: [PushType] Confirm your account
|
|
1597
1508
|
Mime-Version: 1.0
|
|
1598
1509
|
Content-Type: multipart/alternative;
|
|
1599
|
-
boundary="--==
|
|
1510
|
+
boundary="--==_mimepart_591de577bb60a_161843fe237c339b8102131";
|
|
1600
1511
|
charset=UTF-8
|
|
1601
1512
|
Content-Transfer-Encoding: 7bit
|
|
1602
1513
|
|
|
1603
1514
|
|
|
1604
|
-
----==
|
|
1515
|
+
----==_mimepart_591de577bb60a_161843fe237c339b8102131
|
|
1605
1516
|
Content-Type: text/plain;
|
|
1606
1517
|
charset=UTF-8
|
|
1607
1518
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1617,12 +1528,12 @@ To get started, confirm your account and set your own password by
|
|
|
1617
1528
|
clicking the link below:
|
|
1618
1529
|
|
|
1619
1530
|
Confirm my account
|
|
1620
|
-
( http://localhost:3000/admin/confirmation.
|
|
1531
|
+
( http://localhost:3000/admin/confirmation.356c3f1c-8a2c-46cc-95c2-a56ced40a72b?confirmation_token=Rs-zbfnCLipEK1yXn2Sa )
|
|
1621
1532
|
|
|
1622
1533
|
|
|
1623
1534
|
PushType CMS: www.pushtype.org
|
|
1624
1535
|
( http://www.pushtype.org ).
|
|
1625
|
-
----==
|
|
1536
|
+
----==_mimepart_591de577bb60a_161843fe237c339b8102131
|
|
1626
1537
|
Content-Type: text/html;
|
|
1627
1538
|
charset=UTF-8
|
|
1628
1539
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1667,7 +1578,7 @@ body {
|
|
|
1667
1578
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
1668
1579
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1669
1580
|
<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;">
|
|
1670
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
1581
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.356c3f1c-8a2c-46cc-95c2-a56ced40a72b?confirmation_token=Rs-zbfnCLipEK1yXn2Sa" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
1671
1582
|
</td>
|
|
1672
1583
|
</tr>
|
|
1673
1584
|
</table>
|
|
@@ -1712,10 +1623,10 @@ body {
|
|
|
1712
1623
|
</body>
|
|
1713
1624
|
</html>
|
|
1714
1625
|
|
|
1715
|
-
----==
|
|
1626
|
+
----==_mimepart_591de577bb60a_161843fe237c339b8102131--
|
|
1716
1627
|
|
|
1717
1628
|
Redirected to http://test.host/push_type/users
|
|
1718
|
-
Completed 302 Found in
|
|
1629
|
+
Completed 302 Found in 39ms (ActiveRecord: 0.5ms)
|
|
1719
1630
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1720
1631
|
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
|
1721
1632
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
@@ -1723,36 +1634,36 @@ Completed 302 Found in 37ms (ActiveRecord: 0.4ms)
|
|
|
1723
1634
|
PushType::Admin::UsersControllerTest::PUT #invite: test_0002_anonymous
|
|
1724
1635
|
----------------------------------------------------------------------
|
|
1725
1636
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1726
|
-
[1m[35m (0.
|
|
1727
|
-
[1m[35m (0.
|
|
1637
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1638
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1728
1639
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1729
1640
|
[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]]
|
|
1730
1641
|
[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]]
|
|
1731
|
-
[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", 2017-05-
|
|
1642
|
+
[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1732
1643
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1733
1644
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1734
1645
|
[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-20@example.com"], ["LIMIT", 1]]
|
|
1735
|
-
[1m[36mPushType::User Exists (0.
|
|
1736
|
-
[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-20@example.com"], ["created_at", 2017-05-
|
|
1646
|
+
[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]]
|
|
1647
|
+
[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-20@example.com"], ["created_at", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "hBjy_nzwuaGugS2xFAbZ"], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
1737
1648
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1738
1649
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1739
1650
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
1740
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
1741
|
-
Sent mail to joe-20@example.com (3.
|
|
1742
|
-
Date:
|
|
1651
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
|
1652
|
+
Sent mail to joe-20@example.com (3.3ms)
|
|
1653
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
1743
1654
|
From: pushtype@example.com
|
|
1744
1655
|
Reply-To: pushtype@example.com
|
|
1745
1656
|
To: joe-20@example.com
|
|
1746
|
-
Message-ID: <
|
|
1657
|
+
Message-ID: <591de577c5a9f_161843fe237c339b810252@Aarons-iMac.local.mail>
|
|
1747
1658
|
Subject: [PushType] Confirm your account
|
|
1748
1659
|
Mime-Version: 1.0
|
|
1749
1660
|
Content-Type: multipart/alternative;
|
|
1750
|
-
boundary="--==
|
|
1661
|
+
boundary="--==_mimepart_591de577c5678_161843fe237c339b81024f0";
|
|
1751
1662
|
charset=UTF-8
|
|
1752
1663
|
Content-Transfer-Encoding: 7bit
|
|
1753
1664
|
|
|
1754
1665
|
|
|
1755
|
-
----==
|
|
1666
|
+
----==_mimepart_591de577c5678_161843fe237c339b81024f0
|
|
1756
1667
|
Content-Type: text/plain;
|
|
1757
1668
|
charset=UTF-8
|
|
1758
1669
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1768,12 +1679,12 @@ To get started, confirm your account and set your own password by
|
|
|
1768
1679
|
clicking the link below:
|
|
1769
1680
|
|
|
1770
1681
|
Confirm my account
|
|
1771
|
-
( http://localhost:3000/admin/confirmation.
|
|
1682
|
+
( http://localhost:3000/admin/confirmation.9da0f8be-8992-42af-99e1-53d5978ee757?confirmation_token=hBjy_nzwuaGugS2xFAbZ )
|
|
1772
1683
|
|
|
1773
1684
|
|
|
1774
1685
|
PushType CMS: www.pushtype.org
|
|
1775
1686
|
( http://www.pushtype.org ).
|
|
1776
|
-
----==
|
|
1687
|
+
----==_mimepart_591de577c5678_161843fe237c339b81024f0
|
|
1777
1688
|
Content-Type: text/html;
|
|
1778
1689
|
charset=UTF-8
|
|
1779
1690
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1818,7 +1729,7 @@ body {
|
|
|
1818
1729
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
1819
1730
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1820
1731
|
<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;">
|
|
1821
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
1732
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.9da0f8be-8992-42af-99e1-53d5978ee757?confirmation_token=hBjy_nzwuaGugS2xFAbZ" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
1822
1733
|
</td>
|
|
1823
1734
|
</tr>
|
|
1824
1735
|
</table>
|
|
@@ -1863,32 +1774,32 @@ body {
|
|
|
1863
1774
|
</body>
|
|
1864
1775
|
</html>
|
|
1865
1776
|
|
|
1866
|
-
----==
|
|
1777
|
+
----==_mimepart_591de577c5678_161843fe237c339b81024f0--
|
|
1867
1778
|
|
|
1868
1779
|
Processing by PushType::Admin::UsersController#invite as HTML
|
|
1869
|
-
Parameters: {"id"=>"
|
|
1870
|
-
[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", "
|
|
1871
|
-
[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", "
|
|
1780
|
+
Parameters: {"id"=>"9da0f8be-8992-42af-99e1-53d5978ee757"}
|
|
1781
|
+
[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", "d29308c6-7d78-4829-9f52-e773079b8709"], ["LIMIT", 1]]
|
|
1782
|
+
[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", "9da0f8be-8992-42af-99e1-53d5978ee757"], ["LIMIT", 1]]
|
|
1872
1783
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1873
1784
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1874
1785
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1875
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1876
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1877
|
-
Sent mail to joe-20@example.com (
|
|
1878
|
-
Date:
|
|
1786
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
1787
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
|
1788
|
+
Sent mail to joe-20@example.com (3.7ms)
|
|
1789
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
1879
1790
|
From: pushtype@example.com
|
|
1880
1791
|
Reply-To: pushtype@example.com
|
|
1881
1792
|
To: joe-20@example.com
|
|
1882
|
-
Message-ID: <
|
|
1793
|
+
Message-ID: <591de577ce694_161843fe237c339b8102850@Aarons-iMac.local.mail>
|
|
1883
1794
|
Subject: [PushType] Confirm your account
|
|
1884
1795
|
Mime-Version: 1.0
|
|
1885
1796
|
Content-Type: multipart/alternative;
|
|
1886
|
-
boundary="--==
|
|
1797
|
+
boundary="--==_mimepart_591de577ce233_161843fe237c339b810271c";
|
|
1887
1798
|
charset=UTF-8
|
|
1888
1799
|
Content-Transfer-Encoding: 7bit
|
|
1889
1800
|
|
|
1890
1801
|
|
|
1891
|
-
----==
|
|
1802
|
+
----==_mimepart_591de577ce233_161843fe237c339b810271c
|
|
1892
1803
|
Content-Type: text/plain;
|
|
1893
1804
|
charset=UTF-8
|
|
1894
1805
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1904,12 +1815,12 @@ To get started, confirm your account and set your own password by
|
|
|
1904
1815
|
clicking the link below:
|
|
1905
1816
|
|
|
1906
1817
|
Confirm my account
|
|
1907
|
-
( http://localhost:3000/admin/confirmation.
|
|
1818
|
+
( http://localhost:3000/admin/confirmation.9da0f8be-8992-42af-99e1-53d5978ee757?confirmation_token=hBjy_nzwuaGugS2xFAbZ )
|
|
1908
1819
|
|
|
1909
1820
|
|
|
1910
1821
|
PushType CMS: www.pushtype.org
|
|
1911
1822
|
( http://www.pushtype.org ).
|
|
1912
|
-
----==
|
|
1823
|
+
----==_mimepart_591de577ce233_161843fe237c339b810271c
|
|
1913
1824
|
Content-Type: text/html;
|
|
1914
1825
|
charset=UTF-8
|
|
1915
1826
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1954,7 +1865,7 @@ body {
|
|
|
1954
1865
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
1955
1866
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1956
1867
|
<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;">
|
|
1957
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
1868
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.9da0f8be-8992-42af-99e1-53d5978ee757?confirmation_token=hBjy_nzwuaGugS2xFAbZ" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
1958
1869
|
</td>
|
|
1959
1870
|
</tr>
|
|
1960
1871
|
</table>
|
|
@@ -1999,10 +1910,10 @@ body {
|
|
|
1999
1910
|
</body>
|
|
2000
1911
|
</html>
|
|
2001
1912
|
|
|
2002
|
-
----==
|
|
1913
|
+
----==_mimepart_591de577ce233_161843fe237c339b810271c--
|
|
2003
1914
|
|
|
2004
1915
|
Redirected to http://test.host/push_type/users
|
|
2005
|
-
Completed 302 Found in
|
|
1916
|
+
Completed 302 Found in 36ms (ActiveRecord: 0.4ms)
|
|
2006
1917
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2007
1918
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2008
1919
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
@@ -2014,32 +1925,32 @@ PushType::Admin::UsersControllerTest::PUT #invite: test_0003_anonymous
|
|
|
2014
1925
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2015
1926
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2016
1927
|
[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]]
|
|
2017
|
-
[1m[36mPushType::User Exists (0.
|
|
2018
|
-
[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", 2017-05-
|
|
1928
|
+
[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]]
|
|
1929
|
+
[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", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2017-05-18 18:18:31 UTC], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
2019
1930
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2020
1931
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2021
|
-
[1m[36mPushType::User Exists (0.
|
|
2022
|
-
[1m[36mPushType::User Exists (0.
|
|
2023
|
-
[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-22@example.com"], ["created_at", 2017-05-
|
|
1932
|
+
[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-22@example.com"], ["LIMIT", 1]]
|
|
1933
|
+
[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-22@example.com"], ["LIMIT", 1]]
|
|
1934
|
+
[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-22@example.com"], ["created_at", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "UJbUvJhe8sRxxLst4y4m"], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
2024
1935
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2025
1936
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2026
1937
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2027
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
2028
|
-
Sent mail to joe-22@example.com (3.
|
|
2029
|
-
Date:
|
|
1938
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
|
|
1939
|
+
Sent mail to joe-22@example.com (3.3ms)
|
|
1940
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
2030
1941
|
From: pushtype@example.com
|
|
2031
1942
|
Reply-To: pushtype@example.com
|
|
2032
1943
|
To: joe-22@example.com
|
|
2033
|
-
Message-ID: <
|
|
1944
|
+
Message-ID: <591de577d8c4f_161843fe237c339b8103178@Aarons-iMac.local.mail>
|
|
2034
1945
|
Subject: [PushType] Confirm your account
|
|
2035
1946
|
Mime-Version: 1.0
|
|
2036
1947
|
Content-Type: multipart/alternative;
|
|
2037
|
-
boundary="--==
|
|
1948
|
+
boundary="--==_mimepart_591de577d883f_161843fe237c339b810305c";
|
|
2038
1949
|
charset=UTF-8
|
|
2039
1950
|
Content-Transfer-Encoding: 7bit
|
|
2040
1951
|
|
|
2041
1952
|
|
|
2042
|
-
----==
|
|
1953
|
+
----==_mimepart_591de577d883f_161843fe237c339b810305c
|
|
2043
1954
|
Content-Type: text/plain;
|
|
2044
1955
|
charset=UTF-8
|
|
2045
1956
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2055,12 +1966,12 @@ To get started, confirm your account and set your own password by
|
|
|
2055
1966
|
clicking the link below:
|
|
2056
1967
|
|
|
2057
1968
|
Confirm my account
|
|
2058
|
-
( http://localhost:3000/admin/confirmation.
|
|
1969
|
+
( http://localhost:3000/admin/confirmation.d7c03379-da8a-4e40-bed6-a81694f72249?confirmation_token=UJbUvJhe8sRxxLst4y4m )
|
|
2059
1970
|
|
|
2060
1971
|
|
|
2061
1972
|
PushType CMS: www.pushtype.org
|
|
2062
1973
|
( http://www.pushtype.org ).
|
|
2063
|
-
----==
|
|
1974
|
+
----==_mimepart_591de577d883f_161843fe237c339b810305c
|
|
2064
1975
|
Content-Type: text/html;
|
|
2065
1976
|
charset=UTF-8
|
|
2066
1977
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2105,7 +2016,7 @@ body {
|
|
|
2105
2016
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
2106
2017
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2107
2018
|
<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;">
|
|
2108
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
2019
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d7c03379-da8a-4e40-bed6-a81694f72249?confirmation_token=UJbUvJhe8sRxxLst4y4m" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
2109
2020
|
</td>
|
|
2110
2021
|
</tr>
|
|
2111
2022
|
</table>
|
|
@@ -2150,32 +2061,32 @@ body {
|
|
|
2150
2061
|
</body>
|
|
2151
2062
|
</html>
|
|
2152
2063
|
|
|
2153
|
-
----==
|
|
2064
|
+
----==_mimepart_591de577d883f_161843fe237c339b810305c--
|
|
2154
2065
|
|
|
2155
2066
|
Processing by PushType::Admin::UsersController#invite as HTML
|
|
2156
|
-
Parameters: {"id"=>"
|
|
2157
|
-
[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", "
|
|
2158
|
-
[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", "
|
|
2067
|
+
Parameters: {"id"=>"d7c03379-da8a-4e40-bed6-a81694f72249"}
|
|
2068
|
+
[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", "0f27b865-4454-488f-8a65-95adfb6cd83f"], ["LIMIT", 1]]
|
|
2069
|
+
[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", "d7c03379-da8a-4e40-bed6-a81694f72249"], ["LIMIT", 1]]
|
|
2159
2070
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2160
2071
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2161
2072
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2162
2073
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2163
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
2164
|
-
Sent mail to joe-22@example.com (
|
|
2165
|
-
Date:
|
|
2074
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
|
|
2075
|
+
Sent mail to joe-22@example.com (4.0ms)
|
|
2076
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
2166
2077
|
From: pushtype@example.com
|
|
2167
2078
|
Reply-To: pushtype@example.com
|
|
2168
2079
|
To: joe-22@example.com
|
|
2169
|
-
Message-ID: <
|
|
2080
|
+
Message-ID: <591de577e227f_161843fe237c339b810347e@Aarons-iMac.local.mail>
|
|
2170
2081
|
Subject: [PushType] Confirm your account
|
|
2171
2082
|
Mime-Version: 1.0
|
|
2172
2083
|
Content-Type: multipart/alternative;
|
|
2173
|
-
boundary="--==
|
|
2084
|
+
boundary="--==_mimepart_591de577e1e43_161843fe237c339b810337";
|
|
2174
2085
|
charset=UTF-8
|
|
2175
2086
|
Content-Transfer-Encoding: 7bit
|
|
2176
2087
|
|
|
2177
2088
|
|
|
2178
|
-
----==
|
|
2089
|
+
----==_mimepart_591de577e1e43_161843fe237c339b810337
|
|
2179
2090
|
Content-Type: text/plain;
|
|
2180
2091
|
charset=UTF-8
|
|
2181
2092
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2191,12 +2102,12 @@ To get started, confirm your account and set your own password by
|
|
|
2191
2102
|
clicking the link below:
|
|
2192
2103
|
|
|
2193
2104
|
Confirm my account
|
|
2194
|
-
( http://localhost:3000/admin/confirmation.
|
|
2105
|
+
( http://localhost:3000/admin/confirmation.d7c03379-da8a-4e40-bed6-a81694f72249?confirmation_token=UJbUvJhe8sRxxLst4y4m )
|
|
2195
2106
|
|
|
2196
2107
|
|
|
2197
2108
|
PushType CMS: www.pushtype.org
|
|
2198
2109
|
( http://www.pushtype.org ).
|
|
2199
|
-
----==
|
|
2110
|
+
----==_mimepart_591de577e1e43_161843fe237c339b810337
|
|
2200
2111
|
Content-Type: text/html;
|
|
2201
2112
|
charset=UTF-8
|
|
2202
2113
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2241,7 +2152,7 @@ body {
|
|
|
2241
2152
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
2242
2153
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2243
2154
|
<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;">
|
|
2244
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
2155
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d7c03379-da8a-4e40-bed6-a81694f72249?confirmation_token=UJbUvJhe8sRxxLst4y4m" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
2245
2156
|
</td>
|
|
2246
2157
|
</tr>
|
|
2247
2158
|
</table>
|
|
@@ -2286,42 +2197,42 @@ body {
|
|
|
2286
2197
|
</body>
|
|
2287
2198
|
</html>
|
|
2288
2199
|
|
|
2289
|
-
----==
|
|
2200
|
+
----==_mimepart_591de577e1e43_161843fe237c339b810337--
|
|
2290
2201
|
|
|
2291
2202
|
Redirected to http://test.host/push_type/users
|
|
2292
|
-
Completed 302 Found in
|
|
2203
|
+
Completed 302 Found in 39ms (ActiveRecord: 0.5ms)
|
|
2293
2204
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2294
2205
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2295
|
-
[1m[35m (0.
|
|
2296
|
-
|
|
2297
|
-
PushType::
|
|
2298
|
-
|
|
2299
|
-
[1m[35m (0.
|
|
2300
|
-
[1m[35m (0.
|
|
2206
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
2207
|
+
------------------------------------------------------------------------------------------
|
|
2208
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
2209
|
+
------------------------------------------------------------------------------------------
|
|
2210
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2211
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2301
2212
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2302
2213
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2303
2214
|
[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-23@example.com"], ["LIMIT", 1]]
|
|
2304
2215
|
[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-23@example.com"], ["LIMIT", 1]]
|
|
2305
|
-
[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-23@example.com"], ["created_at", 2017-05-
|
|
2216
|
+
[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-23@example.com"], ["created_at", 2017-05-18 18:18:31 UTC], ["updated_at", 2017-05-18 18:18:31 UTC], ["confirmation_token", "RcmevTvLn8-Zd9ERSoTG"], ["confirmation_sent_at", 2017-05-18 18:18:31 UTC]]
|
|
2306
2217
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2307
2218
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2308
2219
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2309
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
2310
|
-
Sent mail to joe-23@example.com (
|
|
2311
|
-
Date:
|
|
2220
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
|
|
2221
|
+
Sent mail to joe-23@example.com (4.3ms)
|
|
2222
|
+
Date: Thu, 18 May 2017 19:18:31 +0100
|
|
2312
2223
|
From: pushtype@example.com
|
|
2313
2224
|
Reply-To: pushtype@example.com
|
|
2314
2225
|
To: joe-23@example.com
|
|
2315
|
-
Message-ID: <
|
|
2226
|
+
Message-ID: <591de577f1088_161843fe237c339b8103741@Aarons-iMac.local.mail>
|
|
2316
2227
|
Subject: [PushType] Confirm your account
|
|
2317
2228
|
Mime-Version: 1.0
|
|
2318
2229
|
Content-Type: multipart/alternative;
|
|
2319
|
-
boundary="--==
|
|
2230
|
+
boundary="--==_mimepart_591de577f0a9d_161843fe237c339b810364";
|
|
2320
2231
|
charset=UTF-8
|
|
2321
2232
|
Content-Transfer-Encoding: 7bit
|
|
2322
2233
|
|
|
2323
2234
|
|
|
2324
|
-
----==
|
|
2235
|
+
----==_mimepart_591de577f0a9d_161843fe237c339b810364
|
|
2325
2236
|
Content-Type: text/plain;
|
|
2326
2237
|
charset=UTF-8
|
|
2327
2238
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2337,12 +2248,12 @@ To get started, confirm your account and set your own password by
|
|
|
2337
2248
|
clicking the link below:
|
|
2338
2249
|
|
|
2339
2250
|
Confirm my account
|
|
2340
|
-
( http://localhost:3000/admin/confirmation.
|
|
2251
|
+
( http://localhost:3000/admin/confirmation.bad539f4-16cb-460c-9b91-7bfe0c754969?confirmation_token=RcmevTvLn8-Zd9ERSoTG )
|
|
2341
2252
|
|
|
2342
2253
|
|
|
2343
2254
|
PushType CMS: www.pushtype.org
|
|
2344
2255
|
( http://www.pushtype.org ).
|
|
2345
|
-
----==
|
|
2256
|
+
----==_mimepart_591de577f0a9d_161843fe237c339b810364
|
|
2346
2257
|
Content-Type: text/html;
|
|
2347
2258
|
charset=UTF-8
|
|
2348
2259
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2387,7 +2298,7 @@ body {
|
|
|
2387
2298
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
2388
2299
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2389
2300
|
<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;">
|
|
2390
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
2301
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.bad539f4-16cb-460c-9b91-7bfe0c754969?confirmation_token=RcmevTvLn8-Zd9ERSoTG" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
2391
2302
|
</td>
|
|
2392
2303
|
</tr>
|
|
2393
2304
|
</table>
|
|
@@ -2432,49 +2343,48 @@ body {
|
|
|
2432
2343
|
</body>
|
|
2433
2344
|
</html>
|
|
2434
2345
|
|
|
2435
|
-
----==
|
|
2346
|
+
----==_mimepart_591de577f0a9d_161843fe237c339b810364--
|
|
2436
2347
|
|
|
2348
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
|
2349
|
+
Parameters: {"user"=>{"confirmation_token"=>"RcmevTvLn8-Zd9ERSoTG", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
2350
|
+
[1m[36mPushType::User Load (0.3ms)[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", "RcmevTvLn8-Zd9ERSoTG"], ["LIMIT", 1]]
|
|
2351
|
+
[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-23@example.com"], ["id", "bad539f4-16cb-460c-9b91-7bfe0c754969"], ["LIMIT", 1]]
|
|
2352
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
2353
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.4ms)
|
|
2354
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (9.9ms)
|
|
2355
|
+
Completed 200 OK in 26ms (Views: 23.2ms | ActiveRecord: 0.5ms)
|
|
2437
2356
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2438
2357
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2439
2358
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2440
|
-
|
|
2441
|
-
PushType::
|
|
2442
|
-
|
|
2359
|
+
------------------------------------------------------------------------------------------
|
|
2360
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
|
|
2361
|
+
------------------------------------------------------------------------------------------
|
|
2443
2362
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2444
2363
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2445
2364
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2446
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2447
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2448
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
2449
|
-
----------------------------------------------------------------------------------------
|
|
2450
|
-
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
2451
|
-
----------------------------------------------------------------------------------------
|
|
2452
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2453
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2454
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2455
2365
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2456
2366
|
[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-24@example.com"], ["LIMIT", 1]]
|
|
2457
2367
|
[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-24@example.com"], ["LIMIT", 1]]
|
|
2458
|
-
[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-24@example.com"], ["created_at", 2017-05-
|
|
2368
|
+
[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-24@example.com"], ["created_at", 2017-05-18 18:18:32 UTC], ["updated_at", 2017-05-18 18:18:32 UTC], ["confirmation_token", "f_XmzT6yyU9FpF8yo1AG"], ["confirmation_sent_at", 2017-05-18 18:18:32 UTC]]
|
|
2459
2369
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2460
2370
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2461
2371
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2462
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.
|
|
2463
|
-
Sent mail to joe-24@example.com (
|
|
2464
|
-
Date:
|
|
2372
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
|
|
2373
|
+
Sent mail to joe-24@example.com (4.5ms)
|
|
2374
|
+
Date: Thu, 18 May 2017 19:18:32 +0100
|
|
2465
2375
|
From: pushtype@example.com
|
|
2466
2376
|
Reply-To: pushtype@example.com
|
|
2467
2377
|
To: joe-24@example.com
|
|
2468
|
-
Message-ID: <
|
|
2378
|
+
Message-ID: <591de578fb1e_161843fe237c339b81040a7@Aarons-iMac.local.mail>
|
|
2469
2379
|
Subject: [PushType] Confirm your account
|
|
2470
2380
|
Mime-Version: 1.0
|
|
2471
2381
|
Content-Type: multipart/alternative;
|
|
2472
|
-
boundary="--==
|
|
2382
|
+
boundary="--==_mimepart_591de578f56c_161843fe237c339b81039aa";
|
|
2473
2383
|
charset=UTF-8
|
|
2474
2384
|
Content-Transfer-Encoding: 7bit
|
|
2475
2385
|
|
|
2476
2386
|
|
|
2477
|
-
----==
|
|
2387
|
+
----==_mimepart_591de578f56c_161843fe237c339b81039aa
|
|
2478
2388
|
Content-Type: text/plain;
|
|
2479
2389
|
charset=UTF-8
|
|
2480
2390
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2490,12 +2400,12 @@ To get started, confirm your account and set your own password by
|
|
|
2490
2400
|
clicking the link below:
|
|
2491
2401
|
|
|
2492
2402
|
Confirm my account
|
|
2493
|
-
( http://localhost:3000/admin/confirmation.
|
|
2403
|
+
( http://localhost:3000/admin/confirmation.475ade60-9800-47d2-bf37-7e775239edf2?confirmation_token=f_XmzT6yyU9FpF8yo1AG )
|
|
2494
2404
|
|
|
2495
2405
|
|
|
2496
2406
|
PushType CMS: www.pushtype.org
|
|
2497
2407
|
( http://www.pushtype.org ).
|
|
2498
|
-
----==
|
|
2408
|
+
----==_mimepart_591de578f56c_161843fe237c339b81039aa
|
|
2499
2409
|
Content-Type: text/html;
|
|
2500
2410
|
charset=UTF-8
|
|
2501
2411
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2540,7 +2450,7 @@ body {
|
|
|
2540
2450
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
2541
2451
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2542
2452
|
<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;">
|
|
2543
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
2453
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.475ade60-9800-47d2-bf37-7e775239edf2?confirmation_token=f_XmzT6yyU9FpF8yo1AG" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
2544
2454
|
</td>
|
|
2545
2455
|
</tr>
|
|
2546
2456
|
</table>
|
|
@@ -2585,53 +2495,48 @@ body {
|
|
|
2585
2495
|
</body>
|
|
2586
2496
|
</html>
|
|
2587
2497
|
|
|
2588
|
-
----==
|
|
2498
|
+
----==_mimepart_591de578f56c_161843fe237c339b81039aa--
|
|
2589
2499
|
|
|
2590
2500
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
2591
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
2592
|
-
[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", "
|
|
2593
|
-
[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-24@example.com"], ["id", "
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
[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", 2017-05-06 16:14:59 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2017-05-06 16:14:59 UTC], ["last_sign_in_at", 2017-05-06 16:14:59 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "49c976d1-800b-47b4-9ce4-b4ebba17d1a5"]]
|
|
2599
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2600
|
-
Redirected to http://test.host/admin/
|
|
2601
|
-
Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
|
|
2602
|
-
[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", "49c976d1-800b-47b4-9ce4-b4ebba17d1a5"], ["LIMIT", 1]]
|
|
2501
|
+
Parameters: {"user"=>{"confirmation_token"=>"f_XmzT6yyU9FpF8yo1AG", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
2502
|
+
[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", "f_XmzT6yyU9FpF8yo1AG"], ["LIMIT", 1]]
|
|
2503
|
+
[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-24@example.com"], ["id", "475ade60-9800-47d2-bf37-7e775239edf2"], ["LIMIT", 1]]
|
|
2504
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
2505
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
|
|
2506
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
|
|
2507
|
+
Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.4ms)
|
|
2603
2508
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2604
2509
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2605
2510
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2606
|
-
|
|
2607
|
-
PushType::ConfirmationsControllerTest::PUT #update::with
|
|
2608
|
-
|
|
2609
|
-
[1m[35m (0.
|
|
2610
|
-
[1m[35m (0.
|
|
2511
|
+
------------------------------------------------------------------------------------------
|
|
2512
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
2513
|
+
------------------------------------------------------------------------------------------
|
|
2514
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2515
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2611
2516
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2612
2517
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2518
|
+
[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-25@example.com"], ["LIMIT", 1]]
|
|
2613
2519
|
[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-25@example.com"], ["LIMIT", 1]]
|
|
2614
|
-
[1m[
|
|
2615
|
-
[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-25@example.com"], ["created_at", 2017-05-06 16:14:59 UTC], ["updated_at", 2017-05-06 16:14:59 UTC], ["confirmation_token", "zxXjE29ga2SYvyHjHmAU"], ["confirmation_sent_at", 2017-05-06 16:14:59 UTC]]
|
|
2520
|
+
[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-25@example.com"], ["created_at", 2017-05-18 18:18:32 UTC], ["updated_at", 2017-05-18 18:18:32 UTC], ["confirmation_token", "MMEZxksZu4XnV-sFD9TJ"], ["confirmation_sent_at", 2017-05-18 18:18:32 UTC]]
|
|
2616
2521
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2617
2522
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2618
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
2619
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
2620
|
-
Sent mail to joe-25@example.com (
|
|
2621
|
-
Date:
|
|
2523
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.6ms)
|
|
2524
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 4.0ms
|
|
2525
|
+
Sent mail to joe-25@example.com (4.6ms)
|
|
2526
|
+
Date: Thu, 18 May 2017 19:18:32 +0100
|
|
2622
2527
|
From: pushtype@example.com
|
|
2623
2528
|
Reply-To: pushtype@example.com
|
|
2624
2529
|
To: joe-25@example.com
|
|
2625
|
-
Message-ID: <
|
|
2530
|
+
Message-ID: <591de5781f04b_161843fe237c339b810435a@Aarons-iMac.local.mail>
|
|
2626
2531
|
Subject: [PushType] Confirm your account
|
|
2627
2532
|
Mime-Version: 1.0
|
|
2628
2533
|
Content-Type: multipart/alternative;
|
|
2629
|
-
boundary="--==
|
|
2534
|
+
boundary="--==_mimepart_591de5781e97a_161843fe237c339b810421e";
|
|
2630
2535
|
charset=UTF-8
|
|
2631
2536
|
Content-Transfer-Encoding: 7bit
|
|
2632
2537
|
|
|
2633
2538
|
|
|
2634
|
-
----==
|
|
2539
|
+
----==_mimepart_591de5781e97a_161843fe237c339b810421e
|
|
2635
2540
|
Content-Type: text/plain;
|
|
2636
2541
|
charset=UTF-8
|
|
2637
2542
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2647,12 +2552,12 @@ To get started, confirm your account and set your own password by
|
|
|
2647
2552
|
clicking the link below:
|
|
2648
2553
|
|
|
2649
2554
|
Confirm my account
|
|
2650
|
-
( http://localhost:3000/admin/confirmation.
|
|
2555
|
+
( http://localhost:3000/admin/confirmation.804578d5-8494-4196-ad36-32cdff6563c6?confirmation_token=MMEZxksZu4XnV-sFD9TJ )
|
|
2651
2556
|
|
|
2652
2557
|
|
|
2653
2558
|
PushType CMS: www.pushtype.org
|
|
2654
2559
|
( http://www.pushtype.org ).
|
|
2655
|
-
----==
|
|
2560
|
+
----==_mimepart_591de5781e97a_161843fe237c339b810421e
|
|
2656
2561
|
Content-Type: text/html;
|
|
2657
2562
|
charset=UTF-8
|
|
2658
2563
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2697,7 +2602,7 @@ body {
|
|
|
2697
2602
|
<table style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; width: 100%; margin: 0; padding: 0;">
|
|
2698
2603
|
<tr style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2699
2604
|
<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;">
|
|
2700
|
-
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.
|
|
2605
|
+
<p style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.6; font-weight: normal; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.804578d5-8494-4196-ad36-32cdff6563c6?confirmation_token=MMEZxksZu4XnV-sFD9TJ" style="font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; margin: 0 10px 0 0; padding: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px; font-size: 100%; line-height: 2; color: #FFF; text-decoration: none; background-color: #348eda; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 25px;">Confirm my account</a></p>
|
|
2701
2606
|
</td>
|
|
2702
2607
|
</tr>
|
|
2703
2608
|
</table>
|
|
@@ -2742,19 +2647,114 @@ body {
|
|
|
2742
2647
|
</body>
|
|
2743
2648
|
</html>
|
|
2744
2649
|
|
|
2745
|
-
----==
|
|
2650
|
+
----==_mimepart_591de5781e97a_161843fe237c339b810421e--
|
|
2746
2651
|
|
|
2747
2652
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
2748
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
2749
|
-
[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", "
|
|
2750
|
-
[1m[36mPushType::User Exists (0.
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
[1m[
|
|
2756
|
-
[1m[35m (0.1ms)[0m [1m[
|
|
2757
|
-
|
|
2758
|
-
|
|
2653
|
+
Parameters: {"user"=>{"confirmation_token"=>"MMEZxksZu4XnV-sFD9TJ", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
2654
|
+
[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", "MMEZxksZu4XnV-sFD9TJ"], ["LIMIT", 1]]
|
|
2655
|
+
[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-25@example.com"], ["id", "804578d5-8494-4196-ad36-32cdff6563c6"], ["LIMIT", 1]]
|
|
2656
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
2657
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
|
|
2658
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.8ms)
|
|
2659
|
+
Completed 200 OK in 10ms (Views: 6.4ms | ActiveRecord: 0.4ms)
|
|
2660
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2661
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2662
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2663
|
+
----------------------------------------------------
|
|
2664
|
+
PushType::InvitationMethodsTest: test_0001_anonymous
|
|
2665
|
+
----------------------------------------------------
|
|
2666
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2667
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2668
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2669
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2670
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2671
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2672
|
+
------------------------------------------------------------------------------------------------------
|
|
2673
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
|
2674
|
+
------------------------------------------------------------------------------------------------------
|
|
2675
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2676
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2677
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2678
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
2679
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
|
2680
|
+
[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]]
|
|
2681
|
+
[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]]
|
|
2682
|
+
[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", "22b7100c66bfb80eeb43f059f4a3da3686cc51062d89a24cc91eb7e580205b91"], ["LIMIT", 1]]
|
|
2683
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
2684
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
2685
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (4.0ms)
|
|
2686
|
+
Completed 200 OK in 214ms (Views: 11.0ms | ActiveRecord: 0.5ms)
|
|
2687
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2688
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2689
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2690
|
+
------------------------------------------------------------------------------------------------------
|
|
2691
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
|
2692
|
+
------------------------------------------------------------------------------------------------------
|
|
2693
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2694
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2695
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2696
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
2697
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
|
2698
|
+
[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]]
|
|
2699
|
+
[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]]
|
|
2700
|
+
[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", "22b7100c66bfb80eeb43f059f4a3da3686cc51062d89a24cc91eb7e580205b91"], ["LIMIT", 1]]
|
|
2701
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
2702
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
2703
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.3ms)
|
|
2704
|
+
Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.3ms)
|
|
2705
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2706
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2707
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
2708
|
+
----------------------------------------------------------------------------
|
|
2709
|
+
AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous
|
|
2710
|
+
----------------------------------------------------------------------------
|
|
2711
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2712
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2713
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2714
|
+
Started GET "/api/nodes" for 127.0.0.1 at 2017-05-18 19:18:32 +0100
|
|
2715
|
+
Processing by PushType::Api::NodesController#index as JSON
|
|
2716
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
|
2717
|
+
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
|
|
2718
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2719
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2720
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2721
|
+
---------------------------------------------------------------
|
|
2722
|
+
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
|
2723
|
+
---------------------------------------------------------------
|
|
2724
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2725
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2726
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2727
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2728
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2729
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2730
|
+
---------------------------------------------------------------
|
|
2731
|
+
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
|
2732
|
+
---------------------------------------------------------------
|
|
2733
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2734
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2735
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2736
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2737
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2738
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2739
|
+
---------------------------------------------------------------
|
|
2740
|
+
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
|
2741
|
+
---------------------------------------------------------------
|
|
2742
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2743
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2744
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2745
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2746
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2747
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2748
|
+
-------------------------------------------------------------------------
|
|
2749
|
+
AuthenticatedControllerTest::unauthenticated request: test_0001_anonymous
|
|
2750
|
+
-------------------------------------------------------------------------
|
|
2751
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2752
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2753
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2754
|
+
Started GET "/admin/nodes" for 127.0.0.1 at 2017-05-18 19:18:32 +0100
|
|
2755
|
+
Processing by PushType::Admin::NodesController#index as HTML
|
|
2756
|
+
Redirected to http://www.example.com/admin/sign_in
|
|
2757
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
|
2758
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
2759
2759
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2760
2760
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|