push_type_auth 0.8.0.beta.3 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/test/dummy/config/initializers/push_type.rb +1 -1
  3. data/test/dummy/config/secrets.yml +2 -2
  4. data/test/dummy/db/migrate/{20160219134027_create_push_type_users.push_type.rb → 20160303195138_create_push_type_users.push_type.rb} +0 -0
  5. data/test/dummy/db/migrate/{20160219134028_create_push_type_nodes.push_type.rb → 20160303195139_create_push_type_nodes.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20160219134029_create_push_type_node_hierarchies.push_type.rb → 20160303195140_create_push_type_node_hierarchies.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20160219134030_create_push_type_assets.push_type.rb → 20160303195141_create_push_type_assets.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20160219134031_add_field_store_default_values.push_type.rb → 20160303195142_add_field_store_default_values.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20160219134032_drop_legacy_push_type_taxonomies.push_type.rb → 20160303195143_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20160219134033_devise_extend_push_type_users.push_type_auth.rb → 20160303195144_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  11. data/test/dummy/db/schema.rb +1 -1
  12. data/test/dummy/log/test.log +666 -666
  13. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{N5VR6tztt75gv0pFFNrPYhQtcNl3zHJ0kzsjgplLIas.cache → 1L3Lf16f3nySJL7uQ_LQ0j03tJSNQU6qE30ZNQfaAok.cache} +1 -1
  14. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2mBr5MS9IdPRtNngk3JcSD_HPruVqJ1j01DC3XpL9pk.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BYF70-i6QzGI-uK_9dR2td6ep5jfqB1TRwYzm4Ti_UI.cache +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{YSkH9Kan976ELOfYu7bK_kA3M0ESjHlPUrlcmUuHHnQ.cache → GUi-4EU0w5gwpkUiKddeuBzVrEr5oBtn5NgWWRTsy4o.cache} +1 -1
  17. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JPrlNztNhW4OGA3NVJ5tpdEp3xvTPt7CpyXn9TE69Bk.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LALJFGNPPD_89T1UIyyhEroq4vTMyP0SKaoo9GrY-hA.cache +1 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{sAPUXIkLrhJlcfaRoHTV9YQl-ZPHz48fSvleVOvturs.cache → LBHcTp9WB9du7SVJ-ddS5Ty7y_apQDwet_Uu_sivS_0.cache} +0 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{CSS5_Kmf0BTI5LQjNcwnenAqg6p3c6i-ouBdnim_c80.cache → P0rWpYe4_M1ARFr4j4TPPoJbKCxb6TZl9F2oisr18gc.cache} +1 -1
  21. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PpuXeaZPdLwiC0Cjlrvddl7_D-23Y5-Z8xzN_r33MzU.cache +1 -0
  22. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RaC0vPC27tr-czSWssbWtexbS0FDQUsr5ZpKXAWiS0M.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{VwCIX3O31PKQOA4KfLeyusadZqGzj9Lg0TS3tqCTHBo.cache → S6dY1yTnRbSZaTC7g7xwqB9w6HGxdAY-Fm8OsBArKks.cache} +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{Vqc7xE26DMtonn-L6pEWgtq9c5cS3DmxLEeUPSXBazQ.cache → TB6QP4N-QZ4Lz6OEn5e7SVG98leUJFpbhPwzkIJ30PA.cache} +1 -1
  25. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/U8zCXxUjRIhXiH_CGwPR_-ZkD7dRElkK9dBDgucU5GY.cache +0 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{WXucoZj7gGGhoom6WrT1um6ZL4v8V_Q-_jJJOi49aJA.cache → WtBpVd1-NF4fJXu7Wl8By51iZQ0kwnXVG29W7mZor-Y.cache} +0 -0
  27. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ZrWmf7xAVttxN0NdvKttTzOLt2yQdP0w1dSGgtAiWOo.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{LzpQAN4M1_g4aOLgSnrmWbQmUhDRNQjqs-hMnWrrF4A.cache → cWxgmWoTa2g7htrxqERdpKZlCXHQpEStjF5cJIB1McE.cache} +0 -0
  29. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cxHCaLjjlHCHnXgn6lNaMULMy2es5esQBoNxUuqrsfk.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gY31fwuCIrhjJP6QBlfJ8k5cXuVW6Cu0bk3SaVq8Nlc.cache +1 -0
  31. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{8Sop7GiVZ61PLqn-wzfkfSY0IB7lnUSZHwpk_N3hEi0.cache → hYDL-t_9zw4dHxrVO4SESv1L9teH775utAMPkiwepbI.cache} +0 -0
  32. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/itjQ_E1ZtZTikpzPZXgIytLmesGaduvRtD9R_1peSAY.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kczwf9E6xkiCbJ_LltqXdkvaXT-ZvrdAxV7ISXodOw0.cache +1 -0
  34. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{B3AbwJ4hZOeWaRnuyZR-m0i2ccirs4aZHNSH4__7GBM.cache → qC7OGugJIQWlItEvn6DLnFG-bzE_72bVongxiLQxXak.cache} +0 -0
  35. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zRH6_O1Sf9DVaEiauDumldlumirmfywmJV0iDBCUdIE.cache +0 -0
  36. metadata +64 -64
  37. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2AXrgoMJuqdqpJzlvQ6P6VSwwXhYUUfF_LtPGnN1K5Y.cache +0 -1
  38. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IO7ECUDxZfBwB7AOkEeEn1mE2pSd8EQCm4LXqxtin7Y.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/OQhY_BVQRdv31fTpuWRAbujd1K0_jQ3JyjsFUCX1t0E.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pr6xbIHRK4M9BEXD_PaCGOr2l8EuPhQpHumHkv6uypQ.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/SQz9VxrK705zEOoxBU_ilh97mOt8Tu-mv8L8o1jj2uM.cache +0 -1
  42. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WcXzxAi7RqNUiQ5s0bvbIn3qv5ZUruKMTpKOoQ9ietk.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Y-d0B9_zptLqdI6S3gkqEKuo-aCnz96x3hRCgfTILd0.cache +0 -1
  44. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Y6cn9SRZhGbW-q4aa4PwFev8MHUzYzmq9W_VsL_CkJ4.cache +0 -1
  45. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/iRHEN3ndFMv61O9-9s7zxz427SIY9HEPG149F8j27HI.cache +0 -0
  46. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uquHYO67o4GaCroPKazscIdBCvlpC2XGkQUf7qgHOMc.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/wQV2LKBBj6a8FaGBpsAdqkyXCwYXDLpEgJnCTbYEdi4.cache +0 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ce6999000d3309f150c53622e638add14289378
4
- data.tar.gz: 5e09c5db13676f12f1416ebaa28e5693bf8c9713
3
+ metadata.gz: 1f159e4ef2f520ad3da8af80bb8da46b86f57d3b
4
+ data.tar.gz: 1039d56a29360fa3e2a4d3bc5034f8fb8f53c5e5
5
5
  SHA512:
6
- metadata.gz: 96d59b53e08f6c1abeaa157f5c07e0e5168eb3cb6378108acb8bb040de7cce49ecb36385cb88371a2964a262d8c5b684c9d1a53ef15f5aff501336243453c7f4
7
- data.tar.gz: 16e14ea80546223777f1a716354fc2474b65bf4d7998c7466d4cb6ead7620ea68cc880bd5d8a61bd689bad30ed200ea49daab34182e4f3fd2d634f86613653d5
6
+ metadata.gz: 457653c7fc3742b1ce9e6641cb9a6c34abd5c042e3a5040422b31d56fba76d604e80e177d68c43c15c01071775e8b83f3999fd0f049b7737bfe78f0fa34cae82
7
+ data.tar.gz: f91850d13a824d00f99b84dc340d23676ffc9a7b155c2ace834573f4d154d6ec749518d05b0d45eb6ae4c2b5d42e58bea58365838adf7807e4d5404a16921770
@@ -45,6 +45,6 @@ PushType.setup do |config|
45
45
  # secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
46
46
  # }
47
47
 
48
- # config.dragonfly_secret = '2f6609ea0be960dedac32cb5ef46297b79ce599565d574b3cbb73b42e523f284'
48
+ # config.dragonfly_secret = '0b6a208417cda4f5a74decc02f0127849e104e99774220e2352687011c9e76a4'
49
49
 
50
50
  end
@@ -11,10 +11,10 @@
11
11
  # if you're sharing your code publicly.
12
12
 
13
13
  development:
14
- secret_key_base: 339c9992bd296887c0d3354fa93b4941d00cba255718ce2386797da1248d7a8fa0cf1c80d7b393be77fa15bd2e79e9ffa44a9c9743808ece04e7fdfa3e59d723
14
+ secret_key_base: 22933b28efcc048fc6f45f54a68b0b23d040a3ed1915a7658fe70c48607e6d476ba6132386d7d7ba3cd88b1f41df77b2212f4874b5b3e64d27dd1694778d5406
15
15
 
16
16
  test:
17
- secret_key_base: 1726b170ccb1b914c17dcceb98e97886821dc60b1824b1eb7c0ddff1302df6f0e9e7c6849567cf5ad7f21a1b76a9e73d061a9a53d3803446cbdd3255f8d7347b
17
+ secret_key_base: 19983f16d489a39b18486db27cfe3db337308c6d10c0c07743b24de1d3074be4ee4b6093ca3eeaf14a310291411b44dfc2e6208d2443d42c5ef359f69b44b1e8
18
18
 
19
19
  # Do not keep production secrets in the repository,
20
20
  # instead read values from the environment.
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20160219134033) do
14
+ ActiveRecord::Schema.define(version: 20160303195144) do
15
15
 
16
16
  # These are extensions that must be enabled in order to support this database
17
17
  enable_extension "plpgsql"
