ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]  (193.0ms) DROP DATABASE IF EXISTS "dummy_test"  (382.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (2.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.1ms) SELECT pg_try_advisory_lock(2735718569030447490)  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreateActiveStorageTables (20180416190745)  (0.1ms) BEGIN  (3.0ms) CREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)  (1.7ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")  (2.0ms) CREATE TABLE "active_storage_attachments" ("id" bigserial primary key, "name" character varying NOT NULL, "record_type" character varying NOT NULL, "record_id" bigint NOT NULL, "blob_id" bigint NOT NULL, "created_at" timestamp NOT NULL)  (0.8ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")  (0.8ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id") ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180416190745"]]  (0.7ms) COMMIT Migrating to CreatePushTypeUsers (20180416190746)  (0.3ms) BEGIN SQL (2.4ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (1.9ms) CREATE TABLE "push_type_users" ("id" uuid DEFAULT uuid_generate_v4() NOT NULL PRIMARY KEY, "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180416190746"]]  (0.6ms) COMMIT Migrating to CreatePushTypeNodes (20180416190747)  (0.1ms) BEGIN  (2.0ms) CREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() NOT NULL 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) ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180416190747"]]  (0.6ms) COMMIT Migrating to CreatePushTypeNodeHierarchies (20180416190748)  (0.1ms) BEGIN  (0.8ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")  (0.5ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id") ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180416190748"]]  (0.5ms) COMMIT Migrating to CreatePushTypeAssets (20180416190749)  (0.1ms) BEGIN  (1.7ms) CREATE TABLE "push_type_assets" ("id" uuid DEFAULT uuid_generate_v4() NOT NULL 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) ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180416190749"]]  (0.5ms) COMMIT Migrating to AddFieldStoreDefaultValues (20180416190750)  (0.1ms) BEGIN  (0.3ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb  (0.3ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'  (0.3ms) UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL  (0.2ms) ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL  (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb  (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'  (0.2ms) UPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL  (0.2ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180416190750"]]  (0.5ms) COMMIT Migrating to DropLegacyPushTypeTaxonomies (20180416190751)  (0.1ms) BEGIN ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180416190751"]]  (0.4ms) COMMIT Migrating to DeviseExtendPushTypeUsers (20180416190752)  (0.1ms) BEGIN  (120.9ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL  (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying  (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp  (0.2ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp  (19.0ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL  (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp  (0.2ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp  (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying  (0.2ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp  (9.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")  (27.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token") ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180416190752"]]  (1.8ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-04-16 19:07:49.184306"], ["updated_at", "2018-04-16 19:07:49.184306"]]  (3.9ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(2735718569030447490)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Creating scope :published. Overwriting existing method PushType::Node.published.  (0.2ms) BEGIN  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "active_storage_blobs" DISABLE TRIGGER ALL;ALTER TABLE "active_storage_attachments" 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  (0.1ms) COMMIT  (1.7ms)  SELECT schemaname || '.' || tablename FROM pg_tables WHERE tablename !~ '_prt_' AND tablename <> 'schema_migrations' AND tablename <> 'ar_internal_metadata' AND schemaname = ANY (current_schemas(false))   (1.0ms) select table_name from information_schema.views where table_schema = 'dummy_test'  (14.0ms) TRUNCATE TABLE "public"."active_storage_blobs", "public"."active_storage_attachments", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;  (0.3ms) BEGIN  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "active_storage_blobs" ENABLE TRIGGER ALL;ALTER TABLE "active_storage_attachments" 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;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL  (0.1ms) COMMIT  (0.1ms) BEGIN -------------------------------------------------------------------------------------------- AuthenticatedApiControllerTest::authenticated with authorization header: test_0001_anonymous --------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.6ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]] PushType::User Create (1.0ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", "2018-04-16 19:07:54.699011"], ["updated_at", "2018-04-16 19:07:54.699011"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:07:54.694045"], ["confirmation_sent_at", "2018-04-16 19:07:54.694001"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Started GET "/api/nodes" for 127.0.0.1 at 2018-04-16 20:07:54 +0100 Processing by PushType::Api::NodesController#index as JSON PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "d1734028-d105-4440-b8cc-4a1d96952c38"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder PushType::Node Load (0.6ms) SELECT "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 [["LIMIT", 30], ["OFFSET", 0]] Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms) Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (9.7ms) Completed 200 OK in 86ms (Views: 62.8ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------------------------------------------- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous --------------------------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", "2018-04-16 19:07:54.804622"], ["updated_at", "2018-04-16 19:07:54.804622"], ["confirmation_token", "_BJ7x9cW6uo9csYhg6ZT"], ["confirmation_sent_at", "2018-04-16 19:07:54.804738"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.2ms) 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 in a future version of Sass. To preserve the current behavior, use quotes: unquote("#{lower-bound($medium-range)}") Devise::Mailer#confirmation_instructions: processed outbound mail in 19712.4ms Sent mail to joe-2@example.com (12.2ms) Date: Mon, 16 Apr 2018 20:08:14 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-2@example.com Message-ID: <5ad4f49e932f9_99853fd5274419e838024@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49e918e0_99853fd5274419e837954"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49e918e0_99853fd5274419e837954 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.e6069799-5911-43d2-ba64-c2d76dcc568a?confirmation_token=_BJ7x9cW6uo9csYhg6ZT ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49e918e0_99853fd5274419e837954 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49e918e0_99853fd5274419e837954--  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------------------------------ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous ------------------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Processing by PushType::ConfirmationsController#show as HTML Parameters: {"confirmation_token"=>"invalid"} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]] PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]] PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "8d4dd2dfca9f70262ac5653a0f35415463bdc100bbb78e28c310b700dcaa9e80"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.5ms) Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (18.2ms) Completed 200 OK in 246ms (Views: 46.9ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------------------------------ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous ------------------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Processing by PushType::ConfirmationsController#show as HTML Parameters: {"confirmation_token"=>"invalid"} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]] PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]] PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "8d4dd2dfca9f70262ac5653a0f35415463bdc100bbb78e28c310b700dcaa9e80"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.4ms) Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------- PushType::InvitationMethodsTest: test_0001_anonymous ----------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------------- PushType::Admin::UsersControllerTest::PUT #invite: test_0001_anonymous ----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", "2018-04-16 19:08:14.913040"], ["updated_at", "2018-04-16 19:08:14.913040"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:14.911368"], ["confirmation_sent_at", "2018-04-16 19:08:14.911317"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", "2018-04-16 19:08:14.916159"], ["updated_at", "2018-04-16 19:08:14.916159"], ["confirmation_token", "FzpF4ndMCswDCWVUi8Qn"], ["confirmation_sent_at", "2018-04-16 19:08:14.916233"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms Sent mail to joe-4@example.com (3.7ms) Date: Mon, 16 Apr 2018 20:08:14 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-4@example.com Message-ID: <5ad4f49ee76e7_99853fd5274419e838328@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49ee732d_99853fd5274419e8382e9"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49ee732d_99853fd5274419e8382e9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.6d10608f-2059-4f5f-b383-2e3f7e750762?confirmation_token=FzpF4ndMCswDCWVUi8Qn ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49ee732d_99853fd5274419e8382e9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49ee732d_99853fd5274419e8382e9-- Processing by PushType::Admin::UsersController#invite as HTML Parameters: {"id"=>"6d10608f-2059-4f5f-b383-2e3f7e750762"} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "282affac-dd06-4c08-a606-7d989dc0ff74"], ["LIMIT", 1]] PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "6d10608f-2059-4f5f-b383-2e3f7e750762"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_2  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms Sent mail to joe-4@example.com (3.5ms) Date: Mon, 16 Apr 2018 20:08:14 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-4@example.com Message-ID: <5ad4f49ef1ed1_99853fd5274419e8386c@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49ef1b19_99853fd5274419e838571"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49ef1b19_99853fd5274419e838571 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.6d10608f-2059-4f5f-b383-2e3f7e750762?confirmation_token=FzpF4ndMCswDCWVUi8Qn ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49ef1b19_99853fd5274419e838571 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49ef1b19_99853fd5274419e838571-- Redirected to http://test.host/push_type/users Completed 302 Found in 37ms (ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------------- PushType::Admin::UsersControllerTest::PUT #invite: test_0002_anonymous ----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", "2018-04-16 19:08:14.998641"], ["updated_at", "2018-04-16 19:08:14.998641"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:14.996953"], ["confirmation_sent_at", "2018-04-16 19:08:14.996922"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", "2018-04-16 19:08:15.001499"], ["updated_at", "2018-04-16 19:08:15.001499"], ["confirmation_token", "3FTzByCK6eEjuDxB4FiU"], ["confirmation_sent_at", "2018-04-16 19:08:15.001560"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms Sent mail to joe-6@example.com (3.9ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-6@example.com Message-ID: <5ad4f49f827d_99853fd5274419e83892@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49f7da7_99853fd5274419e838875"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49f7da7_99853fd5274419e838875 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.0059933d-eaad-44f5-a7d0-97da593e1997?confirmation_token=3FTzByCK6eEjuDxB4FiU ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49f7da7_99853fd5274419e838875 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49f7da7_99853fd5274419e838875-- Processing by PushType::Admin::UsersController#invite as HTML Parameters: {"id"=>"0059933d-eaad-44f5-a7d0-97da593e1997"} PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "4d5fed18-7f87-4766-84be-4acbd5d6b65f"], ["LIMIT", 1]] PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "0059933d-eaad-44f5-a7d0-97da593e1997"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_2  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms Sent mail to joe-6@example.com (3.8ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-6@example.com Message-ID: <5ad4f49f117e7_99853fd5274419e8392e6@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49f11445_99853fd5274419e8391f2"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49f11445_99853fd5274419e8391f2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.0059933d-eaad-44f5-a7d0-97da593e1997?confirmation_token=3FTzByCK6eEjuDxB4FiU ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49f11445_99853fd5274419e8391f2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49f11445_99853fd5274419e8391f2-- Redirected to http://test.host/push_type/users Completed 302 Found in 38ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------------- PushType::Admin::UsersControllerTest::PUT #invite: test_0003_anonymous ----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", "2018-04-16 19:08:15.079450"], ["updated_at", "2018-04-16 19:08:15.079450"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:15.077899"], ["confirmation_sent_at", "2018-04-16 19:08:15.077866"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", "2018-04-16 19:08:15.082297"], ["updated_at", "2018-04-16 19:08:15.082297"], ["confirmation_token", "yMUFAQsnTERx-LxwpNo6"], ["confirmation_sent_at", "2018-04-16 19:08:15.082359"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms Sent mail to joe-8@example.com (3.5ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-8@example.com Message-ID: <5ad4f49f1c055_99853fd5274419e8395a0@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49f1bc7b_99853fd5274419e83943e"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49f1bc7b_99853fd5274419e83943e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.65632f39-7e6b-45a5-abc6-1f4c679bb93e?confirmation_token=yMUFAQsnTERx-LxwpNo6 ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49f1bc7b_99853fd5274419e83943e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49f1bc7b_99853fd5274419e83943e-- Processing by PushType::Admin::UsersController#invite as HTML Parameters: {"id"=>"65632f39-7e6b-45a5-abc6-1f4c679bb93e"} PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "eaa23379-c9bb-4d10-8e4e-ad169ea6927f"], ["LIMIT", 1]] PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "65632f39-7e6b-45a5-abc6-1f4c679bb93e"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_2  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms Sent mail to joe-8@example.com (4.2ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-8@example.com Message-ID: <5ad4f49f27d68_99853fd5274419e8398a9@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49f27904_99853fd5274419e839710"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49f27904_99853fd5274419e839710 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.65632f39-7e6b-45a5-abc6-1f4c679bb93e?confirmation_token=yMUFAQsnTERx-LxwpNo6 ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49f27904_99853fd5274419e839710 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49f27904_99853fd5274419e839710-- Redirected to http://test.host/push_type/users Completed 302 Found in 49ms (ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PushType::AuthenticationMethodsTest: test_0001_anonymous --------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PushType::AuthenticationMethodsTest: test_0002_anonymous --------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------------------------------------------- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous ----------------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["created_at", "2018-04-16 19:08:15.175211"], ["updated_at", "2018-04-16 19:08:15.175211"], ["confirmation_token", "Exz-4MmzxsWcqg--5LvJ"], ["confirmation_sent_at", "2018-04-16 19:08:15.175287"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms Sent mail to joe-9@example.com (4.3ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-9@example.com Message-ID: <5ad4f49f355e3_99853fd5274419e84015d@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49f3510c_99853fd5274419e840070"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49f3510c_99853fd5274419e840070 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.d8149dec-19e8-42b0-bec4-6a985dad4c1b?confirmation_token=Exz-4MmzxsWcqg--5LvJ ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49f3510c_99853fd5274419e840070 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49f3510c_99853fd5274419e840070-- Processing by PushType::ConfirmationsController#show as HTML Parameters: {"confirmation_token"=>"Exz-4MmzxsWcqg--5LvJ"} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "Exz-4MmzxsWcqg--5LvJ"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (9.4ms) Completed 200 OK in 20ms (Views: 13.8ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------------------------------------------- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous ----------------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", "2018-04-16 19:08:15.247664"], ["updated_at", "2018-04-16 19:08:15.247664"], ["confirmation_token", "TsFHmWeRUbFwrQz4m-nv"], ["confirmation_sent_at", "2018-04-16 19:08:15.247743"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 3.3ms Sent mail to joe-10@example.com (4.7ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-10@example.com Message-ID: <5ad4f49f469a9_99853fd5274419e84048a@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49f46442_99853fd5274419e8403c7"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49f46442_99853fd5274419e8403c7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.fb58d80c-aa73-48d2-b483-1ecbeaad66ed?confirmation_token=TsFHmWeRUbFwrQz4m-nv ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49f46442_99853fd5274419e8403c7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49f46442_99853fd5274419e8403c7-- Processing by PushType::ConfirmationsController#show as HTML Parameters: {"confirmation_token"=>"TsFHmWeRUbFwrQz4m-nv"} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "TsFHmWeRUbFwrQz4m-nv"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms) Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------------------ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous ------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", "2018-04-16 19:08:15.307568"], ["updated_at", "2018-04-16 19:08:15.307568"], ["confirmation_token", "qZ5NTxFBQc11zcGhBszb"], ["confirmation_sent_at", "2018-04-16 19:08:15.307651"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms Sent mail to joe-11@example.com (3.6ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-11@example.com Message-ID: <5ad4f49f53cde_99853fd5274419e8407f1@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49f538dc_99853fd5274419e84065"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49f538dc_99853fd5274419e84065 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.9b7ef897-ff91-4792-ac39-5a0880663708?confirmation_token=qZ5NTxFBQc11zcGhBszb ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49f538dc_99853fd5274419e84065 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49f538dc_99853fd5274419e84065-- Processing by PushType::ConfirmationsController#update as HTML Parameters: {"user"=>{"confirmation_token"=>"qZ5NTxFBQc11zcGhBszb", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "qZ5NTxFBQc11zcGhBszb"], ["LIMIT", 1]] PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND "push_type_users"."id" != $2 LIMIT $3 [["email", "joe-11@example.com"], ["id", "9b7ef897-ff91-4792-ac39-5a0880663708"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.8ms) Completed 200 OK in 10ms (Views: 6.4ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------------------ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous ------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", "2018-04-16 19:08:15.361906"], ["updated_at", "2018-04-16 19:08:15.361906"], ["confirmation_token", "wzqmwELu6BadZRmyRx_s"], ["confirmation_sent_at", "2018-04-16 19:08:15.361996"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms Sent mail to joe-12@example.com (4.3ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-12@example.com Message-ID: <5ad4f49f61d8b_99853fd5274419e841056@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49f61920_99853fd5274419e840934"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49f61920_99853fd5274419e840934 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.4b1c321b-cd83-4c8b-a7a5-1b4348b21204?confirmation_token=wzqmwELu6BadZRmyRx_s ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49f61920_99853fd5274419e840934 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49f61920_99853fd5274419e840934-- Processing by PushType::ConfirmationsController#update as HTML Parameters: {"user"=>{"confirmation_token"=>"wzqmwELu6BadZRmyRx_s", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "wzqmwELu6BadZRmyRx_s"], ["LIMIT", 1]] PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND "push_type_users"."id" != $2 LIMIT $3 [["email", "joe-12@example.com"], ["id", "4b1c321b-cd83-4c8b-a7a5-1b4348b21204"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.8ms) Completed 200 OK in 10ms (Views: 6.4ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------------------ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous ------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]] PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]] PushType::User Create (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", "2018-04-16 19:08:15.419318"], ["updated_at", "2018-04-16 19:08:15.419318"], ["confirmation_token", "Ga5HLrEWiWm_BbRugKge"], ["confirmation_sent_at", "2018-04-16 19:08:15.419474"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 4.1ms Sent mail to joe-13@example.com (3.8ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-13@example.com Message-ID: <5ad4f49f6f063_99853fd5274419e84132@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49f6ec5a_99853fd5274419e841288"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49f6ec5a_99853fd5274419e841288 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.d6e16808-1eb2-44ba-9495-14321a144b84?confirmation_token=Ga5HLrEWiWm_BbRugKge ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49f6ec5a_99853fd5274419e841288 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49f6ec5a_99853fd5274419e841288-- Processing by PushType::ConfirmationsController#update as HTML Parameters: {"user"=>{"confirmation_token"=>"Ga5HLrEWiWm_BbRugKge", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "Ga5HLrEWiWm_BbRugKge"], ["LIMIT", 1]] PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND "push_type_users"."id" != $2 LIMIT $3 [["email", "joe-13@example.com"], ["id", "d6e16808-1eb2-44ba-9495-14321a144b84"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms) Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.8ms) Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------------------------- PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous --------------------------------------------------------------------------------------------  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]] PushType::User Create (0.3ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", "2018-04-16 19:08:15.476793"], ["updated_at", "2018-04-16 19:08:15.476793"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:15.475108"], ["confirmation_sent_at", "2018-04-16 19:08:15.475073"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PushType::Admin::ProfilesController#update as HTML Parameters: {"user"=>{"name"=>""}} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "4dad6851-8f01-48c9-af3b-8bbaab65cf52"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND "push_type_users"."id" != $2 LIMIT $3 [["email", "joe-14@example.com"], ["id", "4dad6851-8f01-48c9-af3b-8bbaab65cf52"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (12.1ms) Completed 200 OK in 42ms (Views: 37.6ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------------------------- PushType::Admin::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous --------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]] PushType::User Create (0.4ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", "2018-04-16 19:08:15.526519"], ["updated_at", "2018-04-16 19:08:15.526519"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:15.524867"], ["confirmation_sent_at", "2018-04-16 19:08:15.524832"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PushType::Admin::ProfilesController#update as HTML Parameters: {"user"=>{"name"=>""}} PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "6ade89c4-f72a-4137-904c-0b1b915b1aa8"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND "push_type_users"."id" != $2 LIMIT $3 [["email", "joe-15@example.com"], ["id", "6ade89c4-f72a-4137-904c-0b1b915b1aa8"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.8ms) Completed 200 OK in 13ms (Views: 8.5ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PushType::ApiAuthenticationMethodsTest: test_0001_anonymous -----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PushType::ApiAuthenticationMethodsTest: test_0003_anonymous -----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PushType::ApiAuthenticationMethodsTest: test_0004_anonymous -----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PushType::ApiAuthenticationMethodsTest: test_0002_anonymous -----------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PushType::AuthenticatableTest::trackable: test_0001_anonymous -------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------- PushType::AuthenticatableTest::recoverable: test_0001_anonymous ---------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------------------- PushType::Admin::ProfilesControllerTest::GET #edit: test_0001_anonymous -----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]] PushType::User Create (0.3ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", "2018-04-16 19:08:15.560069"], ["updated_at", "2018-04-16 19:08:15.560069"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:15.558304"], ["confirmation_sent_at", "2018-04-16 19:08:15.558267"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PushType::Admin::ProfilesController#edit as HTML PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "af81bd7e-3ba6-4968-a85c-9b7ab791bd12"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (1.9ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------------------- PushType::Admin::ProfilesControllerTest::GET #edit: test_0002_anonymous -----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]] PushType::User Create (0.3ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", "2018-04-16 19:08:15.577108"], ["updated_at", "2018-04-16 19:08:15.577108"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:15.575439"], ["confirmation_sent_at", "2018-04-16 19:08:15.575404"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PushType::Admin::ProfilesController#edit as HTML PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "ab93693b-4dc0-478f-9b5c-404a67a1e33c"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/admin/profiles/edit.html.haml within layouts/push_type/admin (2.0ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------- PushType::AuthenticatableTest::rememberable: test_0001_anonymous ----------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------------------------------- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous ----------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", "2018-04-16 19:08:15.596475"], ["updated_at", "2018-04-16 19:08:15.596475"], ["confirmation_token", "WsMsGkLUjABR7pfZTnFZ"], ["confirmation_sent_at", "2018-04-16 19:08:15.596559"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms Sent mail to joe-18@example.com (3.9ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-18@example.com Message-ID: <5ad4f49f9a24e_99853fd5274419e841634@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49f99e60_99853fd5274419e841582"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49f99e60_99853fd5274419e841582 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.eec3fe1f-971d-444d-b9e6-778b45e36588?confirmation_token=WsMsGkLUjABR7pfZTnFZ ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49f99e60_99853fd5274419e841582 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49f99e60_99853fd5274419e841582-- Processing by PushType::ConfirmationsController#update as HTML Parameters: {"user"=>{"confirmation_token"=>"WsMsGkLUjABR7pfZTnFZ", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "WsMsGkLUjABR7pfZTnFZ"], ["LIMIT", 1]] PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND "push_type_users"."id" != $2 LIMIT $3 [["email", "joe-18@example.com"], ["id", "eec3fe1f-971d-444d-b9e6-778b45e36588"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_2 PushType::User Update (0.3ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$jwFX1VGMrx9D2oYFXe6.PuUaPBGGB9LfNstTY1MWSP8b1uCfPiwva"], ["confirmed_at", "2018-04-16 19:08:15.676954"], ["updated_at", "2018-04-16 19:08:15.677352"], ["id", "eec3fe1f-971d-444d-b9e6-778b45e36588"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 PushType::User Update (0.2ms) UPDATE "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 [["updated_at", "2018-04-16 19:08:15.680180"], ["sign_in_count", 1], ["current_sign_in_at", "2018-04-16 19:08:15.679778"], ["last_sign_in_at", "2018-04-16 19:08:15.679778"], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "eec3fe1f-971d-444d-b9e6-778b45e36588"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/admin/ Completed 302 Found in 46ms (ActiveRecord: 1.6ms) PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "eec3fe1f-971d-444d-b9e6-778b45e36588"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------------------------------- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous ----------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]] PushType::User Create (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", "2018-04-16 19:08:15.687914"], ["updated_at", "2018-04-16 19:08:15.687914"], ["confirmation_token", "f8HyFP_yqpquH6zrvawg"], ["confirmation_sent_at", "2018-04-16 19:08:15.688002"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms Sent mail to joe-19@example.com (4.1ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-19@example.com Message-ID: <5ad4f49fb077d_99853fd5274419e841933@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49fb02f0_99853fd5274419e841871"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49fb02f0_99853fd5274419e841871 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.0e5842fd-d17c-4f78-99f6-c903557b64f7?confirmation_token=f8HyFP_yqpquH6zrvawg ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49fb02f0_99853fd5274419e841871 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49fb02f0_99853fd5274419e841871-- Processing by PushType::ConfirmationsController#update as HTML Parameters: {"user"=>{"confirmation_token"=>"f8HyFP_yqpquH6zrvawg", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "f8HyFP_yqpquH6zrvawg"], ["LIMIT", 1]] PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND "push_type_users"."id" != $2 LIMIT $3 [["email", "joe-19@example.com"], ["id", "0e5842fd-d17c-4f78-99f6-c903557b64f7"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_2 PushType::User Update (0.3ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$T1EDrNyOnw3PElHE6/3KX.2ZU/kDPeWg17a6tXQ0grv08TIfsl9QC"], ["confirmed_at", "2018-04-16 19:08:15.730758"], ["updated_at", "2018-04-16 19:08:15.731146"], ["id", "0e5842fd-d17c-4f78-99f6-c903557b64f7"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 PushType::User Update (0.3ms) UPDATE "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 [["updated_at", "2018-04-16 19:08:15.733386"], ["sign_in_count", 1], ["current_sign_in_at", "2018-04-16 19:08:15.732965"], ["last_sign_in_at", "2018-04-16 19:08:15.732965"], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "0e5842fd-d17c-4f78-99f6-c903557b64f7"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/admin/ Completed 302 Found in 8ms (ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------- PushType::AuthenticatableTest::validatable: test_0001_anonymous ---------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------- PushType::AuthenticatableTest::validatable: test_0002_anonymous ---------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------------------------------------------- PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous --------------------------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", "2018-04-16 19:08:15.743559"], ["updated_at", "2018-04-16 19:08:15.743559"], ["confirmation_token", "16soEXp3b6axczGVkjfD"], ["confirmation_sent_at", "2018-04-16 19:08:15.743651"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms) Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms Sent mail to joe-20@example.com (3.6ms) Date: Mon, 16 Apr 2018 20:08:15 +0100 From: pushtype@example.com Reply-To: pushtype@example.com To: joe-20@example.com Message-ID: <5ad4f49fbdbba_99853fd5274419e8422d5@Aarons-iMac.local.mail> Subject: [PushType] Confirm your account Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5ad4f49fbd7d9_99853fd5274419e84214c"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5ad4f49fbd7d9_99853fd5274419e84214c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit PushType ( http://localhost:3000/admin/ ) Hello Joe Bloggs You're receiving this email because a PushType account has been created for you. To get started, confirm your account and set your own password by clicking the link below: Confirm my account ( http://localhost:3000/admin/confirmation.b92761ef-548a-4446-8e1d-9a1bf43754ba?confirmation_token=16soEXp3b6axczGVkjfD ) PushType CMS: www.pushtype.org ( http://www.pushtype.org ). ----==_mimepart_5ad4f49fbd7d9_99853fd5274419e84214c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit [PushType] Confirm your account

Hello Joe Bloggs

You're receiving this email because a PushType account has been created for you.

To get started, confirm your account and set your own password by clicking the link below:

Confirm my account

----==_mimepart_5ad4f49fbd7d9_99853fd5274419e84214c--  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------------------- AuthenticatedControllerTest::authenticated request: test_0001_anonymous -----------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]] PushType::User Create (0.3ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", "2018-04-16 19:08:15.787643"], ["updated_at", "2018-04-16 19:08:15.787643"], ["encrypted_password", "$2a$04$iC3l.Jq8JUyNsDFjgw0xI.skOqtVzrSMT4IbopBSYNdv1sJAY0tGi"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:15.784783"], ["confirmation_sent_at", "2018-04-16 19:08:15.784748"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Started POST "/admin/sign_in" for 127.0.0.1 at 2018-04-16 20:08:15 +0100 Processing by PushType::SessionsController#create as HTML Parameters: {"user"=>{"email"=>"joe-21@example.com", "password"=>"[FILTERED]"}} PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."email" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_2 PushType::User Update (0.2ms) UPDATE "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 [["current_sign_in_at", "2018-04-16 19:08:15.827383"], ["last_sign_in_at", "2018-04-16 19:08:15.827383"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2018-04-16 19:08:15.827924"], ["id", "f8434520-5411-481c-b1a7-16cd3457d8f6"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://www.example.com/admin/ Completed 302 Found in 75ms (ActiveRecord: 0.9ms) Started GET "/admin/nodes" for 127.0.0.1 at 2018-04-16 20:08:15 +0100 Processing by PushType::Admin::NodesController#index as HTML PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "f8434520-5411-481c-b1a7-16cd3457d8f6"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin PushType::Node Exists (0.3ms) SELECT 1 AS one FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL LIMIT $1 OFFSET $2 [["LIMIT", 1], ["OFFSET", 0]]  (0.2ms) SELECT COUNT(*) FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" IS NULL AND "push_type_nodes"."deleted_at" IS NULL Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/_new_node_button.html.haml (3.4ms) Rendered /Users/aaron/dev/pushcode/push_type/admin/app/views/push_type/admin/nodes/index.html.haml within layouts/push_type/admin (34.6ms) Completed 200 OK in 53ms (Views: 40.8ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------------------- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous ---------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------------------- PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous ---------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------------------ PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous ------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", "2018-04-16 19:08:15.964952"], ["updated_at", "2018-04-16 19:08:15.964952"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:15.963360"], ["confirmation_sent_at", "2018-04-16 19:08:15.963328"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PushType::Admin::ProfilesController#update as HTML Parameters: {"user"=>{"name"=>"Test user ABC"}} PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "89eccd4a-919c-4995-88c7-57de972dfb9c"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND "push_type_users"."id" != $2 LIMIT $3 [["email", "joe-22@example.com"], ["id", "89eccd4a-919c-4995-88c7-57de972dfb9c"], ["LIMIT", 1]] PushType::User Update (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2018-04-16 19:08:15.970032"], ["id", "89eccd4a-919c-4995-88c7-57de972dfb9c"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/admin/profile/edit Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------------------ PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous ------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-23@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-23@example.com"], ["LIMIT", 1]] PushType::User Create (0.2ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-23@example.com"], ["created_at", "2018-04-16 19:08:15.975388"], ["updated_at", "2018-04-16 19:08:15.975388"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:15.973969"], ["confirmation_sent_at", "2018-04-16 19:08:15.973944"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PushType::Admin::ProfilesController#update as HTML Parameters: {"user"=>{"name"=>"Test user ABC"}} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "122d25f5-27c7-4688-a87e-42620128e104"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND "push_type_users"."id" != $2 LIMIT $3 [["email", "joe-23@example.com"], ["id", "122d25f5-27c7-4688-a87e-42620128e104"], ["LIMIT", 1]] PushType::User Update (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2018-04-16 19:08:15.980323"], ["id", "122d25f5-27c7-4688-a87e-42620128e104"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/admin/profile/edit Completed 302 Found in 5ms (ActiveRecord: 0.8ms) PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "122d25f5-27c7-4688-a87e-42620128e104"], ["LIMIT", 1]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------------------ PushType::Admin::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous ------------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-24@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-24@example.com"], ["LIMIT", 1]] PushType::User Create (0.3ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-24@example.com"], ["created_at", "2018-04-16 19:08:15.987163"], ["updated_at", "2018-04-16 19:08:15.987163"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:15.985457"], ["confirmation_sent_at", "2018-04-16 19:08:15.985419"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PushType::Admin::ProfilesController#update as HTML Parameters: {"user"=>{"name"=>"Test user ABC"}} PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "733575e8-c75f-461d-8b5b-4d28fe1158c7"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND "push_type_users"."id" != $2 LIMIT $3 [["email", "joe-24@example.com"], ["id", "733575e8-c75f-461d-8b5b-4d28fe1158c7"], ["LIMIT", 1]] PushType::User Update (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2018-04-16 19:08:15.992912"], ["id", "733575e8-c75f-461d-8b5b-4d28fe1158c7"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/admin/profile/edit Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------------------- AuthenticatedApiControllerTest::unauthenticated request: test_0001_anonymous ----------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Started GET "/api/nodes" for 127.0.0.1 at 2018-04-16 20:08:15 +0100 Processing by PushType::Api::NodesController#index as JSON Filter chain halted as :authenticate_user! rendered or redirected Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------------------------------- AuthenticatedApiControllerTest::authenticated with token param: test_0001_anonymous -----------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-25@example.com"], ["LIMIT", 1]] PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-25@example.com"], ["LIMIT", 1]] PushType::User Create (0.3ms) INSERT 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" [["name", "Joe Bloggs"], ["email", "joe-25@example.com"], ["created_at", "2018-04-16 19:08:16.005851"], ["updated_at", "2018-04-16 19:08:16.005851"], ["confirmation_token", "Generated account"], ["confirmed_at", "2018-04-16 19:08:16.004012"], ["confirmation_sent_at", "2018-04-16 19:08:16.003978"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 Started GET "/api/nodes?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MjM5OTIwOTYsInN1YiI6ImFiZjQ0N2I4LTA2ZTQtNDA4OS05YWI4LTZhM2IxYTg0NjQ5ZSJ9.ZANa6ukcHgloa1KO5UTpvF_28rOoCMR2BzJcfjNvIl4" for 127.0.0.1 at 2018-04-16 20:08:16 +0100 Processing by PushType::Api::NodesController#index as JSON Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MjM5OTIwOTYsInN1YiI6ImFiZjQ0N2I4LTA2ZTQtNDA4OS05YWI4LTZhM2IxYTg0NjQ5ZSJ9.ZANa6ukcHgloa1KO5UTpvF_28rOoCMR2BzJcfjNvIl4"} PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "abf447b8-06e4-4089-9ab8-6a3b1a84649e"], ["LIMIT", 1]] Rendering /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder PushType::Node Load (0.2ms) SELECT "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 [["LIMIT", 30], ["OFFSET", 0]] Rendered collection of /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/shared/_pagination.json.jbuilder [0 times] (0.0ms) Rendered /Users/aaron/dev/pushcode/push_type/api/app/views/push_type/api/nodes/index.json.jbuilder (1.2ms) Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------- AuthenticatedControllerTest::unauthenticated request: test_0001_anonymous -------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Started GET "/admin/nodes" for 127.0.0.1 at 2018-04-16 20:08:16 +0100 Processing by PushType::Admin::NodesController#index as HTML Redirected to http://www.example.com/admin/sign_in Filter chain halted as :authenticate_user! rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------- PushType::AuthenticatableTest::confirmable: test_0001_anonymous ---------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------------------- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous --------------------------------------------------------------------------------------  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK