push_type_auth 0.10.0.beta.3 → 0.10.0.beta.5
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/app/controllers/push_type/auth_controller.rb +17 -0
- data/app/helpers/push_type/auth_helper.rb +5 -0
- data/app/views/layouts/push_type/auth.html.erb +1 -1
- data/config/initializers/devise.rb +3 -0
- data/config/routes.rb +1 -1
- data/test/controllers/push_type/auth_controller_test.rb +7 -0
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20161116222934_create_push_type_users.push_type.rb → 20161117154613_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161116222935_create_push_type_nodes.push_type.rb → 20161117154614_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161116222936_create_push_type_node_hierarchies.push_type.rb → 20161117154615_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161116222937_create_push_type_assets.push_type.rb → 20161117154616_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161116222938_add_field_store_default_values.push_type.rb → 20161117154617_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161116222939_drop_legacy_push_type_taxonomies.push_type.rb → 20161117154618_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20161116222940_devise_extend_push_type_users.push_type_auth.rb → 20161117154619_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 +850 -850
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/-u/-uA3ner0KC5JP2cgDrCF-EW4eJJjbbrSXo0mid0Lkpc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/3O/3OSvESZHwsmJZcTIspnlF01U6ojhEQ9ieu_dNmSP4fM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{V9/V9XX7NKrCzek7x0LkT1EvQUSTtan_LUz5QALLNnIlbU.cache → Cu/Cu95HOeuYx3eBsNSNUQmudIe3mzpg8Ec_3qGXhoFL64.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cu → Cu}/cuPU9xIfihBdB1wVF4O7YtxB9Ml2l2aUIZTdRa89yJs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{VB/VBVng99IosX1kRHfzQTbDhYKGtX6hszL9epabLWLpBk.cache → K3/K3vx_EKfCpzmIdo7jrOa_5R0vjJPnmTjBtH56Wsdt6w.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{rh/rhGb9rt8pwubOFOL3GS5uV87LghkNa5k9yt8ZLosPoI.cache → Pv/Pva-QI8VTid93HRJYYn0W7nrWgtNyy430BeLt2_qauE.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{pv → Pv}/pvK2qYi5PX3OV5hnjBsWcpBFRewHA5xGdRe1XS908kU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{V-/V-FLQEYJVQK3ikzBTtQpVcIkI3DnEQmNdWAMJvbgrJM.cache → Q-/Q-B0KjMjeZvFEILBNwaZ3canWwqm1KdOv3vK7gxyGl4.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/V4/V4Z5NswvwJe0sjx2f-PpdeYMd_f9NrvkHNvGtWCId2s.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yg/Yg7x_SeJVjWObBMrvjJlYzt_NHDWapfLi8j9JsxtcIk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Gr/Grj-J90RnjRlJaFuMZATJxGTvQZRDGD053IHnj8Y_Ro.cache → ZZ/ZZ7607am6Ae1GUHaDTN11SAKDGzTNAb_MfObVWfY6-c.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Zz → ZZ}/Zz4ooiEyGY1LWqg-z3eJ7TvTPBwNYgZ4i0gawFnxC3I.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Zz → ZZ}/zzMATx5AELoZwySbX4AyioljtaXA4azoqZQr3YwVscE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zw/ZWNd-UXV0xpgcmo0JjbKJN5tyYJ5EMVnkKK1FoN321Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/c9/c91vSpII3Sqf5SqPgMSaVb7ztdOIRs8mA6JXFwwBnyE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/dm/dmIWp3QDSff8nWm7N9Y3htzjHvHSFC_XC3CaVXDIrZM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/h6/H6n13_F6qgolR_b4bPWT5jrgAmT7OtEcZm6F32trMDg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{IU → iu}/IUrx_cz11W6a7Js_I-zzSgQEpw58K2zYnJsvznf71Pg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{IU → iu}/iueRqT5f_OEnnwWdS4llGbZmYIG3GbfMUoCvqcj3Lww.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{IZ/IZaPz10rLofSI1i_15PuR05lJvrFSZZYgrIohGe4pEk.cache → jF/JfFY8lonU0I2AsjpzdVowD_AffLyeoyVuKpJsOYEcIo.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rc/RcIJ3oZ3acP0fYMMEQKIatsIvlZNjIcg8-q0pEJ8AiY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/tL/TlKBfTWl0DYv-eJ_kRs8pmYqovVrqylGfemHNyQkJYY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{uH/uHzFE0QV-BXtlz0RhLwiGu4tbCeEhK-Ep89fXqlzZ4U.cache → tt/tt8CCaYLaRc8blfKCYrHNUSTlnXLkRDBgCbshaFbjbM.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/uk/UKN7Zp2jICMXkcPuptMjtj-3Zf2lwQIr032GHSdlM-w.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{5L/5LDkBK_8_crN3At2JHpsVbdt6KxeUZF4xdrU4QWrQMY.cache → vn/vnS8iRHnjRA-xraHK0MkzVsrys1g7mm2NOoBd3dHSCg.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{XM → xM}/XM3DBlByPxBkHmk_0YnTMQRksSqlxv1pXVEhlfudgp8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{XM → xM}/xM5dCtEPcOYxMSYPooGY0_4u2CGeuPmpv3UpjTL_fr0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{YI → yi}/YIwPgyIyY2ckKJBjv0IGN2eNWiG0R6cqt4K7JY3H5Sc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{YI → yi}/yict4FJOAq2YqQ0pSFNtz7mcoJXKPqQrgRP1O3o5Z0s.cache +0 -0
- metadata +61 -58
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f2936f3adac3fafad870ff30bd1035c7a934407
|
|
4
|
+
data.tar.gz: 57d24f589ad62edb63c66a5552ac4952ecd2bf71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3862c5f5f5cf64e884b162679d0a4457448b41fb285dd0168b89f7be8f028cb5775121115500ec659fb8270ca8ddaa530f1c5697604b4ffadb3a21af77328297
|
|
7
|
+
data.tar.gz: c8cb1bfa9a3d21014ff47aa567ab5bbc394530d2bad84b4ebd112587de76c489f610254db367a5e2adfbd67eef9c0941f9891a8b5680ea167a9ed1efd29cdc71
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module PushType
|
|
2
|
+
class AuthController < ActionController::Base
|
|
3
|
+
|
|
4
|
+
include AuthHelper
|
|
5
|
+
|
|
6
|
+
protected
|
|
7
|
+
|
|
8
|
+
def after_sign_in_path_for(resource_or_scope)
|
|
9
|
+
stored_location_for(resource_or_scope) || push_type_admin.root_path
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def after_sign_out_path_for(resource_or_scope)
|
|
13
|
+
push_type_admin.new_user_session_path
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
</ul>
|
|
23
23
|
<section class="top-bar-section">
|
|
24
24
|
<ul class="right">
|
|
25
|
-
<%= content_tag :li, link_to(ficon(:home, 'Back to site'),
|
|
25
|
+
<%= content_tag :li, link_to(ficon(:home, 'Back to site'), home_path), :'data-no-turbolink' => true %>
|
|
26
26
|
</ul>
|
|
27
27
|
</section>
|
|
28
28
|
</nav>
|
|
@@ -253,6 +253,9 @@ Devise.setup do |config|
|
|
|
253
253
|
# The router that invoked `devise_for`, in the example above, would be:
|
|
254
254
|
config.router_name = :push_type_admin
|
|
255
255
|
|
|
256
|
+
# Ensure Devise's controllers inherit from the engine's controller
|
|
257
|
+
config.parent_controller = 'PushType::AuthController'
|
|
258
|
+
|
|
256
259
|
# When using omniauth, Devise cannot automatically set Omniauth path,
|
|
257
260
|
# so you need to do it manually. For the users scope, it would be:
|
|
258
261
|
# config.omniauth_path_prefix = '/my_engine/users/auth'
|
data/config/routes.rb
CHANGED
|
@@ -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 = 'bb6a27a93a85eefcff08407adfcfc8f4dea73338b2c5a6a57aa4bfda804bf876'
|
|
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: 449a1899c4fa64639d8c80d3163398d74fb2a5acfa2fcea9dd95718ea4b926732b6e1588fb58fa1316d814e295ede5940611d6ff742eb0db494f9ad41a993f4a
|
|
15
15
|
|
|
16
16
|
test:
|
|
17
|
-
secret_key_base:
|
|
17
|
+
secret_key_base: 5a798740dfe071f618662865b31706f74eec89e8a5aca990c40d189593979e2eedbb0c68cfb3db3ddcfd81f3533a6c7c156959a31d55f60017ec18f087e97c75
|
|
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: 20161117154619) 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,83 +1,83 @@
|
|
|
1
1
|
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
|
2
2
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
3
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-
|
|
4
|
-
[1m[35m (0.
|
|
3
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-17 15:46:08 UTC], ["updated_at", 2016-11-17 15:46:08 UTC]]
|
|
4
|
+
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
|
|
5
5
|
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
6
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 (3.
|
|
14
|
-
[1m[35m (
|
|
15
|
-
[1m[35m (0.
|
|
11
|
+
[1m[35m (199.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
|
12
|
+
[1m[35m (403.1ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
|
|
13
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
|
|
14
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
|
15
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(2735718569030447490);[0m
|
|
16
16
|
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
17
|
-
Migrating to CreatePushTypeUsers (
|
|
17
|
+
Migrating to CreatePushTypeUsers (20161117154613)
|
|
18
18
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
19
|
-
[1m[35mSQL (2.
|
|
20
|
-
[1m[35m (2.
|
|
21
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
|
22
|
-
[1m[35m (0.
|
|
23
|
-
Migrating to CreatePushTypeNodes (
|
|
19
|
+
[1m[35mSQL (2.0ms)[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", "20161117154613"]]
|
|
22
|
+
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
|
23
|
+
Migrating to CreatePushTypeNodes (20161117154614)
|
|
24
24
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
25
|
-
[1m[35m (2.
|
|
26
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
|
25
|
+
[1m[35m (2.0ms)[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.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161117154614"]]
|
|
27
27
|
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
28
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
|
28
|
+
Migrating to CreatePushTypeNodeHierarchies (20161117154615)
|
|
29
29
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
30
|
-
[1m[35m (0.
|
|
31
|
-
[1m[35m (0.
|
|
30
|
+
[1m[35m (0.5ms)[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.8ms)[0m [1m[35mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
|
32
32
|
[1m[35m (0.5ms)[0m [1m[35mCREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")[0m
|
|
33
|
-
[1m[35mSQL (0.
|
|
33
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161117154615"]]
|
|
34
34
|
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
35
|
-
Migrating to CreatePushTypeAssets (
|
|
35
|
+
Migrating to CreatePushTypeAssets (20161117154616)
|
|
36
36
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
37
|
-
[1m[35m (
|
|
38
|
-
[1m[35mSQL (0.
|
|
39
|
-
[1m[35m (0.
|
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
|
37
|
+
[1m[35m (1.8ms)[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.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161117154616"]]
|
|
39
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20161117154617)
|
|
41
41
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
42
|
-
[1m[35m (0.
|
|
42
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb[0m
|
|
43
43
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'[0m
|
|
44
|
-
[1m[35m (0.
|
|
45
|
-
[1m[35m (0.
|
|
46
|
-
[1m[35m (0.
|
|
44
|
+
[1m[35m (0.2ms)[0m [1m[33mUPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
|
45
|
+
[1m[35m (0.1ms)[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
47
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'[0m
|
|
48
48
|
[1m[35m (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
|
49
49
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL[0m
|
|
50
|
-
[1m[35mSQL (0.
|
|
51
|
-
[1m[35m (0.
|
|
52
|
-
Migrating to DropLegacyPushTypeTaxonomies (
|
|
50
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161117154617"]]
|
|
51
|
+
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
|
52
|
+
Migrating to DropLegacyPushTypeTaxonomies (20161117154618)
|
|
53
53
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
54
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
|
55
|
-
[1m[35m (0.
|
|
56
|
-
Migrating to DeviseExtendPushTypeUsers (
|
|
54
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161117154618"]]
|
|
55
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
|
56
|
+
Migrating to DeviseExtendPushTypeUsers (20161117154619)
|
|
57
57
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
58
|
-
[1m[35m (
|
|
58
|
+
[1m[35m (2.7ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL[0m
|
|
59
59
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "reset_password_token" character varying[0m
|
|
60
60
|
[1m[35m (0.2ms)[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.
|
|
62
|
+
[1m[35m (2.2ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL[0m
|
|
63
63
|
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp[0m
|
|
64
|
-
[1m[35m (0.
|
|
64
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp[0m
|
|
65
65
|
[1m[35m (0.1ms)[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
69
|
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp[0m
|
|
70
|
-
[1m[35m (0.
|
|
71
|
-
[1m[35m (0.
|
|
72
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "
|
|
73
|
-
[1m[35m (1.
|
|
74
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
|
70
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")[0m
|
|
71
|
+
[1m[35m (0.5ms)[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", "20161117154619"]]
|
|
73
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
|
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.
|
|
77
|
-
[1m[35m (0.
|
|
76
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-17 15:46:16 UTC], ["updated_at", 2016-11-17 15:46:16 UTC]]
|
|
77
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
|
78
78
|
[1m[35m (0.1ms)[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
|
-
[1m[35m (1.
|
|
80
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
81
81
|
FROM pg_constraint c
|
|
82
82
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
83
83
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -89,7 +89,7 @@ WHERE c.contype = 'f'
|
|
|
89
89
|
AND t3.nspname = ANY (current_schemas(false))
|
|
90
90
|
ORDER BY c.conname
|
|
91
91
|
[0m
|
|
92
|
-
[1m[35m (1.
|
|
92
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
93
93
|
FROM pg_constraint c
|
|
94
94
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
95
95
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -101,7 +101,7 @@ WHERE c.contype = 'f'
|
|
|
101
101
|
AND t3.nspname = ANY (current_schemas(false))
|
|
102
102
|
ORDER BY c.conname
|
|
103
103
|
[0m
|
|
104
|
-
[1m[35m (1.
|
|
104
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
105
105
|
FROM pg_constraint c
|
|
106
106
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
107
107
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -113,7 +113,7 @@ WHERE c.contype = 'f'
|
|
|
113
113
|
AND t3.nspname = ANY (current_schemas(false))
|
|
114
114
|
ORDER BY c.conname
|
|
115
115
|
[0m
|
|
116
|
-
[1m[35m (1.
|
|
116
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
|
117
117
|
FROM pg_constraint c
|
|
118
118
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
119
119
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -128,56 +128,141 @@ ORDER BY c.conname
|
|
|
128
128
|
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
129
129
|
Creating scope :published. Overwriting existing method PushType::Node.published.
|
|
130
130
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
131
|
-
[1m[35m (0.
|
|
131
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL[0m
|
|
132
132
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
|
133
|
-
[1m[35m (
|
|
133
|
+
[1m[35m (1.0ms)[0m [1m[34m SELECT schemaname || '.' || tablename
|
|
134
134
|
FROM pg_tables
|
|
135
135
|
WHERE
|
|
136
136
|
tablename !~ '_prt_' AND
|
|
137
137
|
tablename <> 'schema_migrations' AND
|
|
138
138
|
schemaname = ANY (current_schemas(false))
|
|
139
139
|
[0m
|
|
140
|
-
[1m[35m (
|
|
141
|
-
[1m[35m (9.
|
|
140
|
+
[1m[35m (0.9ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'dummy_test'[0m
|
|
141
|
+
[1m[35m (9.8ms)[0m [1m[35mTRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;[0m
|
|
142
142
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
143
143
|
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL[0m
|
|
144
144
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
|
145
145
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
146
|
-
|
|
147
|
-
PushType::ConfirmationsControllerTest::GET #show::with
|
|
148
|
-
|
|
146
|
+
------------------------------------------------------------------------------------------------------
|
|
147
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
|
148
|
+
------------------------------------------------------------------------------------------------------
|
|
149
149
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
150
150
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
151
151
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
[1m[36mPushType::User
|
|
155
|
-
[1m[
|
|
156
|
-
[1m[
|
|
157
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/
|
|
158
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/
|
|
152
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
153
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
|
154
|
+
[1m[36mPushType::User Load (0.4ms)[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]]
|
|
155
|
+
[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]]
|
|
156
|
+
[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", "a168dc8277b63168238969053cff2c04941280886be3437deff95405123e07e0"], ["LIMIT", 1]]
|
|
157
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
158
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.3ms)
|
|
159
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (18.4ms)
|
|
159
160
|
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
|
|
160
161
|
in a future version of Sass. To preserve the current behavior, use quotes:
|
|
161
162
|
|
|
162
163
|
unquote("#{lower-bound($medium-range)}")
|
|
163
164
|
|
|
164
165
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
Completed 200 OK in 13468ms (Views: 13254.9ms | ActiveRecord: 3.3ms)
|
|
167
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
168
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
|
169
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
170
|
+
------------------------------------------------------------------------------------------------------
|
|
171
|
+
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
|
172
|
+
------------------------------------------------------------------------------------------------------
|
|
173
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
174
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
175
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
176
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
177
|
+
Parameters: {"confirmation_token"=>"invalid"}
|
|
178
|
+
[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", "invalid"], ["LIMIT", 1]]
|
|
179
|
+
[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]]
|
|
180
|
+
[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", "a168dc8277b63168238969053cff2c04941280886be3437deff95405123e07e0"], ["LIMIT", 1]]
|
|
181
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
182
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
183
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.7ms)
|
|
184
|
+
Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.6ms)
|
|
185
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
186
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
187
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
188
|
+
--------------------------------------------------------
|
|
189
|
+
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
|
190
|
+
--------------------------------------------------------
|
|
191
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
192
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
193
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
194
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
195
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
196
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
197
|
+
--------------------------------------------------------
|
|
198
|
+
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
|
199
|
+
--------------------------------------------------------
|
|
200
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
201
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
202
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
203
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
204
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
205
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
206
|
+
----------------------------------------------------------------------------
|
|
207
|
+
AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous
|
|
208
|
+
----------------------------------------------------------------------------
|
|
209
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
210
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
211
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
212
|
+
Started GET "/api/nodes" for 127.0.0.1 at 2016-11-17 15:46:34 +0000
|
|
213
|
+
Processing by PushType::Api::NodesController#index as JSON
|
|
214
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
|
215
|
+
Completed 401 Unauthorized in 17ms (ActiveRecord: 0.0ms)
|
|
216
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
217
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
218
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
219
|
+
----------------------------------------------------------------
|
|
220
|
+
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
|
221
|
+
----------------------------------------------------------------
|
|
222
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
223
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
224
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
225
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
226
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
227
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
228
|
+
---------------------------------------------------------------
|
|
229
|
+
PushType::AuthenticatableTest::recoverable: test_0001_anonymous
|
|
230
|
+
---------------------------------------------------------------
|
|
231
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
232
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
233
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
234
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
235
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
236
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
|
237
|
+
------------------------------------------------------------------------------------------
|
|
238
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
239
|
+
------------------------------------------------------------------------------------------
|
|
240
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
241
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
242
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
243
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
244
|
+
[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]]
|
|
245
|
+
[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]]
|
|
246
|
+
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", 2016-11-17 15:46:34 UTC], ["updated_at", 2016-11-17 15:46:34 UTC], ["confirmation_token", "SM8JydGKGRkuT11VDR4P"], ["confirmation_sent_at", 2016-11-17 15:46:34 UTC]]
|
|
247
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
248
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
249
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.0ms)
|
|
250
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 191.5ms
|
|
251
|
+
Sent mail to joe-1@example.com (9.9ms)
|
|
252
|
+
Date: Thu, 17 Nov 2016 15:46:34 +0000
|
|
168
253
|
From: pushtype@example.com
|
|
169
254
|
Reply-To: pushtype@example.com
|
|
170
255
|
To: joe-1@example.com
|
|
171
|
-
Message-ID: <
|
|
256
|
+
Message-ID: <582dd0dad154b_d4703fd50d43f9c82483a@Aarons-iMac.local.mail>
|
|
172
257
|
Subject: [PushType] Confirm your account
|
|
173
258
|
Mime-Version: 1.0
|
|
174
259
|
Content-Type: multipart/alternative;
|
|
175
|
-
boundary="--==
|
|
260
|
+
boundary="--==_mimepart_582dd0dad00f6_d4703fd50d43f9c824773";
|
|
176
261
|
charset=UTF-8
|
|
177
262
|
Content-Transfer-Encoding: 7bit
|
|
178
263
|
|
|
179
264
|
|
|
180
|
-
----==
|
|
265
|
+
----==_mimepart_582dd0dad00f6_d4703fd50d43f9c824773
|
|
181
266
|
Content-Type: text/plain;
|
|
182
267
|
charset=UTF-8
|
|
183
268
|
Content-Transfer-Encoding: 7bit
|
|
@@ -193,11 +278,11 @@ To get started, confirm your account and set your own password by
|
|
|
193
278
|
clicking the link below:
|
|
194
279
|
|
|
195
280
|
Confirm my account
|
|
196
|
-
( http://localhost:3000/admin/
|
|
281
|
+
( http://localhost:3000/admin/confirmation.ad1375bc-f7d1-40d8-981e-864ff655e61d?confirmation_token=SM8JydGKGRkuT11VDR4P )
|
|
197
282
|
|
|
198
283
|
|
|
199
284
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
200
|
-
----==
|
|
285
|
+
----==_mimepart_582dd0dad00f6_d4703fd50d43f9c824773
|
|
201
286
|
Content-Type: text/html;
|
|
202
287
|
charset=UTF-8
|
|
203
288
|
Content-Transfer-Encoding: 7bit
|
|
@@ -243,7 +328,7 @@ body {
|
|
|
243
328
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
244
329
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
245
330
|
<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;">
|
|
246
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
331
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.ad1375bc-f7d1-40d8-981e-864ff655e61d?confirmation_token=SM8JydGKGRkuT11VDR4P" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
247
332
|
</td>
|
|
248
333
|
</tr>
|
|
249
334
|
</table>
|
|
@@ -288,47 +373,48 @@ body {
|
|
|
288
373
|
</body>
|
|
289
374
|
</html>
|
|
290
375
|
|
|
291
|
-
----==
|
|
376
|
+
----==_mimepart_582dd0dad00f6_d4703fd50d43f9c824773--
|
|
292
377
|
|
|
293
|
-
Processing by PushType::ConfirmationsController#
|
|
294
|
-
Parameters: {"confirmation_token"=>"
|
|
295
|
-
[1m[36mPushType::User Load (0.
|
|
378
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
|
379
|
+
Parameters: {"user"=>{"confirmation_token"=>"SM8JydGKGRkuT11VDR4P", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
380
|
+
[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", "SM8JydGKGRkuT11VDR4P"], ["LIMIT", 1]]
|
|
381
|
+
[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-1@example.com"], ["id", "ad1375bc-f7d1-40d8-981e-864ff655e61d"], ["LIMIT", 1]]
|
|
296
382
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
297
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.
|
|
298
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (
|
|
299
|
-
Completed 200 OK in
|
|
300
|
-
[1m[35m (0.
|
|
301
|
-
[1m[35m (0.
|
|
383
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.1ms)
|
|
384
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (9.1ms)
|
|
385
|
+
Completed 200 OK in 23ms (Views: 19.3ms | ActiveRecord: 0.5ms)
|
|
386
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
387
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
302
388
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
303
|
-
|
|
304
|
-
PushType::ConfirmationsControllerTest::
|
|
305
|
-
|
|
306
|
-
[1m[35m (0.
|
|
307
|
-
[1m[35m (0.
|
|
308
|
-
[1m[35m (0.
|
|
389
|
+
------------------------------------------------------------------------------------------
|
|
390
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
391
|
+
------------------------------------------------------------------------------------------
|
|
392
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
393
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
394
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
309
395
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
310
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-2@example.com"], ["LIMIT", 1]]
|
|
311
396
|
[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]]
|
|
312
|
-
[1m[
|
|
397
|
+
[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]]
|
|
398
|
+
[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-2@example.com"], ["created_at", 2016-11-17 15:46:34 UTC], ["updated_at", 2016-11-17 15:46:34 UTC], ["confirmation_token", "_eixzM1GBg3gggbU2xzx"], ["confirmation_sent_at", 2016-11-17 15:46:34 UTC]]
|
|
313
399
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
314
400
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
315
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
316
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
317
|
-
Sent mail to joe-2@example.com (
|
|
318
|
-
Date:
|
|
401
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
402
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
|
|
403
|
+
Sent mail to joe-2@example.com (4.2ms)
|
|
404
|
+
Date: Thu, 17 Nov 2016 15:46:34 +0000
|
|
319
405
|
From: pushtype@example.com
|
|
320
406
|
Reply-To: pushtype@example.com
|
|
321
407
|
To: joe-2@example.com
|
|
322
|
-
Message-ID: <
|
|
408
|
+
Message-ID: <582dd0dae5577_d4703fd50d43f9c8251ab@Aarons-iMac.local.mail>
|
|
323
409
|
Subject: [PushType] Confirm your account
|
|
324
410
|
Mime-Version: 1.0
|
|
325
411
|
Content-Type: multipart/alternative;
|
|
326
|
-
boundary="--==
|
|
412
|
+
boundary="--==_mimepart_582dd0dae4fef_d4703fd50d43f9c8250bc";
|
|
327
413
|
charset=UTF-8
|
|
328
414
|
Content-Transfer-Encoding: 7bit
|
|
329
415
|
|
|
330
416
|
|
|
331
|
-
----==
|
|
417
|
+
----==_mimepart_582dd0dae4fef_d4703fd50d43f9c8250bc
|
|
332
418
|
Content-Type: text/plain;
|
|
333
419
|
charset=UTF-8
|
|
334
420
|
Content-Transfer-Encoding: 7bit
|
|
@@ -344,11 +430,11 @@ To get started, confirm your account and set your own password by
|
|
|
344
430
|
clicking the link below:
|
|
345
431
|
|
|
346
432
|
Confirm my account
|
|
347
|
-
( http://localhost:3000/admin/
|
|
433
|
+
( http://localhost:3000/admin/confirmation.694e526d-3bbd-44b6-bbd6-6f7d8c4ec3b7?confirmation_token=_eixzM1GBg3gggbU2xzx )
|
|
348
434
|
|
|
349
435
|
|
|
350
436
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
351
|
-
----==
|
|
437
|
+
----==_mimepart_582dd0dae4fef_d4703fd50d43f9c8250bc
|
|
352
438
|
Content-Type: text/html;
|
|
353
439
|
charset=UTF-8
|
|
354
440
|
Content-Transfer-Encoding: 7bit
|
|
@@ -394,7 +480,7 @@ body {
|
|
|
394
480
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
395
481
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
396
482
|
<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;">
|
|
397
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
483
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.694e526d-3bbd-44b6-bbd6-6f7d8c4ec3b7?confirmation_token=_eixzM1GBg3gggbU2xzx" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
398
484
|
</td>
|
|
399
485
|
</tr>
|
|
400
486
|
</table>
|
|
@@ -439,88 +525,48 @@ body {
|
|
|
439
525
|
</body>
|
|
440
526
|
</html>
|
|
441
527
|
|
|
442
|
-
----==
|
|
528
|
+
----==_mimepart_582dd0dae4fef_d4703fd50d43f9c8250bc--
|
|
443
529
|
|
|
444
|
-
Processing by PushType::ConfirmationsController#
|
|
445
|
-
Parameters: {"confirmation_token"=>"
|
|
446
|
-
[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", "
|
|
530
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
|
531
|
+
Parameters: {"user"=>{"confirmation_token"=>"_eixzM1GBg3gggbU2xzx", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
532
|
+
[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", "_eixzM1GBg3gggbU2xzx"], ["LIMIT", 1]]
|
|
533
|
+
[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-2@example.com"], ["id", "694e526d-3bbd-44b6-bbd6-6f7d8c4ec3b7"], ["LIMIT", 1]]
|
|
447
534
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
448
535
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
449
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.
|
|
450
|
-
Completed 200 OK in
|
|
451
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
452
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
453
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
454
|
-
-----------------------------------------------------------
|
|
455
|
-
PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
|
|
456
|
-
-----------------------------------------------------------
|
|
457
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
458
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
459
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
536
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
|
|
537
|
+
Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.4ms)
|
|
460
538
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
461
539
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
462
540
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
463
|
-
|
|
464
|
-
PushType::
|
|
465
|
-
|
|
466
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
467
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
468
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
469
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
470
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
471
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
472
|
-
-----------------------------------------------------------
|
|
473
|
-
PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
|
|
474
|
-
-----------------------------------------------------------
|
|
475
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
476
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
477
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
478
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
479
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
480
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
481
|
-
-----------------------------------------------------------
|
|
482
|
-
PushType::ApiAuthenticationMethodsTest: test_0003_anonymous
|
|
483
|
-
-----------------------------------------------------------
|
|
484
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
485
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
541
|
+
------------------------------------------------------------------------------------------
|
|
542
|
+
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
|
|
543
|
+
------------------------------------------------------------------------------------------
|
|
486
544
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
487
|
-
[1m[35m (0.1ms)[0m [1m[
|
|
488
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
489
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
490
|
-
----------------------------------------------------------------------
|
|
491
|
-
PushType::Admin::UsersControllerTest::PUT #invite: test_0001_anonymous
|
|
492
|
-
----------------------------------------------------------------------
|
|
493
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
494
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
545
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
495
546
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
496
547
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
497
548
|
[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]]
|
|
498
549
|
[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]]
|
|
499
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "
|
|
500
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
501
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
502
|
-
[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]]
|
|
503
|
-
[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]]
|
|
504
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", 2016-11-16 22:29:54 UTC], ["updated_at", 2016-11-16 22:29:54 UTC], ["confirmation_token", "_p5fhGyK8P7vftmPHBra"], ["confirmation_sent_at", 2016-11-16 22:29:54 UTC]]
|
|
550
|
+
[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", 2016-11-17 15:46:34 UTC], ["updated_at", 2016-11-17 15:46:34 UTC], ["confirmation_token", "5Eu7hYJvHHFQyxYwqxHJ"], ["confirmation_sent_at", 2016-11-17 15:46:34 UTC]]
|
|
505
551
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
506
552
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
507
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
508
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
509
|
-
Sent mail to joe-
|
|
510
|
-
Date:
|
|
553
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
554
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
|
|
555
|
+
Sent mail to joe-3@example.com (3.5ms)
|
|
556
|
+
Date: Thu, 17 Nov 2016 15:46:35 +0000
|
|
511
557
|
From: pushtype@example.com
|
|
512
558
|
Reply-To: pushtype@example.com
|
|
513
|
-
To: joe-
|
|
514
|
-
Message-ID: <
|
|
559
|
+
To: joe-3@example.com
|
|
560
|
+
Message-ID: <582dd0dbfe0_d4703fd50d43f9c82544a@Aarons-iMac.local.mail>
|
|
515
561
|
Subject: [PushType] Confirm your account
|
|
516
562
|
Mime-Version: 1.0
|
|
517
563
|
Content-Type: multipart/alternative;
|
|
518
|
-
boundary="--==
|
|
564
|
+
boundary="--==_mimepart_582dd0dbb99_d4703fd50d43f9c82534c";
|
|
519
565
|
charset=UTF-8
|
|
520
566
|
Content-Transfer-Encoding: 7bit
|
|
521
567
|
|
|
522
568
|
|
|
523
|
-
----==
|
|
569
|
+
----==_mimepart_582dd0dbb99_d4703fd50d43f9c82534c
|
|
524
570
|
Content-Type: text/plain;
|
|
525
571
|
charset=UTF-8
|
|
526
572
|
Content-Transfer-Encoding: 7bit
|
|
@@ -536,11 +582,11 @@ To get started, confirm your account and set your own password by
|
|
|
536
582
|
clicking the link below:
|
|
537
583
|
|
|
538
584
|
Confirm my account
|
|
539
|
-
( http://localhost:3000/admin/
|
|
585
|
+
( http://localhost:3000/admin/confirmation.cf334ef9-de0a-477b-92e3-6ba27dfebaab?confirmation_token=5Eu7hYJvHHFQyxYwqxHJ )
|
|
540
586
|
|
|
541
587
|
|
|
542
588
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
543
|
-
----==
|
|
589
|
+
----==_mimepart_582dd0dbb99_d4703fd50d43f9c82534c
|
|
544
590
|
Content-Type: text/html;
|
|
545
591
|
charset=UTF-8
|
|
546
592
|
Content-Transfer-Encoding: 7bit
|
|
@@ -586,7 +632,7 @@ body {
|
|
|
586
632
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
587
633
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
588
634
|
<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;">
|
|
589
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
635
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.cf334ef9-de0a-477b-92e3-6ba27dfebaab?confirmation_token=5Eu7hYJvHHFQyxYwqxHJ" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
590
636
|
</td>
|
|
591
637
|
</tr>
|
|
592
638
|
</table>
|
|
@@ -631,32 +677,95 @@ body {
|
|
|
631
677
|
</body>
|
|
632
678
|
</html>
|
|
633
679
|
|
|
634
|
-
----==
|
|
680
|
+
----==_mimepart_582dd0dbb99_d4703fd50d43f9c82534c--
|
|
635
681
|
|
|
636
|
-
Processing by PushType::
|
|
637
|
-
Parameters: {"
|
|
638
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."
|
|
639
|
-
[1m[36mPushType::User
|
|
682
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
|
683
|
+
Parameters: {"user"=>{"confirmation_token"=>"5Eu7hYJvHHFQyxYwqxHJ", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
684
|
+
[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", "5Eu7hYJvHHFQyxYwqxHJ"], ["LIMIT", 1]]
|
|
685
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-3@example.com"], ["id", "cf334ef9-de0a-477b-92e3-6ba27dfebaab"], ["LIMIT", 1]]
|
|
686
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
687
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
688
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
|
|
689
|
+
Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.4ms)
|
|
690
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
691
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
692
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
693
|
+
-----------------------------------------------------------------------
|
|
694
|
+
PushType::Admin::ProfilesControllerTest::GET #edit: test_0001_anonymous
|
|
695
|
+
-----------------------------------------------------------------------
|
|
696
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
697
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
698
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
699
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
700
|
+
[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]]
|
|
701
|
+
[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]]
|
|
702
|
+
[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-4@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:35 UTC], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
|
|
703
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
704
|
+
Processing by PushType::Admin::ProfilesController#edit as HTML
|
|
705
|
+
[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", "112cf427-e66b-4da3-872e-6404e95ce1a2"], ["LIMIT", 1]]
|
|
706
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
707
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (5.7ms)
|
|
708
|
+
Completed 200 OK in 23ms (Views: 17.9ms | ActiveRecord: 0.2ms)
|
|
709
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
710
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
711
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
712
|
+
-----------------------------------------------------------------------
|
|
713
|
+
PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
|
714
|
+
-----------------------------------------------------------------------
|
|
715
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
716
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
717
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
718
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
719
|
+
[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]]
|
|
720
|
+
[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]]
|
|
721
|
+
[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", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:35 UTC], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
|
|
722
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
723
|
+
Processing by PushType::Admin::ProfilesController#edit as HTML
|
|
724
|
+
[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", "345bd74f-0d12-4e7a-8fe2-2c4b080712a4"], ["LIMIT", 1]]
|
|
725
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
726
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
|
|
727
|
+
Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.2ms)
|
|
728
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
729
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
730
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
731
|
+
----------------------------------------------------
|
|
732
|
+
PushType::InvitationMethodsTest: test_0001_anonymous
|
|
733
|
+
----------------------------------------------------
|
|
734
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
735
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
736
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
737
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
738
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
739
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
740
|
+
----------------------------------------------------------------------------------------------------
|
|
741
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
|
|
742
|
+
----------------------------------------------------------------------------------------------------
|
|
743
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
744
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
745
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
640
746
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
747
|
+
[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]]
|
|
748
|
+
[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]]
|
|
749
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "d5kyX3nz9n641VXzhq-A"], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
|
|
641
750
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
642
751
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
643
752
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
644
753
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
|
|
645
|
-
Sent mail to joe-
|
|
646
|
-
Date:
|
|
754
|
+
Sent mail to joe-6@example.com (4.1ms)
|
|
755
|
+
Date: Thu, 17 Nov 2016 15:46:35 +0000
|
|
647
756
|
From: pushtype@example.com
|
|
648
757
|
Reply-To: pushtype@example.com
|
|
649
|
-
To: joe-
|
|
650
|
-
Message-ID: <
|
|
758
|
+
To: joe-6@example.com
|
|
759
|
+
Message-ID: <582dd0db1b24e_d4703fd50d43f9c825796@Aarons-iMac.local.mail>
|
|
651
760
|
Subject: [PushType] Confirm your account
|
|
652
761
|
Mime-Version: 1.0
|
|
653
762
|
Content-Type: multipart/alternative;
|
|
654
|
-
boundary="--==
|
|
763
|
+
boundary="--==_mimepart_582dd0db1ad53_d4703fd50d43f9c825635";
|
|
655
764
|
charset=UTF-8
|
|
656
765
|
Content-Transfer-Encoding: 7bit
|
|
657
766
|
|
|
658
767
|
|
|
659
|
-
----==
|
|
768
|
+
----==_mimepart_582dd0db1ad53_d4703fd50d43f9c825635
|
|
660
769
|
Content-Type: text/plain;
|
|
661
770
|
charset=UTF-8
|
|
662
771
|
Content-Transfer-Encoding: 7bit
|
|
@@ -672,11 +781,11 @@ To get started, confirm your account and set your own password by
|
|
|
672
781
|
clicking the link below:
|
|
673
782
|
|
|
674
783
|
Confirm my account
|
|
675
|
-
( http://localhost:3000/admin/
|
|
784
|
+
( http://localhost:3000/admin/confirmation.e4fc2feb-b0d9-4fa8-b350-f0c9075d1a24?confirmation_token=d5kyX3nz9n641VXzhq-A )
|
|
676
785
|
|
|
677
786
|
|
|
678
787
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
679
|
-
----==
|
|
788
|
+
----==_mimepart_582dd0db1ad53_d4703fd50d43f9c825635
|
|
680
789
|
Content-Type: text/html;
|
|
681
790
|
charset=UTF-8
|
|
682
791
|
Content-Transfer-Encoding: 7bit
|
|
@@ -722,7 +831,7 @@ body {
|
|
|
722
831
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
723
832
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
724
833
|
<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;">
|
|
725
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
834
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.e4fc2feb-b0d9-4fa8-b350-f0c9075d1a24?confirmation_token=d5kyX3nz9n641VXzhq-A" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
726
835
|
</td>
|
|
727
836
|
</tr>
|
|
728
837
|
</table>
|
|
@@ -767,47 +876,47 @@ body {
|
|
|
767
876
|
</body>
|
|
768
877
|
</html>
|
|
769
878
|
|
|
770
|
-
----==
|
|
879
|
+
----==_mimepart_582dd0db1ad53_d4703fd50d43f9c825635--
|
|
771
880
|
|
|
772
|
-
|
|
773
|
-
|
|
881
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
882
|
+
Parameters: {"confirmation_token"=>"d5kyX3nz9n641VXzhq-A"}
|
|
883
|
+
[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", "d5kyX3nz9n641VXzhq-A"], ["LIMIT", 1]]
|
|
884
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
885
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
886
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.0ms)
|
|
887
|
+
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
|
|
774
888
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
775
889
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
776
890
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
777
|
-
|
|
778
|
-
PushType::
|
|
779
|
-
|
|
780
|
-
[1m[35m (0.
|
|
891
|
+
----------------------------------------------------------------------------------------------------
|
|
892
|
+
PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
|
|
893
|
+
----------------------------------------------------------------------------------------------------
|
|
894
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
781
895
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
782
896
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
783
897
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
784
|
-
[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-
|
|
785
|
-
[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-
|
|
786
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "
|
|
787
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
788
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
789
|
-
[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]]
|
|
790
|
-
[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]]
|
|
791
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", 2016-11-16 22:29:54 UTC], ["updated_at", 2016-11-16 22:29:54 UTC], ["confirmation_token", "ULSyydis9zoYHN3nLFVJ"], ["confirmation_sent_at", 2016-11-16 22:29:54 UTC]]
|
|
898
|
+
[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]]
|
|
899
|
+
[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]]
|
|
900
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "rXuNA46as2vZZyDMqHax"], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
|
|
792
901
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
793
902
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
794
903
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
795
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
796
|
-
Sent mail to joe-
|
|
797
|
-
Date:
|
|
904
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.3ms
|
|
905
|
+
Sent mail to joe-7@example.com (4.5ms)
|
|
906
|
+
Date: Thu, 17 Nov 2016 15:46:35 +0000
|
|
798
907
|
From: pushtype@example.com
|
|
799
908
|
Reply-To: pushtype@example.com
|
|
800
|
-
To: joe-
|
|
801
|
-
Message-ID: <
|
|
909
|
+
To: joe-7@example.com
|
|
910
|
+
Message-ID: <582dd0db28fad_d4703fd50d43f9c826085@Aarons-iMac.local.mail>
|
|
802
911
|
Subject: [PushType] Confirm your account
|
|
803
912
|
Mime-Version: 1.0
|
|
804
913
|
Content-Type: multipart/alternative;
|
|
805
|
-
boundary="--==
|
|
914
|
+
boundary="--==_mimepart_582dd0db289e5_d4703fd50d43f9c8259b0";
|
|
806
915
|
charset=UTF-8
|
|
807
916
|
Content-Transfer-Encoding: 7bit
|
|
808
917
|
|
|
809
918
|
|
|
810
|
-
----==
|
|
919
|
+
----==_mimepart_582dd0db289e5_d4703fd50d43f9c8259b0
|
|
811
920
|
Content-Type: text/plain;
|
|
812
921
|
charset=UTF-8
|
|
813
922
|
Content-Transfer-Encoding: 7bit
|
|
@@ -823,11 +932,11 @@ To get started, confirm your account and set your own password by
|
|
|
823
932
|
clicking the link below:
|
|
824
933
|
|
|
825
934
|
Confirm my account
|
|
826
|
-
( http://localhost:3000/admin/
|
|
935
|
+
( http://localhost:3000/admin/confirmation.d4fa336d-9ff6-4c8c-a4cc-c1694aeb65ad?confirmation_token=rXuNA46as2vZZyDMqHax )
|
|
827
936
|
|
|
828
937
|
|
|
829
938
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
830
|
-
----==
|
|
939
|
+
----==_mimepart_582dd0db289e5_d4703fd50d43f9c8259b0
|
|
831
940
|
Content-Type: text/html;
|
|
832
941
|
charset=UTF-8
|
|
833
942
|
Content-Transfer-Encoding: 7bit
|
|
@@ -873,7 +982,7 @@ body {
|
|
|
873
982
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
874
983
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
875
984
|
<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;">
|
|
876
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
985
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d4fa336d-9ff6-4c8c-a4cc-c1694aeb65ad?confirmation_token=rXuNA46as2vZZyDMqHax" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
877
986
|
</td>
|
|
878
987
|
</tr>
|
|
879
988
|
</table>
|
|
@@ -918,32 +1027,65 @@ body {
|
|
|
918
1027
|
</body>
|
|
919
1028
|
</html>
|
|
920
1029
|
|
|
921
|
-
----==
|
|
1030
|
+
----==_mimepart_582dd0db289e5_d4703fd50d43f9c8259b0--
|
|
922
1031
|
|
|
923
|
-
Processing by PushType::
|
|
924
|
-
Parameters: {"
|
|
925
|
-
[1m[36mPushType::User Load (0.
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
1032
|
+
Processing by PushType::ConfirmationsController#show as HTML
|
|
1033
|
+
Parameters: {"confirmation_token"=>"rXuNA46as2vZZyDMqHax"}
|
|
1034
|
+
[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", "rXuNA46as2vZZyDMqHax"], ["LIMIT", 1]]
|
|
1035
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
1036
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
1037
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
|
|
1038
|
+
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms)
|
|
1039
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1040
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1041
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1042
|
+
---------------------------------------------------------------
|
|
1043
|
+
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
|
1044
|
+
---------------------------------------------------------------
|
|
1045
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1046
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1047
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1048
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1049
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1050
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1051
|
+
-------------------------------------------------------------
|
|
1052
|
+
PushType::AuthenticatableTest::trackable: test_0001_anonymous
|
|
1053
|
+
-------------------------------------------------------------
|
|
1054
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1055
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1056
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1057
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1058
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1059
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1060
|
+
--------------------------------------------------------------------------------------------------------------
|
|
1061
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
|
|
1062
|
+
--------------------------------------------------------------------------------------------------------------
|
|
1063
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1064
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1065
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1066
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1067
|
+
[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-8@example.com"], ["LIMIT", 1]]
|
|
1068
|
+
[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]]
|
|
1069
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "Kwoz8WhzSpXdyUyHXoRQ"], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
|
|
1070
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1071
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1072
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
931
1073
|
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
|
|
932
|
-
Sent mail to joe-
|
|
933
|
-
Date:
|
|
1074
|
+
Sent mail to joe-8@example.com (3.3ms)
|
|
1075
|
+
Date: Thu, 17 Nov 2016 15:46:35 +0000
|
|
934
1076
|
From: pushtype@example.com
|
|
935
1077
|
Reply-To: pushtype@example.com
|
|
936
|
-
To: joe-
|
|
937
|
-
Message-ID: <
|
|
1078
|
+
To: joe-8@example.com
|
|
1079
|
+
Message-ID: <582dd0db36697_d4703fd50d43f9c826398@Aarons-iMac.local.mail>
|
|
938
1080
|
Subject: [PushType] Confirm your account
|
|
939
1081
|
Mime-Version: 1.0
|
|
940
1082
|
Content-Type: multipart/alternative;
|
|
941
|
-
boundary="--==
|
|
1083
|
+
boundary="--==_mimepart_582dd0db3627e_d4703fd50d43f9c826222";
|
|
942
1084
|
charset=UTF-8
|
|
943
1085
|
Content-Transfer-Encoding: 7bit
|
|
944
1086
|
|
|
945
1087
|
|
|
946
|
-
----==
|
|
1088
|
+
----==_mimepart_582dd0db3627e_d4703fd50d43f9c826222
|
|
947
1089
|
Content-Type: text/plain;
|
|
948
1090
|
charset=UTF-8
|
|
949
1091
|
Content-Transfer-Encoding: 7bit
|
|
@@ -959,11 +1101,11 @@ To get started, confirm your account and set your own password by
|
|
|
959
1101
|
clicking the link below:
|
|
960
1102
|
|
|
961
1103
|
Confirm my account
|
|
962
|
-
( http://localhost:3000/admin/
|
|
1104
|
+
( http://localhost:3000/admin/confirmation.0fc495a9-0949-4230-bbac-8f5191d04067?confirmation_token=Kwoz8WhzSpXdyUyHXoRQ )
|
|
963
1105
|
|
|
964
1106
|
|
|
965
1107
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
966
|
-
----==
|
|
1108
|
+
----==_mimepart_582dd0db3627e_d4703fd50d43f9c826222
|
|
967
1109
|
Content-Type: text/html;
|
|
968
1110
|
charset=UTF-8
|
|
969
1111
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1009,7 +1151,7 @@ body {
|
|
|
1009
1151
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
1010
1152
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1011
1153
|
<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;">
|
|
1012
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
1154
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.0fc495a9-0949-4230-bbac-8f5191d04067?confirmation_token=Kwoz8WhzSpXdyUyHXoRQ" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
1013
1155
|
</td>
|
|
1014
1156
|
</tr>
|
|
1015
1157
|
</table>
|
|
@@ -1054,47 +1196,58 @@ body {
|
|
|
1054
1196
|
</body>
|
|
1055
1197
|
</html>
|
|
1056
1198
|
|
|
1057
|
-
----==
|
|
1199
|
+
----==_mimepart_582dd0db3627e_d4703fd50d43f9c826222--
|
|
1058
1200
|
|
|
1059
|
-
Redirected to http://test.host/push_type/users
|
|
1060
|
-
Completed 302 Found in 43ms (ActiveRecord: 0.7ms)
|
|
1061
1201
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1062
1202
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1063
1203
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1064
|
-
|
|
1065
|
-
PushType::
|
|
1066
|
-
|
|
1204
|
+
---------------------------------------------------------------
|
|
1205
|
+
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
|
1206
|
+
---------------------------------------------------------------
|
|
1067
1207
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1068
1208
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1209
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1210
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1211
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1212
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1213
|
+
---------------------------------------------------------------
|
|
1214
|
+
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
|
1215
|
+
---------------------------------------------------------------
|
|
1216
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1217
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1218
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1219
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1220
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1221
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1222
|
+
--------------------------------------------------------------------------------------------------------------
|
|
1223
|
+
PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
|
|
1224
|
+
--------------------------------------------------------------------------------------------------------------
|
|
1225
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1226
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1069
1227
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1070
1228
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1071
|
-
[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-
|
|
1072
|
-
[1m[36mPushType::User Exists (0.
|
|
1073
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "
|
|
1074
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1075
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1076
|
-
[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]]
|
|
1077
|
-
[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]]
|
|
1078
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", 2016-11-16 22:29:54 UTC], ["updated_at", 2016-11-16 22:29:54 UTC], ["confirmation_token", "Y29N2DnHQWhm4xvKcQ18"], ["confirmation_sent_at", 2016-11-16 22:29:54 UTC]]
|
|
1229
|
+
[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]]
|
|
1230
|
+
[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]]
|
|
1231
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["confirmation_token", "3tsiag8GmZAagzwQfMbw"], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
|
|
1079
1232
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1080
1233
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1081
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1082
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1083
|
-
Sent mail to joe-
|
|
1084
|
-
Date:
|
|
1234
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
1235
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
|
|
1236
|
+
Sent mail to joe-9@example.com (3.6ms)
|
|
1237
|
+
Date: Thu, 17 Nov 2016 15:46:35 +0000
|
|
1085
1238
|
From: pushtype@example.com
|
|
1086
1239
|
Reply-To: pushtype@example.com
|
|
1087
|
-
To: joe-
|
|
1088
|
-
Message-ID: <
|
|
1240
|
+
To: joe-9@example.com
|
|
1241
|
+
Message-ID: <582dd0db44265_d4703fd50d43f9c82668f@Aarons-iMac.local.mail>
|
|
1089
1242
|
Subject: [PushType] Confirm your account
|
|
1090
1243
|
Mime-Version: 1.0
|
|
1091
1244
|
Content-Type: multipart/alternative;
|
|
1092
|
-
boundary="--==
|
|
1245
|
+
boundary="--==_mimepart_582dd0db43e31_d4703fd50d43f9c826557";
|
|
1093
1246
|
charset=UTF-8
|
|
1094
1247
|
Content-Transfer-Encoding: 7bit
|
|
1095
1248
|
|
|
1096
1249
|
|
|
1097
|
-
----==
|
|
1250
|
+
----==_mimepart_582dd0db43e31_d4703fd50d43f9c826557
|
|
1098
1251
|
Content-Type: text/plain;
|
|
1099
1252
|
charset=UTF-8
|
|
1100
1253
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1110,11 +1263,11 @@ To get started, confirm your account and set your own password by
|
|
|
1110
1263
|
clicking the link below:
|
|
1111
1264
|
|
|
1112
1265
|
Confirm my account
|
|
1113
|
-
( http://localhost:3000/admin/
|
|
1266
|
+
( http://localhost:3000/admin/confirmation.d2de71d6-31c1-4e29-8895-8f36d0662fc2?confirmation_token=3tsiag8GmZAagzwQfMbw )
|
|
1114
1267
|
|
|
1115
1268
|
|
|
1116
1269
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1117
|
-
----==
|
|
1270
|
+
----==_mimepart_582dd0db43e31_d4703fd50d43f9c826557
|
|
1118
1271
|
Content-Type: text/html;
|
|
1119
1272
|
charset=UTF-8
|
|
1120
1273
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1160,7 +1313,7 @@ body {
|
|
|
1160
1313
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
1161
1314
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1162
1315
|
<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;">
|
|
1163
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
1316
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d2de71d6-31c1-4e29-8895-8f36d0662fc2?confirmation_token=3tsiag8GmZAagzwQfMbw" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
1164
1317
|
</td>
|
|
1165
1318
|
</tr>
|
|
1166
1319
|
</table>
|
|
@@ -1205,32 +1358,140 @@ body {
|
|
|
1205
1358
|
</body>
|
|
1206
1359
|
</html>
|
|
1207
1360
|
|
|
1208
|
-
----==
|
|
1361
|
+
----==_mimepart_582dd0db43e31_d4703fd50d43f9c826557--
|
|
1209
1362
|
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
[1m[
|
|
1213
|
-
|
|
1363
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1364
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1365
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1366
|
+
-----------------------------------------------------------------------
|
|
1367
|
+
AuthenticatedControllerTest::authenticated request: test_0001_anonymous
|
|
1368
|
+
-----------------------------------------------------------------------
|
|
1369
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1370
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1371
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1372
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1373
|
+
[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]]
|
|
1374
|
+
[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]]
|
|
1375
|
+
[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-10@example.com"], ["created_at", 2016-11-17 15:46:35 UTC], ["updated_at", 2016-11-17 15:46:35 UTC], ["encrypted_password", "$2a$04$w7gh3VZ3OzTpYTXST9fVcOdXCf722YMh8/4rh5gVaNy4WE/7NUuHy"], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:35 UTC], ["confirmation_sent_at", 2016-11-17 15:46:35 UTC]]
|
|
1376
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1377
|
+
Started POST "/admin/sign_in" for 127.0.0.1 at 2016-11-17 15:46:35 +0000
|
|
1378
|
+
Processing by PushType::SessionsController#create as HTML
|
|
1379
|
+
Parameters: {"user"=>{"email"=>"joe-10@example.com", "password"=>"[FILTERED]"}}
|
|
1380
|
+
[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-10@example.com"], ["LIMIT", 1]]
|
|
1381
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1382
|
+
[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", 2016-11-17 15:46:35 UTC], ["last_sign_in_at", 2016-11-17 15:46:35 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2016-11-17 15:46:35 UTC], ["id", "aaa15e16-d375-49ac-8b96-96b9d50e87d8"]]
|
|
1383
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1384
|
+
Redirected to http://www.example.com/admin/
|
|
1385
|
+
Completed 302 Found in 49ms (ActiveRecord: 0.8ms)
|
|
1386
|
+
Started GET "/admin/nodes" for 127.0.0.1 at 2016-11-17 15:46:35 +0000
|
|
1387
|
+
Processing by PushType::Admin::NodesController#index as HTML
|
|
1388
|
+
[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", "aaa15e16-d375-49ac-8b96-96b9d50e87d8"], ["LIMIT", 1]]
|
|
1389
|
+
Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin
|
|
1390
|
+
[1m[35m (0.7ms)[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]]
|
|
1391
|
+
[1m[35m (0.4ms)[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
|
|
1392
|
+
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (2.6ms)
|
|
1393
|
+
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (36.1ms)
|
|
1394
|
+
Completed 200 OK in 2071ms (Views: 55.8ms | ActiveRecord: 1.4ms)
|
|
1395
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1396
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1397
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1398
|
+
--------------------------------------------------------------------------------------
|
|
1399
|
+
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
|
1400
|
+
--------------------------------------------------------------------------------------
|
|
1401
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1402
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1403
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1404
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1405
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1406
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1407
|
+
--------------------------------------------------------------------------------------------
|
|
1408
|
+
AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous
|
|
1409
|
+
--------------------------------------------------------------------------------------------
|
|
1410
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1411
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1412
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1413
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1414
|
+
[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-11@example.com"], ["LIMIT", 1]]
|
|
1415
|
+
[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-11@example.com"], ["LIMIT", 1]]
|
|
1416
|
+
[1m[35mSQL (0.4ms)[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", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
|
|
1417
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1418
|
+
Started GET "/api/nodes" for 127.0.0.1 at 2016-11-17 15:46:37 +0000
|
|
1419
|
+
Processing by PushType::Api::NodesController#index as JSON
|
|
1420
|
+
[1m[36mPushType::User Load (0.4ms)[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", "93aac0b0-b972-4553-a07b-262929f484bd"], ["LIMIT", 1]]
|
|
1421
|
+
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
1422
|
+
[1m[36mPushType::Node Load (0.6ms)[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]]
|
|
1423
|
+
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
1424
|
+
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (7.9ms)
|
|
1425
|
+
Completed 200 OK in 66ms (Views: 52.0ms | ActiveRecord: 0.9ms)
|
|
1426
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1427
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1428
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1429
|
+
---------------------------------------------------------------------------
|
|
1430
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
|
|
1431
|
+
---------------------------------------------------------------------------
|
|
1432
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1433
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1434
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1435
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1436
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1437
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1438
|
+
---------------------------------------------------------------------------
|
|
1439
|
+
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
|
1440
|
+
---------------------------------------------------------------------------
|
|
1441
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1442
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1443
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1444
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1445
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1446
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1447
|
+
-------------------------------------------------------------------------
|
|
1448
|
+
AuthenticatedControllerTest::unauthenticated request: test_0001_anonymous
|
|
1449
|
+
-------------------------------------------------------------------------
|
|
1450
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1451
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1452
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1453
|
+
Started GET "/admin/nodes" for 127.0.0.1 at 2016-11-17 15:46:37 +0000
|
|
1454
|
+
Processing by PushType::Admin::NodesController#index as HTML
|
|
1455
|
+
Redirected to http://www.example.com/admin/sign_in
|
|
1456
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
|
1457
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
1458
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1459
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1460
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1461
|
+
----------------------------------------------------------------------
|
|
1462
|
+
PushType::Admin::UsersControllerTest::PUT #invite: test_0001_anonymous
|
|
1463
|
+
----------------------------------------------------------------------
|
|
1464
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1465
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1466
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1467
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1468
|
+
[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-12@example.com"], ["LIMIT", 1]]
|
|
1469
|
+
[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-12@example.com"], ["LIMIT", 1]]
|
|
1470
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
|
|
1471
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1214
1472
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1473
|
+
[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-13@example.com"], ["LIMIT", 1]]
|
|
1474
|
+
[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]]
|
|
1475
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "FvZjFuis1q7U5sGHfTx-"], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
|
|
1215
1476
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1216
1477
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1217
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (
|
|
1218
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1219
|
-
Sent mail to joe-
|
|
1220
|
-
Date:
|
|
1478
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.1ms)
|
|
1479
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 61.5ms
|
|
1480
|
+
Sent mail to joe-13@example.com (6.6ms)
|
|
1481
|
+
Date: Thu, 17 Nov 2016 15:46:37 +0000
|
|
1221
1482
|
From: pushtype@example.com
|
|
1222
1483
|
Reply-To: pushtype@example.com
|
|
1223
|
-
To: joe-
|
|
1224
|
-
Message-ID: <
|
|
1484
|
+
To: joe-13@example.com
|
|
1485
|
+
Message-ID: <582dd0dd9cb04_d4703fd50d43f9c826941@Aarons-iMac.local.mail>
|
|
1225
1486
|
Subject: [PushType] Confirm your account
|
|
1226
1487
|
Mime-Version: 1.0
|
|
1227
1488
|
Content-Type: multipart/alternative;
|
|
1228
|
-
boundary="--==
|
|
1489
|
+
boundary="--==_mimepart_582dd0dd9c2ff_d4703fd50d43f9c8268fb";
|
|
1229
1490
|
charset=UTF-8
|
|
1230
1491
|
Content-Transfer-Encoding: 7bit
|
|
1231
1492
|
|
|
1232
1493
|
|
|
1233
|
-
----==
|
|
1494
|
+
----==_mimepart_582dd0dd9c2ff_d4703fd50d43f9c8268fb
|
|
1234
1495
|
Content-Type: text/plain;
|
|
1235
1496
|
charset=UTF-8
|
|
1236
1497
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1246,11 +1507,11 @@ To get started, confirm your account and set your own password by
|
|
|
1246
1507
|
clicking the link below:
|
|
1247
1508
|
|
|
1248
1509
|
Confirm my account
|
|
1249
|
-
( http://localhost:3000/admin/
|
|
1510
|
+
( http://localhost:3000/admin/confirmation.a3fb4cfe-938c-42b1-8dd7-c6be21d8636f?confirmation_token=FvZjFuis1q7U5sGHfTx- )
|
|
1250
1511
|
|
|
1251
1512
|
|
|
1252
1513
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1253
|
-
----==
|
|
1514
|
+
----==_mimepart_582dd0dd9c2ff_d4703fd50d43f9c8268fb
|
|
1254
1515
|
Content-Type: text/html;
|
|
1255
1516
|
charset=UTF-8
|
|
1256
1517
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1296,7 +1557,7 @@ body {
|
|
|
1296
1557
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
1297
1558
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1298
1559
|
<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;">
|
|
1299
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
1560
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.a3fb4cfe-938c-42b1-8dd7-c6be21d8636f?confirmation_token=FvZjFuis1q7U5sGHfTx-" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
1300
1561
|
</td>
|
|
1301
1562
|
</tr>
|
|
1302
1563
|
</table>
|
|
@@ -1341,79 +1602,32 @@ body {
|
|
|
1341
1602
|
</body>
|
|
1342
1603
|
</html>
|
|
1343
1604
|
|
|
1344
|
-
----==
|
|
1605
|
+
----==_mimepart_582dd0dd9c2ff_d4703fd50d43f9c8268fb--
|
|
1345
1606
|
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
[1m[
|
|
1349
|
-
[1m[
|
|
1350
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1351
|
-
-----------------------------------------------------------------------------------
|
|
1352
|
-
AuthenticatedApiControllerTest::authenticated with token param: test_0001_anonymous
|
|
1353
|
-
-----------------------------------------------------------------------------------
|
|
1354
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1355
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1356
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1357
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1358
|
-
[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]]
|
|
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-9@example.com"], ["LIMIT", 1]]
|
|
1360
|
-
[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", 2016-11-16 22:29:54 UTC], ["updated_at", 2016-11-16 22:29:54 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-16 22:29:54 UTC], ["confirmation_sent_at", 2016-11-16 22:29:54 UTC]]
|
|
1361
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1362
|
-
Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0Nzk0MjE3OTQsInN1YiI6IjNjNGYxZGRjLWMzMDktNDMxYS05MWE1LWZiNTc3NDQ3NDdiYyJ9.5vpdy4qvaITEglYqX9ezfCYNuUpR35ev_fPVP4b19_4" for 127.0.0.1 at 2016-11-16 22:29:54 +0000
|
|
1363
|
-
Processing by PushType::Api::NodesController#index as JSON
|
|
1364
|
-
Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0Nzk0MjE3OTQsInN1YiI6IjNjNGYxZGRjLWMzMDktNDMxYS05MWE1LWZiNTc3NDQ3NDdiYyJ9.5vpdy4qvaITEglYqX9ezfCYNuUpR35ev_fPVP4b19_4"}
|
|
1365
|
-
[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", "3c4f1ddc-c309-431a-91a5-fb57744747bc"], ["LIMIT", 1]]
|
|
1366
|
-
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
1367
|
-
[1m[36mPushType::Node Load (0.5ms)[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]]
|
|
1368
|
-
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
1369
|
-
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (6.7ms)
|
|
1370
|
-
Completed 200 OK in 51ms (Views: 33.9ms | ActiveRecord: 0.8ms)
|
|
1371
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1372
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1373
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1374
|
-
-------------------------------------------------------------------------
|
|
1375
|
-
AuthenticatedControllerTest::unauthenticated request: test_0001_anonymous
|
|
1376
|
-
-------------------------------------------------------------------------
|
|
1377
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1378
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1379
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1380
|
-
Started GET "/admin/nodes" for 127.0.0.1 at 2016-11-16 22:29:54 +0000
|
|
1381
|
-
Processing by PushType::Admin::NodesController#index as HTML
|
|
1382
|
-
Redirected to http://www.example.com/admin/users/sign_in
|
|
1383
|
-
Filter chain halted as :authenticate_user! rendered or redirected
|
|
1384
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
|
1385
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1386
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1387
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1388
|
-
----------------------------------------------------------------------------------------
|
|
1389
|
-
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
1390
|
-
----------------------------------------------------------------------------------------
|
|
1391
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1392
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1393
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1607
|
+
Processing by PushType::Admin::UsersController#invite as HTML
|
|
1608
|
+
Parameters: {"id"=>"a3fb4cfe-938c-42b1-8dd7-c6be21d8636f"}
|
|
1609
|
+
[1m[36mPushType::User Load (0.4ms)[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", "fb8ae052-6a3c-4b70-997e-6b9c32000d6d"], ["LIMIT", 1]]
|
|
1610
|
+
[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", "a3fb4cfe-938c-42b1-8dd7-c6be21d8636f"], ["LIMIT", 1]]
|
|
1394
1611
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1395
|
-
[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]]
|
|
1396
|
-
[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]]
|
|
1397
|
-
[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-10@example.com"], ["created_at", 2016-11-16 22:29:54 UTC], ["updated_at", 2016-11-16 22:29:54 UTC], ["confirmation_token", "ytkRVKLZeb7-awx-Arn8"], ["confirmation_sent_at", 2016-11-16 22:29:54 UTC]]
|
|
1398
1612
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1399
1613
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1400
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1401
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1402
|
-
Sent mail to joe-
|
|
1403
|
-
Date:
|
|
1614
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
|
|
1615
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 4.0ms
|
|
1616
|
+
Sent mail to joe-13@example.com (4.0ms)
|
|
1617
|
+
Date: Thu, 17 Nov 2016 15:46:37 +0000
|
|
1404
1618
|
From: pushtype@example.com
|
|
1405
1619
|
Reply-To: pushtype@example.com
|
|
1406
|
-
To: joe-
|
|
1407
|
-
Message-ID: <
|
|
1620
|
+
To: joe-13@example.com
|
|
1621
|
+
Message-ID: <582dd0ddab284_d4703fd50d43f9c8272af@Aarons-iMac.local.mail>
|
|
1408
1622
|
Subject: [PushType] Confirm your account
|
|
1409
1623
|
Mime-Version: 1.0
|
|
1410
1624
|
Content-Type: multipart/alternative;
|
|
1411
|
-
boundary="--==
|
|
1625
|
+
boundary="--==_mimepart_582dd0ddaae31_d4703fd50d43f9c8271bb";
|
|
1412
1626
|
charset=UTF-8
|
|
1413
1627
|
Content-Transfer-Encoding: 7bit
|
|
1414
1628
|
|
|
1415
1629
|
|
|
1416
|
-
----==
|
|
1630
|
+
----==_mimepart_582dd0ddaae31_d4703fd50d43f9c8271bb
|
|
1417
1631
|
Content-Type: text/plain;
|
|
1418
1632
|
charset=UTF-8
|
|
1419
1633
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1429,11 +1643,11 @@ To get started, confirm your account and set your own password by
|
|
|
1429
1643
|
clicking the link below:
|
|
1430
1644
|
|
|
1431
1645
|
Confirm my account
|
|
1432
|
-
( http://localhost:3000/admin/
|
|
1646
|
+
( http://localhost:3000/admin/confirmation.a3fb4cfe-938c-42b1-8dd7-c6be21d8636f?confirmation_token=FvZjFuis1q7U5sGHfTx- )
|
|
1433
1647
|
|
|
1434
1648
|
|
|
1435
1649
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1436
|
-
----==
|
|
1650
|
+
----==_mimepart_582dd0ddaae31_d4703fd50d43f9c8271bb
|
|
1437
1651
|
Content-Type: text/html;
|
|
1438
1652
|
charset=UTF-8
|
|
1439
1653
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1479,7 +1693,7 @@ body {
|
|
|
1479
1693
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
1480
1694
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1481
1695
|
<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;">
|
|
1482
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
1696
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.a3fb4cfe-938c-42b1-8dd7-c6be21d8636f?confirmation_token=FvZjFuis1q7U5sGHfTx-" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
1483
1697
|
</td>
|
|
1484
1698
|
</tr>
|
|
1485
1699
|
</table>
|
|
@@ -1524,52 +1738,47 @@ body {
|
|
|
1524
1738
|
</body>
|
|
1525
1739
|
</html>
|
|
1526
1740
|
|
|
1527
|
-
----==
|
|
1741
|
+
----==_mimepart_582dd0ddaae31_d4703fd50d43f9c8271bb--
|
|
1528
1742
|
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
[1m[
|
|
1532
|
-
[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-10@example.com"], ["id", "444896d5-73c2-4e8d-b51c-f2b6a20d2ac2"], ["LIMIT", 1]]
|
|
1533
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1534
|
-
[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$T3L1BVLS13Atoc4DLUaQnOYMKq3lymSqzuB9k8/5a7ywUSRsFsdTC"], ["confirmed_at", 2016-11-16 22:29:54 UTC], ["updated_at", 2016-11-16 22:29:54 UTC], ["id", "444896d5-73c2-4e8d-b51c-f2b6a20d2ac2"]]
|
|
1535
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1536
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1537
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2016-11-16 22:29:54 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-11-16 22:29:54 UTC], ["last_sign_in_at", 2016-11-16 22:29:54 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "444896d5-73c2-4e8d-b51c-f2b6a20d2ac2"]]
|
|
1538
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1539
|
-
Redirected to http://test.host/
|
|
1540
|
-
Completed 302 Found in 18ms (ActiveRecord: 1.3ms)
|
|
1541
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1743
|
+
Redirected to http://test.host/push_type/users
|
|
1744
|
+
Completed 302 Found in 56ms (ActiveRecord: 0.8ms)
|
|
1745
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1542
1746
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1543
1747
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1544
|
-
|
|
1545
|
-
PushType::
|
|
1546
|
-
|
|
1547
|
-
[1m[35m (0.
|
|
1548
|
-
[1m[35m (0.
|
|
1549
|
-
[1m[35m (0.
|
|
1748
|
+
----------------------------------------------------------------------
|
|
1749
|
+
PushType::Admin::UsersControllerTest::PUT #invite: test_0002_anonymous
|
|
1750
|
+
----------------------------------------------------------------------
|
|
1751
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1752
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1753
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1754
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1755
|
+
[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-14@example.com"], ["LIMIT", 1]]
|
|
1756
|
+
[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-14@example.com"], ["LIMIT", 1]]
|
|
1757
|
+
[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-14@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
|
|
1758
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1550
1759
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1551
|
-
[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-
|
|
1552
|
-
[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-
|
|
1553
|
-
[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-
|
|
1760
|
+
[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]]
|
|
1761
|
+
[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]]
|
|
1762
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "XxvfSxCkj8jHwtoH3aoh"], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
|
|
1554
1763
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1555
1764
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1556
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1557
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1558
|
-
Sent mail to joe-
|
|
1559
|
-
Date:
|
|
1765
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.5ms)
|
|
1766
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 4.8ms
|
|
1767
|
+
Sent mail to joe-15@example.com (5.4ms)
|
|
1768
|
+
Date: Thu, 17 Nov 2016 15:46:37 +0000
|
|
1560
1769
|
From: pushtype@example.com
|
|
1561
1770
|
Reply-To: pushtype@example.com
|
|
1562
|
-
To: joe-
|
|
1563
|
-
Message-ID: <
|
|
1771
|
+
To: joe-15@example.com
|
|
1772
|
+
Message-ID: <582dd0ddbba8a_d4703fd50d43f9c82758e@Aarons-iMac.local.mail>
|
|
1564
1773
|
Subject: [PushType] Confirm your account
|
|
1565
1774
|
Mime-Version: 1.0
|
|
1566
1775
|
Content-Type: multipart/alternative;
|
|
1567
|
-
boundary="--==
|
|
1776
|
+
boundary="--==_mimepart_582dd0ddbb46d_d4703fd50d43f9c82743b";
|
|
1568
1777
|
charset=UTF-8
|
|
1569
1778
|
Content-Transfer-Encoding: 7bit
|
|
1570
1779
|
|
|
1571
1780
|
|
|
1572
|
-
----==
|
|
1781
|
+
----==_mimepart_582dd0ddbb46d_d4703fd50d43f9c82743b
|
|
1573
1782
|
Content-Type: text/plain;
|
|
1574
1783
|
charset=UTF-8
|
|
1575
1784
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1585,11 +1794,11 @@ To get started, confirm your account and set your own password by
|
|
|
1585
1794
|
clicking the link below:
|
|
1586
1795
|
|
|
1587
1796
|
Confirm my account
|
|
1588
|
-
( http://localhost:3000/admin/
|
|
1797
|
+
( http://localhost:3000/admin/confirmation.7a53f1b2-0b87-4ca3-8844-634e6ce65607?confirmation_token=XxvfSxCkj8jHwtoH3aoh )
|
|
1589
1798
|
|
|
1590
1799
|
|
|
1591
1800
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1592
|
-
----==
|
|
1801
|
+
----==_mimepart_582dd0ddbb46d_d4703fd50d43f9c82743b
|
|
1593
1802
|
Content-Type: text/html;
|
|
1594
1803
|
charset=UTF-8
|
|
1595
1804
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1635,7 +1844,7 @@ body {
|
|
|
1635
1844
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
1636
1845
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1637
1846
|
<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;">
|
|
1638
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
1847
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.7a53f1b2-0b87-4ca3-8844-634e6ce65607?confirmation_token=XxvfSxCkj8jHwtoH3aoh" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
1639
1848
|
</td>
|
|
1640
1849
|
</tr>
|
|
1641
1850
|
</table>
|
|
@@ -1680,85 +1889,32 @@ body {
|
|
|
1680
1889
|
</body>
|
|
1681
1890
|
</html>
|
|
1682
1891
|
|
|
1683
|
-
----==
|
|
1892
|
+
----==_mimepart_582dd0ddbb46d_d4703fd50d43f9c82743b--
|
|
1684
1893
|
|
|
1685
|
-
Processing by PushType::
|
|
1686
|
-
Parameters: {"
|
|
1687
|
-
[1m[36mPushType::User Load (0.
|
|
1688
|
-
[1m[36mPushType::User
|
|
1689
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1690
|
-
[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$Wyw.UAqseQ1EV2ta15.Q6ONxs1AevgBJtVW751CzYaSHyHkIoQmfC"], ["confirmed_at", 2016-11-16 22:29:54 UTC], ["updated_at", 2016-11-16 22:29:54 UTC], ["id", "7f8a92cd-8152-4cc7-9f31-593f3b8b1c9c"]]
|
|
1691
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1692
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1693
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2016-11-16 22:29:54 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-11-16 22:29:54 UTC], ["last_sign_in_at", 2016-11-16 22:29:54 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "7f8a92cd-8152-4cc7-9f31-593f3b8b1c9c"]]
|
|
1694
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1695
|
-
Redirected to http://test.host/
|
|
1696
|
-
Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
|
|
1697
|
-
[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", "7f8a92cd-8152-4cc7-9f31-593f3b8b1c9c"], ["LIMIT", 1]]
|
|
1698
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1699
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1700
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1701
|
-
-----------------------------------------------------------------------
|
|
1702
|
-
AuthenticatedControllerTest::authenticated request: test_0001_anonymous
|
|
1703
|
-
-----------------------------------------------------------------------
|
|
1704
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1705
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1706
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1707
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1708
|
-
[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]]
|
|
1709
|
-
[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]]
|
|
1710
|
-
[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-12@example.com"], ["created_at", 2016-11-16 22:29:54 UTC], ["updated_at", 2016-11-16 22:29:54 UTC], ["encrypted_password", "$2a$04$cNyBHhPxCH3rLvTB1sJP7.Z15Qb0KzCjMYVX5w/hxVMS3EQHd28D6"], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-16 22:29:54 UTC], ["confirmation_sent_at", 2016-11-16 22:29:54 UTC]]
|
|
1711
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1712
|
-
Started POST "/admin/users/sign_in" for 127.0.0.1 at 2016-11-16 22:29:54 +0000
|
|
1713
|
-
Processing by PushType::SessionsController#create as HTML
|
|
1714
|
-
Parameters: {"user"=>{"email"=>"joe-12@example.com", "password"=>"[FILTERED]"}}
|
|
1715
|
-
[1m[36mPushType::User Load (0.4ms)[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-12@example.com"], ["LIMIT", 1]]
|
|
1894
|
+
Processing by PushType::Admin::UsersController#invite as HTML
|
|
1895
|
+
Parameters: {"id"=>"7a53f1b2-0b87-4ca3-8844-634e6ce65607"}
|
|
1896
|
+
[1m[36mPushType::User Load (0.4ms)[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", "5f981038-e263-4761-9a73-7803785f5022"], ["LIMIT", 1]]
|
|
1897
|
+
[1m[36mPushType::User Load (0.4ms)[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", "7a53f1b2-0b87-4ca3-8844-634e6ce65607"], ["LIMIT", 1]]
|
|
1716
1898
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1717
|
-
[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", 2016-11-16 22:29:54 UTC], ["last_sign_in_at", 2016-11-16 22:29:54 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", 2016-11-16 22:29:54 UTC], ["id", "f2681aff-fbaa-457c-881a-ea43a2533390"]]
|
|
1718
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1719
|
-
Redirected to http://www.example.com/
|
|
1720
|
-
Completed 302 Found in 46ms (ActiveRecord: 0.8ms)
|
|
1721
|
-
Started GET "/admin/nodes" for 127.0.0.1 at 2016-11-16 22:29:55 +0000
|
|
1722
|
-
Processing by PushType::Admin::NodesController#index as HTML
|
|
1723
|
-
[1m[36mPushType::User Load (0.4ms)[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", "f2681aff-fbaa-457c-881a-ea43a2533390"], ["LIMIT", 1]]
|
|
1724
|
-
Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin
|
|
1725
|
-
[1m[35m (0.3ms)[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]]
|
|
1726
|
-
[1m[35m (0.2ms)[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
|
|
1727
|
-
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (2.1ms)
|
|
1728
|
-
Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (21.6ms)
|
|
1729
|
-
Completed 200 OK in 2046ms (Views: 33.0ms | ActiveRecord: 0.9ms)
|
|
1730
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1731
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1732
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1733
|
-
--------------------------------------------------------------------------------------------------------------
|
|
1734
|
-
PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
|
|
1735
|
-
--------------------------------------------------------------------------------------------------------------
|
|
1736
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1737
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1738
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1739
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1740
|
-
[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]]
|
|
1741
|
-
[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]]
|
|
1742
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", 2016-11-16 22:29:57 UTC], ["updated_at", 2016-11-16 22:29:57 UTC], ["confirmation_token", "wy2ds-yTA5i8BSSsqt2a"], ["confirmation_sent_at", 2016-11-16 22:29:57 UTC]]
|
|
1743
1899
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1744
1900
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
1745
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
1746
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
1747
|
-
Sent mail to joe-
|
|
1748
|
-
Date:
|
|
1901
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
1902
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.7ms
|
|
1903
|
+
Sent mail to joe-15@example.com (3.5ms)
|
|
1904
|
+
Date: Thu, 17 Nov 2016 15:46:37 +0000
|
|
1749
1905
|
From: pushtype@example.com
|
|
1750
1906
|
Reply-To: pushtype@example.com
|
|
1751
|
-
To: joe-
|
|
1752
|
-
Message-ID: <
|
|
1907
|
+
To: joe-15@example.com
|
|
1908
|
+
Message-ID: <582dd0ddc9c43_d4703fd50d43f9c8278b3@Aarons-iMac.local.mail>
|
|
1753
1909
|
Subject: [PushType] Confirm your account
|
|
1754
1910
|
Mime-Version: 1.0
|
|
1755
1911
|
Content-Type: multipart/alternative;
|
|
1756
|
-
boundary="--==
|
|
1912
|
+
boundary="--==_mimepart_582dd0ddc97fa_d4703fd50d43f9c8277d2";
|
|
1757
1913
|
charset=UTF-8
|
|
1758
1914
|
Content-Transfer-Encoding: 7bit
|
|
1759
1915
|
|
|
1760
1916
|
|
|
1761
|
-
----==
|
|
1917
|
+
----==_mimepart_582dd0ddc97fa_d4703fd50d43f9c8277d2
|
|
1762
1918
|
Content-Type: text/plain;
|
|
1763
1919
|
charset=UTF-8
|
|
1764
1920
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1774,11 +1930,11 @@ To get started, confirm your account and set your own password by
|
|
|
1774
1930
|
clicking the link below:
|
|
1775
1931
|
|
|
1776
1932
|
Confirm my account
|
|
1777
|
-
( http://localhost:3000/admin/
|
|
1933
|
+
( http://localhost:3000/admin/confirmation.7a53f1b2-0b87-4ca3-8844-634e6ce65607?confirmation_token=XxvfSxCkj8jHwtoH3aoh )
|
|
1778
1934
|
|
|
1779
1935
|
|
|
1780
1936
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
1781
|
-
----==
|
|
1937
|
+
----==_mimepart_582dd0ddc97fa_d4703fd50d43f9c8277d2
|
|
1782
1938
|
Content-Type: text/html;
|
|
1783
1939
|
charset=UTF-8
|
|
1784
1940
|
Content-Transfer-Encoding: 7bit
|
|
@@ -1824,7 +1980,7 @@ body {
|
|
|
1824
1980
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
1825
1981
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
1826
1982
|
<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;">
|
|
1827
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
1983
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.7a53f1b2-0b87-4ca3-8844-634e6ce65607?confirmation_token=XxvfSxCkj8jHwtoH3aoh" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
1828
1984
|
</td>
|
|
1829
1985
|
</tr>
|
|
1830
1986
|
</table>
|
|
@@ -1869,319 +2025,47 @@ body {
|
|
|
1869
2025
|
</body>
|
|
1870
2026
|
</html>
|
|
1871
2027
|
|
|
1872
|
-
----==
|
|
2028
|
+
----==_mimepart_582dd0ddc97fa_d4703fd50d43f9c8277d2--
|
|
1873
2029
|
|
|
1874
|
-
|
|
2030
|
+
Redirected to http://test.host/push_type/users
|
|
2031
|
+
Completed 302 Found in 55ms (ActiveRecord: 1.0ms)
|
|
2032
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1875
2033
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1876
2034
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1877
|
-
|
|
1878
|
-
PushType::Admin::
|
|
1879
|
-
|
|
2035
|
+
----------------------------------------------------------------------
|
|
2036
|
+
PushType::Admin::UsersControllerTest::PUT #invite: test_0003_anonymous
|
|
2037
|
+
----------------------------------------------------------------------
|
|
1880
2038
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1881
2039
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1882
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1883
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1884
|
-
[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]]
|
|
1885
|
-
[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]]
|
|
1886
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2016-11-16 22:29:57 UTC], ["updated_at", 2016-11-16 22:29:57 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-16 22:29:57 UTC], ["confirmation_sent_at", 2016-11-16 22:29:57 UTC]]
|
|
1887
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1888
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
1889
|
-
Parameters: {"user"=>{"name"=>""}}
|
|
1890
|
-
[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", "ad3c72ff-14ed-4648-abff-25251aad5417"], ["LIMIT", 1]]
|
|
1891
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1892
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-14@example.com"], ["id", "ad3c72ff-14ed-4648-abff-25251aad5417"], ["LIMIT", 1]]
|
|
1893
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
1894
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
1895
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (6.3ms)
|
|
1896
|
-
Completed 200 OK in 19ms (Views: 15.1ms | ActiveRecord: 0.5ms)
|
|
1897
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1898
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1899
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1900
|
-
--------------------------------------------------------------------------------------------
|
|
1901
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
1902
|
-
--------------------------------------------------------------------------------------------
|
|
1903
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1904
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1905
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1906
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1907
|
-
[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]]
|
|
1908
|
-
[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]]
|
|
1909
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2016-11-16 22:29:57 UTC], ["updated_at", 2016-11-16 22:29:57 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-16 22:29:57 UTC], ["confirmation_sent_at", 2016-11-16 22:29:57 UTC]]
|
|
1910
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1911
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
1912
|
-
Parameters: {"user"=>{"name"=>""}}
|
|
1913
|
-
[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", "957dcc71-a9c2-4f92-ae1f-728bf9aed245"], ["LIMIT", 1]]
|
|
1914
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1915
|
-
[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", "957dcc71-a9c2-4f92-ae1f-728bf9aed245"], ["LIMIT", 1]]
|
|
1916
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
1917
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
1918
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
|
|
1919
|
-
Completed 200 OK in 11ms (Views: 7.8ms | ActiveRecord: 0.5ms)
|
|
1920
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1921
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1922
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1923
|
-
---------------------------------------------------------------
|
|
1924
|
-
PushType::AuthenticatableTest::recoverable: test_0001_anonymous
|
|
1925
|
-
---------------------------------------------------------------
|
|
1926
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1927
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1928
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1929
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1930
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1931
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1932
|
-
--------------------------------------------------------------------------------------------
|
|
1933
|
-
AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous
|
|
1934
|
-
--------------------------------------------------------------------------------------------
|
|
1935
2040
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1936
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1937
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1938
2041
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2042
|
+
[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-16@example.com"], ["LIMIT", 1]]
|
|
1939
2043
|
[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]]
|
|
1940
|
-
[1m[
|
|
1941
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", 2016-11-16 22:29:57 UTC], ["updated_at", 2016-11-16 22:29:57 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-16 22:29:57 UTC], ["confirmation_sent_at", 2016-11-16 22:29:57 UTC]]
|
|
2044
|
+
[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", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
|
|
1942
2045
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1943
|
-
Started GET "/api/nodes" for 127.0.0.1 at 2016-11-16 22:29:57 +0000
|
|
1944
|
-
Processing by PushType::Api::NodesController#index as JSON
|
|
1945
|
-
[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", "3fc03ddf-5a51-45bb-a371-5668500e5fe7"], ["LIMIT", 1]]
|
|
1946
|
-
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
1947
|
-
[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]]
|
|
1948
|
-
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
1949
|
-
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (3.9ms)
|
|
1950
|
-
Completed 200 OK in 42ms (Views: 32.6ms | ActiveRecord: 0.5ms)
|
|
1951
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1952
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1953
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1954
|
-
--------------------------------------------------------------------------------------
|
|
1955
|
-
PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
|
|
1956
|
-
--------------------------------------------------------------------------------------
|
|
1957
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1958
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1959
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1960
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1961
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1962
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
1963
|
-
-------------------------------------------------------------
|
|
1964
|
-
PushType::AuthenticatableTest::trackable: test_0001_anonymous
|
|
1965
|
-
-------------------------------------------------------------
|
|
1966
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1967
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1968
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1969
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1970
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1971
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1972
|
-
------------------------------------------------------------------------------------------
|
|
1973
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
1974
|
-
------------------------------------------------------------------------------------------
|
|
1975
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1976
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
1977
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
1978
2046
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2047
|
+
[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-17@example.com"], ["LIMIT", 1]]
|
|
1979
2048
|
[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]]
|
|
1980
|
-
[1m[
|
|
1981
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2016-11-16 22:29:57 UTC], ["updated_at", 2016-11-16 22:29:57 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-16 22:29:57 UTC], ["confirmation_sent_at", 2016-11-16 22:29:57 UTC]]
|
|
1982
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1983
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
1984
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
1985
|
-
[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", "cf8cf4ce-cb4d-47e1-b508-4610e6e8e00d"], ["LIMIT", 1]]
|
|
1986
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
1987
|
-
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-17@example.com"], ["id", "cf8cf4ce-cb4d-47e1-b508-4610e6e8e00d"], ["LIMIT", 1]]
|
|
1988
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-11-16 22:29:57 UTC], ["id", "cf8cf4ce-cb4d-47e1-b508-4610e6e8e00d"]]
|
|
1989
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
1990
|
-
Redirected to http://test.host/admin/profile/edit
|
|
1991
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
|
1992
|
-
[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", "cf8cf4ce-cb4d-47e1-b508-4610e6e8e00d"], ["LIMIT", 1]]
|
|
1993
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1994
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
1995
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
1996
|
-
------------------------------------------------------------------------------------------
|
|
1997
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
1998
|
-
------------------------------------------------------------------------------------------
|
|
1999
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2000
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2001
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2002
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2003
|
-
[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]]
|
|
2004
|
-
[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]]
|
|
2005
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", 2016-11-16 22:29:57 UTC], ["updated_at", 2016-11-16 22:29:57 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-16 22:29:57 UTC], ["confirmation_sent_at", 2016-11-16 22:29:57 UTC]]
|
|
2006
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2007
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2008
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
2009
|
-
[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", "04bf6990-3b29-44cf-a1d7-20ec01437077"], ["LIMIT", 1]]
|
|
2010
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2011
|
-
[1m[36mPushType::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-18@example.com"], ["id", "04bf6990-3b29-44cf-a1d7-20ec01437077"], ["LIMIT", 1]]
|
|
2012
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-11-16 22:29:57 UTC], ["id", "04bf6990-3b29-44cf-a1d7-20ec01437077"]]
|
|
2013
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2014
|
-
Redirected to http://test.host/admin/profile/edit
|
|
2015
|
-
Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
|
|
2016
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2017
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2018
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2019
|
-
------------------------------------------------------------------------------------------
|
|
2020
|
-
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
|
|
2021
|
-
------------------------------------------------------------------------------------------
|
|
2022
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2023
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2024
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2025
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2026
|
-
[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]]
|
|
2027
|
-
[1m[36mPushType::User Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2[0m [["email", "joe-19@example.com"], ["LIMIT", 1]]
|
|
2028
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", 2016-11-16 22:29:57 UTC], ["updated_at", 2016-11-16 22:29:57 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-16 22:29:57 UTC], ["confirmation_sent_at", 2016-11-16 22:29:57 UTC]]
|
|
2029
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2030
|
-
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2031
|
-
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
2032
|
-
[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", "0e671fe1-8090-452d-a47a-de3ae1f5193a"], ["LIMIT", 1]]
|
|
2033
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2034
|
-
[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-19@example.com"], ["id", "0e671fe1-8090-452d-a47a-de3ae1f5193a"], ["LIMIT", 1]]
|
|
2035
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-11-16 22:29:57 UTC], ["id", "0e671fe1-8090-452d-a47a-de3ae1f5193a"]]
|
|
2036
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2037
|
-
Redirected to http://test.host/admin/profile/edit
|
|
2038
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
|
2039
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2040
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2041
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
2042
|
-
----------------------------------------------------------------
|
|
2043
|
-
PushType::AuthenticatableTest::rememberable: test_0001_anonymous
|
|
2044
|
-
----------------------------------------------------------------
|
|
2045
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2046
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2047
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2048
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2049
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2050
|
-
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
2051
|
-
--------------------------------------------------------
|
|
2052
|
-
PushType::AuthenticationMethodsTest: test_0002_anonymous
|
|
2053
|
-
--------------------------------------------------------
|
|
2054
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2055
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2056
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2057
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2058
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2059
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2060
|
-
--------------------------------------------------------
|
|
2061
|
-
PushType::AuthenticationMethodsTest: test_0001_anonymous
|
|
2062
|
-
--------------------------------------------------------
|
|
2063
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2064
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2065
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2066
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2067
|
-
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
2068
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2069
|
-
------------------------------------------------------------------------------------------------------
|
|
2070
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
|
|
2071
|
-
------------------------------------------------------------------------------------------------------
|
|
2072
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2073
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2074
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2075
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
|
2076
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
|
2077
|
-
[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]]
|
|
2078
|
-
[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]]
|
|
2079
|
-
[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", "561b066fe811f6c3537de4c5e4d21384bd937bf1ffc6fdbf2ea5736bff880ee0"], ["LIMIT", 1]]
|
|
2080
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
2081
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
|
|
2082
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (6.4ms)
|
|
2083
|
-
Completed 200 OK in 191ms (Views: 16.7ms | ActiveRecord: 0.5ms)
|
|
2084
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2085
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2086
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2087
|
-
------------------------------------------------------------------------------------------------------
|
|
2088
|
-
PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
|
|
2089
|
-
------------------------------------------------------------------------------------------------------
|
|
2090
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2091
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2092
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2093
|
-
Processing by PushType::ConfirmationsController#show as HTML
|
|
2094
|
-
Parameters: {"confirmation_token"=>"invalid"}
|
|
2095
|
-
[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]]
|
|
2096
|
-
[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]]
|
|
2097
|
-
[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", "561b066fe811f6c3537de4c5e4d21384bd937bf1ffc6fdbf2ea5736bff880ee0"], ["LIMIT", 1]]
|
|
2098
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
|
|
2099
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
2100
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.4ms)
|
|
2101
|
-
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.3ms)
|
|
2102
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2103
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2104
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2105
|
-
-----------------------------------------------------------------------
|
|
2106
|
-
PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous
|
|
2107
|
-
-----------------------------------------------------------------------
|
|
2108
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2109
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2110
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2111
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2112
|
-
[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]]
|
|
2113
|
-
[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]]
|
|
2114
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", 2016-11-16 22:29:57 UTC], ["updated_at", 2016-11-16 22:29:57 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-16 22:29:57 UTC], ["confirmation_sent_at", 2016-11-16 22:29:57 UTC]]
|
|
2115
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2116
|
-
Processing by PushType::Admin::ProfilesController#edit as HTML
|
|
2117
|
-
[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", "4e10ac0b-66b6-4b45-900e-1a1ec5831452"], ["LIMIT", 1]]
|
|
2118
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
2119
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (6.5ms)
|
|
2120
|
-
Completed 200 OK in 24ms (Views: 18.5ms | ActiveRecord: 0.2ms)
|
|
2121
|
-
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2122
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2123
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2124
|
-
-----------------------------------------------------------------------
|
|
2125
|
-
PushType::Admin::ProfilesControllerTest::GET #edit: test_0001_anonymous
|
|
2126
|
-
-----------------------------------------------------------------------
|
|
2127
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2128
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2129
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2130
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2131
|
-
[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]]
|
|
2132
|
-
[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]]
|
|
2133
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", 2016-11-16 22:29:57 UTC], ["updated_at", 2016-11-16 22:29:57 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-16 22:29:57 UTC], ["confirmation_sent_at", 2016-11-16 22:29:57 UTC]]
|
|
2134
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2135
|
-
Processing by PushType::Admin::ProfilesController#edit as HTML
|
|
2136
|
-
[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", "7b187707-1c9e-4b72-8f68-ac1152f19d92"], ["LIMIT", 1]]
|
|
2137
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
2138
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
|
|
2139
|
-
Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.1ms)
|
|
2140
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2141
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2142
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2143
|
-
----------------------------------------------------------------------------
|
|
2144
|
-
AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous
|
|
2145
|
-
----------------------------------------------------------------------------
|
|
2146
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2147
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2148
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2149
|
-
Started GET "/api/nodes" for 127.0.0.1 at 2016-11-16 22:29:57 +0000
|
|
2150
|
-
Processing by PushType::Api::NodesController#index as JSON
|
|
2151
|
-
Filter chain halted as :authenticate_user! rendered or redirected
|
|
2152
|
-
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
|
|
2153
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2154
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2155
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2156
|
-
------------------------------------------------------------------------------------------
|
|
2157
|
-
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
2158
|
-
------------------------------------------------------------------------------------------
|
|
2159
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2160
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2161
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2162
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2163
|
-
[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]]
|
|
2164
|
-
[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]]
|
|
2165
|
-
[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", 2016-11-16 22:29:57 UTC], ["updated_at", 2016-11-16 22:29:57 UTC], ["confirmation_token", "_SZVaVemG6WZ7QDshM_C"], ["confirmation_sent_at", 2016-11-16 22:29:57 UTC]]
|
|
2049
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "_XjubFxAgz_cWiJ5PeQN"], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
|
|
2166
2050
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2167
2051
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2168
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
2169
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
2170
|
-
Sent mail to joe-
|
|
2171
|
-
Date:
|
|
2052
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2053
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
|
|
2054
|
+
Sent mail to joe-17@example.com (4.4ms)
|
|
2055
|
+
Date: Thu, 17 Nov 2016 15:46:37 +0000
|
|
2172
2056
|
From: pushtype@example.com
|
|
2173
2057
|
Reply-To: pushtype@example.com
|
|
2174
|
-
To: joe-
|
|
2175
|
-
Message-ID: <
|
|
2058
|
+
To: joe-17@example.com
|
|
2059
|
+
Message-ID: <582dd0ddd80ea_d4703fd50d43f9c8281a7@Aarons-iMac.local.mail>
|
|
2176
2060
|
Subject: [PushType] Confirm your account
|
|
2177
2061
|
Mime-Version: 1.0
|
|
2178
2062
|
Content-Type: multipart/alternative;
|
|
2179
|
-
boundary="--==
|
|
2063
|
+
boundary="--==_mimepart_582dd0ddd7b5f_d4703fd50d43f9c8280d2";
|
|
2180
2064
|
charset=UTF-8
|
|
2181
2065
|
Content-Transfer-Encoding: 7bit
|
|
2182
2066
|
|
|
2183
2067
|
|
|
2184
|
-
----==
|
|
2068
|
+
----==_mimepart_582dd0ddd7b5f_d4703fd50d43f9c8280d2
|
|
2185
2069
|
Content-Type: text/plain;
|
|
2186
2070
|
charset=UTF-8
|
|
2187
2071
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2197,11 +2081,11 @@ To get started, confirm your account and set your own password by
|
|
|
2197
2081
|
clicking the link below:
|
|
2198
2082
|
|
|
2199
2083
|
Confirm my account
|
|
2200
|
-
( http://localhost:3000/admin/
|
|
2084
|
+
( http://localhost:3000/admin/confirmation.d2367a54-f1e7-4a4f-be01-5a40647afe53?confirmation_token=_XjubFxAgz_cWiJ5PeQN )
|
|
2201
2085
|
|
|
2202
2086
|
|
|
2203
2087
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2204
|
-
----==
|
|
2088
|
+
----==_mimepart_582dd0ddd7b5f_d4703fd50d43f9c8280d2
|
|
2205
2089
|
Content-Type: text/html;
|
|
2206
2090
|
charset=UTF-8
|
|
2207
2091
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2247,7 +2131,7 @@ body {
|
|
|
2247
2131
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2248
2132
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2249
2133
|
<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;">
|
|
2250
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
2134
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d2367a54-f1e7-4a4f-be01-5a40647afe53?confirmation_token=_XjubFxAgz_cWiJ5PeQN" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
2251
2135
|
</td>
|
|
2252
2136
|
</tr>
|
|
2253
2137
|
</table>
|
|
@@ -2292,48 +2176,32 @@ body {
|
|
|
2292
2176
|
</body>
|
|
2293
2177
|
</html>
|
|
2294
2178
|
|
|
2295
|
-
----==
|
|
2179
|
+
----==_mimepart_582dd0ddd7b5f_d4703fd50d43f9c8280d2--
|
|
2296
2180
|
|
|
2297
|
-
Processing by PushType::
|
|
2298
|
-
Parameters: {"
|
|
2299
|
-
[1m[36mPushType::User Load (0.2ms)[0m [1m[34mSELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."
|
|
2300
|
-
[1m[36mPushType::User
|
|
2301
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
2302
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.2ms)
|
|
2303
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.7ms)
|
|
2304
|
-
Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.4ms)
|
|
2305
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2306
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2307
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2308
|
-
------------------------------------------------------------------------------------------
|
|
2309
|
-
PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
2310
|
-
------------------------------------------------------------------------------------------
|
|
2311
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2312
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2313
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2181
|
+
Processing by PushType::Admin::UsersController#invite as HTML
|
|
2182
|
+
Parameters: {"id"=>"d2367a54-f1e7-4a4f-be01-5a40647afe53"}
|
|
2183
|
+
[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", "61e1164a-9d47-4b49-921f-0fbe9ea967e0"], ["LIMIT", 1]]
|
|
2184
|
+
[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", "d2367a54-f1e7-4a4f-be01-5a40647afe53"], ["LIMIT", 1]]
|
|
2314
2185
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2315
|
-
[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-23@example.com"], ["LIMIT", 1]]
|
|
2316
|
-
[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]]
|
|
2317
|
-
[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", 2016-11-16 22:29:57 UTC], ["updated_at", 2016-11-16 22:29:57 UTC], ["confirmation_token", "W75Fr-PVwxR3SqCjh_aq"], ["confirmation_sent_at", 2016-11-16 22:29:57 UTC]]
|
|
2318
2186
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2319
2187
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2320
2188
|
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2321
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.
|
|
2322
|
-
Sent mail to joe-
|
|
2323
|
-
Date:
|
|
2189
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
|
|
2190
|
+
Sent mail to joe-17@example.com (4.5ms)
|
|
2191
|
+
Date: Thu, 17 Nov 2016 15:46:37 +0000
|
|
2324
2192
|
From: pushtype@example.com
|
|
2325
2193
|
Reply-To: pushtype@example.com
|
|
2326
|
-
To: joe-
|
|
2327
|
-
Message-ID: <
|
|
2194
|
+
To: joe-17@example.com
|
|
2195
|
+
Message-ID: <582dd0dde5991_d4703fd50d43f9c828427@Aarons-iMac.local.mail>
|
|
2328
2196
|
Subject: [PushType] Confirm your account
|
|
2329
2197
|
Mime-Version: 1.0
|
|
2330
2198
|
Content-Type: multipart/alternative;
|
|
2331
|
-
boundary="--==
|
|
2199
|
+
boundary="--==_mimepart_582dd0dde53a4_d4703fd50d43f9c8283e2";
|
|
2332
2200
|
charset=UTF-8
|
|
2333
2201
|
Content-Transfer-Encoding: 7bit
|
|
2334
2202
|
|
|
2335
2203
|
|
|
2336
|
-
----==
|
|
2204
|
+
----==_mimepart_582dd0dde53a4_d4703fd50d43f9c8283e2
|
|
2337
2205
|
Content-Type: text/plain;
|
|
2338
2206
|
charset=UTF-8
|
|
2339
2207
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2349,11 +2217,11 @@ To get started, confirm your account and set your own password by
|
|
|
2349
2217
|
clicking the link below:
|
|
2350
2218
|
|
|
2351
2219
|
Confirm my account
|
|
2352
|
-
( http://localhost:3000/admin/
|
|
2220
|
+
( http://localhost:3000/admin/confirmation.d2367a54-f1e7-4a4f-be01-5a40647afe53?confirmation_token=_XjubFxAgz_cWiJ5PeQN )
|
|
2353
2221
|
|
|
2354
2222
|
|
|
2355
2223
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2356
|
-
----==
|
|
2224
|
+
----==_mimepart_582dd0dde53a4_d4703fd50d43f9c8283e2
|
|
2357
2225
|
Content-Type: text/html;
|
|
2358
2226
|
charset=UTF-8
|
|
2359
2227
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2399,7 +2267,7 @@ body {
|
|
|
2399
2267
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2400
2268
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2401
2269
|
<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;">
|
|
2402
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
2270
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.d2367a54-f1e7-4a4f-be01-5a40647afe53?confirmation_token=_XjubFxAgz_cWiJ5PeQN" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
2403
2271
|
</td>
|
|
2404
2272
|
</tr>
|
|
2405
2273
|
</table>
|
|
@@ -2444,48 +2312,217 @@ body {
|
|
|
2444
2312
|
</body>
|
|
2445
2313
|
</html>
|
|
2446
2314
|
|
|
2447
|
-
----==
|
|
2315
|
+
----==_mimepart_582dd0dde53a4_d4703fd50d43f9c8283e2--
|
|
2448
2316
|
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
[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", "W75Fr-PVwxR3SqCjh_aq"], ["LIMIT", 1]]
|
|
2452
|
-
[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", "d4fe1bea-1d5a-4add-9f57-bca9bdcc8201"], ["LIMIT", 1]]
|
|
2453
|
-
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
|
|
2454
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
|
|
2455
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
|
|
2456
|
-
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.4ms)
|
|
2317
|
+
Redirected to http://test.host/push_type/users
|
|
2318
|
+
Completed 302 Found in 55ms (ActiveRecord: 0.5ms)
|
|
2457
2319
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2458
2320
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2459
2321
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2460
2322
|
------------------------------------------------------------------------------------------
|
|
2461
|
-
PushType::
|
|
2323
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
2324
|
+
------------------------------------------------------------------------------------------
|
|
2325
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2326
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2327
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2328
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2329
|
+
[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]]
|
|
2330
|
+
[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]]
|
|
2331
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
|
|
2332
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2333
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2334
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
2335
|
+
[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", "c41dde78-bb1a-4d1d-a757-fa3246f8ccfe"], ["LIMIT", 1]]
|
|
2336
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2337
|
+
[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-18@example.com"], ["id", "c41dde78-bb1a-4d1d-a757-fa3246f8ccfe"], ["LIMIT", 1]]
|
|
2338
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-11-17 15:46:37 UTC], ["id", "c41dde78-bb1a-4d1d-a757-fa3246f8ccfe"]]
|
|
2339
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2340
|
+
Redirected to http://test.host/admin/profile/edit
|
|
2341
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
|
|
2342
|
+
[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", "c41dde78-bb1a-4d1d-a757-fa3246f8ccfe"], ["LIMIT", 1]]
|
|
2343
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2344
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2345
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2346
|
+
------------------------------------------------------------------------------------------
|
|
2347
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
2348
|
+
------------------------------------------------------------------------------------------
|
|
2349
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2350
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2351
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2352
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2353
|
+
[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]]
|
|
2354
|
+
[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]]
|
|
2355
|
+
[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-19@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
|
|
2356
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2357
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2358
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
2359
|
+
[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", "c20c8454-7994-43ce-81bb-9f17444634c3"], ["LIMIT", 1]]
|
|
2360
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2361
|
+
[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-19@example.com"], ["id", "c20c8454-7994-43ce-81bb-9f17444634c3"], ["LIMIT", 1]]
|
|
2362
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-11-17 15:46:37 UTC], ["id", "c20c8454-7994-43ce-81bb-9f17444634c3"]]
|
|
2363
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2364
|
+
Redirected to http://test.host/admin/profile/edit
|
|
2365
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
|
|
2366
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2367
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2368
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2462
2369
|
------------------------------------------------------------------------------------------
|
|
2370
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
|
|
2371
|
+
------------------------------------------------------------------------------------------
|
|
2372
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2373
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2463
2374
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2375
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2376
|
+
[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]]
|
|
2377
|
+
[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]]
|
|
2378
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
|
|
2379
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2380
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2381
|
+
Parameters: {"user"=>{"name"=>"Test user ABC"}}
|
|
2382
|
+
[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", "7c1f49af-8dc5-4170-9aca-34ae45062d1c"], ["LIMIT", 1]]
|
|
2383
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2384
|
+
[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-20@example.com"], ["id", "7c1f49af-8dc5-4170-9aca-34ae45062d1c"], ["LIMIT", 1]]
|
|
2385
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3[0m [["name", "Test user ABC"], ["updated_at", 2016-11-17 15:46:37 UTC], ["id", "7c1f49af-8dc5-4170-9aca-34ae45062d1c"]]
|
|
2386
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2387
|
+
Redirected to http://test.host/admin/profile/edit
|
|
2388
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
|
2389
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2390
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2391
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2392
|
+
--------------------------------------------------------------------------------------------
|
|
2393
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
|
|
2394
|
+
--------------------------------------------------------------------------------------------
|
|
2395
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2464
2396
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2397
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2398
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2399
|
+
[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]]
|
|
2400
|
+
[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]]
|
|
2401
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", 2016-11-17 15:46:37 UTC], ["updated_at", 2016-11-17 15:46:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:37 UTC], ["confirmation_sent_at", 2016-11-17 15:46:37 UTC]]
|
|
2402
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2403
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2404
|
+
Parameters: {"user"=>{"name"=>""}}
|
|
2405
|
+
[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", "4af2a0cb-8ff7-4ab9-8864-5cff9ccf1504"], ["LIMIT", 1]]
|
|
2406
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2407
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-21@example.com"], ["id", "4af2a0cb-8ff7-4ab9-8864-5cff9ccf1504"], ["LIMIT", 1]]
|
|
2408
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
2409
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
2410
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (7.0ms)
|
|
2411
|
+
Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 0.5ms)
|
|
2412
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2413
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2414
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2415
|
+
--------------------------------------------------------------------------------------------
|
|
2416
|
+
PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
|
|
2417
|
+
--------------------------------------------------------------------------------------------
|
|
2418
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2419
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2420
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2421
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2422
|
+
[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]]
|
|
2423
|
+
[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]]
|
|
2424
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:38 UTC], ["confirmation_sent_at", 2016-11-17 15:46:38 UTC]]
|
|
2425
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2426
|
+
Processing by PushType::Admin::ProfilesController#update as HTML
|
|
2427
|
+
Parameters: {"user"=>{"name"=>""}}
|
|
2428
|
+
[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", "4f66ed90-dd80-478e-a919-981a41124627"], ["LIMIT", 1]]
|
|
2429
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2430
|
+
[1m[36mPushType::User Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3[0m [["email", "joe-22@example.com"], ["id", "4f66ed90-dd80-478e-a919-981a41124627"], ["LIMIT", 1]]
|
|
2431
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
2432
|
+
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin
|
|
2433
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (2.5ms)
|
|
2434
|
+
Completed 200 OK in 14ms (Views: 9.7ms | ActiveRecord: 0.5ms)
|
|
2435
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2436
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2437
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2438
|
+
-----------------------------------------------------------------------------------
|
|
2439
|
+
AuthenticatedApiControllerTest::authenticated with token param: test_0001_anonymous
|
|
2440
|
+
-----------------------------------------------------------------------------------
|
|
2441
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2442
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2465
2443
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2466
2444
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2467
|
-
[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-
|
|
2468
|
-
[1m[36mPushType::User Exists (0.
|
|
2469
|
-
[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-
|
|
2445
|
+
[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]]
|
|
2446
|
+
[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-23@example.com"], ["LIMIT", 1]]
|
|
2447
|
+
[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-23@example.com"], ["created_at", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-11-17 15:46:38 UTC], ["confirmation_sent_at", 2016-11-17 15:46:38 UTC]]
|
|
2448
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2449
|
+
Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0Nzk0ODM5OTgsInN1YiI6Ijc0ZWJiMThmLTc0Y2ItNGQ0OC05MTUxLTEyMTBkNTAxZGY5NyJ9.NX5UVN_FvIzDgPWPSUxljiNyVCB8V0nnwnRKxmT5cuQ" for 127.0.0.1 at 2016-11-17 15:46:38 +0000
|
|
2450
|
+
Processing by PushType::Api::NodesController#index as JSON
|
|
2451
|
+
Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0Nzk0ODM5OTgsInN1YiI6Ijc0ZWJiMThmLTc0Y2ItNGQ0OC05MTUxLTEyMTBkNTAxZGY5NyJ9.NX5UVN_FvIzDgPWPSUxljiNyVCB8V0nnwnRKxmT5cuQ"}
|
|
2452
|
+
[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", "74ebb18f-74cb-4d48-9151-1210d501df97"], ["LIMIT", 1]]
|
|
2453
|
+
Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder
|
|
2454
|
+
[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]]
|
|
2455
|
+
Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms)
|
|
2456
|
+
Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (4.1ms)
|
|
2457
|
+
Completed 200 OK in 44ms (Views: 33.7ms | ActiveRecord: 0.6ms)
|
|
2458
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2459
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2460
|
+
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
2461
|
+
-----------------------------------------------------------
|
|
2462
|
+
PushType::ApiAuthenticationMethodsTest: test_0001_anonymous
|
|
2463
|
+
-----------------------------------------------------------
|
|
2464
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2465
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2466
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2467
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2468
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
2469
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2470
|
+
-----------------------------------------------------------
|
|
2471
|
+
PushType::ApiAuthenticationMethodsTest: test_0003_anonymous
|
|
2472
|
+
-----------------------------------------------------------
|
|
2473
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2474
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2475
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2476
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2477
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK[0m
|
|
2478
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2479
|
+
-----------------------------------------------------------
|
|
2480
|
+
PushType::ApiAuthenticationMethodsTest: test_0002_anonymous
|
|
2481
|
+
-----------------------------------------------------------
|
|
2482
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2483
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2484
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2485
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2486
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2487
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2488
|
+
-----------------------------------------------------------
|
|
2489
|
+
PushType::ApiAuthenticationMethodsTest: test_0004_anonymous
|
|
2490
|
+
-----------------------------------------------------------
|
|
2491
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2492
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2493
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2494
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2495
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2496
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2497
|
+
----------------------------------------------------------------------------------------
|
|
2498
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
|
|
2499
|
+
----------------------------------------------------------------------------------------
|
|
2500
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2501
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2502
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2503
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2504
|
+
[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-24@example.com"], ["LIMIT", 1]]
|
|
2505
|
+
[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-24@example.com"], ["LIMIT", 1]]
|
|
2506
|
+
[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", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["confirmation_token", "ymcrARsd1bNd9k-frNfA"], ["confirmation_sent_at", 2016-11-17 15:46:38 UTC]]
|
|
2470
2507
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2471
2508
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2472
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
2473
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
2474
|
-
Sent mail to joe-24@example.com (3.
|
|
2475
|
-
Date:
|
|
2509
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
|
|
2510
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 40.6ms
|
|
2511
|
+
Sent mail to joe-24@example.com (3.5ms)
|
|
2512
|
+
Date: Thu, 17 Nov 2016 15:46:38 +0000
|
|
2476
2513
|
From: pushtype@example.com
|
|
2477
2514
|
Reply-To: pushtype@example.com
|
|
2478
2515
|
To: joe-24@example.com
|
|
2479
|
-
Message-ID: <
|
|
2516
|
+
Message-ID: <582dd0de2f141_d4703fd50d43f9c82875f@Aarons-iMac.local.mail>
|
|
2480
2517
|
Subject: [PushType] Confirm your account
|
|
2481
2518
|
Mime-Version: 1.0
|
|
2482
2519
|
Content-Type: multipart/alternative;
|
|
2483
|
-
boundary="--==
|
|
2520
|
+
boundary="--==_mimepart_582dd0de2ed35_d4703fd50d43f9c8286e1";
|
|
2484
2521
|
charset=UTF-8
|
|
2485
2522
|
Content-Transfer-Encoding: 7bit
|
|
2486
2523
|
|
|
2487
2524
|
|
|
2488
|
-
----==
|
|
2525
|
+
----==_mimepart_582dd0de2ed35_d4703fd50d43f9c8286e1
|
|
2489
2526
|
Content-Type: text/plain;
|
|
2490
2527
|
charset=UTF-8
|
|
2491
2528
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2501,11 +2538,11 @@ To get started, confirm your account and set your own password by
|
|
|
2501
2538
|
clicking the link below:
|
|
2502
2539
|
|
|
2503
2540
|
Confirm my account
|
|
2504
|
-
( http://localhost:3000/admin/
|
|
2541
|
+
( http://localhost:3000/admin/confirmation.8abe587e-d9f4-49b0-95b5-ae0cfc02b30e?confirmation_token=ymcrARsd1bNd9k-frNfA )
|
|
2505
2542
|
|
|
2506
2543
|
|
|
2507
2544
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2508
|
-
----==
|
|
2545
|
+
----==_mimepart_582dd0de2ed35_d4703fd50d43f9c8286e1
|
|
2509
2546
|
Content-Type: text/html;
|
|
2510
2547
|
charset=UTF-8
|
|
2511
2548
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2551,7 +2588,7 @@ body {
|
|
|
2551
2588
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2552
2589
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2553
2590
|
<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;">
|
|
2554
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
2591
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.8abe587e-d9f4-49b0-95b5-ae0cfc02b30e?confirmation_token=ymcrARsd1bNd9k-frNfA" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
2555
2592
|
</td>
|
|
2556
2593
|
</tr>
|
|
2557
2594
|
</table>
|
|
@@ -2596,84 +2633,53 @@ body {
|
|
|
2596
2633
|
</body>
|
|
2597
2634
|
</html>
|
|
2598
2635
|
|
|
2599
|
-
----==
|
|
2636
|
+
----==_mimepart_582dd0de2ed35_d4703fd50d43f9c8286e1--
|
|
2600
2637
|
|
|
2601
2638
|
Processing by PushType::ConfirmationsController#update as HTML
|
|
2602
|
-
Parameters: {"user"=>{"confirmation_token"=>"
|
|
2603
|
-
[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", "
|
|
2604
|
-
[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-24@example.com"], ["id", "
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2639
|
+
Parameters: {"user"=>{"confirmation_token"=>"ymcrARsd1bNd9k-frNfA", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
2640
|
+
[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", "ymcrARsd1bNd9k-frNfA"], ["LIMIT", 1]]
|
|
2641
|
+
[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-24@example.com"], ["id", "8abe587e-d9f4-49b0-95b5-ae0cfc02b30e"], ["LIMIT", 1]]
|
|
2642
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2643
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4[0m [["encrypted_password", "$2a$04$xLssArG2VfBz1A6pWz90LeaCLTnAMLq/OveoM.KEWL.HDJr23Iqj6"], ["confirmed_at", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["id", "8abe587e-d9f4-49b0-95b5-ae0cfc02b30e"]]
|
|
2644
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2645
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2646
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2016-11-17 15:46:38 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-11-17 15:46:38 UTC], ["last_sign_in_at", 2016-11-17 15:46:38 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "8abe587e-d9f4-49b0-95b5-ae0cfc02b30e"]]
|
|
2647
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2648
|
+
Redirected to http://test.host/admin/
|
|
2649
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.3ms)
|
|
2650
|
+
[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", "8abe587e-d9f4-49b0-95b5-ae0cfc02b30e"], ["LIMIT", 1]]
|
|
2609
2651
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2610
2652
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2611
2653
|
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
|
|
2612
|
-
|
|
2613
|
-
PushType::
|
|
2614
|
-
|
|
2615
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2616
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2617
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2618
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2619
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2620
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2621
|
-
---------------------------------------------------------------------------
|
|
2622
|
-
PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
|
|
2623
|
-
---------------------------------------------------------------------------
|
|
2624
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2625
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2626
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2627
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2628
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2629
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2630
|
-
---------------------------------------------------------------
|
|
2631
|
-
PushType::AuthenticatableTest::validatable: test_0001_anonymous
|
|
2632
|
-
---------------------------------------------------------------
|
|
2633
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2634
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2635
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2636
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2637
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2638
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2639
|
-
---------------------------------------------------------------
|
|
2640
|
-
PushType::AuthenticatableTest::validatable: test_0002_anonymous
|
|
2641
|
-
---------------------------------------------------------------
|
|
2654
|
+
----------------------------------------------------------------------------------------
|
|
2655
|
+
PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
|
|
2656
|
+
----------------------------------------------------------------------------------------
|
|
2642
2657
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2643
2658
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2644
2659
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2645
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2646
|
-
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
|
2647
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
|
2648
|
-
--------------------------------------------------------------------------------------------------------------
|
|
2649
|
-
PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
|
|
2650
|
-
--------------------------------------------------------------------------------------------------------------
|
|
2651
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2652
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2653
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2654
2660
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2655
2661
|
[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]]
|
|
2656
2662
|
[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-25@example.com"], ["LIMIT", 1]]
|
|
2657
|
-
[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", 2016-11-
|
|
2663
|
+
[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", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["confirmation_token", "FUGmmuoDZfi6XSpvyc87"], ["confirmation_sent_at", 2016-11-17 15:46:38 UTC]]
|
|
2658
2664
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2659
2665
|
Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
|
|
2660
|
-
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.
|
|
2661
|
-
Devise::Mailer#confirmation_instructions: processed outbound mail in
|
|
2662
|
-
Sent mail to joe-25@example.com (3.
|
|
2663
|
-
Date:
|
|
2666
|
+
Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
|
|
2667
|
+
Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
|
|
2668
|
+
Sent mail to joe-25@example.com (3.7ms)
|
|
2669
|
+
Date: Thu, 17 Nov 2016 15:46:38 +0000
|
|
2664
2670
|
From: pushtype@example.com
|
|
2665
2671
|
Reply-To: pushtype@example.com
|
|
2666
2672
|
To: joe-25@example.com
|
|
2667
|
-
Message-ID: <
|
|
2673
|
+
Message-ID: <582dd0de3c10c_d4703fd50d43f9c8290df@Aarons-iMac.local.mail>
|
|
2668
2674
|
Subject: [PushType] Confirm your account
|
|
2669
2675
|
Mime-Version: 1.0
|
|
2670
2676
|
Content-Type: multipart/alternative;
|
|
2671
|
-
boundary="--==
|
|
2677
|
+
boundary="--==_mimepart_582dd0de3bbd3_d4703fd50d43f9c82893";
|
|
2672
2678
|
charset=UTF-8
|
|
2673
2679
|
Content-Transfer-Encoding: 7bit
|
|
2674
2680
|
|
|
2675
2681
|
|
|
2676
|
-
----==
|
|
2682
|
+
----==_mimepart_582dd0de3bbd3_d4703fd50d43f9c82893
|
|
2677
2683
|
Content-Type: text/plain;
|
|
2678
2684
|
charset=UTF-8
|
|
2679
2685
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2689,11 +2695,11 @@ To get started, confirm your account and set your own password by
|
|
|
2689
2695
|
clicking the link below:
|
|
2690
2696
|
|
|
2691
2697
|
Confirm my account
|
|
2692
|
-
( http://localhost:3000/admin/
|
|
2698
|
+
( http://localhost:3000/admin/confirmation.6bb56aa1-361e-4852-a3fb-0bb783283098?confirmation_token=FUGmmuoDZfi6XSpvyc87 )
|
|
2693
2699
|
|
|
2694
2700
|
|
|
2695
2701
|
PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
|
|
2696
|
-
----==
|
|
2702
|
+
----==_mimepart_582dd0de3bbd3_d4703fd50d43f9c82893
|
|
2697
2703
|
Content-Type: text/html;
|
|
2698
2704
|
charset=UTF-8
|
|
2699
2705
|
Content-Transfer-Encoding: 7bit
|
|
@@ -2739,7 +2745,7 @@ body {
|
|
|
2739
2745
|
<table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
|
|
2740
2746
|
<tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
|
|
2741
2747
|
<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;">
|
|
2742
|
-
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/
|
|
2748
|
+
<p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/admin/confirmation.6bb56aa1-361e-4852-a3fb-0bb783283098?confirmation_token=FUGmmuoDZfi6XSpvyc87" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
|
|
2743
2749
|
</td>
|
|
2744
2750
|
</tr>
|
|
2745
2751
|
</table>
|
|
@@ -2784,25 +2790,19 @@ body {
|
|
|
2784
2790
|
</body>
|
|
2785
2791
|
</html>
|
|
2786
2792
|
|
|
2787
|
-
----==
|
|
2793
|
+
----==_mimepart_582dd0de3bbd3_d4703fd50d43f9c82893--
|
|
2788
2794
|
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
[1m[
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
[1m[35m (0.1ms)[0m [1m[
|
|
2796
|
-
[1m[35m (0.
|
|
2797
|
-
[1m[
|
|
2798
|
-
[1m[35m (0.1ms)[0m [1m[
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
---------------------------------------------------------------
|
|
2802
|
-
PushType::AuthenticatableTest::confirmable: test_0001_anonymous
|
|
2803
|
-
---------------------------------------------------------------
|
|
2804
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2805
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
2806
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
2795
|
+
Processing by PushType::ConfirmationsController#update as HTML
|
|
2796
|
+
Parameters: {"user"=>{"confirmation_token"=>"FUGmmuoDZfi6XSpvyc87", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
|
2797
|
+
[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", "FUGmmuoDZfi6XSpvyc87"], ["LIMIT", 1]]
|
|
2798
|
+
[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", "6bb56aa1-361e-4852-a3fb-0bb783283098"], ["LIMIT", 1]]
|
|
2799
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2800
|
+
[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$D5aifzGyk4sN2ZwKoUktpOsmb5bi7JMaZ8DZWqrrOEB.6xoWEzjNy"], ["confirmed_at", 2016-11-17 15:46:38 UTC], ["updated_at", 2016-11-17 15:46:38 UTC], ["id", "6bb56aa1-361e-4852-a3fb-0bb783283098"]]
|
|
2801
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2802
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_2[0m
|
|
2803
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7[0m [["updated_at", 2016-11-17 15:46:38 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-11-17 15:46:38 UTC], ["last_sign_in_at", 2016-11-17 15:46:38 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "6bb56aa1-361e-4852-a3fb-0bb783283098"]]
|
|
2804
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_2[0m
|
|
2805
|
+
Redirected to http://test.host/admin/
|
|
2806
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
|
|
2807
2807
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
2808
2808
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|