@@ -1,65 +1,65 @@
1
1
   (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
3
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreatePushTypeUsers (20160219134027)
4
+ Migrating to CreatePushTypeUsers (20160303195138)
5
5
   (0.1ms) BEGIN
6
- SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
-  (2.4ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
8
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134027"]]
9
-  (0.6ms) COMMIT
10
- Migrating to CreatePushTypeNodes (20160219134028)
6
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
+  (2.1ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
8
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160303195138"]]
9
+  (0.5ms) COMMIT
10
+ Migrating to CreatePushTypeNodes (20160303195139)
11
11
   (0.1ms) BEGIN
12
12
   (2.0ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
13
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134028"]]
14
-  (0.4ms) COMMIT
15
- Migrating to CreatePushTypeNodeHierarchies (20160219134029)
13
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160303195139"]]
14
+  (0.7ms) COMMIT
15
+ Migrating to CreatePushTypeNodeHierarchies (20160303195140)
16
16
   (0.1ms) BEGIN
17
17
   (0.4ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
18
-  (0.7ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
18
+  (0.6ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
19
   (0.5ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134029"]]
20
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160303195140"]]
21
21
   (0.4ms) COMMIT
22
- Migrating to CreatePushTypeAssets (20160219134030)
22
+ Migrating to CreatePushTypeAssets (20160303195141)
23
23
   (0.1ms) BEGIN
24
-  (2.1ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
25
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134030"]]
26
-  (0.4ms) COMMIT
27
- Migrating to AddFieldStoreDefaultValues (20160219134031)
24
+  (1.7ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
25
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160303195141"]]
26
+  (0.5ms) COMMIT
27
+ Migrating to AddFieldStoreDefaultValues (20160303195142)
28
28
   (0.1ms) BEGIN
29
-  (0.3ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
29
+  (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
30
30
   (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
31
31
   (0.2ms) UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL
32
-  (0.5ms) ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
33
-  (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb
34
-  (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
32
+  (0.1ms) ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
33
+  (0.1ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb
34
+  (0.1ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
35
35
   (0.2ms) UPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL
36
36
   (0.1ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
37
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134031"]]
37
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160303195142"]]
38
38
   (0.5ms) COMMIT
39
- Migrating to DropLegacyPushTypeTaxonomies (20160219134032)
39
+ Migrating to DropLegacyPushTypeTaxonomies (20160303195143)
40
40
   (0.1ms) BEGIN
41
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134032"]]
41
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160303195143"]]
42
42
   (0.4ms) COMMIT
43
- Migrating to DeviseExtendPushTypeUsers (20160219134033)
43
+ Migrating to DeviseExtendPushTypeUsers (20160303195144)
44
44
   (0.1ms) BEGIN
45
-  (2.9ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
46
-  (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
47
-  (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
45
+  (2.6ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
46
+  (0.1ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
47
+  (0.1ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
48
48
   (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
49
-  (2.9ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
50
-  (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
51
-  (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
49
+  (2.5ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
50
+  (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
51
+  (0.2ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
52
52
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
53
53
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
54
54
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
55
-  (0.1ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
56
-  (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
57
-  (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
58
-  (0.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
59
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160219134033"]]
60
-  (0.9ms) COMMIT
55
+  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
56
+  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
57
+  (0.8ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
58
+  (0.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
59
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160303195144"]]
60
+  (1.1ms) COMMIT
61
61
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
-  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
62
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
63
63
  FROM pg_constraint c
64
64
  JOIN pg_class t1 ON c.conrelid = t1.oid
65
65
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -71,7 +71,7 @@ WHERE c.contype = 'f'
71
71
  AND t3.nspname = ANY (current_schemas(false))
72
72
  ORDER BY c.conname
73
73
  
74
-  (1.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
74
+  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
75
75
  FROM pg_constraint c
76
76
  JOIN pg_class t1 ON c.conrelid = t1.oid
77
77
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -83,7 +83,7 @@ WHERE c.contype = 'f'
83
83
  AND t3.nspname = ANY (current_schemas(false))
84
84
  ORDER BY c.conname
85
85
 
86
-  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
86
+  (1.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
87
87
  FROM pg_constraint c
88
88
  JOIN pg_class t1 ON c.conrelid = t1.oid
89
89
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -107,119 +107,151 @@ WHERE c.contype = 'f'
107
107
  AND t3.nspname = ANY (current_schemas(false))
108
108
  ORDER BY c.conname
109
109
 
110
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
110
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
111
111
   (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
112
-  (1.0ms)  SELECT schemaname || '.' || tablename
112
+  (0.9ms)  SELECT schemaname || '.' || tablename
113
113
  FROM pg_tables
114
114
  WHERE
115
115
  tablename !~ '_prt_' AND
116
116
  tablename <> 'schema_migrations' AND
117
117
  schemaname = ANY (current_schemas(false))
118
118
  
119
-  (1.1ms) select table_name from information_schema.views where table_schema = 'dummy_test'
120
-  (7.0ms) TRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
121
-  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL
119
+  (0.9ms) select table_name from information_schema.views where table_schema = 'dummy_test'
120
+  (8.4ms) TRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
121
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL
122
+  (0.1ms) BEGIN
123
+ ----------------------------------------------------------------
124
+ PushType::AuthenticatableTest::rememberable: test_0001_anonymous
125
+ ----------------------------------------------------------------
126
+  (0.1ms) SAVEPOINT active_record_1
127
+  (0.1ms) RELEASE SAVEPOINT active_record_1
128
+  (0.0ms) SAVEPOINT active_record_1
129
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
130
+  (0.1ms) ROLLBACK
131
+  (0.1ms) BEGIN
132
+ ---------------------------------------------------------------------------
133
+ PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
134
+ ---------------------------------------------------------------------------
135
+  (0.1ms) SAVEPOINT active_record_1
136
+  (0.0ms) RELEASE SAVEPOINT active_record_1
137
+  (0.0ms) SAVEPOINT active_record_1
138
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
139
+  (0.0ms) ROLLBACK
122
140
   (0.1ms) BEGIN
141
+ ---------------------------------------------------------------------------
142
+ PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
143
+ ---------------------------------------------------------------------------
144
+  (0.1ms) SAVEPOINT active_record_1
145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146
+  (0.0ms) SAVEPOINT active_record_1
147
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
148
+  (0.0ms) ROLLBACK
149
+  (0.0ms) BEGIN
123
150
  -----------------------------------------------------------------------------------
124
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
151
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
125
152
  -----------------------------------------------------------------------------------
126
153
   (0.1ms) SAVEPOINT active_record_1
127
154
   (0.1ms) RELEASE SAVEPOINT active_record_1
128
155
   (0.1ms) SAVEPOINT active_record_1
129
-  (0.2ms) SAVEPOINT active_record_2
130
- PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
131
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
132
- SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:33.172145"], ["confirmed_at", "2016-02-19 13:40:33.172228"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:33.182369"], ["updated_at", "2016-02-19 13:40:33.182369"]]
156
+  (0.1ms) SAVEPOINT active_record_2
157
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
158
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
159
+ SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2016-03-03 19:51:43.766880"], ["confirmed_at", "2016-03-03 19:51:43.766952"], ["confirmation_token", "Generated account"], ["created_at", "2016-03-03 19:51:43.776526"], ["updated_at", "2016-03-03 19:51:43.776526"]]
133
160
   (0.1ms) RELEASE SAVEPOINT active_record_2
134
161
  Processing by PushType::ProfilesController#update as HTML
135
162
  Parameters: {"user"=>{"name"=>"Test user ABC"}}
136
- 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 1 [["id", "32ce66b2-4af1-4fae-b94d-1cab567e8b3b"]]
163
+ 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 1 [["id", "6ad7c8b8-3e71-47a1-9a21-7d00115fab10"]]
137
164
   (0.1ms) SAVEPOINT active_record_2
138
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != '32ce66b2-4af1-4fae-b94d-1cab567e8b3b') LIMIT 1
139
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2016-02-19 13:40:33.201957"], ["id", "32ce66b2-4af1-4fae-b94d-1cab567e8b3b"]]
165
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != '6ad7c8b8-3e71-47a1-9a21-7d00115fab10') LIMIT 1
166
+ SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2016-03-03 19:51:43.795975"], ["id", "6ad7c8b8-3e71-47a1-9a21-7d00115fab10"]]
140
167
   (0.1ms) RELEASE SAVEPOINT active_record_2
141
168
  Redirected to http://test.host/push_type/profile/edit
142
- Completed 302 Found in 16ms (ActiveRecord: 1.0ms)
143
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
144
-  (0.1ms) ROLLBACK
145
-  (0.1ms) BEGIN
169
+ Completed 302 Found in 15ms (ActiveRecord: 0.9ms)
170
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "6ad7c8b8-3e71-47a1-9a21-7d00115fab10"]]
171
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
172
+  (0.1ms) ROLLBACK
173
+  (0.1ms) BEGIN
146
174
  -----------------------------------------------------------------------------------
147
175
  PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
148
176
  -----------------------------------------------------------------------------------
149
-  (0.1ms) SAVEPOINT active_record_1
150
-  (0.0ms) RELEASE SAVEPOINT active_record_1
151
-  (0.0ms) SAVEPOINT active_record_1
152
-  (0.1ms) SAVEPOINT active_record_2
153
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
154
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
155
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:33.206313"], ["confirmed_at", "2016-02-19 13:40:33.206365"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:33.207751"], ["updated_at", "2016-02-19 13:40:33.207751"]]
156
-  (0.1ms) RELEASE SAVEPOINT active_record_2
177
+  (0.1ms) SAVEPOINT active_record_1
178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
179
+  (0.0ms) SAVEPOINT active_record_1
180
+  (0.1ms) SAVEPOINT active_record_2
181
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
182
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
183
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2016-03-03 19:51:43.801127"], ["confirmed_at", "2016-03-03 19:51:43.801183"], ["confirmation_token", "Generated account"], ["created_at", "2016-03-03 19:51:43.802422"], ["updated_at", "2016-03-03 19:51:43.802422"]]
184
+  (0.1ms) RELEASE SAVEPOINT active_record_2
157
185
  Processing by PushType::ProfilesController#update as HTML
158
186
  Parameters: {"user"=>{"name"=>"Test user ABC"}}
159
- 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 1 [["id", "fbab6e40-bfb7-4026-a9e7-2ca12828a151"]]
160
-  (0.1ms) SAVEPOINT active_record_2
161
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-2@example.com' AND "push_type_users"."id" != 'fbab6e40-bfb7-4026-a9e7-2ca12828a151') LIMIT 1
162
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2016-02-19 13:40:33.212447"], ["id", "fbab6e40-bfb7-4026-a9e7-2ca12828a151"]]
163
-  (0.1ms) RELEASE SAVEPOINT active_record_2
187
+ 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 1 [["id", "bcc60511-a9a8-4a06-8e0d-8d1b4595617b"]]
188
+  (0.1ms) SAVEPOINT active_record_2
189
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-2@example.com' AND "push_type_users"."id" != 'bcc60511-a9a8-4a06-8e0d-8d1b4595617b') LIMIT 1
190
+ SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2016-03-03 19:51:43.806374"], ["id", "bcc60511-a9a8-4a06-8e0d-8d1b4595617b"]]
191
+  (0.1ms) RELEASE SAVEPOINT active_record_2
164
192
  Redirected to http://test.host/push_type/profile/edit
165
- Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
166
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
167
-  (0.1ms) ROLLBACK
168
-  (0.1ms) BEGIN
193
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
194
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
195
+  (0.1ms) ROLLBACK
196
+  (0.1ms) BEGIN
169
197
  -----------------------------------------------------------------------------------
170
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
198
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
171
199
  -----------------------------------------------------------------------------------
172
-  (0.0ms) SAVEPOINT active_record_1
173
-  (0.0ms) RELEASE SAVEPOINT active_record_1
174
-  (0.0ms) SAVEPOINT active_record_1
175
-  (0.1ms) SAVEPOINT active_record_2
176
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
177
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
178
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:33.215700"], ["confirmed_at", "2016-02-19 13:40:33.215749"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:33.217159"], ["updated_at", "2016-02-19 13:40:33.217159"]]
179
-  (0.1ms) RELEASE SAVEPOINT active_record_2
200
+  (0.1ms) SAVEPOINT active_record_1
201
+  (0.0ms) RELEASE SAVEPOINT active_record_1
202
+  (0.0ms) SAVEPOINT active_record_1
203
+  (0.0ms) SAVEPOINT active_record_2
204
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
205
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
206
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["confirmation_sent_at", "2016-03-03 19:51:43.809212"], ["confirmed_at", "2016-03-03 19:51:43.809252"], ["confirmation_token", "Generated account"], ["created_at", "2016-03-03 19:51:43.810373"], ["updated_at", "2016-03-03 19:51:43.810373"]]
207
+  (0.1ms) RELEASE SAVEPOINT active_record_2
180
208
  Processing by PushType::ProfilesController#update as HTML
181
209
  Parameters: {"user"=>{"name"=>"Test user ABC"}}
182
- 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 1 [["id", "079c18d9-d80e-4056-b23c-b69785927b5f"]]
183
-  (0.1ms) SAVEPOINT active_record_2
184
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '079c18d9-d80e-4056-b23c-b69785927b5f') LIMIT 1
185
- SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2016-02-19 13:40:33.221545"], ["id", "079c18d9-d80e-4056-b23c-b69785927b5f"]]
186
-  (0.1ms) RELEASE SAVEPOINT active_record_2
210
+ 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 1 [["id", "09091349-bd06-4d43-ae15-d07ada6da181"]]
211
+  (0.1ms) SAVEPOINT active_record_2
212
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '09091349-bd06-4d43-ae15-d07ada6da181') LIMIT 1
213
+ SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2016-03-03 19:51:43.814043"], ["id", "09091349-bd06-4d43-ae15-d07ada6da181"]]
214
+  (0.1ms) RELEASE SAVEPOINT active_record_2
187
215
  Redirected to http://test.host/push_type/profile/edit
188
- Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
189
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "079c18d9-d80e-4056-b23c-b69785927b5f"]]
216
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
190
217
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
191
218
   (0.1ms) ROLLBACK
192
219
   (0.0ms) BEGIN
193
- ----------------------------------------------------------------------------------------------------
194
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
195
- ----------------------------------------------------------------------------------------------------
196
-  (0.1ms) SAVEPOINT active_record_1
197
-  (0.1ms) RELEASE SAVEPOINT active_record_1
198
-  (0.1ms) SAVEPOINT active_record_1
220
+ ---------------------------------------------------------------
221
+ PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
222
+ ---------------------------------------------------------------
223
+  (0.0ms) SAVEPOINT active_record_1
224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
225
+  (0.0ms) SAVEPOINT active_record_1
199
226
   (0.1ms) SAVEPOINT active_record_2
200
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
227
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
201
228
  PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
202
- 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 1 [["confirmation_token", "f45bde298d5b4648942f3a2c57019f67572fd1e6e9a2553b3d1a4ffc771271e1"]]
203
- SQL (0.1ms) 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", "2016-02-19 13:40:33.232318"], ["updated_at", "2016-02-19 13:40:33.232318"], ["confirmation_token", "VyzAYqsstXB4sPMpqJBf"], ["confirmation_sent_at", "2016-02-19 13:40:33.399829"]]
229
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["confirmation_sent_at", "2016-03-03 19:51:43.817494"], ["confirmed_at", "2016-03-03 19:51:43.817545"], ["confirmation_token", "Generated account"], ["created_at", "2016-03-03 19:51:43.818723"], ["updated_at", "2016-03-03 19:51:43.818723"]]
230
+  (0.1ms) RELEASE SAVEPOINT active_record_2
231
+  (0.0ms) SAVEPOINT active_record_2
232
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
233
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
234
+ 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 1 [["confirmation_token", "6e6881e144f56655e42b3e4864624b53144f62ebf3f70730aa158a3ce3d0f21c"]]
235
+ SQL (0.1ms) 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-5@example.com"], ["created_at", "2016-03-03 19:51:43.820972"], ["updated_at", "2016-03-03 19:51:43.820972"], ["confirmation_token", "er1y2JH1JngCM6wedsdG"], ["confirmation_sent_at", "2016-03-03 19:51:43.984500"]]
204
236
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (1.3ms)
205
237
 
206
- Devise::Mailer#confirmation_instructions: processed outbound mail in 278.6ms
238
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 280.3ms
207
239
 
208
- Sent mail to joe-4@example.com (9.7ms)
209
- Date: Fri, 19 Feb 2016 13:40:33 +0000
240
+ Sent mail to joe-5@example.com (9.2ms)
241
+ Date: Thu, 03 Mar 2016 19:51:44 +0000
210
242
  From: pushtype@example.com
211
243
  Reply-To: pushtype@example.com
212
- To: joe-4@example.com
213
- Message-ID: <56c71b51bc877_1c1f3ff851863bf049844@Aarons-iMac.local.mail>
244
+ To: joe-5@example.com
245
+ Message-ID: <56d895d0534de_71623fc7b9863bf0817f0@Aarons-iMac.local.mail>
214
246
  Subject: [PushType] Confirm your account
215
247
  Mime-Version: 1.0
216
248
  Content-Type: multipart/alternative;
217
- boundary="--==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786";
249
+ boundary="--==_mimepart_56d895d051e78_71623fc7b9863bf081636";
218
250
  charset=UTF-8
219
251
  Content-Transfer-Encoding: 7bit
220
252
 
221
253
 
222
- ----==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786
254
+ ----==_mimepart_56d895d051e78_71623fc7b9863bf081636
223
255
  Content-Type: text/plain;
224
256
  charset=UTF-8
225
257
  Content-Transfer-Encoding: 7bit
@@ -234,10 +266,10 @@ created for you.
234
266
  To get started, confirm your account and set your own password by
235
267
  clicking the link below:
236
268
 
237
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=VyzAYqsstXB4sPMpqJBf )
269
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=er1y2JH1JngCM6wedsdG )
238
270
 
239
271
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
240
- ----==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786
272
+ ----==_mimepart_56d895d051e78_71623fc7b9863bf081636
241
273
  Content-Type: text/html;
242
274
  charset=UTF-8
243
275
  Content-Transfer-Encoding: 7bit
@@ -283,7 +315,7 @@ body {
283
315
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
284
316
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
285
317
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
286
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=VyzAYqsstXB4sPMpqJBf" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
318
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=er1y2JH1JngCM6wedsdG" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
287
319
  </td>
288
320
  </tr>
289
321
  </table>
@@ -328,54 +360,34 @@ body {
328
360
  </body>
329
361
  </html>
330
362
 
331
- ----==_mimepart_56c71b51bafe6_1c1f3ff851863bf049786--
332
-
333
-  (0.1ms) RELEASE SAVEPOINT active_record_2
334
- Processing by PushType::ConfirmationsController#show as HTML
335
- Parameters: {"confirmation_token"=>"VyzAYqsstXB4sPMpqJBf"}
336
- 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 1 [["confirmation_token", "VyzAYqsstXB4sPMpqJBf"]]
337
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
338
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (10.3ms)
339
- DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.1.4@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
340
- in a future version of Sass. To preserve the current behavior, use quotes:
341
-
342
- unquote("#{lower-bound($medium-range)}")
363
+ ----==_mimepart_56d895d051e78_71623fc7b9863bf081636--
343
364
 
344
-
345
- Completed 200 OK in 9700ms (Views: 9698.7ms | ActiveRecord: 0.2ms)
346
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
347
-  (0.2ms) ROLLBACK
348
-  (0.1ms) BEGIN
349
- ----------------------------------------------------------------------------------------------------
350
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
351
- ----------------------------------------------------------------------------------------------------
352
-  (0.0ms) SAVEPOINT active_record_1
353
-  (0.0ms) RELEASE SAVEPOINT active_record_1
354
-  (0.0ms) SAVEPOINT active_record_1
365
+  (0.1ms) RELEASE SAVEPOINT active_record_2
366
+ Processing by PushType::UsersController#invite as HTML
367
+ Parameters: {"id"=>"f286caec-8066-4294-a2ce-12124a2aff07"}
368
+ 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 1 [["id", "531c1fdd-9da3-4c76-951d-d60808e37e97"]]
369
+ 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 1 [["id", "f286caec-8066-4294-a2ce-12124a2aff07"]]
355
370
   (0.1ms) SAVEPOINT active_record_2
356
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
357
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
358
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d4be9fc063b378f3944c2fc9031258599bf0dafa1a4ea03e74db903212b36e35"]]
359
- SQL (0.1ms) 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-5@example.com"], ["created_at", "2016-02-19 13:40:43.482225"], ["updated_at", "2016-02-19 13:40:43.482225"], ["confirmation_token", "cBNP6bM1NFE26EMEF7yg"], ["confirmation_sent_at", "2016-02-19 13:40:43.483117"]]
360
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
371
+  (0.1ms) RELEASE SAVEPOINT active_record_2
372
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
361
373
 
362
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
374
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
363
375
 
364
- Sent mail to joe-5@example.com (3.3ms)
365
- Date: Fri, 19 Feb 2016 13:40:43 +0000
376
+ Sent mail to joe-5@example.com (3.0ms)
377
+ Date: Thu, 03 Mar 2016 19:51:44 +0000
366
378
  From: pushtype@example.com
367
379
  Reply-To: pushtype@example.com
368
380
  To: joe-5@example.com
369
- Message-ID: <56c71b5b7e40a_1c1f3ff851863bf0501c2@Aarons-iMac.local.mail>
381
+ Message-ID: <56d895d05cf9c_71623fc7b9863bf0820f0@Aarons-iMac.local.mail>
370
382
  Subject: [PushType] Confirm your account
371
383
  Mime-Version: 1.0
372
384
  Content-Type: multipart/alternative;
373
- boundary="--==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036";
385
+ boundary="--==_mimepart_56d895d05ca30_71623fc7b9863bf08199f";
374
386
  charset=UTF-8
375
387
  Content-Transfer-Encoding: 7bit
376
388
 
377
389
 
378
- ----==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036
390
+ ----==_mimepart_56d895d05ca30_71623fc7b9863bf08199f
379
391
  Content-Type: text/plain;
380
392
  charset=UTF-8
381
393
  Content-Transfer-Encoding: 7bit
@@ -390,10 +402,10 @@ created for you.
390
402
  To get started, confirm your account and set your own password by
391
403
  clicking the link below:
392
404
 
393
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=cBNP6bM1NFE26EMEF7yg )
405
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=er1y2JH1JngCM6wedsdG )
394
406
 
395
407
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
396
- ----==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036
408
+ ----==_mimepart_56d895d05ca30_71623fc7b9863bf08199f
397
409
  Content-Type: text/html;
398
410
  charset=UTF-8
399
411
  Content-Transfer-Encoding: 7bit
@@ -439,7 +451,7 @@ body {
439
451
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
440
452
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
441
453
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
442
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=cBNP6bM1NFE26EMEF7yg" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
454
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=er1y2JH1JngCM6wedsdG" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
443
455
  </td>
444
456
  </tr>
445
457
  </table>
@@ -484,101 +496,48 @@ body {
484
496
  </body>
485
497
  </html>
486
498
 
487
- ----==_mimepart_56c71b5b7de1f_1c1f3ff851863bf050036--
499
+ ----==_mimepart_56d895d05ca30_71623fc7b9863bf08199f--
488
500
 
489
-  (0.1ms) RELEASE SAVEPOINT active_record_2
490
- Processing by PushType::ConfirmationsController#show as HTML
491
- Parameters: {"confirmation_token"=>"cBNP6bM1NFE26EMEF7yg"}
492
- 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 1 [["confirmation_token", "cBNP6bM1NFE26EMEF7yg"]]
493
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
494
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.1ms)
495
- Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms)
496
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
497
-  (0.1ms) ROLLBACK
498
-  (0.1ms) BEGIN
499
- -------------------------------------------------------------------------------------
500
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
501
- -------------------------------------------------------------------------------------
502
-  (0.1ms) SAVEPOINT active_record_1
503
-  (0.1ms) RELEASE SAVEPOINT active_record_1
504
-  (0.0ms) SAVEPOINT active_record_1
505
-  (0.1ms) SAVEPOINT active_record_2
506
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
507
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
508
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:43.531204"], ["confirmed_at", "2016-02-19 13:40:43.531274"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.532754"], ["updated_at", "2016-02-19 13:40:43.532754"]]
509
-  (0.1ms) RELEASE SAVEPOINT active_record_2
510
- Processing by PushType::ProfilesController#update as HTML
511
- Parameters: {"user"=>{"name"=>""}}
512
- 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 1 [["id", "057f34d9-8a5b-4366-ac3a-818d59318d6b"]]
513
-  (0.1ms) SAVEPOINT active_record_2
514
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != '057f34d9-8a5b-4366-ac3a-818d59318d6b') LIMIT 1
515
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
516
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (6.7ms)
517
- Completed 200 OK in 178ms (Views: 175.1ms | ActiveRecord: 0.5ms)
501
+ Redirected to /push_type/users
502
+ Completed 302 Found in 36ms (ActiveRecord: 0.6ms)
518
503
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
519
-  (0.1ms) ROLLBACK
504
+  (0.2ms) ROLLBACK
520
505
   (0.1ms) BEGIN
521
- -------------------------------------------------------------------------------------
522
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
523
- -------------------------------------------------------------------------------------
524
-  (0.1ms) SAVEPOINT active_record_1
506
+ ---------------------------------------------------------------
507
+ PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
508
+ ---------------------------------------------------------------
509
+  (0.0ms) SAVEPOINT active_record_1
525
510
   (0.0ms) RELEASE SAVEPOINT active_record_1
526
511
   (0.0ms) SAVEPOINT active_record_1
527
512
   (0.1ms) SAVEPOINT active_record_2
528
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
529
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
530
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:43.715981"], ["confirmed_at", "2016-02-19 13:40:43.716076"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.718146"], ["updated_at", "2016-02-19 13:40:43.718146"]]
513
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
514
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
515
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["confirmation_sent_at", "2016-03-03 19:51:44.385068"], ["confirmed_at", "2016-03-03 19:51:44.385126"], ["confirmation_token", "Generated account"], ["created_at", "2016-03-03 19:51:44.386584"], ["updated_at", "2016-03-03 19:51:44.386584"]]
531
516
   (0.1ms) RELEASE SAVEPOINT active_record_2
532
- Processing by PushType::ProfilesController#update as HTML
533
- Parameters: {"user"=>{"name"=>""}}
534
- 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 1 [["id", "0fe5cb0d-3054-4dfd-8cd2-7e679fd6de76"]]
535
-  (0.1ms) SAVEPOINT active_record_2
536
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '0fe5cb0d-3054-4dfd-8cd2-7e679fd6de76') LIMIT 1
537
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
538
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.8ms)
539
- Completed 200 OK in 15ms (Views: 11.0ms | ActiveRecord: 0.7ms)
540
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
541
-  (0.1ms) ROLLBACK
542
-  (0.1ms) BEGIN
543
- -------------------------------------------------------------
544
- PushType::AuthenticatableTest::trackable: test_0001_anonymous
545
- -------------------------------------------------------------
546
-  (0.1ms) SAVEPOINT active_record_1
547
-  (0.0ms) RELEASE SAVEPOINT active_record_1
548
-  (0.0ms) SAVEPOINT active_record_1
549
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
550
-  (0.1ms) ROLLBACK
551
-  (0.1ms) BEGIN
552
- --------------------------------------------------------------------------------------------------------------
553
- PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
554
- --------------------------------------------------------------------------------------------------------------
555
-  (0.1ms) SAVEPOINT active_record_1
556
-  (0.1ms) RELEASE SAVEPOINT active_record_1
557
-  (0.0ms) SAVEPOINT active_record_1
558
517
   (0.0ms) SAVEPOINT active_record_2
559
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
560
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
561
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "96af62ae4b0cf8fdcf1b378d62ce11fe0742c715bf4fcaec2637f885610ff28c"]]
562
- SQL (0.1ms) 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", "2016-02-19 13:40:43.742910"], ["updated_at", "2016-02-19 13:40:43.742910"], ["confirmation_token", "D4Uh2ubQHboabsTuCyxP"], ["confirmation_sent_at", "2016-02-19 13:40:43.743802"]]
518
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
519
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
520
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "169e7929733205ba1deb346e6f72f4f8e543dca850ecf1e6712312fae0c830cb"]]
521
+ SQL (0.1ms) 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-7@example.com"], ["created_at", "2016-03-03 19:51:44.388980"], ["updated_at", "2016-03-03 19:51:44.388980"], ["confirmation_token", "fugAntJ1FTV8jCshojEx"], ["confirmation_sent_at", "2016-03-03 19:51:44.389659"]]
563
522
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
564
523
 
565
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.4ms
524
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
566
525
 
567
- Sent mail to joe-8@example.com (3.9ms)
568
- Date: Fri, 19 Feb 2016 13:40:43 +0000
526
+ Sent mail to joe-7@example.com (3.1ms)
527
+ Date: Thu, 03 Mar 2016 19:51:44 +0000
569
528
  From: pushtype@example.com
570
529
  Reply-To: pushtype@example.com
571
- To: joe-8@example.com
572
- Message-ID: <56c71b5bbfa0d_1c1f3ff851863bf050420@Aarons-iMac.local.mail>
530
+ To: joe-7@example.com
531
+ Message-ID: <56d895d066fe6_71623fc7b9863bf082376@Aarons-iMac.local.mail>
573
532
  Subject: [PushType] Confirm your account
574
533
  Mime-Version: 1.0
575
534
  Content-Type: multipart/alternative;
576
- boundary="--==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386";
535
+ boundary="--==_mimepart_56d895d066a69_71623fc7b9863bf0822ce";
577
536
  charset=UTF-8
578
537
  Content-Transfer-Encoding: 7bit
579
538
 
580
539
 
581
- ----==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386
540
+ ----==_mimepart_56d895d066a69_71623fc7b9863bf0822ce
582
541
  Content-Type: text/plain;
583
542
  charset=UTF-8
584
543
  Content-Transfer-Encoding: 7bit
@@ -593,10 +552,10 @@ created for you.
593
552
  To get started, confirm your account and set your own password by
594
553
  clicking the link below:
595
554
 
596
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=D4Uh2ubQHboabsTuCyxP )
555
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=fugAntJ1FTV8jCshojEx )
597
556
 
598
557
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
599
- ----==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386
558
+ ----==_mimepart_56d895d066a69_71623fc7b9863bf0822ce
600
559
  Content-Type: text/html;
601
560
  charset=UTF-8
602
561
  Content-Transfer-Encoding: 7bit
@@ -642,7 +601,7 @@ body {
642
601
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
643
602
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
644
603
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
645
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=D4Uh2ubQHboabsTuCyxP" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
604
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=fugAntJ1FTV8jCshojEx" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
646
605
  </td>
647
606
  </tr>
648
607
  </table>
@@ -687,90 +646,34 @@ body {
687
646
  </body>
688
647
  </html>
689
648
 
690
- ----==_mimepart_56c71b5bbf3db_1c1f3ff851863bf050386--
649
+ ----==_mimepart_56d895d066a69_71623fc7b9863bf0822ce--
691
650
 
692
651
   (0.1ms) RELEASE SAVEPOINT active_record_2
693
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
694
-  (0.1ms) ROLLBACK
695
-  (0.1ms) BEGIN
696
- ---------------------------------------------------------------
697
- PushType::AuthenticatableTest::confirmable: test_0001_anonymous
698
- ---------------------------------------------------------------
699
-  (0.1ms) SAVEPOINT active_record_1
700
-  (0.0ms) RELEASE SAVEPOINT active_record_1
701
-  (0.0ms) SAVEPOINT active_record_1
702
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
703
-  (0.1ms) ROLLBACK
704
-  (0.1ms) BEGIN
705
- ------------------------------------------------------------------------------------------------------
706
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
707
- ------------------------------------------------------------------------------------------------------
708
-  (0.1ms) SAVEPOINT active_record_1
709
-  (0.1ms) RELEASE SAVEPOINT active_record_1
710
-  (0.1ms) SAVEPOINT active_record_1
711
- Processing by PushType::ConfirmationsController#show as HTML
712
- Parameters: {"confirmation_token"=>"invalid"}
713
- 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 1 [["confirmation_token", "invalid"]]
714
- 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 1 [["confirmation_token", "invalid"]]
715
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5db6601db4fc560df69b69ee7adfcc1a0e2b6a0becd6c76361d1228f6a052f20"]]
716
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
717
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (3.5ms)
718
- Completed 200 OK in 14ms (Views: 9.0ms | ActiveRecord: 0.5ms)
719
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
720
-  (0.1ms) ROLLBACK
721
-  (0.1ms) BEGIN
722
- ------------------------------------------------------------------------------------------------------
723
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
724
- ------------------------------------------------------------------------------------------------------
725
-  (0.0ms) SAVEPOINT active_record_1
726
-  (0.0ms) RELEASE SAVEPOINT active_record_1
727
-  (0.0ms) SAVEPOINT active_record_1
728
- Processing by PushType::ConfirmationsController#show as HTML
729
- Parameters: {"confirmation_token"=>"invalid"}
730
- 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 1 [["confirmation_token", "invalid"]]
731
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
732
- 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 1 [["confirmation_token", "5db6601db4fc560df69b69ee7adfcc1a0e2b6a0becd6c76361d1228f6a052f20"]]
733
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
734
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.6ms)
735
- Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.4ms)
736
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
737
-  (0.1ms) ROLLBACK
738
-  (0.0ms) BEGIN
739
- ---------------------------------------------------------------
740
- PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
741
- ---------------------------------------------------------------
742
-  (0.0ms) SAVEPOINT active_record_1
743
-  (0.0ms) RELEASE SAVEPOINT active_record_1
744
-  (0.0ms) SAVEPOINT active_record_1
652
+ Processing by PushType::UsersController#invite as HTML
653
+ Parameters: {"id"=>"9c7891ce-74d3-489b-9d89-6359b4b6c483"}
654
+ 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 1 [["id", "a4591513-a931-407b-af46-ec38747b2ae2"]]
655
+ 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 1 [["id", "9c7891ce-74d3-489b-9d89-6359b4b6c483"]]
745
656
   (0.1ms) SAVEPOINT active_record_2
746
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
747
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
748
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:43.876608"], ["confirmed_at", "2016-02-19 13:40:43.876682"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.878662"], ["updated_at", "2016-02-19 13:40:43.878662"]]
749
-  (0.1ms) RELEASE SAVEPOINT active_record_2
750
-  (0.1ms) SAVEPOINT active_record_2
751
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
752
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
753
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "e54ddce7cd7915d229e210a961671a18e85c94a96d5214eceaab356f4cf007de"]]
754
- SQL (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", "2016-02-19 13:40:43.881884"], ["updated_at", "2016-02-19 13:40:43.881884"], ["confirmation_token", "Tx4nchxNx_RTmDnNrtfq"], ["confirmation_sent_at", "2016-02-19 13:40:43.882799"]]
755
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
657
+  (0.1ms) RELEASE SAVEPOINT active_record_2
658
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
756
659
 
757
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
660
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
758
661
 
759
- Sent mail to joe-10@example.com (3.4ms)
760
- Date: Fri, 19 Feb 2016 13:40:43 +0000
662
+ Sent mail to joe-7@example.com (3.0ms)
663
+ Date: Thu, 03 Mar 2016 19:51:44 +0000
761
664
  From: pushtype@example.com
762
665
  Reply-To: pushtype@example.com
763
- To: joe-10@example.com
764
- Message-ID: <56c71b5be1005_1c1f3ff851863bf050770@Aarons-iMac.local.mail>
666
+ To: joe-7@example.com
667
+ Message-ID: <56d895d070472_71623fc7b9863bf082680@Aarons-iMac.local.mail>
765
668
  Subject: [PushType] Confirm your account
766
669
  Mime-Version: 1.0
767
670
  Content-Type: multipart/alternative;
768
- boundary="--==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615";
671
+ boundary="--==_mimepart_56d895d06fee5_71623fc7b9863bf082525";
769
672
  charset=UTF-8
770
673
  Content-Transfer-Encoding: 7bit
771
674
 
772
675
 
773
- ----==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615
676
+ ----==_mimepart_56d895d06fee5_71623fc7b9863bf082525
774
677
  Content-Type: text/plain;
775
678
  charset=UTF-8
776
679
  Content-Transfer-Encoding: 7bit
@@ -785,10 +688,10 @@ created for you.
785
688
  To get started, confirm your account and set your own password by
786
689
  clicking the link below:
787
690
 
788
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Tx4nchxNx_RTmDnNrtfq )
691
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=fugAntJ1FTV8jCshojEx )
789
692
 
790
693
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
791
- ----==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615
694
+ ----==_mimepart_56d895d06fee5_71623fc7b9863bf082525
792
695
  Content-Type: text/html;
793
696
  charset=UTF-8
794
697
  Content-Transfer-Encoding: 7bit
@@ -834,7 +737,7 @@ body {
834
737
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
835
738
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
836
739
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
837
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Tx4nchxNx_RTmDnNrtfq" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
740
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=fugAntJ1FTV8jCshojEx" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
838
741
  </td>
839
742
  </tr>
840
743
  </table>
@@ -879,34 +782,48 @@ body {
879
782
  </body>
880
783
  </html>
881
784
 
882
- ----==_mimepart_56c71b5be09d9_1c1f3ff851863bf050615--
785
+ ----==_mimepart_56d895d06fee5_71623fc7b9863bf082525--
883
786
 
884
-  (0.2ms) RELEASE SAVEPOINT active_record_2
885
- Processing by PushType::UsersController#invite as HTML
886
- Parameters: {"id"=>"c855a21c-d33d-4e4c-8468-336b89078368"}
887
- 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 1 [["id", "b148ae00-3307-413e-9e80-50cd36184589"]]
888
- 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 1 [["id", "c855a21c-d33d-4e4c-8468-336b89078368"]]
889
-  (0.1ms) SAVEPOINT active_record_2
787
+ Redirected to /push_type/users
788
+ Completed 302 Found in 37ms (ActiveRecord: 0.5ms)
789
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
790
+  (0.1ms) ROLLBACK
791
+  (0.1ms) BEGIN
792
+ ---------------------------------------------------------------
793
+ PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
794
+ ---------------------------------------------------------------
795
+  (0.0ms) SAVEPOINT active_record_1
796
+  (0.0ms) RELEASE SAVEPOINT active_record_1
797
+  (0.0ms) SAVEPOINT active_record_1
798
+  (0.1ms) SAVEPOINT active_record_2
799
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
800
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
801
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["confirmation_sent_at", "2016-03-03 19:51:44.463843"], ["confirmed_at", "2016-03-03 19:51:44.463899"], ["confirmation_token", "Generated account"], ["created_at", "2016-03-03 19:51:44.465239"], ["updated_at", "2016-03-03 19:51:44.465239"]]
890
802
   (0.1ms) RELEASE SAVEPOINT active_record_2
891
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
803
+  (0.1ms) SAVEPOINT active_record_2
804
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
805
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
806
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "19c68145ba3e2dc64f4258d04de1b5bfaaed493918843c07ecb3e4bb81101cbf"]]
807
+ SQL (0.1ms) 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", "2016-03-03 19:51:44.467782"], ["updated_at", "2016-03-03 19:51:44.467782"], ["confirmation_token", "n6NayZeTCWbrXYhs8zq2"], ["confirmation_sent_at", "2016-03-03 19:51:44.468491"]]
808
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
892
809
 
893
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
810
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
894
811
 
895
- Sent mail to joe-10@example.com (3.3ms)
896
- Date: Fri, 19 Feb 2016 13:40:43 +0000
812
+ Sent mail to joe-9@example.com (3.1ms)
813
+ Date: Thu, 03 Mar 2016 19:51:44 +0000
897
814
  From: pushtype@example.com
898
815
  Reply-To: pushtype@example.com
899
- To: joe-10@example.com
900
- Message-ID: <56c71b5bebbde_1c1f3ff851863bf0510b8@Aarons-iMac.local.mail>
816
+ To: joe-9@example.com
817
+ Message-ID: <56d895d07a3fb_71623fc7b9863bf0829d1@Aarons-iMac.local.mail>
901
818
  Subject: [PushType] Confirm your account
902
819
  Mime-Version: 1.0
903
820
  Content-Type: multipart/alternative;
904
- boundary="--==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d";
821
+ boundary="--==_mimepart_56d895d079eaf_71623fc7b9863bf0828f9";
905
822
  charset=UTF-8
906
823
  Content-Transfer-Encoding: 7bit
907
824
 
908
825
 
909
- ----==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d
826
+ ----==_mimepart_56d895d079eaf_71623fc7b9863bf0828f9
910
827
  Content-Type: text/plain;
911
828
  charset=UTF-8
912
829
  Content-Transfer-Encoding: 7bit
@@ -921,10 +838,10 @@ created for you.
921
838
  To get started, confirm your account and set your own password by
922
839
  clicking the link below:
923
840
 
924
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Tx4nchxNx_RTmDnNrtfq )
841
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=n6NayZeTCWbrXYhs8zq2 )
925
842
 
926
843
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
927
- ----==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d
844
+ ----==_mimepart_56d895d079eaf_71623fc7b9863bf0828f9
928
845
  Content-Type: text/html;
929
846
  charset=UTF-8
930
847
  Content-Transfer-Encoding: 7bit
@@ -970,7 +887,7 @@ body {
970
887
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
971
888
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
972
889
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
973
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Tx4nchxNx_RTmDnNrtfq" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
890
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=n6NayZeTCWbrXYhs8zq2" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
974
891
  </td>
975
892
  </tr>
976
893
  </table>
@@ -1015,48 +932,34 @@ body {
1015
932
  </body>
1016
933
  </html>
1017
934
 
1018
- ----==_mimepart_56c71b5beb61f_1c1f3ff851863bf05099d--
935
+ ----==_mimepart_56d895d079eaf_71623fc7b9863bf0828f9--
1019
936
 
1020
- Redirected to /push_type/users
1021
- Completed 302 Found in 42ms (ActiveRecord: 0.7ms)
1022
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1023
-  (0.1ms) ROLLBACK
1024
-  (0.1ms) BEGIN
1025
- ---------------------------------------------------------------
1026
- PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
1027
- ---------------------------------------------------------------
1028
-  (0.0ms) SAVEPOINT active_record_1
1029
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1030
-  (0.0ms) SAVEPOINT active_record_1
937
+  (0.1ms) RELEASE SAVEPOINT active_record_2
938
+ Processing by PushType::UsersController#invite as HTML
939
+ Parameters: {"id"=>"656cc49f-c279-4766-86bd-b47371c5e69d"}
940
+ 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 1 [["id", "beeeedec-794b-4f30-ae3a-7c79e9c865cd"]]
941
+ 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 1 [["id", "656cc49f-c279-4766-86bd-b47371c5e69d"]]
1031
942
   (0.1ms) SAVEPOINT active_record_2
1032
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1033
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1034
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:43.970430"], ["confirmed_at", "2016-02-19 13:40:43.970495"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:43.972122"], ["updated_at", "2016-02-19 13:40:43.972122"]]
1035
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1036
-  (0.1ms) SAVEPOINT active_record_2
1037
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1038
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1039
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d2d20ab8db1c49eac8d71100b010db9ae45c9b888b7470abe557006bd336b598"]]
1040
- SQL (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", "2016-02-19 13:40:43.974939"], ["updated_at", "2016-02-19 13:40:43.974939"], ["confirmation_token", "VxP4HTqHiXT4qcDC6x2r"], ["confirmation_sent_at", "2016-02-19 13:40:43.975788"]]
1041
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
943
+  (0.1ms) RELEASE SAVEPOINT active_record_2
944
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1042
945
 
1043
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
946
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
1044
947
 
1045
- Sent mail to joe-12@example.com (3.2ms)
1046
- Date: Fri, 19 Feb 2016 13:40:44 +0000
948
+ Sent mail to joe-9@example.com (2.9ms)
949
+ Date: Thu, 03 Mar 2016 19:51:44 +0000
1047
950
  From: pushtype@example.com
1048
951
  Reply-To: pushtype@example.com
1049
- To: joe-12@example.com
1050
- Message-ID: <56c71b5c30d1_1c1f3ff851863bf051376@Aarons-iMac.local.mail>
952
+ To: joe-9@example.com
953
+ Message-ID: <56d895d08b5ef_71623fc7b9863bf0832c4@Aarons-iMac.local.mail>
1051
954
  Subject: [PushType] Confirm your account
1052
955
  Mime-Version: 1.0
1053
956
  Content-Type: multipart/alternative;
1054
- boundary="--==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5";
957
+ boundary="--==_mimepart_56d895d08b0a8_71623fc7b9863bf083188";
1055
958
  charset=UTF-8
1056
959
  Content-Transfer-Encoding: 7bit
1057
960
 
1058
961
 
1059
- ----==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5
962
+ ----==_mimepart_56d895d08b0a8_71623fc7b9863bf083188
1060
963
  Content-Type: text/plain;
1061
964
  charset=UTF-8
1062
965
  Content-Transfer-Encoding: 7bit
@@ -1071,10 +974,10 @@ created for you.
1071
974
  To get started, confirm your account and set your own password by
1072
975
  clicking the link below:
1073
976
 
1074
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=VxP4HTqHiXT4qcDC6x2r )
977
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=n6NayZeTCWbrXYhs8zq2 )
1075
978
 
1076
979
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1077
- ----==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5
980
+ ----==_mimepart_56d895d08b0a8_71623fc7b9863bf083188
1078
981
  Content-Type: text/html;
1079
982
  charset=UTF-8
1080
983
  Content-Transfer-Encoding: 7bit
@@ -1120,7 +1023,7 @@ body {
1120
1023
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1121
1024
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1122
1025
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1123
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=VxP4HTqHiXT4qcDC6x2r" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1026
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=n6NayZeTCWbrXYhs8zq2" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1124
1027
  </td>
1125
1028
  </tr>
1126
1029
  </table>
@@ -1165,34 +1068,52 @@ body {
1165
1068
  </body>
1166
1069
  </html>
1167
1070
 
1168
- ----==_mimepart_56c71b5c2b0e_1c1f3ff851863bf0512e5--
1071
+ ----==_mimepart_56d895d08b0a8_71623fc7b9863bf083188--
1169
1072
 
1170
-  (0.2ms) RELEASE SAVEPOINT active_record_2
1171
- Processing by PushType::UsersController#invite as HTML
1172
- Parameters: {"id"=>"920d1336-48c5-4f87-9d33-39dd5cd4585d"}
1173
- 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 1 [["id", "8d9e60fc-433f-4c7a-855b-c2773f4c797c"]]
1174
- 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 1 [["id", "920d1336-48c5-4f87-9d33-39dd5cd4585d"]]
1175
-  (0.1ms) SAVEPOINT active_record_2
1176
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1177
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1073
+ Redirected to /push_type/users
1074
+ Completed 302 Found in 69ms (ActiveRecord: 0.4ms)
1075
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1076
+  (0.1ms) ROLLBACK
1077
+  (0.1ms) BEGIN
1078
+ ---------------------------------------------------------------
1079
+ PushType::AuthenticatableTest::recoverable: test_0001_anonymous
1080
+ ---------------------------------------------------------------
1081
+  (0.1ms) SAVEPOINT active_record_1
1082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1083
+  (0.0ms) SAVEPOINT active_record_1
1084
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1085
+  (0.1ms) ROLLBACK
1086
+  (0.0ms) BEGIN
1087
+ ------------------------------------------------------------------------------------------
1088
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
1089
+ ------------------------------------------------------------------------------------------
1090
+  (0.1ms) SAVEPOINT active_record_1
1091
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1092
+  (0.1ms) SAVEPOINT active_record_1
1093
+  (0.1ms) SAVEPOINT active_record_2
1094
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1095
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1096
+ 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 1 [["confirmation_token", "e0841514212cf97802b27a87bc283ab71a032b883fa1fc7482a99055b001ffb2"]]
1097
+ SQL (0.1ms) 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", "2016-03-03 19:51:44.584312"], ["updated_at", "2016-03-03 19:51:44.584312"], ["confirmation_token", "VifprzNzbMYf8wricKax"], ["confirmation_sent_at", "2016-03-03 19:51:44.585144"]]
1098
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1178
1099
 
1179
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
1100
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1180
1101
 
1181
- Sent mail to joe-12@example.com (3.6ms)
1182
- Date: Fri, 19 Feb 2016 13:40:44 +0000
1102
+ Sent mail to joe-10@example.com (3.4ms)
1103
+ Date: Thu, 03 Mar 2016 19:51:44 +0000
1183
1104
  From: pushtype@example.com
1184
1105
  Reply-To: pushtype@example.com
1185
- To: joe-12@example.com
1186
- Message-ID: <56c71b5cd193_1c1f3ff851863bf051663@Aarons-iMac.local.mail>
1106
+ To: joe-10@example.com
1107
+ Message-ID: <56d895d096869_71623fc7b9863bf08356e@Aarons-iMac.local.mail>
1187
1108
  Subject: [PushType] Confirm your account
1188
1109
  Mime-Version: 1.0
1189
1110
  Content-Type: multipart/alternative;
1190
- boundary="--==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2";
1111
+ boundary="--==_mimepart_56d895d0960f4_71623fc7b9863bf083463";
1191
1112
  charset=UTF-8
1192
1113
  Content-Transfer-Encoding: 7bit
1193
1114
 
1194
1115
 
1195
- ----==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2
1116
+ ----==_mimepart_56d895d0960f4_71623fc7b9863bf083463
1196
1117
  Content-Type: text/plain;
1197
1118
  charset=UTF-8
1198
1119
  Content-Transfer-Encoding: 7bit
@@ -1207,10 +1128,10 @@ created for you.
1207
1128
  To get started, confirm your account and set your own password by
1208
1129
  clicking the link below:
1209
1130
 
1210
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=VxP4HTqHiXT4qcDC6x2r )
1131
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=VifprzNzbMYf8wricKax )
1211
1132
 
1212
1133
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1213
- ----==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2
1134
+ ----==_mimepart_56d895d0960f4_71623fc7b9863bf083463
1214
1135
  Content-Type: text/html;
1215
1136
  charset=UTF-8
1216
1137
  Content-Transfer-Encoding: 7bit
@@ -1256,7 +1177,7 @@ body {
1256
1177
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1257
1178
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1258
1179
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1259
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=VxP4HTqHiXT4qcDC6x2r" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1180
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=VifprzNzbMYf8wricKax" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1260
1181
  </td>
1261
1182
  </tr>
1262
1183
  </table>
@@ -1301,48 +1222,55 @@ body {
1301
1222
  </body>
1302
1223
  </html>
1303
1224
 
1304
- ----==_mimepart_56c71b5ccbbb_1c1f3ff851863bf0515f2--
1225
+ ----==_mimepart_56d895d0960f4_71623fc7b9863bf083463--
1305
1226
 
1306
- Redirected to /push_type/users
1307
- Completed 302 Found in 40ms (ActiveRecord: 0.5ms)
1308
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1309
-  (0.1ms) ROLLBACK
1310
-  (0.1ms) BEGIN
1311
- ---------------------------------------------------------------
1312
- PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
1313
- ---------------------------------------------------------------
1314
-  (0.0ms) SAVEPOINT active_record_1
1315
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1316
-  (0.1ms) SAVEPOINT active_record_1
1317
-  (0.1ms) SAVEPOINT active_record_2
1318
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1319
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1320
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:44.058322"], ["confirmed_at", "2016-02-19 13:40:44.058384"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:44.059880"], ["updated_at", "2016-02-19 13:40:44.059880"]]
1321
1227
   (0.1ms) RELEASE SAVEPOINT active_record_2
1228
+ Processing by PushType::ConfirmationsController#update as HTML
1229
+ Parameters: {"user"=>{"confirmation_token"=>"VifprzNzbMYf8wricKax", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1230
+ 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 1 [["confirmation_token", "VifprzNzbMYf8wricKax"]]
1231
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-10@example.com' AND "push_type_users"."id" != '796cc99e-8398-4596-be59-91957f2ae998') LIMIT 1
1232
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.9ms)
1233
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (9.7ms)
1234
+ DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.1.4@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
1235
+ in a future version of Sass. To preserve the current behavior, use quotes:
1236
+
1237
+ unquote("#{lower-bound($medium-range)}")
1238
+
1239
+
1240
+ Completed 200 OK in 9517ms (Views: 9514.1ms | ActiveRecord: 0.4ms)
1241
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1242
+  (0.1ms) ROLLBACK
1243
+  (0.1ms) BEGIN
1244
+ ------------------------------------------------------------------------------------------
1245
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
1246
+ ------------------------------------------------------------------------------------------
1247
+  (0.1ms) SAVEPOINT active_record_1
1248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1249
+  (0.1ms) SAVEPOINT active_record_1
1322
1250
   (0.1ms) SAVEPOINT active_record_2
1323
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1324
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1325
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5a23928d4ce2694258a17585856f713585a71e991fd41986117e1001658c65df"]]
1326
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", "2016-02-19 13:40:44.062554"], ["updated_at", "2016-02-19 13:40:44.062554"], ["confirmation_token", "Q7JcEiPzdkRXR-2htCBy"], ["confirmation_sent_at", "2016-02-19 13:40:44.063279"]]
1327
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1251
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1252
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1253
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "3c24bfc2ff5e2aec98a2e89dab97d5b62cfed979fe13bde97a896235f90fae13"]]
1254
+ SQL (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-11@example.com"], ["created_at", "2016-03-03 19:51:54.142867"], ["updated_at", "2016-03-03 19:51:54.142867"], ["confirmation_token", "F9vgK7zmj-m2ypfx-Gjy"], ["confirmation_sent_at", "2016-03-03 19:51:54.144628"]]
1255
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.5ms)
1328
1256
 
1329
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1257
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.9ms
1330
1258
 
1331
- Sent mail to joe-14@example.com (3.2ms)
1332
- Date: Fri, 19 Feb 2016 13:40:44 +0000
1259
+ Sent mail to joe-11@example.com (5.4ms)
1260
+ Date: Thu, 03 Mar 2016 19:51:54 +0000
1333
1261
  From: pushtype@example.com
1334
1262
  Reply-To: pushtype@example.com
1335
- To: joe-14@example.com
1336
- Message-ID: <56c71b5c1808f_1c1f3ff851863bf0519bf@Aarons-iMac.local.mail>
1263
+ To: joe-11@example.com
1264
+ Message-ID: <56d895da399a4_71623fc7b9863bf08383@Aarons-iMac.local.mail>
1337
1265
  Subject: [PushType] Confirm your account
1338
1266
  Mime-Version: 1.0
1339
1267
  Content-Type: multipart/alternative;
1340
- boundary="--==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884";
1268
+ boundary="--==_mimepart_56d895da38f28_71623fc7b9863bf0837a8";
1341
1269
  charset=UTF-8
1342
1270
  Content-Transfer-Encoding: 7bit
1343
1271
 
1344
1272
 
1345
- ----==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884
1273
+ ----==_mimepart_56d895da38f28_71623fc7b9863bf0837a8
1346
1274
  Content-Type: text/plain;
1347
1275
  charset=UTF-8
1348
1276
  Content-Transfer-Encoding: 7bit
@@ -1357,10 +1285,10 @@ created for you.
1357
1285
  To get started, confirm your account and set your own password by
1358
1286
  clicking the link below:
1359
1287
 
1360
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Q7JcEiPzdkRXR-2htCBy )
1288
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=F9vgK7zmj-m2ypfx-Gjy )
1361
1289
 
1362
1290
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1363
- ----==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884
1291
+ ----==_mimepart_56d895da38f28_71623fc7b9863bf0837a8
1364
1292
  Content-Type: text/html;
1365
1293
  charset=UTF-8
1366
1294
  Content-Transfer-Encoding: 7bit
@@ -1406,7 +1334,7 @@ body {
1406
1334
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1407
1335
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1408
1336
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1409
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Q7JcEiPzdkRXR-2htCBy" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1337
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=F9vgK7zmj-m2ypfx-Gjy" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1410
1338
  </td>
1411
1339
  </tr>
1412
1340
  </table>
@@ -1451,34 +1379,49 @@ body {
1451
1379
  </body>
1452
1380
  </html>
1453
1381
 
1454
- ----==_mimepart_56c71b5c17af4_1c1f3ff851863bf051884--
1382
+ ----==_mimepart_56d895da38f28_71623fc7b9863bf0837a8--
1455
1383
 
1456
1384
   (0.1ms) RELEASE SAVEPOINT active_record_2
1457
- Processing by PushType::UsersController#invite as HTML
1458
- Parameters: {"id"=>"771326f0-bc1f-4a04-b1f2-a3f385d3cb4e"}
1459
- 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 1 [["id", "c25c9252-879a-4154-b7ce-ed305bf103b9"]]
1460
- 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 1 [["id", "771326f0-bc1f-4a04-b1f2-a3f385d3cb4e"]]
1385
+ Processing by PushType::ConfirmationsController#update as HTML
1386
+ Parameters: {"user"=>{"confirmation_token"=>"F9vgK7zmj-m2ypfx-Gjy", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1387
+ 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 1 [["confirmation_token", "F9vgK7zmj-m2ypfx-Gjy"]]
1388
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-11@example.com' AND "push_type_users"."id" != 'bfb8fc80-4410-4010-a04a-5673310b21bc') LIMIT 1
1389
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
1390
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (3.0ms)
1391
+ Completed 200 OK in 14ms (Views: 10.2ms | ActiveRecord: 0.6ms)
1392
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1393
+  (0.1ms) ROLLBACK
1394
+  (0.1ms) BEGIN
1395
+ ------------------------------------------------------------------------------------------
1396
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
1397
+ ------------------------------------------------------------------------------------------
1398
+  (0.1ms) SAVEPOINT active_record_1
1399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1400
+  (0.1ms) SAVEPOINT active_record_1
1461
1401
   (0.1ms) SAVEPOINT active_record_2
1462
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1463
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1402
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1403
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1404
+ 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 1 [["confirmation_token", "efef87f8e275b69373dd0081d68d32984d3327f3e243bf780ad692fb8e05030a"]]
1405
+ SQL (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-12@example.com"], ["created_at", "2016-03-03 19:51:54.261291"], ["updated_at", "2016-03-03 19:51:54.261291"], ["confirmation_token", "sttinV7DrsHZ_CCt9ube"], ["confirmation_sent_at", "2016-03-03 19:51:54.262856"]]
1406
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.5ms)
1464
1407
 
1465
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1408
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.6ms
1466
1409
 
1467
- Sent mail to joe-14@example.com (3.2ms)
1468
- Date: Fri, 19 Feb 2016 13:40:44 +0000
1410
+ Sent mail to joe-12@example.com (3.4ms)
1411
+ Date: Thu, 03 Mar 2016 19:51:54 +0000
1469
1412
  From: pushtype@example.com
1470
1413
  Reply-To: pushtype@example.com
1471
- To: joe-14@example.com
1472
- Message-ID: <56c71b5c21c50_1c1f3ff851863bf052272@Aarons-iMac.local.mail>
1414
+ To: joe-12@example.com
1415
+ Message-ID: <56d895da4d8c2_71623fc7b9863bf08416b@Aarons-iMac.local.mail>
1473
1416
  Subject: [PushType] Confirm your account
1474
1417
  Mime-Version: 1.0
1475
1418
  Content-Type: multipart/alternative;
1476
- boundary="--==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf";
1419
+ boundary="--==_mimepart_56d895da4d2cf_71623fc7b9863bf0840b4";
1477
1420
  charset=UTF-8
1478
1421
  Content-Transfer-Encoding: 7bit
1479
1422
 
1480
1423
 
1481
- ----==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf
1424
+ ----==_mimepart_56d895da4d2cf_71623fc7b9863bf0840b4
1482
1425
  Content-Type: text/plain;
1483
1426
  charset=UTF-8
1484
1427
  Content-Transfer-Encoding: 7bit
@@ -1493,10 +1436,10 @@ created for you.
1493
1436
  To get started, confirm your account and set your own password by
1494
1437
  clicking the link below:
1495
1438
 
1496
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Q7JcEiPzdkRXR-2htCBy )
1439
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=sttinV7DrsHZ_CCt9ube )
1497
1440
 
1498
1441
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1499
- ----==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf
1442
+ ----==_mimepart_56d895da4d2cf_71623fc7b9863bf0840b4
1500
1443
  Content-Type: text/html;
1501
1444
  charset=UTF-8
1502
1445
  Content-Transfer-Encoding: 7bit
@@ -1542,7 +1485,7 @@ body {
1542
1485
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1543
1486
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1544
1487
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1545
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Q7JcEiPzdkRXR-2htCBy" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1488
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=sttinV7DrsHZ_CCt9ube" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1546
1489
  </td>
1547
1490
  </tr>
1548
1491
  </table>
@@ -1587,43 +1530,85 @@ body {
1587
1530
  </body>
1588
1531
  </html>
1589
1532
 
1590
- ----==_mimepart_56c71b5c216cf_1c1f3ff851863bf0521cf--
1533
+ ----==_mimepart_56d895da4d2cf_71623fc7b9863bf0840b4--
1591
1534
 
1592
- Redirected to /push_type/users
1593
- Completed 302 Found in 39ms (ActiveRecord: 0.4ms)
1594
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1535
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1536
+ Processing by PushType::ConfirmationsController#update as HTML
1537
+ Parameters: {"user"=>{"confirmation_token"=>"sttinV7DrsHZ_CCt9ube", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1538
+ 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 1 [["confirmation_token", "sttinV7DrsHZ_CCt9ube"]]
1539
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-12@example.com' AND "push_type_users"."id" != '153e23ec-7d35-4ff6-b9c4-c7c9d20999ae') LIMIT 1
1540
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
1541
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.0ms)
1542
+ Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.5ms)
1543
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1595
1544
   (0.1ms) ROLLBACK
1596
1545
   (0.1ms) BEGIN
1597
- ------------------------------------------------------------------------------------------
1598
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
1599
- ------------------------------------------------------------------------------------------
1546
+ ---------------------------------------------------------------
1547
+ PushType::AuthenticatableTest::validatable: test_0002_anonymous
1548
+ ---------------------------------------------------------------
1600
1549
   (0.1ms) SAVEPOINT active_record_1
1601
1550
   (0.0ms) RELEASE SAVEPOINT active_record_1
1602
1551
   (0.0ms) SAVEPOINT active_record_1
1552
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1553
+  (0.1ms) ROLLBACK
1554
+  (0.1ms) BEGIN
1555
+ ---------------------------------------------------------------
1556
+ PushType::AuthenticatableTest::validatable: test_0001_anonymous
1557
+ ---------------------------------------------------------------
1558
+  (0.1ms) SAVEPOINT active_record_1
1559
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1560
+  (0.1ms) SAVEPOINT active_record_1
1561
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1562
+  (0.1ms) ROLLBACK
1563
+  (0.0ms) BEGIN
1564
+ --------------------------------------------------------
1565
+ PushType::AuthenticationMethodsTest: test_0001_anonymous
1566
+ --------------------------------------------------------
1567
+  (0.1ms) SAVEPOINT active_record_1
1568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1569
+  (0.1ms) SAVEPOINT active_record_1
1570
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1571
+  (0.1ms) ROLLBACK
1572
+  (0.1ms) BEGIN
1573
+ --------------------------------------------------------
1574
+ PushType::AuthenticationMethodsTest: test_0002_anonymous
1575
+ --------------------------------------------------------
1576
+  (0.1ms) SAVEPOINT active_record_1
1577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1578
+  (0.0ms) SAVEPOINT active_record_1
1579
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1580
+  (0.1ms) ROLLBACK
1581
+  (0.1ms) BEGIN
1582
+ ----------------------------------------------------------------------------------------------------
1583
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
1584
+ ----------------------------------------------------------------------------------------------------
1585
+  (0.1ms) SAVEPOINT active_record_1
1586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1587
+  (0.0ms) SAVEPOINT active_record_1
1603
1588
   (0.1ms) SAVEPOINT active_record_2
1604
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1605
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1606
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "83374a020fa298cde341be108ee06ba449123753c6827929d9a49636f549f8da"]]
1607
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", "2016-02-19 13:40:44.145245"], ["updated_at", "2016-02-19 13:40:44.145245"], ["confirmation_token", "QcqsJa3fbdbg2q9zzTn5"], ["confirmation_sent_at", "2016-02-19 13:40:44.146010"]]
1589
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1590
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1591
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "678e4b86bd23f9b72f49e60f43ff6d448baf3f0154328e28626d12895c7aace9"]]
1592
+ SQL (0.1ms) 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", "2016-03-03 19:51:54.340523"], ["updated_at", "2016-03-03 19:51:54.340523"], ["confirmation_token", "XXG8XzDELPp9BNV3H5os"], ["confirmation_sent_at", "2016-03-03 19:51:54.341242"]]
1608
1593
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1609
1594
 
1610
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1595
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1611
1596
 
1612
- Sent mail to joe-15@example.com (3.3ms)
1613
- Date: Fri, 19 Feb 2016 13:40:44 +0000
1597
+ Sent mail to joe-13@example.com (3.1ms)
1598
+ Date: Thu, 03 Mar 2016 19:51:54 +0000
1614
1599
  From: pushtype@example.com
1615
1600
  Reply-To: pushtype@example.com
1616
- To: joe-15@example.com
1617
- Message-ID: <56c71b5c3da39_1c1f3ff851863bf05251@Aarons-iMac.local.mail>
1601
+ To: joe-13@example.com
1602
+ Message-ID: <56d895da5b329_71623fc7b9863bf08444@Aarons-iMac.local.mail>
1618
1603
  Subject: [PushType] Confirm your account
1619
1604
  Mime-Version: 1.0
1620
1605
  Content-Type: multipart/alternative;
1621
- boundary="--==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a";
1606
+ boundary="--==_mimepart_56d895da5ad96_71623fc7b9863bf0843da";
1622
1607
  charset=UTF-8
1623
1608
  Content-Transfer-Encoding: 7bit
1624
1609
 
1625
1610
 
1626
- ----==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a
1611
+ ----==_mimepart_56d895da5ad96_71623fc7b9863bf0843da
1627
1612
  Content-Type: text/plain;
1628
1613
  charset=UTF-8
1629
1614
  Content-Transfer-Encoding: 7bit
@@ -1638,10 +1623,10 @@ created for you.
1638
1623
  To get started, confirm your account and set your own password by
1639
1624
  clicking the link below:
1640
1625
 
1641
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=QcqsJa3fbdbg2q9zzTn5 )
1626
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=XXG8XzDELPp9BNV3H5os )
1642
1627
 
1643
1628
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1644
- ----==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a
1629
+ ----==_mimepart_56d895da5ad96_71623fc7b9863bf0843da
1645
1630
  Content-Type: text/html;
1646
1631
  charset=UTF-8
1647
1632
  Content-Transfer-Encoding: 7bit
@@ -1687,7 +1672,7 @@ body {
1687
1672
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1688
1673
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1689
1674
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1690
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=QcqsJa3fbdbg2q9zzTn5" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1675
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=XXG8XzDELPp9BNV3H5os" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1691
1676
  </td>
1692
1677
  </tr>
1693
1678
  </table>
@@ -1732,49 +1717,48 @@ body {
1732
1717
  </body>
1733
1718
  </html>
1734
1719
 
1735
- ----==_mimepart_56c71b5c3d46b_1c1f3ff851863bf05241a--
1720
+ ----==_mimepart_56d895da5ad96_71623fc7b9863bf0843da--
1736
1721
 
1737
1722
   (0.1ms) RELEASE SAVEPOINT active_record_2
1738
- Processing by PushType::ConfirmationsController#update as HTML
1739
- Parameters: {"user"=>{"confirmation_token"=>"QcqsJa3fbdbg2q9zzTn5", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1740
- 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 1 [["confirmation_token", "QcqsJa3fbdbg2q9zzTn5"]]
1741
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != 'b6f55d9c-dac3-4758-92f1-856cb442b78a') LIMIT 1
1723
+ Processing by PushType::ConfirmationsController#show as HTML
1724
+ Parameters: {"confirmation_token"=>"XXG8XzDELPp9BNV3H5os"}
1725
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "XXG8XzDELPp9BNV3H5os"]]
1742
1726
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1743
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
1744
- Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.4ms)
1745
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1746
-  (0.1ms) ROLLBACK
1747
-  (0.1ms) BEGIN
1748
- ------------------------------------------------------------------------------------------
1749
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
1750
- ------------------------------------------------------------------------------------------
1751
-  (0.1ms) SAVEPOINT active_record_1
1752
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1753
-  (0.0ms) SAVEPOINT active_record_1
1754
-  (0.1ms) SAVEPOINT active_record_2
1755
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1756
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1757
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d32a0643bed62d7c0c2ba8eb1f6264d78a3aad9880f099c39fbe81e306844d9d"]]
1758
- SQL (0.1ms) 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-16@example.com"], ["created_at", "2016-02-19 13:40:44.268265"], ["updated_at", "2016-02-19 13:40:44.268265"], ["confirmation_token", "tEPHCEjb3qqvqpK5V1V4"], ["confirmation_sent_at", "2016-02-19 13:40:44.269066"]]
1727
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
1728
+ Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.1ms)
1729
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1730
+  (0.1ms) ROLLBACK
1731
+  (0.1ms) BEGIN
1732
+ ----------------------------------------------------------------------------------------------------
1733
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
1734
+ ----------------------------------------------------------------------------------------------------
1735
+  (0.0ms) SAVEPOINT active_record_1
1736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1737
+  (0.0ms) SAVEPOINT active_record_1
1738
+  (0.0ms) SAVEPOINT active_record_2
1739
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1740
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1741
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "14052205636f3dfb1e33e57faa82a730a04f7f6d48b30186c0b5a0ab7f485c49"]]
1742
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", "2016-03-03 19:51:54.386139"], ["updated_at", "2016-03-03 19:51:54.386139"], ["confirmation_token", "RxBJLesGWa7z2a8iUPYt"], ["confirmation_sent_at", "2016-03-03 19:51:54.386832"]]
1759
1743
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1760
1744
 
1761
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1745
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1762
1746
 
1763
- Sent mail to joe-16@example.com (3.3ms)
1764
- Date: Fri, 19 Feb 2016 13:40:44 +0000
1747
+ Sent mail to joe-14@example.com (3.0ms)
1748
+ Date: Thu, 03 Mar 2016 19:51:54 +0000
1765
1749
  From: pushtype@example.com
1766
1750
  Reply-To: pushtype@example.com
1767
- To: joe-16@example.com
1768
- Message-ID: <56c71b5c49c98_1c1f3ff851863bf0528cb@Aarons-iMac.local.mail>
1751
+ To: joe-14@example.com
1752
+ Message-ID: <56d895da66054_71623fc7b9863bf084786@Aarons-iMac.local.mail>
1769
1753
  Subject: [PushType] Confirm your account
1770
1754
  Mime-Version: 1.0
1771
1755
  Content-Type: multipart/alternative;
1772
- boundary="--==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4";
1756
+ boundary="--==_mimepart_56d895da65ae4_71623fc7b9863bf0846c4";
1773
1757
  charset=UTF-8
1774
1758
  Content-Transfer-Encoding: 7bit
1775
1759
 
1776
1760
 
1777
- ----==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4
1761
+ ----==_mimepart_56d895da65ae4_71623fc7b9863bf0846c4
1778
1762
  Content-Type: text/plain;
1779
1763
  charset=UTF-8
1780
1764
  Content-Transfer-Encoding: 7bit
@@ -1789,10 +1773,10 @@ created for you.
1789
1773
  To get started, confirm your account and set your own password by
1790
1774
  clicking the link below:
1791
1775
 
1792
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=tEPHCEjb3qqvqpK5V1V4 )
1776
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=RxBJLesGWa7z2a8iUPYt )
1793
1777
 
1794
1778
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1795
- ----==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4
1779
+ ----==_mimepart_56d895da65ae4_71623fc7b9863bf0846c4
1796
1780
  Content-Type: text/html;
1797
1781
  charset=UTF-8
1798
1782
  Content-Transfer-Encoding: 7bit
@@ -1838,7 +1822,7 @@ body {
1838
1822
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1839
1823
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1840
1824
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1841
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=tEPHCEjb3qqvqpK5V1V4" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1825
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=RxBJLesGWa7z2a8iUPYt" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1842
1826
  </td>
1843
1827
  </tr>
1844
1828
  </table>
@@ -1883,49 +1867,126 @@ body {
1883
1867
  </body>
1884
1868
  </html>
1885
1869
 
1886
- ----==_mimepart_56c71b5c4964e_1c1f3ff851863bf0527a4--
1870
+ ----==_mimepart_56d895da65ae4_71623fc7b9863bf0846c4--
1887
1871
 
1888
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1889
- Processing by PushType::ConfirmationsController#update as HTML
1890
- Parameters: {"user"=>{"confirmation_token"=>"tEPHCEjb3qqvqpK5V1V4", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1891
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "tEPHCEjb3qqvqpK5V1V4"]]
1892
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-16@example.com' AND "push_type_users"."id" != '073d8212-5f27-4663-9a64-2896ff359b7c') LIMIT 1
1872
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1873
+ Processing by PushType::ConfirmationsController#show as HTML
1874
+ Parameters: {"confirmation_token"=>"RxBJLesGWa7z2a8iUPYt"}
1875
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "RxBJLesGWa7z2a8iUPYt"]]
1893
1876
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1894
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
1895
- Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.4ms)
1877
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
1878
+ Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.1ms)
1896
1879
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1897
1880
   (0.1ms) ROLLBACK
1898
1881
   (0.1ms) BEGIN
1899
- ------------------------------------------------------------------------------------------
1900
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
1901
- ------------------------------------------------------------------------------------------
1882
+ ------------------------------------------------------------------------------------------------------
1883
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
1884
+ ------------------------------------------------------------------------------------------------------
1902
1885
   (0.1ms) SAVEPOINT active_record_1
1903
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1886
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1904
1887
   (0.0ms) SAVEPOINT active_record_1
1888
+ Processing by PushType::ConfirmationsController#show as HTML
1889
+ Parameters: {"confirmation_token"=>"invalid"}
1890
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
1891
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
1892
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "7102b59dd2f265418fc2ab849d56b4cc4ad004e90fe4593a1b1102adfcb75156"]]
1893
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1894
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (3.4ms)
1895
+ Completed 200 OK in 12ms (Views: 7.7ms | ActiveRecord: 0.3ms)
1896
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1897
+  (0.1ms) ROLLBACK
1898
+  (0.1ms) BEGIN
1899
+ ------------------------------------------------------------------------------------------------------
1900
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
1901
+ ------------------------------------------------------------------------------------------------------
1902
+  (0.1ms) SAVEPOINT active_record_1
1903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1904
+  (0.0ms) SAVEPOINT active_record_1
1905
+ Processing by PushType::ConfirmationsController#show as HTML
1906
+ Parameters: {"confirmation_token"=>"invalid"}
1907
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
1908
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
1909
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "7102b59dd2f265418fc2ab849d56b4cc4ad004e90fe4593a1b1102adfcb75156"]]
1910
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1911
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.3ms)
1912
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.3ms)
1913
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1914
+  (0.1ms) ROLLBACK
1915
+  (0.1ms) BEGIN
1916
+ -------------------------------------------------------------------------------------
1917
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
1918
+ -------------------------------------------------------------------------------------
1919
+  (0.1ms) SAVEPOINT active_record_1
1920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1921
+  (0.1ms) SAVEPOINT active_record_1
1922
+  (0.1ms) SAVEPOINT active_record_2
1923
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1924
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1925
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["confirmation_sent_at", "2016-03-03 19:51:54.455600"], ["confirmed_at", "2016-03-03 19:51:54.455666"], ["confirmation_token", "Generated account"], ["created_at", "2016-03-03 19:51:54.457003"], ["updated_at", "2016-03-03 19:51:54.457003"]]
1926
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1927
+ Processing by PushType::ProfilesController#update as HTML
1928
+ Parameters: {"user"=>{"name"=>""}}
1929
+ 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 1 [["id", "c51c9f99-d9bb-431b-8867-3aa8ebf323a6"]]
1930
+  (0.1ms) SAVEPOINT active_record_2
1931
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-15@example.com' AND "push_type_users"."id" != 'c51c9f99-d9bb-431b-8867-3aa8ebf323a6') LIMIT 1
1932
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1933
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (5.5ms)
1934
+ Completed 200 OK in 148ms (Views: 145.2ms | ActiveRecord: 0.5ms)
1935
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1936
+  (0.1ms) ROLLBACK
1937
+  (0.1ms) BEGIN
1938
+ -------------------------------------------------------------------------------------
1939
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
1940
+ -------------------------------------------------------------------------------------
1941
+  (0.1ms) SAVEPOINT active_record_1
1942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1943
+  (0.1ms) SAVEPOINT active_record_1
1944
+  (0.1ms) SAVEPOINT active_record_2
1945
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1946
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1947
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["confirmation_sent_at", "2016-03-03 19:51:54.609958"], ["confirmed_at", "2016-03-03 19:51:54.610056"], ["confirmation_token", "Generated account"], ["created_at", "2016-03-03 19:51:54.611926"], ["updated_at", "2016-03-03 19:51:54.611926"]]
1948
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1949
+ Processing by PushType::ProfilesController#update as HTML
1950
+ Parameters: {"user"=>{"name"=>""}}
1951
+ 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 1 [["id", "d1b06537-56a6-4877-b9fc-59a79efdad8c"]]
1952
+  (0.1ms) SAVEPOINT active_record_2
1953
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-16@example.com' AND "push_type_users"."id" != 'd1b06537-56a6-4877-b9fc-59a79efdad8c') LIMIT 1
1954
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
1955
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.3ms)
1956
+ Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 0.4ms)
1957
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1958
+  (0.1ms) ROLLBACK
1959
+  (0.1ms) BEGIN
1960
+ ----------------------------------------------------------------------------------------
1961
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
1962
+ ----------------------------------------------------------------------------------------
1963
+  (0.1ms) SAVEPOINT active_record_1
1964
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1965
+  (0.1ms) SAVEPOINT active_record_1
1905
1966
   (0.1ms) SAVEPOINT active_record_2
1906
1967
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1907
1968
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1908
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "29b7a81db54182ee80f915d1f9ed37da61f1182e4558e6b18fbf5d69c9be43d3"]]
1909
- SQL (0.1ms) 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-17@example.com"], ["created_at", "2016-02-19 13:40:44.317562"], ["updated_at", "2016-02-19 13:40:44.317562"], ["confirmation_token", "_snLggDrxVeyyV6yXjMF"], ["confirmation_sent_at", "2016-02-19 13:40:44.318346"]]
1910
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1969
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "b4ef0ed39a7a4ac9f47955436fc771c6a3be01468309e7fa755eaa1b048e3895"]]
1970
+ SQL (0.1ms) 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-17@example.com"], ["created_at", "2016-03-03 19:51:54.630580"], ["updated_at", "2016-03-03 19:51:54.630580"], ["confirmation_token", "_8TzEf2B-8Kw8ThtLtpK"], ["confirmation_sent_at", "2016-03-03 19:51:54.631439"]]
1971
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1911
1972
 
1912
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1973
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
1913
1974
 
1914
1975
  Sent mail to joe-17@example.com (3.4ms)
1915
- Date: Fri, 19 Feb 2016 13:40:44 +0000
1976
+ Date: Thu, 03 Mar 2016 19:51:54 +0000
1916
1977
  From: pushtype@example.com
1917
1978
  Reply-To: pushtype@example.com
1918
1979
  To: joe-17@example.com
1919
- Message-ID: <56c71b5c55e60_1c1f3ff851863bf0531d4@Aarons-iMac.local.mail>
1980
+ Message-ID: <56d895daa3678_71623fc7b9863bf085067@Aarons-iMac.local.mail>
1920
1981
  Subject: [PushType] Confirm your account
1921
1982
  Mime-Version: 1.0
1922
1983
  Content-Type: multipart/alternative;
1923
- boundary="--==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc";
1984
+ boundary="--==_mimepart_56d895daa3049_71623fc7b9863bf08496c";
1924
1985
  charset=UTF-8
1925
1986
  Content-Transfer-Encoding: 7bit
1926
1987
 
1927
1988
 
1928
- ----==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc
1989
+ ----==_mimepart_56d895daa3049_71623fc7b9863bf08496c
1929
1990
  Content-Type: text/plain;
1930
1991
  charset=UTF-8
1931
1992
  Content-Transfer-Encoding: 7bit
@@ -1940,10 +2001,10 @@ created for you.
1940
2001
  To get started, confirm your account and set your own password by
1941
2002
  clicking the link below:
1942
2003
 
1943
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_snLggDrxVeyyV6yXjMF )
2004
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_8TzEf2B-8Kw8ThtLtpK )
1944
2005
 
1945
2006
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1946
- ----==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc
2007
+ ----==_mimepart_56d895daa3049_71623fc7b9863bf08496c
1947
2008
  Content-Type: text/html;
1948
2009
  charset=UTF-8
1949
2010
  Content-Transfer-Encoding: 7bit
@@ -1989,7 +2050,7 @@ body {
1989
2050
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1990
2051
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1991
2052
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
1992
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=_snLggDrxVeyyV6yXjMF" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2053
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=_8TzEf2B-8Kw8ThtLtpK" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
1993
2054
  </td>
1994
2055
  </tr>
1995
2056
  </table>
@@ -2034,49 +2095,55 @@ body {
2034
2095
  </body>
2035
2096
  </html>
2036
2097
 
2037
- ----==_mimepart_56c71b5c55844_1c1f3ff851863bf0530bc--
2098
+ ----==_mimepart_56d895daa3049_71623fc7b9863bf08496c--
2038
2099
 
2039
-  (0.2ms) RELEASE SAVEPOINT active_record_2
2100
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2040
2101
  Processing by PushType::ConfirmationsController#update as HTML
2041
- Parameters: {"user"=>{"confirmation_token"=>"_snLggDrxVeyyV6yXjMF", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2042
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "_snLggDrxVeyyV6yXjMF"]]
2043
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-17@example.com' AND "push_type_users"."id" != '613499d6-5b25-428e-a596-58fca002e9aa') LIMIT 1
2044
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2045
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
2046
- Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.4ms)
2047
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2048
-  (0.1ms) ROLLBACK
2049
-  (0.1ms) BEGIN
2102
+ Parameters: {"user"=>{"confirmation_token"=>"_8TzEf2B-8Kw8ThtLtpK", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2103
+ 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 1 [["confirmation_token", "_8TzEf2B-8Kw8ThtLtpK"]]
2104
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-17@example.com' AND "push_type_users"."id" != '5fbdf685-ee16-4350-a63d-cacda883b430') LIMIT 1
2105
+  (0.1ms) SAVEPOINT active_record_2
2106
+ SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$poOuM8MJHvnX/YM9F4uYcunLhI421vs5o8h6369p6z034APB1GAEm"], ["confirmed_at", "2016-03-03 19:51:54.713362"], ["updated_at", "2016-03-03 19:51:54.713708"], ["id", "5fbdf685-ee16-4350-a63d-cacda883b430"]]
2107
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2108
+  (0.1ms) SAVEPOINT active_record_2
2109
+ SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2016-03-03 19:51:54.715745"], ["current_sign_in_at", "2016-03-03 19:51:54.715745"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-03-03 19:51:54.716367"], ["id", "5fbdf685-ee16-4350-a63d-cacda883b430"]]
2110
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2111
+ Redirected to http://test.host/push_type/
2112
+ Completed 302 Found in 44ms (ActiveRecord: 1.3ms)
2113
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "5fbdf685-ee16-4350-a63d-cacda883b430"]]
2114
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2115
+  (0.1ms) ROLLBACK
2116
+  (0.1ms) BEGIN
2050
2117
  ----------------------------------------------------------------------------------------
2051
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
2118
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
2052
2119
  ----------------------------------------------------------------------------------------
2053
-  (0.1ms) SAVEPOINT active_record_1
2054
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2055
-  (0.0ms) SAVEPOINT active_record_1
2056
-  (0.1ms) SAVEPOINT active_record_2
2057
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2058
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2059
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "f2b8df42f6f5e6af64028cd1ff0991e67c95d78be2e2b7a04ce1c9b56f0e9fe4"]]
2060
- SQL (0.1ms) 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", "2016-02-19 13:40:44.367560"], ["updated_at", "2016-02-19 13:40:44.367560"], ["confirmation_token", "Qd4sNTMqiEi53ABw6C-a"], ["confirmation_sent_at", "2016-02-19 13:40:44.368353"]]
2120
+  (0.1ms) SAVEPOINT active_record_1
2121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2122
+  (0.0ms) SAVEPOINT active_record_1
2123
+  (0.0ms) SAVEPOINT active_record_2
2124
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2125
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2126
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "18d9344d0ea24bbff10cc291487634cecf554739147defa514aac817fe906119"]]
2127
+ SQL (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", "2016-03-03 19:51:54.723115"], ["updated_at", "2016-03-03 19:51:54.723115"], ["confirmation_token", "ot8giCpsnAi7Sr_w1gmo"], ["confirmation_sent_at", "2016-03-03 19:51:54.723909"]]
2061
2128
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2062
2129
 
2063
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2130
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
2064
2131
 
2065
- Sent mail to joe-18@example.com (3.4ms)
2066
- Date: Fri, 19 Feb 2016 13:40:44 +0000
2132
+ Sent mail to joe-18@example.com (3.3ms)
2133
+ Date: Thu, 03 Mar 2016 19:51:54 +0000
2067
2134
  From: pushtype@example.com
2068
2135
  Reply-To: pushtype@example.com
2069
2136
  To: joe-18@example.com
2070
- Message-ID: <56c71b5c61dad_1c1f3ff851863bf053495@Aarons-iMac.local.mail>
2137
+ Message-ID: <56d895dab992d_71623fc7b9863bf085335@Aarons-iMac.local.mail>
2071
2138
  Subject: [PushType] Confirm your account
2072
2139
  Mime-Version: 1.0
2073
2140
  Content-Type: multipart/alternative;
2074
- boundary="--==_mimepart_56c71b5c61741_1c1f3ff851863bf053372";
2141
+ boundary="--==_mimepart_56d895dab932b_71623fc7b9863bf0852f8";
2075
2142
  charset=UTF-8
2076
2143
  Content-Transfer-Encoding: 7bit
2077
2144
 
2078
2145
 
2079
- ----==_mimepart_56c71b5c61741_1c1f3ff851863bf053372
2146
+ ----==_mimepart_56d895dab932b_71623fc7b9863bf0852f8
2080
2147
  Content-Type: text/plain;
2081
2148
  charset=UTF-8
2082
2149
  Content-Transfer-Encoding: 7bit
@@ -2091,10 +2158,10 @@ created for you.
2091
2158
  To get started, confirm your account and set your own password by
2092
2159
  clicking the link below:
2093
2160
 
2094
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Qd4sNTMqiEi53ABw6C-a )
2161
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ot8giCpsnAi7Sr_w1gmo )
2095
2162
 
2096
2163
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2097
- ----==_mimepart_56c71b5c61741_1c1f3ff851863bf053372
2164
+ ----==_mimepart_56d895dab932b_71623fc7b9863bf0852f8
2098
2165
  Content-Type: text/html;
2099
2166
  charset=UTF-8
2100
2167
  Content-Transfer-Encoding: 7bit
@@ -2140,7 +2207,7 @@ body {
2140
2207
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2141
2208
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2142
2209
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2143
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=Qd4sNTMqiEi53ABw6C-a" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2210
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=ot8giCpsnAi7Sr_w1gmo" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2144
2211
  </td>
2145
2212
  </tr>
2146
2213
  </table>
@@ -2185,55 +2252,81 @@ body {
2185
2252
  </body>
2186
2253
  </html>
2187
2254
 
2188
- ----==_mimepart_56c71b5c61741_1c1f3ff851863bf053372--
2255
+ ----==_mimepart_56d895dab932b_71623fc7b9863bf0852f8--
2189
2256
 
2190
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2191
- Processing by PushType::ConfirmationsController#update as HTML
2192
- Parameters: {"user"=>{"confirmation_token"=>"Qd4sNTMqiEi53ABw6C-a", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2193
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "Qd4sNTMqiEi53ABw6C-a"]]
2194
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-18@example.com' AND "push_type_users"."id" != '710b1017-ff96-440d-8716-a396835d4311') LIMIT 1
2195
-  (0.1ms) SAVEPOINT active_record_2
2196
- SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$igHSAtD.P6y6V2991Cl95..DU3JsL4sQCY5kgqFL2ub7PmtMlhfOG"], ["confirmed_at", "2016-02-19 13:40:44.407456"], ["updated_at", "2016-02-19 13:40:44.407786"], ["id", "710b1017-ff96-440d-8716-a396835d4311"]]
2197
2257
   (0.1ms) RELEASE SAVEPOINT active_record_2
2258
+ Processing by PushType::ConfirmationsController#update as HTML
2259
+ Parameters: {"user"=>{"confirmation_token"=>"ot8giCpsnAi7Sr_w1gmo", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2260
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ot8giCpsnAi7Sr_w1gmo"]]
2261
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-18@example.com' AND "push_type_users"."id" != '3daff885-bd8e-4125-b44f-9db0508f5092') LIMIT 1
2198
2262
   (0.1ms) SAVEPOINT active_record_2
2199
- SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2016-02-19 13:40:44.409540"], ["current_sign_in_at", "2016-02-19 13:40:44.409540"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-02-19 13:40:44.410103"], ["id", "710b1017-ff96-440d-8716-a396835d4311"]]
2263
+ SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$PEp.HVWDuyjspX4QlaJkDuSt4UN3wjgdoApPgUJarH09yWzC4Bca2"], ["confirmed_at", "2016-03-03 19:51:54.766715"], ["updated_at", "2016-03-03 19:51:54.767071"], ["id", "3daff885-bd8e-4125-b44f-9db0508f5092"]]
2200
2264
   (0.1ms) RELEASE SAVEPOINT active_record_2
2265
+  (0.1ms) SAVEPOINT active_record_2
2266
+ SQL (0.1ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2016-03-03 19:51:54.768525"], ["current_sign_in_at", "2016-03-03 19:51:54.768525"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-03-03 19:51:54.768939"], ["id", "3daff885-bd8e-4125-b44f-9db0508f5092"]]
2267
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2201
2268
  Redirected to http://test.host/push_type/
2202
- Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
2203
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "710b1017-ff96-440d-8716-a396835d4311"]]
2269
+ Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
2204
2270
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2205
2271
   (0.1ms) ROLLBACK
2206
2272
   (0.1ms) BEGIN
2207
- ----------------------------------------------------------------------------------------
2208
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
2209
- ----------------------------------------------------------------------------------------
2273
+ ----------------------------------------------------
2274
+ PushType::InvitationMethodsTest: test_0001_anonymous
2275
+ ----------------------------------------------------
2276
+  (0.1ms) SAVEPOINT active_record_1
2277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2278
+  (0.0ms) SAVEPOINT active_record_1
2279
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2280
+  (0.1ms) ROLLBACK
2281
+  (0.1ms) BEGIN
2282
+ ---------------------------------------------------------------
2283
+ PushType::AuthenticatableTest::confirmable: test_0001_anonymous
2284
+ ---------------------------------------------------------------
2285
+  (0.1ms) SAVEPOINT active_record_1
2286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2287
+  (0.0ms) SAVEPOINT active_record_1
2288
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2289
+  (0.1ms) ROLLBACK
2290
+  (0.1ms) BEGIN
2291
+ -------------------------------------------------------------
2292
+ PushType::AuthenticatableTest::trackable: test_0001_anonymous
2293
+ -------------------------------------------------------------
2210
2294
   (0.0ms) SAVEPOINT active_record_1
2211
2295
   (0.0ms) RELEASE SAVEPOINT active_record_1
2212
2296
   (0.0ms) SAVEPOINT active_record_1
2297
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2298
+  (0.1ms) ROLLBACK
2299
+  (0.1ms) BEGIN
2300
+ --------------------------------------------------------------------------------------------------------------
2301
+ PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
2302
+ --------------------------------------------------------------------------------------------------------------
2303
+  (0.1ms) SAVEPOINT active_record_1
2304
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2305
+  (0.0ms) SAVEPOINT active_record_1
2213
2306
   (0.0ms) SAVEPOINT active_record_2
2214
2307
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2215
2308
  PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2216
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "c0d0793b3d270dee439c96ada766cbd8ea86b149f21b551218a31bc755d8d24a"]]
2217
- SQL (0.1ms) 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", "2016-02-19 13:40:44.415511"], ["updated_at", "2016-02-19 13:40:44.415511"], ["confirmation_token", "m8eSskAyNz_qp1PqS-yS"], ["confirmation_sent_at", "2016-02-19 13:40:44.416218"]]
2309
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "71c43f35b7ca19e5d1984ba70dbef1824d74320163a354f25e1358423df34448"]]
2310
+ SQL (0.1ms) 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", "2016-03-03 19:51:54.778909"], ["updated_at", "2016-03-03 19:51:54.778909"], ["confirmation_token", "LWhod35usr1Mp8HNqncA"], ["confirmation_sent_at", "2016-03-03 19:51:54.779634"]]
2218
2311
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2219
2312
 
2220
2313
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
2221
2314
 
2222
- Sent mail to joe-19@example.com (3.3ms)
2223
- Date: Fri, 19 Feb 2016 13:40:44 +0000
2315
+ Sent mail to joe-19@example.com (3.0ms)
2316
+ Date: Thu, 03 Mar 2016 19:51:54 +0000
2224
2317
  From: pushtype@example.com
2225
2318
  Reply-To: pushtype@example.com
2226
2319
  To: joe-19@example.com
2227
- Message-ID: <56c71b5c6d571_1c1f3ff851863bf053726@Aarons-iMac.local.mail>
2320
+ Message-ID: <56d895dac6b8e_71623fc7b9863bf085695@Aarons-iMac.local.mail>
2228
2321
  Subject: [PushType] Confirm your account
2229
2322
  Mime-Version: 1.0
2230
2323
  Content-Type: multipart/alternative;
2231
- boundary="--==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f";
2324
+ boundary="--==_mimepart_56d895dac6609_71623fc7b9863bf085533";
2232
2325
  charset=UTF-8
2233
2326
  Content-Transfer-Encoding: 7bit
2234
2327
 
2235
2328
 
2236
- ----==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f
2329
+ ----==_mimepart_56d895dac6609_71623fc7b9863bf085533
2237
2330
  Content-Type: text/plain;
2238
2331
  charset=UTF-8
2239
2332
  Content-Transfer-Encoding: 7bit
@@ -2248,10 +2341,10 @@ created for you.
2248
2341
  To get started, confirm your account and set your own password by
2249
2342
  clicking the link below:
2250
2343
 
2251
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=m8eSskAyNz_qp1PqS-yS )
2344
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=LWhod35usr1Mp8HNqncA )
2252
2345
 
2253
2346
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2254
- ----==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f
2347
+ ----==_mimepart_56d895dac6609_71623fc7b9863bf085533
2255
2348
  Content-Type: text/html;
2256
2349
  charset=UTF-8
2257
2350
  Content-Transfer-Encoding: 7bit
@@ -2297,7 +2390,7 @@ body {
2297
2390
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2298
2391
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2299
2392
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2300
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=m8eSskAyNz_qp1PqS-yS" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2393
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=LWhod35usr1Mp8HNqncA" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2301
2394
  </td>
2302
2395
  </tr>
2303
2396
  </table>
@@ -2342,126 +2435,42 @@ body {
2342
2435
  </body>
2343
2436
  </html>
2344
2437
 
2345
- ----==_mimepart_56c71b5c6cf7c_1c1f3ff851863bf05362f--
2438
+ ----==_mimepart_56d895dac6609_71623fc7b9863bf085533--
2346
2439
 
2347
-  (0.2ms) RELEASE SAVEPOINT active_record_2
2348
- Processing by PushType::ConfirmationsController#update as HTML
2349
- Parameters: {"user"=>{"confirmation_token"=>"m8eSskAyNz_qp1PqS-yS", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2350
- 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 1 [["confirmation_token", "m8eSskAyNz_qp1PqS-yS"]]
2351
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-19@example.com' AND "push_type_users"."id" != 'bbac1d43-e616-4b72-ba40-a96101927676') LIMIT 1
2352
-  (0.1ms) SAVEPOINT active_record_2
2353
- SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$GW9Y7M8AR8f8hY52MEyRQO.wRdw4fgs3X.olYCTLEA5zawXrRcaFG"], ["confirmed_at", "2016-02-19 13:40:44.454515"], ["updated_at", "2016-02-19 13:40:44.454976"], ["id", "bbac1d43-e616-4b72-ba40-a96101927676"]]
2354
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2355
-  (0.1ms) SAVEPOINT active_record_2
2356
- SQL (0.1ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2016-02-19 13:40:44.456394"], ["current_sign_in_at", "2016-02-19 13:40:44.456394"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2016-02-19 13:40:44.456791"], ["id", "bbac1d43-e616-4b72-ba40-a96101927676"]]
2357
2440
   (0.1ms) RELEASE SAVEPOINT active_record_2
2358
- Redirected to http://test.host/push_type/
2359
- Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
2360
2441
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2361
2442
   (0.1ms) ROLLBACK
2362
2443
   (0.1ms) BEGIN
2363
- ---------------------------------------------------------------
2364
- PushType::AuthenticatableTest::validatable: test_0001_anonymous
2365
- ---------------------------------------------------------------
2366
-  (0.0ms) SAVEPOINT active_record_1
2367
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2368
-  (0.1ms) SAVEPOINT active_record_1
2369
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2370
-  (0.1ms) ROLLBACK
2371
-  (0.1ms) BEGIN
2372
- ---------------------------------------------------------------
2373
- PushType::AuthenticatableTest::validatable: test_0002_anonymous
2374
- ---------------------------------------------------------------
2375
-  (0.0ms) SAVEPOINT active_record_1
2376
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2377
-  (0.0ms) SAVEPOINT active_record_1
2378
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2379
-  (0.1ms) ROLLBACK
2380
-  (0.1ms) BEGIN
2381
- ---------------------------------------------------------------
2382
- PushType::AuthenticatableTest::recoverable: test_0001_anonymous
2383
- ---------------------------------------------------------------
2384
-  (0.0ms) SAVEPOINT active_record_1
2385
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2386
-  (0.0ms) SAVEPOINT active_record_1
2387
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2388
-  (0.1ms) ROLLBACK
2389
-  (0.1ms) BEGIN
2390
- ---------------------------------------------------------------------------
2391
- PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
2392
- ---------------------------------------------------------------------------
2393
-  (0.0ms) SAVEPOINT active_record_1
2394
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2395
-  (0.0ms) SAVEPOINT active_record_1
2396
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2397
-  (0.0ms) ROLLBACK
2398
-  (0.1ms) BEGIN
2399
- ---------------------------------------------------------------------------
2400
- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
2401
- ---------------------------------------------------------------------------
2402
-  (0.0ms) SAVEPOINT active_record_1
2403
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2404
-  (0.0ms) SAVEPOINT active_record_1
2405
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2406
-  (0.1ms) ROLLBACK
2407
-  (0.0ms) BEGIN
2408
- ----------------------------------------------------------------
2409
- PushType::AuthenticatableTest::rememberable: test_0001_anonymous
2410
- ----------------------------------------------------------------
2411
-  (0.0ms) SAVEPOINT active_record_1
2412
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2413
-  (0.0ms) SAVEPOINT active_record_1
2414
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2415
-  (0.1ms) ROLLBACK
2416
-  (0.1ms) BEGIN
2417
- --------------------------------------------------------------------------------------
2418
- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
2419
- --------------------------------------------------------------------------------------
2420
-  (0.0ms) SAVEPOINT active_record_1
2421
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2422
-  (0.0ms) SAVEPOINT active_record_1
2423
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2424
-  (0.0ms) ROLLBACK
2425
-  (0.0ms) BEGIN
2426
- ----------------------------------------------------
2427
- PushType::InvitationMethodsTest: test_0001_anonymous
2428
- ----------------------------------------------------
2429
-  (0.0ms) SAVEPOINT active_record_1
2430
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2431
-  (0.0ms) SAVEPOINT active_record_1
2432
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2433
-  (0.1ms) ROLLBACK
2434
-  (0.0ms) BEGIN
2435
2444
  --------------------------------------------------------------------------------------------------------------
2436
- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
2445
+ PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
2437
2446
  --------------------------------------------------------------------------------------------------------------
2438
2447
   (0.0ms) SAVEPOINT active_record_1
2439
2448
   (0.0ms) RELEASE SAVEPOINT active_record_1
2440
2449
   (0.0ms) SAVEPOINT active_record_1
2441
2450
   (0.0ms) SAVEPOINT active_record_2
2442
2451
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2443
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2444
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "e04e4fccc3f99874c297747a3c22d0eff64e484e34327b689cb2d87b748d2ec6"]]
2445
- SQL (0.1ms) 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", "2016-02-19 13:40:44.473593"], ["updated_at", "2016-02-19 13:40:44.473593"], ["confirmation_token", "_wM1UkDyWqL8Myx7usbA"], ["confirmation_sent_at", "2016-02-19 13:40:44.474400"]]
2452
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2453
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "69f4ccea7d7658fb7fcbaf3e9f240b5f7f1bf2b68b2f3c1fbfdfb560e7f3c19f"]]
2454
+ SQL (0.1ms) 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", "2016-03-03 19:51:54.819672"], ["updated_at", "2016-03-03 19:51:54.819672"], ["confirmation_token", "FNwTZfK68QDKuVQ2L56w"], ["confirmation_sent_at", "2016-03-03 19:51:54.820530"]]
2446
2455
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2447
2456
 
2448
2457
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
2449
2458
 
2450
- Sent mail to joe-20@example.com (3.1ms)
2451
- Date: Fri, 19 Feb 2016 13:40:44 +0000
2459
+ Sent mail to joe-20@example.com (3.4ms)
2460
+ Date: Thu, 03 Mar 2016 19:51:54 +0000
2452
2461
  From: pushtype@example.com
2453
2462
  Reply-To: pushtype@example.com
2454
2463
  To: joe-20@example.com
2455
- Message-ID: <56c71b5c7bc0e_1c1f3ff851863bf0540dc@Aarons-iMac.local.mail>
2464
+ Message-ID: <56d895dad04a0_71623fc7b9863bf085910@Aarons-iMac.local.mail>
2456
2465
  Subject: [PushType] Confirm your account
2457
2466
  Mime-Version: 1.0
2458
2467
  Content-Type: multipart/alternative;
2459
- boundary="--==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974";
2468
+ boundary="--==_mimepart_56d895dacfef9_71623fc7b9863bf085862";
2460
2469
  charset=UTF-8
2461
2470
  Content-Transfer-Encoding: 7bit
2462
2471
 
2463
2472
 
2464
- ----==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974
2473
+ ----==_mimepart_56d895dacfef9_71623fc7b9863bf085862
2465
2474
  Content-Type: text/plain;
2466
2475
  charset=UTF-8
2467
2476
  Content-Transfer-Encoding: 7bit
@@ -2476,10 +2485,10 @@ created for you.
2476
2485
  To get started, confirm your account and set your own password by
2477
2486
  clicking the link below:
2478
2487
 
2479
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_wM1UkDyWqL8Myx7usbA )
2488
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=FNwTZfK68QDKuVQ2L56w )
2480
2489
 
2481
2490
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2482
- ----==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974
2491
+ ----==_mimepart_56d895dacfef9_71623fc7b9863bf085862
2483
2492
  Content-Type: text/html;
2484
2493
  charset=UTF-8
2485
2494
  Content-Transfer-Encoding: 7bit
@@ -2525,7 +2534,7 @@ body {
2525
2534
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2526
2535
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2527
2536
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0">
2528
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=_wM1UkDyWqL8Myx7usbA" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2537
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=FNwTZfK68QDKuVQ2L56w" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none">Confirm my account</a></p>
2529
2538
  </td>
2530
2539
  </tr>
2531
2540
  </table>
@@ -2570,62 +2579,53 @@ body {
2570
2579
  </body>
2571
2580
  </html>
2572
2581
 
2573
- ----==_mimepart_56c71b5c7b686_1c1f3ff851863bf053974--
2582
+ ----==_mimepart_56d895dacfef9_71623fc7b9863bf085862--
2574
2583
 
2575
2584
   (0.1ms) RELEASE SAVEPOINT active_record_2
2576
2585
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2577
2586
   (0.1ms) ROLLBACK
2578
2587
   (0.1ms) BEGIN
2579
- --------------------------------------------------------
2580
- PushType::AuthenticationMethodsTest: test_0001_anonymous
2581
- --------------------------------------------------------
2588
+ --------------------------------------------------------------------------------------
2589
+ PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
2590
+ --------------------------------------------------------------------------------------
2582
2591
   (0.1ms) SAVEPOINT active_record_1
2583
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2584
-  (0.0ms) SAVEPOINT active_record_1
2585
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2586
-  (0.0ms) ROLLBACK
2587
-  (0.1ms) BEGIN
2588
- --------------------------------------------------------
2589
- PushType::AuthenticationMethodsTest: test_0002_anonymous
2590
- --------------------------------------------------------
2591
-  (0.0ms) SAVEPOINT active_record_1
2592
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2592
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2593
2593
   (0.0ms) SAVEPOINT active_record_1
2594
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2594
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2595
2595
   (0.0ms) ROLLBACK
2596
2596
   (0.1ms) BEGIN
2597
2597
  ----------------------------------------------------------------
2598
2598
  PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
2599
2599
  ----------------------------------------------------------------
2600
2600
   (0.1ms) SAVEPOINT active_record_1
2601
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2602
-  (0.0ms) SAVEPOINT active_record_1
2601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2602
+  (0.1ms) SAVEPOINT active_record_1
2603
2603
   (0.1ms) SAVEPOINT active_record_2
2604
2604
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2605
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2606
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:44.515326"], ["confirmed_at", "2016-02-19 13:40:44.515382"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:44.516939"], ["updated_at", "2016-02-19 13:40:44.516939"]]
2605
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2606
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["confirmation_sent_at", "2016-03-03 19:51:54.861978"], ["confirmed_at", "2016-03-03 19:51:54.862032"], ["confirmation_token", "Generated account"], ["created_at", "2016-03-03 19:51:54.863439"], ["updated_at", "2016-03-03 19:51:54.863439"]]
2607
2607
   (0.1ms) RELEASE SAVEPOINT active_record_2
2608
2608
  Processing by PushType::ProfilesController#edit as HTML
2609
- 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 1 [["id", "39862360-4e85-48a6-bfd4-6ce677e4acd9"]]
2610
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.9ms)
2611
- Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.1ms)
2609
+ 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 1 [["id", "e214b7f2-402b-4438-aaca-ed50411c918d"]]
2610
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.0ms)
2611
+ Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.1ms)
2612
2612
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2613
2613
   (0.1ms) ROLLBACK
2614
2614
   (0.1ms) BEGIN
2615
2615
  ----------------------------------------------------------------
2616
2616
  PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
2617
2617
  ----------------------------------------------------------------
2618
-  (0.1ms) SAVEPOINT active_record_1
2618
+  (0.0ms) SAVEPOINT active_record_1
2619
2619
   (0.0ms) RELEASE SAVEPOINT active_record_1
2620
2620
   (0.0ms) SAVEPOINT active_record_1
2621
2621
   (0.1ms) SAVEPOINT active_record_2
2622
2622
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2623
2623
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2624
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["confirmation_sent_at", "2016-02-19 13:40:44.529062"], ["confirmed_at", "2016-02-19 13:40:44.529112"], ["confirmation_token", "Generated account"], ["created_at", "2016-02-19 13:40:44.530575"], ["updated_at", "2016-02-19 13:40:44.530575"]]
2624
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["confirmation_sent_at", "2016-03-03 19:51:54.876906"], ["confirmed_at", "2016-03-03 19:51:54.876964"], ["confirmation_token", "Generated account"], ["created_at", "2016-03-03 19:51:54.878447"], ["updated_at", "2016-03-03 19:51:54.878447"]]
2625
2625
   (0.1ms) RELEASE SAVEPOINT active_record_2
2626
2626
  Processing by PushType::ProfilesController#edit as HTML
2627
- 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 1 [["id", "0f4bdc7a-46cc-475b-bec9-efe56b08634c"]]
2628
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
2629
- Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.1ms)
2627
+ 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 1 [["id", "4eaf8db6-e7da-4daa-aa9b-1d1d9b00bcf2"]]
2628
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
2629
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.1ms)
2630
2630
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2631
2631
   (0.1ms) ROLLBACK