push_type_auth 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) 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/{20160728152318_create_push_type_users.push_type.rb → 20160802200029_create_push_type_users.push_type.rb} +0 -0
  5. data/test/dummy/db/migrate/{20160728152319_create_push_type_nodes.push_type.rb → 20160802200030_create_push_type_nodes.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20160728152320_create_push_type_node_hierarchies.push_type.rb → 20160802200031_create_push_type_node_hierarchies.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20160728152321_create_push_type_assets.push_type.rb → 20160802200032_create_push_type_assets.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20160728152322_add_field_store_default_values.push_type.rb → 20160802200033_add_field_store_default_values.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20160728152323_drop_legacy_push_type_taxonomies.push_type.rb → 20160802200034_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20160728152324_devise_extend_push_type_users.push_type_auth.rb → 20160802200035_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 +669 -669
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0c/0c03vIY2hz-Vs3csJlgO1iFfqrRIMUCkKdi5cvZzXVI.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{1v/1vWyYmCeRytFMB7Kke1PzoK9nSV7FPZyrVtgdyrLGFY.cache → 0y/0YCLR7InoF6O19l_oiELee0-MPt1nobJBXtygz3D08w.cache} +0 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{bm/BMEoSlyslpUC2-WbBd0xw_RlqSsl_yIARNys7lW5nH0.cache → 2O/2OLh5fZO-Q6Bdj25MFNg-ANS96kfNSaaltqUuKDQ9s4.cache} +0 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6L/6Lhxxtnokc9hE0S53x50jUtW7LUTHb3TGFteCpj6cRA.cache +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{n_/n__UaeukLUBwEcBkWQRCe88A6JjS8qBZvVQk-nK9aGM.cache → 6v/6vaaMl8N6nDVJfvyl1gexnInwT8lBqL87Syoa7dblR8.cache} +0 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7u/7uCWGhiCizWPgpijjEjeDpurVg_-z66degdk1Jp4yaQ.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{9X → 9x}/9X9tiIdPIyQd5YkxpfflzuvPw2S2_fIGy-9mViMATp8.cache +0 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{9X → 9x}/9xfmPVFqrooqluXKJOcwqkwIXYzjUsgj3cC5QjOWlcQ.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ak/Ak2k-dsAPc6D5Bym3HXOPyXcemOlL6FnCB2pEVoSC6E.cache +0 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dq/DqXVTbshRRCcFZrTwCWkMLlcmZVlZDEgfefblIwPUfA.cache +1 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fw/FwKmvXTrw6xnHPvL0LN2wo92expAaPjeaAtIlGyIcEE.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{L3/L3mgxvAVOpo8I69hAztrU40ljCrsXAVc1rcv4lF2y0M.cache → GW/GWji8EA8EqHgEzhnfeKExUdZhp-ECScZOuNrZ_g6XBM.cache} +0 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LH/lhLIWGLMJ9EZ0YTt4NW-bqUCR9Px0MMfS5wPypeRzyQ.cache +0 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NK/NKmdRHhr8TJOukM5D2vFYlCJjz4SWvNes_Jcx9Ggfjg.cache +1 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nr/NrRn6fi-WI0VVIZdbmboGxmFso3CSILM0TT35Y2CjFM.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{oh/ohMU1w4dKzeMQ0IZlhaHencSixdymY_sWIakWsW18v4.cache → OO/OoOlwtNukuDX3UcgHVKxeiCt_2wJYB7ut-ivPUTzz44.cache} +1 -1
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PW/PWX3xYWu8RNJffcDKEalLmeh3FY4FpF7YHQafaGyZwM.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{NY/NYTpFAjOeH5c9Zgt3o9VK3t3ACLIMPD68UP6DfhCpiY.cache → QX/QXMrfPu99Zz3SBsBnBOLe9Q_41u17p_R7J1cPXxqUHo.cache} +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SF/SfHa2ZMN_eaequ-3m-CFU0MtKwcB4GCF0FW9zYa18NY.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{O1/O1ezGqhnx-y3Fyp8qeiP2D1jXLNujoIkk4Kp-bCa8G8.cache → SQ/sQyXc2-mwR_4cn2y72ilTvJmbceXzuWqKHmSN8gThp4.cache} +1 -1
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{lx/lxr7ojLbFFkD80gPMt4PUs2oUNZ0NL2ACxKdYb2n_FE.cache → Xc/XcnV6RdQ9nfVBWCIteEnxwMyiH96JsWsfwMA2NxeY54.cache} +0 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{RW/RWEfAm4X1zLJaPQTnQLD3ceM-KK57Txr7qw-ROczuho.cache → cD/cDxX_pdk2WLuGiQwDTZeYTNKZORK_Hf8ZQlXzon_2Xk.cache} +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cx/cxHCaLjjlHCHnXgn6lNaMULMy2es5esQBoNxUuqrsfk.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{D2 → d2}/D2B8bJDK8PLvM9df5WED1Z8HhJTvDc4pVw4xvy2wIrQ.cache +0 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{D2 → d2}/d2AFrJV0i0VYKPqcM6yihdaWBPrmfIkEQ-I4DWcpQj8.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/e9/e9Y0SJ7XQA5VMQHj-o9XImnDLNFinNxkn77TdU5FyNU.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{8o/8ohEg7vZlBjN4kRiE3xfqFrsdXXUESsIyoPS3RcLqW4.cache → fa/fAb7ROexEnCy6GX-FPd5QmsiHX0tG6Kweq01CW4UdTA.cache} +0 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{IU → iU}/IUrx_cz11W6a7Js_I-zzSgQEpw58K2zYnJsvznf71Pg.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{IU → iU}/iU-ODeKITOvxwpKho94TcT4_pWNCbHEoLcjGfKpDalQ.cache +0 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ib/ib7EjRbhkg73LfVKl_fk5sFn5F5Mh8qYB5foIzGpIh0.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{jz → jZ}/jZ1FC7hs7u0azLWBRK7yxQs5if92BHyjvPVD89M7zy4.cache +0 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{jz → jZ}/jzp7p0KEbE82gl5PFTuaRrHlRVdC26PswC6hTGKxFUo.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ju/juOnzq1OwNOCCIBCZsLwZrJaCSuskA_qYWFgxLZWbPU.cache +1 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{ki → kI}/KI0MN-L4l1pEXWfX18VSXZYzzmiDwskCnGlOvo8DGrs.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{ki → kI}/Ki4Gq_VVjiFCqjnCaUQ6c1OmDg0oSYEPyxH79vEavRo.cache +0 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{ki → kI}/kIRIccreKR-FzA6wPi5n8BByb4EoZJSY3-Aowf9KE_w.cache +0 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{HT/HTdHnpTnUPcmqrAlwHyWcT-_UI4QaMAkPxANOJ--mjM.cache → nU/nUeNZa-ygmvJTilkwCdyJ6Ihpxb6tovyEb7ur_3vTJI.cache} +0 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{NY → ny}/nybcluto6gP7VMnrEAMv0FC1qVqfCIbGxU5CMb2gaOo.cache +0 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oK/OKWqrA0HRQLOuRK64o2t8DY0UfjBsexCZlygkVHswyM.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qB/qBEq4U7c5UTbsngKaX6RoHJodR4TQaiae9VHEadCD04.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{N5/N58o4XQXyzzZptErjE5Ska9jss0O5HhQXkkcCy9wQKE.cache → rQ/rqm7_7_o-9poop5SE78ZWDI5JsBmEdgkq7_t4uN0jhI.cache} +0 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ss/ssxOQQqcxmx6O_eGPoLYH0B3kPVQ0GhGa7HQPqDEA4A.cache +1 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/w6/w6jCGPi_RdJhSrO7P85pHXC4EHwIf3tKzdWG4HUDz04.cache +0 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{WB/wbAcXGdHcxFjgaoIfNu85FIPDcnBTXEl9mJxS4cwtII.cache → xe/xEjCTVrwRKWFLo37SBygfS8scAzDoHEWF3h49KTCAoU.cache} +0 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{xN → xn}/xnMNUS5w07oNNJzU3ZYJixOlKR7FdzSYZb76OEWu5LU.cache +0 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{LB/LBZfWp25zVfOx0Ep8xgTP5nK0PYNTIvsqq3CsGyO3ec.cache → yd/yDAP1IZzEqcnh64FFTyeJULqX6dSdcmd67ggYcNjV9s.cache} +1 -1
  59. data/test/test_helper.rb +1 -0
  60. metadata +94 -164
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0F/0fcQBEMM_bV2q7lFHn6_Gry5AENhIAQI69X_b2bOrHw.cache +0 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6G/6GoodoV_PJGuR6FgXT08_167ret4MBHexXPtopikHmE.cache +0 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/88/88oefn1_qrwMNUHf6aCk3ZQriGCNpEcggZk4AiwZgmA.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8Q/8QKPALTkKSW7znPaz49rz2kuAoFYCxjZLH4WBhkcqO0.cache +0 -1
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9t/9t-ZfQCE4m0UDbxDnnSPSTszj47REKRQgHRhC7HDLyw.cache +0 -1
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JV/JVInNPwUYJ6fIzIlbAe7J7ZQGzXx1zO8M6r0f6UqvBY.cache +0 -1
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/S2/S2Bh6gdfXHZcmQVbReBDQkCo-nFx8QRsgNVtgB4lrNM.cache +0 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jz/jz-Koj1BDfWvm-Jor40TaowqhntuEYcmR5j5FcNNXmA.cache +0 -1
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ki/kiyfgwfki-D50QW9gDZTChIaNfGhWAkn7Q9TObUFA2k.cache +0 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xN/xNUoDjtE-PNa2oqPgcCfNRuIyJBbl_KYTLg8-D7ivVs.cache +0 -0
@@ -1,43 +1,43 @@
1
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
1
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
2
2
   (0.1ms) BEGIN
3
- SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-07-28 15:23:13 UTC], ["updated_at", 2016-07-28 15:23:13 UTC]]
4
-  (0.6ms) COMMIT
3
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-08-02 20:00:24 UTC], ["updated_at", 2016-08-02 20:00:24 UTC]]
4
+  (0.5ms) COMMIT
5
5
  ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
6
   (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
7
7
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
8
   (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
9
9
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
10
   (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
11
-  (116.0ms) DROP DATABASE IF EXISTS "dummy_test"
12
-  (239.8ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
13
-  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
11
+  (115.0ms) DROP DATABASE IF EXISTS "dummy_test"
12
+  (238.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
13
+  (3.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14
14
   (2.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
15
15
   (0.1ms) SELECT pg_try_advisory_lock(2735718569030447490);
16
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
- Migrating to CreatePushTypeUsers (20160728152318)
16
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
+ Migrating to CreatePushTypeUsers (20160802200029)
18
18
   (0.1ms) BEGIN
19
19
  SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
20
-  (2.6ms) CREATE TABLE "push_type_users" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
21
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160728152318"]]
22
-  (0.6ms) COMMIT
23
- Migrating to CreatePushTypeNodes (20160728152319)
20
+  (2.0ms) CREATE TABLE "push_type_users" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
21
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200029"]]
22
+  (0.7ms) COMMIT
23
+ Migrating to CreatePushTypeNodes (20160802200030)
24
24
   (0.1ms) BEGIN
25
-  (2.3ms) CREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
26
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160728152319"]]
25
+  (1.8ms) CREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
26
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200030"]]
27
27
   (0.4ms) COMMIT
28
- Migrating to CreatePushTypeNodeHierarchies (20160728152320)
28
+ Migrating to CreatePushTypeNodeHierarchies (20160802200031)
29
29
   (0.1ms) BEGIN
30
-  (0.7ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
31
-  (0.9ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
32
-  (0.6ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
33
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160728152320"]]
30
+  (0.5ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
31
+  (0.6ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
32
+  (0.5ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
33
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200031"]]
34
34
   (0.3ms) COMMIT
35
- Migrating to CreatePushTypeAssets (20160728152321)
35
+ Migrating to CreatePushTypeAssets (20160802200032)
36
36
   (0.1ms) BEGIN
37
-  (2.0ms) CREATE TABLE "push_type_assets" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
38
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160728152321"]]
39
-  (0.5ms) COMMIT
40
- Migrating to AddFieldStoreDefaultValues (20160728152322)
37
+  (1.7ms) CREATE TABLE "push_type_assets" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
38
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200032"]]
39
+  (0.4ms) COMMIT
40
+ Migrating to AddFieldStoreDefaultValues (20160802200033)
41
41
   (0.1ms) BEGIN
42
42
   (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb
43
43
   (0.2ms) ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
@@ -46,20 +46,20 @@ Migrating to AddFieldStoreDefaultValues (20160728152322)
46
46
   (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb
47
47
   (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
48
48
   (0.2ms) UPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL
49
-  (0.1ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
50
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160728152322"]]
49
+  (0.2ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
50
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200033"]]
51
51
   (0.4ms) COMMIT
52
- Migrating to DropLegacyPushTypeTaxonomies (20160728152323)
52
+ Migrating to DropLegacyPushTypeTaxonomies (20160802200034)
53
53
   (0.1ms) BEGIN
54
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160728152323"]]
54
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200034"]]
55
55
   (0.4ms) COMMIT
56
- Migrating to DeviseExtendPushTypeUsers (20160728152324)
56
+ Migrating to DeviseExtendPushTypeUsers (20160802200035)
57
57
   (0.1ms) BEGIN
58
-  (2.9ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
58
+  (2.6ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
59
59
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
60
60
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
61
-  (0.2ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
62
-  (2.4ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
61
+  (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
62
+  (2.1ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
63
63
   (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
64
64
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
65
65
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
@@ -67,17 +67,17 @@ Migrating to DeviseExtendPushTypeUsers (20160728152324)
67
67
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
68
68
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
69
69
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
70
-  (0.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
71
-  (0.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
72
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160728152324"]]
73
-  (1.2ms) COMMIT
70
+  (0.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
71
+  (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
72
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200035"]]
73
+  (1.1ms) COMMIT
74
74
  ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
75
75
   (0.1ms) BEGIN
76
- SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-07-28 15:23:20 UTC], ["updated_at", 2016-07-28 15:23:20 UTC]]
77
-  (0.4ms) COMMIT
76
+ SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-08-02 20:00:32 UTC], ["updated_at", 2016-08-02 20:00:32 UTC]]
77
+  (0.5ms) COMMIT
78
78
   (0.1ms) SELECT pg_advisory_unlock(2735718569030447490)
79
79
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
-  (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
80
+  (1.8ms) 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
81
81
  FROM pg_constraint c
82
82
  JOIN pg_class t1 ON c.conrelid = t1.oid
83
83
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -89,7 +89,7 @@ WHERE c.contype = 'f'
89
89
  AND t3.nspname = ANY (current_schemas(false))
90
90
  ORDER BY c.conname
91
91
  
92
-  (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
92
+  (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
93
93
  FROM pg_constraint c
94
94
  JOIN pg_class t1 ON c.conrelid = t1.oid
95
95
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -113,7 +113,7 @@ WHERE c.contype = 'f'
113
113
  AND t3.nspname = ANY (current_schemas(false))
114
114
  ORDER BY c.conname
115
115
  
116
-  (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
116
+  (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
117
117
  FROM pg_constraint c
118
118
  JOIN pg_class t1 ON c.conrelid = t1.oid
119
119
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -128,9 +128,9 @@ ORDER BY c.conname
128
128
  ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
129
129
  Creating scope :published. Overwriting existing method PushType::Node.published.
130
130
   (0.1ms) BEGIN
131
-  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
131
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
132
132
   (0.1ms) COMMIT
133
-  (0.9ms)  SELECT schemaname || '.' || tablename
133
+  (1.0ms)  SELECT schemaname || '.' || tablename
134
134
  FROM pg_tables
135
135
  WHERE
136
136
  tablename !~ '_prt_' AND
@@ -138,134 +138,148 @@ Creating scope :published. Overwriting existing method PushType::Node.published.
138
138
  schemaname = ANY (current_schemas(false))
139
139
  
140
140
   (0.9ms) select table_name from information_schema.views where table_schema = 'dummy_test'
141
-  (9.0ms) TRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
142
-  (0.1ms) BEGIN
143
-  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
141
+  (8.4ms) TRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
142
+  (0.2ms) BEGIN
143
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
144
144
   (0.1ms) COMMIT
145
145
   (0.1ms) BEGIN
146
- ---------------------------------------------------------------
147
- PushType::AuthenticatableTest::validatable: test_0001_anonymous
148
- ---------------------------------------------------------------
146
+ --------------------------------------------------------------------------------------
147
+ PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
148
+ --------------------------------------------------------------------------------------
149
149
   (0.1ms) SAVEPOINT active_record_1
150
150
   (0.1ms) RELEASE SAVEPOINT active_record_1
151
-  (0.0ms) SAVEPOINT active_record_1
152
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
153
-  (0.1ms) ROLLBACK
154
-  (0.1ms) BEGIN
155
- ---------------------------------------------------------------
156
- PushType::AuthenticatableTest::validatable: test_0002_anonymous
157
- ---------------------------------------------------------------
158
-  (0.0ms) SAVEPOINT active_record_1
159
-  (0.0ms) RELEASE SAVEPOINT active_record_1
160
-  (0.0ms) SAVEPOINT active_record_1
161
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
151
+  (0.1ms) SAVEPOINT active_record_1
152
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
162
153
   (0.1ms) ROLLBACK
163
154
   (0.1ms) BEGIN
164
- -----------------------------------------------------------------------------------
165
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
166
- -----------------------------------------------------------------------------------
155
+ ----------------------------------------------------------------
156
+ PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
157
+ ----------------------------------------------------------------
167
158
   (0.1ms) SAVEPOINT active_record_1
168
159
   (0.1ms) RELEASE SAVEPOINT active_record_1
169
-  (0.0ms) SAVEPOINT active_record_1
160
+  (0.1ms) SAVEPOINT active_record_1
170
161
   (0.1ms) SAVEPOINT active_record_2
171
- PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
172
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
173
- SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", 2016-07-28 15:23:24 UTC], ["updated_at", 2016-07-28 15:23:24 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-28 15:23:24 UTC], ["confirmation_sent_at", 2016-07-28 15:23:24 UTC]]
162
+ PushType::User Exists (0.6ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
163
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
164
+ SQL (0.8ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", 2016-08-02 20:00:35 UTC], ["updated_at", 2016-08-02 20:00:35 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:35 UTC], ["confirmation_sent_at", 2016-08-02 20:00:35 UTC]]
174
165
   (0.1ms) RELEASE SAVEPOINT active_record_2
175
- Processing by PushType::ProfilesController#update as HTML
176
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
177
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "df39990c-da11-4799-bc18-641262230016"], ["LIMIT", 1]]
166
+ Processing by PushType::ProfilesController#edit as HTML
167
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "e86521cf-7da3-4a72-8be9-0a9c31c3c9ae"], ["LIMIT", 1]]
168
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
169
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (27.0ms)
170
+ DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.3.0@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
171
+ in a future version of Sass. To preserve the current behavior, use quotes:
172
+
173
+ unquote("#{lower-bound($medium-range)}")
174
+
175
+
176
+ Completed 200 OK in 11979ms (Views: 11968.3ms | ActiveRecord: 0.4ms)
177
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
178
+  (0.2ms) ROLLBACK
179
+  (0.1ms) BEGIN
180
+ ----------------------------------------------------------------
181
+ PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
182
+ ----------------------------------------------------------------
183
+  (0.1ms) SAVEPOINT active_record_1
184
+  (0.1ms) RELEASE SAVEPOINT active_record_1
185
+  (0.1ms) SAVEPOINT active_record_1
178
186
   (0.1ms) SAVEPOINT active_record_2
179
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-1@example.com"], ["id", "df39990c-da11-4799-bc18-641262230016"], ["LIMIT", 1]]
180
- SQL (0.3ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-07-28 15:23:24 UTC], ["id", "df39990c-da11-4799-bc18-641262230016"]]
187
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
188
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
189
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2016-08-02 20:00:47 UTC], ["updated_at", 2016-08-02 20:00:47 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:47 UTC], ["confirmation_sent_at", 2016-08-02 20:00:47 UTC]]
181
190
   (0.1ms) RELEASE SAVEPOINT active_record_2
182
- Redirected to http://test.host/push_type/profile/edit
183
- Completed 302 Found in 18ms (ActiveRecord: 1.3ms)
191
+ Processing by PushType::ProfilesController#edit as HTML
192
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "f163ddbf-ee26-4bda-b9b9-88479f493550"], ["LIMIT", 1]]
193
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
194
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.6ms)
195
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
184
196
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
185
197
   (0.1ms) ROLLBACK
186
198
   (0.1ms) BEGIN
187
- -----------------------------------------------------------------------------------
188
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
189
- -----------------------------------------------------------------------------------
190
-  (0.1ms) SAVEPOINT active_record_1
191
-  (0.1ms) RELEASE SAVEPOINT active_record_1
199
+ -------------------------------------------------------------------------------------
200
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
201
+ -------------------------------------------------------------------------------------
202
+  (0.0ms) SAVEPOINT active_record_1
203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
192
204
   (0.0ms) SAVEPOINT active_record_1
193
205
   (0.1ms) SAVEPOINT active_record_2
194
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
195
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
196
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2016-07-28 15:23:24 UTC], ["updated_at", 2016-07-28 15:23:24 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-28 15:23:24 UTC], ["confirmation_sent_at", 2016-07-28 15:23:24 UTC]]
206
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
207
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
208
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", 2016-08-02 20:00:47 UTC], ["updated_at", 2016-08-02 20:00:47 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:47 UTC], ["confirmation_sent_at", 2016-08-02 20:00:47 UTC]]
197
209
   (0.1ms) RELEASE SAVEPOINT active_record_2
198
210
  Processing by PushType::ProfilesController#update as HTML
199
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
200
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "7beb3808-b1d5-4f73-b3c5-f71b2e14ef4e"], ["LIMIT", 1]]
211
+ Parameters: {"user"=>{"name"=>""}}
212
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "e9806d58-132b-4d87-8d21-ec2225d08aaf"], ["LIMIT", 1]]
201
213
   (0.1ms) SAVEPOINT active_record_2
202
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-2@example.com"], ["id", "7beb3808-b1d5-4f73-b3c5-f71b2e14ef4e"], ["LIMIT", 1]]
203
- 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-07-28 15:23:24 UTC], ["id", "7beb3808-b1d5-4f73-b3c5-f71b2e14ef4e"]]
204
-  (0.1ms) RELEASE SAVEPOINT active_record_2
205
- Redirected to http://test.host/push_type/profile/edit
206
- Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
207
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "7beb3808-b1d5-4f73-b3c5-f71b2e14ef4e"], ["LIMIT", 1]]
214
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-3@example.com"], ["id", "e9806d58-132b-4d87-8d21-ec2225d08aaf"], ["LIMIT", 1]]
215
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
216
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
217
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.6ms)
218
+ Completed 200 OK in 12ms (Views: 7.5ms | ActiveRecord: 0.6ms)
208
219
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
209
220
   (0.1ms) ROLLBACK
210
221
   (0.1ms) BEGIN
211
- -----------------------------------------------------------------------------------
212
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
213
- -----------------------------------------------------------------------------------
214
-  (0.1ms) SAVEPOINT active_record_1
222
+ -------------------------------------------------------------------------------------
223
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
224
+ -------------------------------------------------------------------------------------
225
+  (0.0ms) SAVEPOINT active_record_1
215
226
   (0.0ms) RELEASE SAVEPOINT active_record_1
216
227
   (0.0ms) SAVEPOINT active_record_1
217
228
   (0.1ms) SAVEPOINT active_record_2
218
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
219
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
220
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", 2016-07-28 15:23:24 UTC], ["updated_at", 2016-07-28 15:23:24 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-28 15:23:24 UTC], ["confirmation_sent_at", 2016-07-28 15:23:24 UTC]]
229
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
230
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
231
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", 2016-08-02 20:00:47 UTC], ["updated_at", 2016-08-02 20:00:47 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:47 UTC], ["confirmation_sent_at", 2016-08-02 20:00:47 UTC]]
221
232
   (0.1ms) RELEASE SAVEPOINT active_record_2
222
233
  Processing by PushType::ProfilesController#update as HTML
223
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
224
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "c7c0cf06-8dca-4a22-92e1-c17dc0259bc0"], ["LIMIT", 1]]
234
+ Parameters: {"user"=>{"name"=>""}}
235
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "72c98c28-2698-4063-b0b9-c0fbf741c1a9"], ["LIMIT", 1]]
225
236
   (0.1ms) SAVEPOINT active_record_2
226
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-3@example.com"], ["id", "c7c0cf06-8dca-4a22-92e1-c17dc0259bc0"], ["LIMIT", 1]]
227
- 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-07-28 15:23:24 UTC], ["id", "c7c0cf06-8dca-4a22-92e1-c17dc0259bc0"]]
228
-  (0.1ms) RELEASE SAVEPOINT active_record_2
229
- Redirected to http://test.host/push_type/profile/edit
230
- Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
237
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-4@example.com"], ["id", "72c98c28-2698-4063-b0b9-c0fbf741c1a9"], ["LIMIT", 1]]
238
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
239
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
240
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.6ms)
241
+ Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.5ms)
242
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
243
+  (0.1ms) ROLLBACK
244
+  (0.1ms) BEGIN
245
+ ----------------------------------------------------------------
246
+ PushType::AuthenticatableTest::rememberable: test_0001_anonymous
247
+ ----------------------------------------------------------------
248
+  (0.1ms) SAVEPOINT active_record_1
249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250
+  (0.0ms) SAVEPOINT active_record_1
231
251
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
232
252
   (0.1ms) ROLLBACK
233
253
   (0.1ms) BEGIN
234
254
  ------------------------------------------------------------------------------------------
235
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
255
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
236
256
  ------------------------------------------------------------------------------------------
237
257
   (0.1ms) SAVEPOINT active_record_1
238
258
   (0.1ms) RELEASE SAVEPOINT active_record_1
239
259
   (0.1ms) SAVEPOINT active_record_1
240
260
   (0.1ms) SAVEPOINT active_record_2
241
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
242
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
243
- 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-4@example.com"], ["created_at", 2016-07-28 15:23:24 UTC], ["updated_at", 2016-07-28 15:23:24 UTC], ["confirmation_token", "J99MDzYtKJzB2a9wuoqE"], ["confirmation_sent_at", 2016-07-28 15:23:24 UTC]]
261
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
262
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
263
+ 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-5@example.com"], ["created_at", 2016-08-02 20:00:47 UTC], ["updated_at", 2016-08-02 20:00:47 UTC], ["confirmation_token", "quz6o4jxJGa25Pxavyps"], ["confirmation_sent_at", 2016-08-02 20:00:47 UTC]]
244
264
   (0.1ms) RELEASE SAVEPOINT active_record_2
245
265
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
246
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (2.1ms)
247
- DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.3.0@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
248
- in a future version of Sass. To preserve the current behavior, use quotes:
249
-
250
- unquote("#{lower-bound($medium-range)}")
251
-
252
-
253
- Devise::Mailer#confirmation_instructions: processed outbound mail in 12775.4ms
254
- Sent mail to joe-4@example.com (9.7ms)
255
- Date: Thu, 28 Jul 2016 16:23:37 +0100
266
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
267
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 153.7ms
268
+ Sent mail to joe-5@example.com (7.2ms)
269
+ Date: Tue, 02 Aug 2016 21:00:48 +0100
256
270
  From: pushtype@example.com
257
271
  Reply-To: pushtype@example.com
258
- To: joe-4@example.com
259
- Message-ID: <579a2379ab965_92fd3fe72183f9e4700d4@Aarons-iMac.local.mail>
272
+ To: joe-5@example.com
273
+ Message-ID: <57a0fbf0273f7_fabe3ffa2c43f9fc781c0@Aarons-iMac.local.mail>
260
274
  Subject: [PushType] Confirm your account
261
275
  Mime-Version: 1.0
262
276
  Content-Type: multipart/alternative;
263
- boundary="--==_mimepart_579a2379aa527_92fd3fe72183f9e4699ec";
277
+ boundary="--==_mimepart_57a0fbf026579_fabe3ffa2c43f9fc78043";
264
278
  charset=UTF-8
265
279
  Content-Transfer-Encoding: 7bit
266
280
 
267
281
 
268
- ----==_mimepart_579a2379aa527_92fd3fe72183f9e4699ec
282
+ ----==_mimepart_57a0fbf026579_fabe3ffa2c43f9fc78043
269
283
  Content-Type: text/plain;
270
284
  charset=UTF-8
271
285
  Content-Transfer-Encoding: 7bit
@@ -281,11 +295,11 @@ To get started, confirm your account and set your own password by
281
295
  clicking the link below:
282
296
 
283
297
  Confirm my account
284
- ( http://localhost:3000/push_type/confirmation?confirmation_token=J99MDzYtKJzB2a9wuoqE )
298
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=quz6o4jxJGa25Pxavyps )
285
299
 
286
300
 
287
301
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
288
- ----==_mimepart_579a2379aa527_92fd3fe72183f9e4699ec
302
+ ----==_mimepart_57a0fbf026579_fabe3ffa2c43f9fc78043
289
303
  Content-Type: text/html;
290
304
  charset=UTF-8
291
305
  Content-Transfer-Encoding: 7bit
@@ -331,7 +345,7 @@ body {
331
345
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
332
346
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
333
347
  <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;">
334
- <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=J99MDzYtKJzB2a9wuoqE" 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>
348
+ <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=quz6o4jxJGa25Pxavyps" 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>
335
349
  </td>
336
350
  </tr>
337
351
  </table>
@@ -376,48 +390,48 @@ body {
376
390
  </body>
377
391
  </html>
378
392
 
379
- ----==_mimepart_579a2379aa527_92fd3fe72183f9e4699ec--
393
+ ----==_mimepart_57a0fbf026579_fabe3ffa2c43f9fc78043--
380
394
 
381
395
  Processing by PushType::ConfirmationsController#update as HTML
382
- Parameters: {"user"=>{"confirmation_token"=>"J99MDzYtKJzB2a9wuoqE", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
383
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "J99MDzYtKJzB2a9wuoqE"], ["LIMIT", 1]]
384
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-4@example.com"], ["id", "78c34eab-65b5-4254-9120-65baec914ede"], ["LIMIT", 1]]
396
+ Parameters: {"user"=>{"confirmation_token"=>"quz6o4jxJGa25Pxavyps", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
397
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "quz6o4jxJGa25Pxavyps"], ["LIMIT", 1]]
398
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-5@example.com"], ["id", "5ad396e6-f27d-461e-9df1-b152c289ad74"], ["LIMIT", 1]]
385
399
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
386
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
387
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (14.9ms)
388
- Completed 200 OK in 30ms (Views: 25.6ms | ActiveRecord: 0.4ms)
400
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.2ms)
401
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.6ms)
402
+ Completed 200 OK in 21ms (Views: 17.3ms | ActiveRecord: 0.5ms)
389
403
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
390
-  (0.3ms) ROLLBACK
404
+  (0.1ms) ROLLBACK
391
405
   (0.1ms) BEGIN
392
406
  ------------------------------------------------------------------------------------------
393
407
  PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
394
408
  ------------------------------------------------------------------------------------------
395
409
   (0.0ms) SAVEPOINT active_record_1
396
-  (0.1ms) RELEASE SAVEPOINT active_record_1
397
-  (0.0ms) SAVEPOINT active_record_1
410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
411
+  (0.1ms) SAVEPOINT active_record_1
398
412
   (0.1ms) SAVEPOINT active_record_2
399
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
400
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
401
- 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-5@example.com"], ["created_at", 2016-07-28 15:23:37 UTC], ["updated_at", 2016-07-28 15:23:37 UTC], ["confirmation_token", "XsaXNbUET5XhPCTmGRU-"], ["confirmation_sent_at", 2016-07-28 15:23:37 UTC]]
413
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
414
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
415
+ 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-6@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "45Ap7QzsSumKzW6VRdim"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
402
416
   (0.1ms) RELEASE SAVEPOINT active_record_2
403
417
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
404
418
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
405
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
406
- Sent mail to joe-5@example.com (3.7ms)
407
- Date: Thu, 28 Jul 2016 16:23:37 +0100
419
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
420
+ Sent mail to joe-6@example.com (3.8ms)
421
+ Date: Tue, 02 Aug 2016 21:00:48 +0100
408
422
  From: pushtype@example.com
409
423
  Reply-To: pushtype@example.com
410
- To: joe-5@example.com
411
- Message-ID: <579a2379be070_92fd3fe72183f9e470366@Aarons-iMac.local.mail>
424
+ To: joe-6@example.com
425
+ Message-ID: <57a0fbf037c56_fabe3ffa2c43f9fc7848e@Aarons-iMac.local.mail>
412
426
  Subject: [PushType] Confirm your account
413
427
  Mime-Version: 1.0
414
428
  Content-Type: multipart/alternative;
415
- boundary="--==_mimepart_579a2379bdbeb_92fd3fe72183f9e4702d9";
429
+ boundary="--==_mimepart_57a0fbf0377c5_fabe3ffa2c43f9fc78391";
416
430
  charset=UTF-8
417
431
  Content-Transfer-Encoding: 7bit
418
432
 
419
433
 
420
- ----==_mimepart_579a2379bdbeb_92fd3fe72183f9e4702d9
434
+ ----==_mimepart_57a0fbf0377c5_fabe3ffa2c43f9fc78391
421
435
  Content-Type: text/plain;
422
436
  charset=UTF-8
423
437
  Content-Transfer-Encoding: 7bit
@@ -433,11 +447,11 @@ To get started, confirm your account and set your own password by
433
447
  clicking the link below:
434
448
 
435
449
  Confirm my account
436
- ( http://localhost:3000/push_type/confirmation?confirmation_token=XsaXNbUET5XhPCTmGRU- )
450
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=45Ap7QzsSumKzW6VRdim )
437
451
 
438
452
 
439
453
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
440
- ----==_mimepart_579a2379bdbeb_92fd3fe72183f9e4702d9
454
+ ----==_mimepart_57a0fbf0377c5_fabe3ffa2c43f9fc78391
441
455
  Content-Type: text/html;
442
456
  charset=UTF-8
443
457
  Content-Transfer-Encoding: 7bit
@@ -483,7 +497,7 @@ body {
483
497
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
484
498
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
485
499
  <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;">
486
- <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=XsaXNbUET5XhPCTmGRU-" 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>
500
+ <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=45Ap7QzsSumKzW6VRdim" 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>
487
501
  </td>
488
502
  </tr>
489
503
  </table>
@@ -528,48 +542,48 @@ body {
528
542
  </body>
529
543
  </html>
530
544
 
531
- ----==_mimepart_579a2379bdbeb_92fd3fe72183f9e4702d9--
545
+ ----==_mimepart_57a0fbf0377c5_fabe3ffa2c43f9fc78391--
532
546
 
533
547
  Processing by PushType::ConfirmationsController#update as HTML
534
- Parameters: {"user"=>{"confirmation_token"=>"XsaXNbUET5XhPCTmGRU-", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
535
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "XsaXNbUET5XhPCTmGRU-"], ["LIMIT", 1]]
536
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-5@example.com"], ["id", "11880430-b5ae-45a2-975d-a74150412d45"], ["LIMIT", 1]]
548
+ Parameters: {"user"=>{"confirmation_token"=>"45Ap7QzsSumKzW6VRdim", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
549
+ 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 $2 [["confirmation_token", "45Ap7QzsSumKzW6VRdim"], ["LIMIT", 1]]
550
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-6@example.com"], ["id", "e3b3de08-c9cd-4313-bfb2-c38a181aa050"], ["LIMIT", 1]]
537
551
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
538
552
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
539
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.0ms)
540
- Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.5ms)
553
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.2ms)
554
+ Completed 200 OK in 14ms (Views: 11.2ms | ActiveRecord: 0.6ms)
541
555
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
542
556
   (0.1ms) ROLLBACK
543
557
   (0.1ms) BEGIN
544
558
  ------------------------------------------------------------------------------------------
545
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
559
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
546
560
  ------------------------------------------------------------------------------------------
547
561
   (0.1ms) SAVEPOINT active_record_1
548
562
   (0.0ms) RELEASE SAVEPOINT active_record_1
549
563
   (0.0ms) SAVEPOINT active_record_1
550
564
   (0.1ms) SAVEPOINT active_record_2
551
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
552
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
553
- 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-6@example.com"], ["created_at", 2016-07-28 15:23:37 UTC], ["updated_at", 2016-07-28 15:23:37 UTC], ["confirmation_token", "5kzZCKrThX6_8ouPMpvU"], ["confirmation_sent_at", 2016-07-28 15:23:37 UTC]]
565
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
566
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
567
+ 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-7@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "DzuyyzuL8zsg8h4RqatN"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
554
568
   (0.1ms) RELEASE SAVEPOINT active_record_2
555
569
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
556
570
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
557
571
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
558
- Sent mail to joe-6@example.com (3.5ms)
559
- Date: Thu, 28 Jul 2016 16:23:37 +0100
572
+ Sent mail to joe-7@example.com (3.5ms)
573
+ Date: Tue, 02 Aug 2016 21:00:48 +0100
560
574
  From: pushtype@example.com
561
575
  Reply-To: pushtype@example.com
562
- To: joe-6@example.com
563
- Message-ID: <579a2379cb21e_92fd3fe72183f9e47066d@Aarons-iMac.local.mail>
576
+ To: joe-7@example.com
577
+ Message-ID: <57a0fbf045f6f_fabe3ffa2c43f9fc78730@Aarons-iMac.local.mail>
564
578
  Subject: [PushType] Confirm your account
565
579
  Mime-Version: 1.0
566
580
  Content-Type: multipart/alternative;
567
- boundary="--==_mimepart_579a2379cadb1_92fd3fe72183f9e47055";
581
+ boundary="--==_mimepart_57a0fbf045afa_fabe3ffa2c43f9fc786f6";
568
582
  charset=UTF-8
569
583
  Content-Transfer-Encoding: 7bit
570
584
 
571
585
 
572
- ----==_mimepart_579a2379cadb1_92fd3fe72183f9e47055
586
+ ----==_mimepart_57a0fbf045afa_fabe3ffa2c43f9fc786f6
573
587
  Content-Type: text/plain;
574
588
  charset=UTF-8
575
589
  Content-Transfer-Encoding: 7bit
@@ -585,11 +599,11 @@ To get started, confirm your account and set your own password by
585
599
  clicking the link below:
586
600
 
587
601
  Confirm my account
588
- ( http://localhost:3000/push_type/confirmation?confirmation_token=5kzZCKrThX6_8ouPMpvU )
602
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=DzuyyzuL8zsg8h4RqatN )
589
603
 
590
604
 
591
605
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
592
- ----==_mimepart_579a2379cadb1_92fd3fe72183f9e47055
606
+ ----==_mimepart_57a0fbf045afa_fabe3ffa2c43f9fc786f6
593
607
  Content-Type: text/html;
594
608
  charset=UTF-8
595
609
  Content-Transfer-Encoding: 7bit
@@ -635,7 +649,7 @@ body {
635
649
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
636
650
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
637
651
  <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;">
638
- <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=5kzZCKrThX6_8ouPMpvU" 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>
652
+ <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=DzuyyzuL8zsg8h4RqatN" 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>
639
653
  </td>
640
654
  </tr>
641
655
  </table>
@@ -680,41 +694,41 @@ body {
680
694
  </body>
681
695
  </html>
682
696
 
683
- ----==_mimepart_579a2379cadb1_92fd3fe72183f9e47055--
697
+ ----==_mimepart_57a0fbf045afa_fabe3ffa2c43f9fc786f6--
684
698
 
685
699
  Processing by PushType::ConfirmationsController#update as HTML
686
- Parameters: {"user"=>{"confirmation_token"=>"5kzZCKrThX6_8ouPMpvU", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
687
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "5kzZCKrThX6_8ouPMpvU"], ["LIMIT", 1]]
688
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-6@example.com"], ["id", "000f9584-e902-4218-aac1-e17448e79e51"], ["LIMIT", 1]]
700
+ Parameters: {"user"=>{"confirmation_token"=>"DzuyyzuL8zsg8h4RqatN", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
701
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "DzuyyzuL8zsg8h4RqatN"], ["LIMIT", 1]]
702
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-7@example.com"], ["id", "b07b6640-2891-4dea-8a51-480a28d69d6a"], ["LIMIT", 1]]
689
703
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
690
704
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
691
705
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
692
- Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.6ms)
693
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
694
-  (0.1ms) ROLLBACK
706
+ Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.5ms)
707
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
708
+  (0.2ms) ROLLBACK
695
709
   (0.1ms) BEGIN
696
- ---------------------------------------------------------------
697
- PushType::AuthenticatableTest::recoverable: test_0001_anonymous
698
- ---------------------------------------------------------------
699
-  (0.1ms) SAVEPOINT active_record_1
700
-  (0.1ms) RELEASE SAVEPOINT active_record_1
710
+ ---------------------------------------------------------------------------
711
+ PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
712
+ ---------------------------------------------------------------------------
713
+  (0.0ms) SAVEPOINT active_record_1
714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
701
715
   (0.0ms) SAVEPOINT active_record_1
702
716
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
703
717
   (0.1ms) ROLLBACK
704
-  (0.0ms) BEGIN
705
- ----------------------------------------------------------------
706
- PushType::AuthenticatableTest::rememberable: test_0001_anonymous
707
- ----------------------------------------------------------------
708
-  (0.0ms) SAVEPOINT active_record_1
718
+  (0.1ms) BEGIN
719
+ ---------------------------------------------------------------------------
720
+ PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
721
+ ---------------------------------------------------------------------------
722
+  (0.1ms) SAVEPOINT active_record_1
709
723
   (0.0ms) RELEASE SAVEPOINT active_record_1
710
724
   (0.0ms) SAVEPOINT active_record_1
711
725
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
712
726
   (0.1ms) ROLLBACK
713
727
   (0.1ms) BEGIN
714
- ---------------------------------------------------------------
715
- PushType::AuthenticatableTest::confirmable: test_0001_anonymous
716
- ---------------------------------------------------------------
717
-  (0.0ms) SAVEPOINT active_record_1
728
+ -------------------------------------------------------------
729
+ PushType::AuthenticatableTest::trackable: test_0001_anonymous
730
+ -------------------------------------------------------------
731
+  (0.1ms) SAVEPOINT active_record_1
718
732
   (0.0ms) RELEASE SAVEPOINT active_record_1
719
733
   (0.0ms) SAVEPOINT active_record_1
720
734
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
@@ -723,32 +737,32 @@ PushType::AuthenticatableTest::confirmable: test_0001_anonymous
723
737
  --------------------------------------------------------------------------------------------------------------
724
738
  PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
725
739
  --------------------------------------------------------------------------------------------------------------
726
-  (0.1ms) SAVEPOINT active_record_1
727
-  (0.1ms) RELEASE SAVEPOINT active_record_1
728
-  (0.1ms) SAVEPOINT active_record_1
740
+  (0.0ms) SAVEPOINT active_record_1
741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
742
+  (0.0ms) SAVEPOINT active_record_1
729
743
   (0.1ms) SAVEPOINT active_record_2
730
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
731
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
732
- 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-7@example.com"], ["created_at", 2016-07-28 15:23:37 UTC], ["updated_at", 2016-07-28 15:23:37 UTC], ["confirmation_token", "UZbEqVwvzybwTDXxBP3W"], ["confirmation_sent_at", 2016-07-28 15:23:37 UTC]]
744
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
745
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
746
+ 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-8@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "sxxUUCz7yo1LuqqMckhC"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
733
747
   (0.1ms) RELEASE SAVEPOINT active_record_2
734
748
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
735
749
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
736
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
737
- Sent mail to joe-7@example.com (3.6ms)
738
- Date: Thu, 28 Jul 2016 16:23:37 +0100
750
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
751
+ Sent mail to joe-8@example.com (3.8ms)
752
+ Date: Tue, 02 Aug 2016 21:00:48 +0100
739
753
  From: pushtype@example.com
740
754
  Reply-To: pushtype@example.com
741
- To: joe-7@example.com
742
- Message-ID: <579a2379d94e6_92fd3fe72183f9e470976@Aarons-iMac.local.mail>
755
+ To: joe-8@example.com
756
+ Message-ID: <57a0fbf053cb2_fabe3ffa2c43f9fc79013@Aarons-iMac.local.mail>
743
757
  Subject: [PushType] Confirm your account
744
758
  Mime-Version: 1.0
745
759
  Content-Type: multipart/alternative;
746
- boundary="--==_mimepart_579a2379d9046_92fd3fe72183f9e470884";
760
+ boundary="--==_mimepart_57a0fbf05386a_fabe3ffa2c43f9fc78922";
747
761
  charset=UTF-8
748
762
  Content-Transfer-Encoding: 7bit
749
763
 
750
764
 
751
- ----==_mimepart_579a2379d9046_92fd3fe72183f9e470884
765
+ ----==_mimepart_57a0fbf05386a_fabe3ffa2c43f9fc78922
752
766
  Content-Type: text/plain;
753
767
  charset=UTF-8
754
768
  Content-Transfer-Encoding: 7bit
@@ -764,11 +778,11 @@ To get started, confirm your account and set your own password by
764
778
  clicking the link below:
765
779
 
766
780
  Confirm my account
767
- ( http://localhost:3000/push_type/confirmation?confirmation_token=UZbEqVwvzybwTDXxBP3W )
781
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=sxxUUCz7yo1LuqqMckhC )
768
782
 
769
783
 
770
784
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
771
- ----==_mimepart_579a2379d9046_92fd3fe72183f9e470884
785
+ ----==_mimepart_57a0fbf05386a_fabe3ffa2c43f9fc78922
772
786
  Content-Type: text/html;
773
787
  charset=UTF-8
774
788
  Content-Transfer-Encoding: 7bit
@@ -814,7 +828,7 @@ body {
814
828
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
815
829
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
816
830
  <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;">
817
- <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=UZbEqVwvzybwTDXxBP3W" 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>
831
+ <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=sxxUUCz7yo1LuqqMckhC" 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>
818
832
  </td>
819
833
  </tr>
820
834
  </table>
@@ -859,45 +873,40 @@ body {
859
873
  </body>
860
874
  </html>
861
875
 
862
- ----==_mimepart_579a2379d9046_92fd3fe72183f9e470884--
876
+ ----==_mimepart_57a0fbf05386a_fabe3ffa2c43f9fc78922--
863
877
 
864
878
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
865
879
   (0.1ms) ROLLBACK
866
880
   (0.1ms) BEGIN
867
- ---------------------------------------------------------------
868
- PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
869
- ---------------------------------------------------------------
881
+ ----------------------------------------------------------------------------------------------------
882
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
883
+ ----------------------------------------------------------------------------------------------------
870
884
   (0.1ms) SAVEPOINT active_record_1
871
885
   (0.1ms) RELEASE SAVEPOINT active_record_1
872
-  (0.0ms) SAVEPOINT active_record_1
873
-  (0.1ms) SAVEPOINT active_record_2
874
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
875
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
876
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", 2016-07-28 15:23:37 UTC], ["updated_at", 2016-07-28 15:23:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-28 15:23:37 UTC], ["confirmation_sent_at", 2016-07-28 15:23:37 UTC]]
877
-  (0.1ms) RELEASE SAVEPOINT active_record_2
886
+  (0.1ms) SAVEPOINT active_record_1
878
887
   (0.1ms) SAVEPOINT active_record_2
879
888
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
880
889
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
881
- 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-9@example.com"], ["created_at", 2016-07-28 15:23:37 UTC], ["updated_at", 2016-07-28 15:23:37 UTC], ["confirmation_token", "zwzzr4WdKKTaj4ddDK15"], ["confirmation_sent_at", 2016-07-28 15:23:37 UTC]]
890
+ 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-9@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "cfN9QGAB2n7QD4fjJm6J"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
882
891
   (0.1ms) RELEASE SAVEPOINT active_record_2
883
892
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
884
893
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
885
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
886
- Sent mail to joe-9@example.com (3.6ms)
887
- Date: Thu, 28 Jul 2016 16:23:37 +0100
894
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
895
+ Sent mail to joe-9@example.com (3.7ms)
896
+ Date: Tue, 02 Aug 2016 21:00:48 +0100
888
897
  From: pushtype@example.com
889
898
  Reply-To: pushtype@example.com
890
899
  To: joe-9@example.com
891
- Message-ID: <579a2379e75c1_92fd3fe72183f9e47124e@Aarons-iMac.local.mail>
900
+ Message-ID: <57a0fbf061109_fabe3ffa2c43f9fc7936b@Aarons-iMac.local.mail>
892
901
  Subject: [PushType] Confirm your account
893
902
  Mime-Version: 1.0
894
903
  Content-Type: multipart/alternative;
895
- boundary="--==_mimepart_579a2379e711d_92fd3fe72183f9e4711f8";
904
+ boundary="--==_mimepart_57a0fbf060c82_fabe3ffa2c43f9fc792d2";
896
905
  charset=UTF-8
897
906
  Content-Transfer-Encoding: 7bit
898
907
 
899
908
 
900
- ----==_mimepart_579a2379e711d_92fd3fe72183f9e4711f8
909
+ ----==_mimepart_57a0fbf060c82_fabe3ffa2c43f9fc792d2
901
910
  Content-Type: text/plain;
902
911
  charset=UTF-8
903
912
  Content-Transfer-Encoding: 7bit
@@ -913,11 +922,11 @@ To get started, confirm your account and set your own password by
913
922
  clicking the link below:
914
923
 
915
924
  Confirm my account
916
- ( http://localhost:3000/push_type/confirmation?confirmation_token=zwzzr4WdKKTaj4ddDK15 )
925
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=cfN9QGAB2n7QD4fjJm6J )
917
926
 
918
927
 
919
928
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
920
- ----==_mimepart_579a2379e711d_92fd3fe72183f9e4711f8
929
+ ----==_mimepart_57a0fbf060c82_fabe3ffa2c43f9fc792d2
921
930
  Content-Type: text/html;
922
931
  charset=UTF-8
923
932
  Content-Transfer-Encoding: 7bit
@@ -963,7 +972,7 @@ body {
963
972
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
964
973
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
965
974
  <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;">
966
- <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=zwzzr4WdKKTaj4ddDK15" 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>
975
+ <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=cfN9QGAB2n7QD4fjJm6J" 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>
967
976
  </td>
968
977
  </tr>
969
978
  </table>
@@ -1008,32 +1017,47 @@ body {
1008
1017
  </body>
1009
1018
  </html>
1010
1019
 
1011
- ----==_mimepart_579a2379e711d_92fd3fe72183f9e4711f8--
1020
+ ----==_mimepart_57a0fbf060c82_fabe3ffa2c43f9fc792d2--
1012
1021
 
1013
- Processing by PushType::UsersController#invite as HTML
1014
- Parameters: {"id"=>"062233ec-f5d0-4bab-9102-569ad3f6d613"}
1015
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "ab49810d-1365-40ef-b8fa-1e8914fc22fd"], ["LIMIT", 1]]
1016
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "062233ec-f5d0-4bab-9102-569ad3f6d613"], ["LIMIT", 1]]
1022
+ Processing by PushType::ConfirmationsController#show as HTML
1023
+ Parameters: {"confirmation_token"=>"cfN9QGAB2n7QD4fjJm6J"}
1024
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "cfN9QGAB2n7QD4fjJm6J"], ["LIMIT", 1]]
1025
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1026
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1027
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
1028
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.2ms)
1029
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1030
+  (0.2ms) ROLLBACK
1031
+  (0.1ms) BEGIN
1032
+ ----------------------------------------------------------------------------------------------------
1033
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
1034
+ ----------------------------------------------------------------------------------------------------
1035
+  (0.0ms) SAVEPOINT active_record_1
1036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1037
+  (0.0ms) SAVEPOINT active_record_1
1017
1038
   (0.1ms) SAVEPOINT active_record_2
1039
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1040
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1041
+ 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-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "9V1CE41ZjPodZr4Ci6Uv"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1018
1042
   (0.1ms) RELEASE SAVEPOINT active_record_2
1019
1043
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1020
1044
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1021
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
1022
- Sent mail to joe-9@example.com (3.4ms)
1023
- Date: Thu, 28 Jul 2016 16:23:37 +0100
1045
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
1046
+ Sent mail to joe-10@example.com (3.8ms)
1047
+ Date: Tue, 02 Aug 2016 21:00:48 +0100
1024
1048
  From: pushtype@example.com
1025
1049
  Reply-To: pushtype@example.com
1026
- To: joe-9@example.com
1027
- Message-ID: <579a2379f13ba_92fd3fe72183f9e471568@Aarons-iMac.local.mail>
1050
+ To: joe-10@example.com
1051
+ Message-ID: <57a0fbf06e736_fabe3ffa2c43f9fc79672@Aarons-iMac.local.mail>
1028
1052
  Subject: [PushType] Confirm your account
1029
1053
  Mime-Version: 1.0
1030
1054
  Content-Type: multipart/alternative;
1031
- boundary="--==_mimepart_579a2379f0f86_92fd3fe72183f9e471476";
1055
+ boundary="--==_mimepart_57a0fbf06e298_fabe3ffa2c43f9fc795c5";
1032
1056
  charset=UTF-8
1033
1057
  Content-Transfer-Encoding: 7bit
1034
1058
 
1035
1059
 
1036
- ----==_mimepart_579a2379f0f86_92fd3fe72183f9e471476
1060
+ ----==_mimepart_57a0fbf06e298_fabe3ffa2c43f9fc795c5
1037
1061
  Content-Type: text/plain;
1038
1062
  charset=UTF-8
1039
1063
  Content-Transfer-Encoding: 7bit
@@ -1049,11 +1073,11 @@ To get started, confirm your account and set your own password by
1049
1073
  clicking the link below:
1050
1074
 
1051
1075
  Confirm my account
1052
- ( http://localhost:3000/push_type/confirmation?confirmation_token=zwzzr4WdKKTaj4ddDK15 )
1076
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=9V1CE41ZjPodZr4Ci6Uv )
1053
1077
 
1054
1078
 
1055
1079
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1056
- ----==_mimepart_579a2379f0f86_92fd3fe72183f9e471476
1080
+ ----==_mimepart_57a0fbf06e298_fabe3ffa2c43f9fc795c5
1057
1081
  Content-Type: text/html;
1058
1082
  charset=UTF-8
1059
1083
  Content-Transfer-Encoding: 7bit
@@ -1099,7 +1123,7 @@ body {
1099
1123
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1100
1124
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1101
1125
  <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;">
1102
- <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=zwzzr4WdKKTaj4ddDK15" 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>
1126
+ <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=9V1CE41ZjPodZr4Ci6Uv" 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>
1103
1127
  </td>
1104
1128
  </tr>
1105
1129
  </table>
@@ -1144,55 +1168,215 @@ body {
1144
1168
  </body>
1145
1169
  </html>
1146
1170
 
1147
- ----==_mimepart_579a2379f0f86_92fd3fe72183f9e471476--
1171
+ ----==_mimepart_57a0fbf06e298_fabe3ffa2c43f9fc795c5--
1148
1172
 
1149
- Redirected to http://test.host/push_type/users
1150
- Completed 302 Found in 39ms (ActiveRecord: 0.6ms)
1173
+ Processing by PushType::ConfirmationsController#show as HTML
1174
+ Parameters: {"confirmation_token"=>"9V1CE41ZjPodZr4Ci6Uv"}
1175
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "9V1CE41ZjPodZr4Ci6Uv"], ["LIMIT", 1]]
1176
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1177
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
1178
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
1179
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.3ms)
1151
1180
   (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1152
1181
   (0.1ms) ROLLBACK
1153
1182
   (0.1ms) BEGIN
1154
1183
  ---------------------------------------------------------------
1155
- PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
1184
+ PushType::AuthenticatableTest::recoverable: test_0001_anonymous
1185
+ ---------------------------------------------------------------
1186
+  (0.0ms) SAVEPOINT active_record_1
1187
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1188
+  (0.0ms) SAVEPOINT active_record_1
1189
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1190
+  (0.1ms) ROLLBACK
1191
+  (0.1ms) BEGIN
1192
+ ---------------------------------------------------------------
1193
+ PushType::AuthenticatableTest::validatable: test_0001_anonymous
1156
1194
  ---------------------------------------------------------------
1157
1195
   (0.1ms) SAVEPOINT active_record_1
1158
1196
   (0.1ms) RELEASE SAVEPOINT active_record_1
1159
1197
   (0.1ms) SAVEPOINT active_record_1
1160
-  (0.1ms) SAVEPOINT active_record_2
1161
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1162
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1163
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", 2016-07-28 15:23:37 UTC], ["updated_at", 2016-07-28 15:23:37 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-28 15:23:37 UTC], ["confirmation_sent_at", 2016-07-28 15:23:37 UTC]]
1164
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1165
-  (0.1ms) SAVEPOINT active_record_2
1166
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1167
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1168
- 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-11@example.com"], ["created_at", 2016-07-28 15:23:37 UTC], ["updated_at", 2016-07-28 15:23:37 UTC], ["confirmation_token", "Dehg_hBsCJnAPcyLJrvU"], ["confirmation_sent_at", 2016-07-28 15:23:37 UTC]]
1169
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1170
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1171
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1172
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1173
- Sent mail to joe-11@example.com (3.4ms)
1174
- Date: Thu, 28 Jul 2016 16:23:38 +0100
1175
- From: pushtype@example.com
1176
- Reply-To: pushtype@example.com
1177
- To: joe-11@example.com
1178
- Message-ID: <579a237a79ac_92fd3fe72183f9e4718d9@Aarons-iMac.local.mail>
1179
- Subject: [PushType] Confirm your account
1180
- Mime-Version: 1.0
1181
- Content-Type: multipart/alternative;
1182
- boundary="--==_mimepart_579a237a7559_92fd3fe72183f9e4717dc";
1183
- charset=UTF-8
1184
- Content-Transfer-Encoding: 7bit
1185
-
1186
-
1187
- ----==_mimepart_579a237a7559_92fd3fe72183f9e4717dc
1188
- Content-Type: text/plain;
1189
- charset=UTF-8
1190
- Content-Transfer-Encoding: 7bit
1191
-
1192
- PushType ( http://localhost:3000/push_type/ )
1193
-
1194
- Hello Joe Bloggs
1195
-
1198
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1199
+  (0.1ms) ROLLBACK
1200
+  (0.1ms) BEGIN
1201
+ ---------------------------------------------------------------
1202
+ PushType::AuthenticatableTest::validatable: test_0002_anonymous
1203
+ ---------------------------------------------------------------
1204
+  (0.1ms) SAVEPOINT active_record_1
1205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1206
+  (0.1ms) SAVEPOINT active_record_1
1207
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1208
+  (0.1ms) ROLLBACK
1209
+  (0.1ms) BEGIN
1210
+ ---------------------------------------------------------------
1211
+ PushType::AuthenticatableTest::confirmable: test_0001_anonymous
1212
+ ---------------------------------------------------------------
1213
+  (0.1ms) SAVEPOINT active_record_1
1214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1215
+  (0.1ms) SAVEPOINT active_record_1
1216
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1217
+  (0.1ms) ROLLBACK
1218
+  (0.0ms) BEGIN
1219
+ ------------------------------------------------------------------------------------------------------
1220
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
1221
+ ------------------------------------------------------------------------------------------------------
1222
+  (0.0ms) SAVEPOINT active_record_1
1223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1224
+  (0.0ms) SAVEPOINT active_record_1
1225
+ Processing by PushType::ConfirmationsController#show as HTML
1226
+ Parameters: {"confirmation_token"=>"invalid"}
1227
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1228
+ 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 $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1229
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "26a46c132adddd7c0069d0a058062f559cc8f71df76fb0b184a7dc3e5450c16f"], ["LIMIT", 1]]
1230
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
1231
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
1232
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (3.2ms)
1233
+ Completed 200 OK in 197ms (Views: 9.9ms | ActiveRecord: 0.4ms)
1234
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1235
+  (0.1ms) ROLLBACK
1236
+  (0.1ms) BEGIN
1237
+ ------------------------------------------------------------------------------------------------------
1238
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
1239
+ ------------------------------------------------------------------------------------------------------
1240
+  (0.1ms) SAVEPOINT active_record_1
1241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1242
+  (0.1ms) SAVEPOINT active_record_1
1243
+ Processing by PushType::ConfirmationsController#show as HTML
1244
+ Parameters: {"confirmation_token"=>"invalid"}
1245
+ 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 $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1246
+ 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 $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1247
+ 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 $2 [["confirmation_token", "26a46c132adddd7c0069d0a058062f559cc8f71df76fb0b184a7dc3e5450c16f"], ["LIMIT", 1]]
1248
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
1249
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1250
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.5ms)
1251
+ Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.3ms)
1252
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1253
+  (0.1ms) ROLLBACK
1254
+  (0.1ms) BEGIN
1255
+ --------------------------------------------------------
1256
+ PushType::AuthenticationMethodsTest: test_0001_anonymous
1257
+ --------------------------------------------------------
1258
+  (0.0ms) SAVEPOINT active_record_1
1259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1260
+  (0.0ms) SAVEPOINT active_record_1
1261
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1262
+  (0.1ms) ROLLBACK
1263
+  (0.1ms) BEGIN
1264
+ --------------------------------------------------------
1265
+ PushType::AuthenticationMethodsTest: test_0002_anonymous
1266
+ --------------------------------------------------------
1267
+  (0.1ms) SAVEPOINT active_record_1
1268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1269
+  (0.0ms) SAVEPOINT active_record_1
1270
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1271
+  (0.0ms) ROLLBACK
1272
+  (0.1ms) BEGIN
1273
+ -----------------------------------------------------------------------------------
1274
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
1275
+ -----------------------------------------------------------------------------------
1276
+  (0.1ms) SAVEPOINT active_record_1
1277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1278
+  (0.1ms) SAVEPOINT active_record_1
1279
+  (0.1ms) SAVEPOINT active_record_2
1280
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1281
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1282
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1283
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1284
+ Processing by PushType::ProfilesController#update as HTML
1285
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1286
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "e2bf778f-574d-41c9-a43f-dd640b8bdb2e"], ["LIMIT", 1]]
1287
+  (0.1ms) SAVEPOINT active_record_2
1288
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-11@example.com"], ["id", "e2bf778f-574d-41c9-a43f-dd640b8bdb2e"], ["LIMIT", 1]]
1289
+ SQL (0.4ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-08-02 20:00:48 UTC], ["id", "e2bf778f-574d-41c9-a43f-dd640b8bdb2e"]]
1290
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1291
+ Redirected to http://test.host/push_type/profile/edit
1292
+ Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
1293
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "e2bf778f-574d-41c9-a43f-dd640b8bdb2e"], ["LIMIT", 1]]
1294
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1295
+  (0.1ms) ROLLBACK
1296
+  (0.1ms) BEGIN
1297
+ -----------------------------------------------------------------------------------
1298
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
1299
+ -----------------------------------------------------------------------------------
1300
+  (0.1ms) SAVEPOINT active_record_1
1301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1302
+  (0.1ms) SAVEPOINT active_record_1
1303
+  (0.1ms) SAVEPOINT active_record_2
1304
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1305
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1306
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1307
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1308
+ Processing by PushType::ProfilesController#update as HTML
1309
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1310
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "2e5beb74-c538-4971-b86a-6bf6cd670788"], ["LIMIT", 1]]
1311
+  (0.1ms) SAVEPOINT active_record_2
1312
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-12@example.com"], ["id", "2e5beb74-c538-4971-b86a-6bf6cd670788"], ["LIMIT", 1]]
1313
+ 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-08-02 20:00:48 UTC], ["id", "2e5beb74-c538-4971-b86a-6bf6cd670788"]]
1314
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1315
+ Redirected to http://test.host/push_type/profile/edit
1316
+ Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
1317
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1318
+  (0.1ms) ROLLBACK
1319
+  (0.1ms) BEGIN
1320
+ -----------------------------------------------------------------------------------
1321
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
1322
+ -----------------------------------------------------------------------------------
1323
+  (0.1ms) SAVEPOINT active_record_1
1324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1325
+  (0.0ms) SAVEPOINT active_record_1
1326
+  (0.1ms) SAVEPOINT active_record_2
1327
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1328
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1329
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1330
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1331
+ Processing by PushType::ProfilesController#update as HTML
1332
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
1333
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "1dcd1708-62b9-4734-ad32-06b102563a4c"], ["LIMIT", 1]]
1334
+  (0.1ms) SAVEPOINT active_record_2
1335
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-13@example.com"], ["id", "1dcd1708-62b9-4734-ad32-06b102563a4c"], ["LIMIT", 1]]
1336
+ 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-08-02 20:00:48 UTC], ["id", "1dcd1708-62b9-4734-ad32-06b102563a4c"]]
1337
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1338
+ Redirected to http://test.host/push_type/profile/edit
1339
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
1340
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1341
+  (0.1ms) ROLLBACK
1342
+  (0.1ms) BEGIN
1343
+ ----------------------------------------------------------------------------------------
1344
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
1345
+ ----------------------------------------------------------------------------------------
1346
+  (0.1ms) SAVEPOINT active_record_1
1347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1348
+  (0.1ms) SAVEPOINT active_record_1
1349
+  (0.1ms) SAVEPOINT active_record_2
1350
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1351
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1352
+ 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-14@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "ybsJy4ipByXygs7SuBwM"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1353
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1354
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1355
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
1356
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.3ms
1357
+ Sent mail to joe-14@example.com (3.8ms)
1358
+ Date: Tue, 02 Aug 2016 21:00:48 +0100
1359
+ From: pushtype@example.com
1360
+ Reply-To: pushtype@example.com
1361
+ To: joe-14@example.com
1362
+ Message-ID: <57a0fbf0bdc26_fabe3ffa2c43f9fc7993e@Aarons-iMac.local.mail>
1363
+ Subject: [PushType] Confirm your account
1364
+ Mime-Version: 1.0
1365
+ Content-Type: multipart/alternative;
1366
+ boundary="--==_mimepart_57a0fbf0bd77d_fabe3ffa2c43f9fc79897";
1367
+ charset=UTF-8
1368
+ Content-Transfer-Encoding: 7bit
1369
+
1370
+
1371
+ ----==_mimepart_57a0fbf0bd77d_fabe3ffa2c43f9fc79897
1372
+ Content-Type: text/plain;
1373
+ charset=UTF-8
1374
+ Content-Transfer-Encoding: 7bit
1375
+
1376
+ PushType ( http://localhost:3000/push_type/ )
1377
+
1378
+ Hello Joe Bloggs
1379
+
1196
1380
  You're receiving this email because a PushType account has been
1197
1381
  created for you.
1198
1382
 
@@ -1200,11 +1384,11 @@ To get started, confirm your account and set your own password by
1200
1384
  clicking the link below:
1201
1385
 
1202
1386
  Confirm my account
1203
- ( http://localhost:3000/push_type/confirmation?confirmation_token=Dehg_hBsCJnAPcyLJrvU )
1387
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=ybsJy4ipByXygs7SuBwM )
1204
1388
 
1205
1389
 
1206
1390
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1207
- ----==_mimepart_579a237a7559_92fd3fe72183f9e4717dc
1391
+ ----==_mimepart_57a0fbf0bd77d_fabe3ffa2c43f9fc79897
1208
1392
  Content-Type: text/html;
1209
1393
  charset=UTF-8
1210
1394
  Content-Transfer-Encoding: 7bit
@@ -1250,7 +1434,7 @@ body {
1250
1434
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1251
1435
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1252
1436
  <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;">
1253
- <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=Dehg_hBsCJnAPcyLJrvU" 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>
1437
+ <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=ybsJy4ipByXygs7SuBwM" 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>
1254
1438
  </td>
1255
1439
  </tr>
1256
1440
  </table>
@@ -1295,32 +1479,53 @@ body {
1295
1479
  </body>
1296
1480
  </html>
1297
1481
 
1298
- ----==_mimepart_579a237a7559_92fd3fe72183f9e4717dc--
1482
+ ----==_mimepart_57a0fbf0bd77d_fabe3ffa2c43f9fc79897--
1299
1483
 
1300
- Processing by PushType::UsersController#invite as HTML
1301
- Parameters: {"id"=>"8ea20d8e-ff17-474f-9850-d4ebdfe83217"}
1302
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "10d58078-7212-4c5a-a19c-a122f6abf797"], ["LIMIT", 1]]
1303
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "8ea20d8e-ff17-474f-9850-d4ebdfe83217"], ["LIMIT", 1]]
1484
+ Processing by PushType::ConfirmationsController#update as HTML
1485
+ Parameters: {"user"=>{"confirmation_token"=>"ybsJy4ipByXygs7SuBwM", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1486
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "ybsJy4ipByXygs7SuBwM"], ["LIMIT", 1]]
1487
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-14@example.com"], ["id", "e07f67dc-ab68-48ab-b79f-477aa61ecb57"], ["LIMIT", 1]]
1304
1488
   (0.1ms) SAVEPOINT active_record_2
1489
+ 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$.B7mvtAuWsvd67vY3Ingfu9UpM.PemRFwP9K6ySyDM8AHRP7QXub."], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["id", "e07f67dc-ab68-48ab-b79f-477aa61ecb57"]]
1490
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1491
+  (0.1ms) SAVEPOINT active_record_2
1492
+ SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-08-02 20:00:48 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-08-02 20:00:48 UTC], ["last_sign_in_at", 2016-08-02 20:00:48 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "e07f67dc-ab68-48ab-b79f-477aa61ecb57"]]
1493
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1494
+ Redirected to http://test.host/push_type/
1495
+ Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
1496
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "e07f67dc-ab68-48ab-b79f-477aa61ecb57"], ["LIMIT", 1]]
1497
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1498
+  (0.1ms) ROLLBACK
1499
+  (0.1ms) BEGIN
1500
+ ----------------------------------------------------------------------------------------
1501
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
1502
+ ----------------------------------------------------------------------------------------
1503
+  (0.1ms) SAVEPOINT active_record_1
1504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1505
+  (0.0ms) SAVEPOINT active_record_1
1506
+  (0.1ms) SAVEPOINT active_record_2
1507
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1508
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1509
+ 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-15@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "TAQHmJX_swC1LUuur2Xt"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1305
1510
   (0.1ms) RELEASE SAVEPOINT active_record_2
1306
1511
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1307
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1308
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1309
- Sent mail to joe-11@example.com (3.7ms)
1310
- Date: Thu, 28 Jul 2016 16:23:38 +0100
1512
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1513
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
1514
+ Sent mail to joe-15@example.com (3.4ms)
1515
+ Date: Tue, 02 Aug 2016 21:00:48 +0100
1311
1516
  From: pushtype@example.com
1312
1517
  Reply-To: pushtype@example.com
1313
- To: joe-11@example.com
1314
- Message-ID: <579a237a11485_92fd3fe72183f9e472187@Aarons-iMac.local.mail>
1518
+ To: joe-15@example.com
1519
+ Message-ID: <57a0fbf0ca82c_fabe3ffa2c43f9fc80289@Aarons-iMac.local.mail>
1315
1520
  Subject: [PushType] Confirm your account
1316
1521
  Mime-Version: 1.0
1317
1522
  Content-Type: multipart/alternative;
1318
- boundary="--==_mimepart_579a237a11038_92fd3fe72183f9e4720fe";
1523
+ boundary="--==_mimepart_57a0fbf0ca3f7_fabe3ffa2c43f9fc801d3";
1319
1524
  charset=UTF-8
1320
1525
  Content-Transfer-Encoding: 7bit
1321
1526
 
1322
1527
 
1323
- ----==_mimepart_579a237a11038_92fd3fe72183f9e4720fe
1528
+ ----==_mimepart_57a0fbf0ca3f7_fabe3ffa2c43f9fc801d3
1324
1529
  Content-Type: text/plain;
1325
1530
  charset=UTF-8
1326
1531
  Content-Transfer-Encoding: 7bit
@@ -1336,11 +1541,11 @@ To get started, confirm your account and set your own password by
1336
1541
  clicking the link below:
1337
1542
 
1338
1543
  Confirm my account
1339
- ( http://localhost:3000/push_type/confirmation?confirmation_token=Dehg_hBsCJnAPcyLJrvU )
1544
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=TAQHmJX_swC1LUuur2Xt )
1340
1545
 
1341
1546
 
1342
1547
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1343
- ----==_mimepart_579a237a11038_92fd3fe72183f9e4720fe
1548
+ ----==_mimepart_57a0fbf0ca3f7_fabe3ffa2c43f9fc801d3
1344
1549
  Content-Type: text/html;
1345
1550
  charset=UTF-8
1346
1551
  Content-Transfer-Encoding: 7bit
@@ -1386,7 +1591,7 @@ body {
1386
1591
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1387
1592
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1388
1593
  <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;">
1389
- <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=Dehg_hBsCJnAPcyLJrvU" 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>
1594
+ <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=TAQHmJX_swC1LUuur2Xt" 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>
1390
1595
  </td>
1391
1596
  </tr>
1392
1597
  </table>
@@ -1431,47 +1636,61 @@ body {
1431
1636
  </body>
1432
1637
  </html>
1433
1638
 
1434
- ----==_mimepart_579a237a11038_92fd3fe72183f9e4720fe--
1639
+ ----==_mimepart_57a0fbf0ca3f7_fabe3ffa2c43f9fc801d3--
1435
1640
 
1436
- Redirected to http://test.host/push_type/users
1437
- Completed 302 Found in 40ms (ActiveRecord: 0.6ms)
1641
+ Processing by PushType::ConfirmationsController#update as HTML
1642
+ Parameters: {"user"=>{"confirmation_token"=>"TAQHmJX_swC1LUuur2Xt", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1643
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "TAQHmJX_swC1LUuur2Xt"], ["LIMIT", 1]]
1644
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-15@example.com"], ["id", "668dbcbb-631d-494c-af12-490eb2b0f6b9"], ["LIMIT", 1]]
1645
+  (0.1ms) SAVEPOINT active_record_2
1646
+ 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$3xuSe7nDwX4u/5zAYMabXup51/xsCBAhbhgT.dg0e8HNpPVBghxXq"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["id", "668dbcbb-631d-494c-af12-490eb2b0f6b9"]]
1647
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1648
+  (0.1ms) SAVEPOINT active_record_2
1649
+ SQL (0.3ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-08-02 20:00:48 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-08-02 20:00:48 UTC], ["last_sign_in_at", 2016-08-02 20:00:48 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "668dbcbb-631d-494c-af12-490eb2b0f6b9"]]
1650
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1651
+ Redirected to http://test.host/push_type/
1652
+ Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
1438
1653
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1439
1654
   (0.1ms) ROLLBACK
1440
1655
   (0.1ms) BEGIN
1441
- ---------------------------------------------------------------
1442
- PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
1443
- ---------------------------------------------------------------
1656
+ ----------------------------------------------------
1657
+ PushType::InvitationMethodsTest: test_0001_anonymous
1658
+ ----------------------------------------------------
1444
1659
   (0.1ms) SAVEPOINT active_record_1
1445
1660
   (0.0ms) RELEASE SAVEPOINT active_record_1
1446
1661
   (0.0ms) SAVEPOINT active_record_1
1662
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1663
+  (0.1ms) ROLLBACK
1664
+  (0.0ms) BEGIN
1665
+ --------------------------------------------------------------------------------------------------------------
1666
+ PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
1667
+ --------------------------------------------------------------------------------------------------------------
1668
+  (0.0ms) SAVEPOINT active_record_1
1669
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1670
+  (0.0ms) SAVEPOINT active_record_1
1447
1671
   (0.1ms) SAVEPOINT active_record_2
1448
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1449
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1450
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-28 15:23:38 UTC], ["confirmation_sent_at", 2016-07-28 15:23:38 UTC]]
1451
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1452
-  (0.1ms) SAVEPOINT active_record_2
1453
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1454
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1455
- 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-13@example.com"], ["created_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["confirmation_token", "B3-3UzjYNVw-zEzZTyn9"], ["confirmation_sent_at", 2016-07-28 15:23:38 UTC]]
1672
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
1673
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
1674
+ 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-16@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "9zkKpboN3MC1BdCRdUhU"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1456
1675
   (0.1ms) RELEASE SAVEPOINT active_record_2
1457
1676
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1458
1677
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1459
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
1460
- Sent mail to joe-13@example.com (4.0ms)
1461
- Date: Thu, 28 Jul 2016 16:23:38 +0100
1678
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1679
+ Sent mail to joe-16@example.com (3.4ms)
1680
+ Date: Tue, 02 Aug 2016 21:00:48 +0100
1462
1681
  From: pushtype@example.com
1463
1682
  Reply-To: pushtype@example.com
1464
- To: joe-13@example.com
1465
- Message-ID: <579a237a1ede2_92fd3fe72183f9e472479@Aarons-iMac.local.mail>
1683
+ To: joe-16@example.com
1684
+ Message-ID: <57a0fbf0d772e_fabe3ffa2c43f9fc80581@Aarons-iMac.local.mail>
1466
1685
  Subject: [PushType] Confirm your account
1467
1686
  Mime-Version: 1.0
1468
1687
  Content-Type: multipart/alternative;
1469
- boundary="--==_mimepart_579a237a1e8a6_92fd3fe72183f9e47233e";
1688
+ boundary="--==_mimepart_57a0fbf0d730b_fabe3ffa2c43f9fc8047b";
1470
1689
  charset=UTF-8
1471
1690
  Content-Transfer-Encoding: 7bit
1472
1691
 
1473
1692
 
1474
- ----==_mimepart_579a237a1e8a6_92fd3fe72183f9e47233e
1693
+ ----==_mimepart_57a0fbf0d730b_fabe3ffa2c43f9fc8047b
1475
1694
  Content-Type: text/plain;
1476
1695
  charset=UTF-8
1477
1696
  Content-Transfer-Encoding: 7bit
@@ -1487,11 +1706,11 @@ To get started, confirm your account and set your own password by
1487
1706
  clicking the link below:
1488
1707
 
1489
1708
  Confirm my account
1490
- ( http://localhost:3000/push_type/confirmation?confirmation_token=B3-3UzjYNVw-zEzZTyn9 )
1709
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=9zkKpboN3MC1BdCRdUhU )
1491
1710
 
1492
1711
 
1493
1712
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1494
- ----==_mimepart_579a237a1e8a6_92fd3fe72183f9e47233e
1713
+ ----==_mimepart_57a0fbf0d730b_fabe3ffa2c43f9fc8047b
1495
1714
  Content-Type: text/html;
1496
1715
  charset=UTF-8
1497
1716
  Content-Transfer-Encoding: 7bit
@@ -1537,7 +1756,7 @@ body {
1537
1756
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1538
1757
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1539
1758
  <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;">
1540
- <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=B3-3UzjYNVw-zEzZTyn9" 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>
1759
+ <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=9zkKpboN3MC1BdCRdUhU" 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>
1541
1760
  </td>
1542
1761
  </tr>
1543
1762
  </table>
@@ -1582,32 +1801,45 @@ body {
1582
1801
  </body>
1583
1802
  </html>
1584
1803
 
1585
- ----==_mimepart_579a237a1e8a6_92fd3fe72183f9e47233e--
1804
+ ----==_mimepart_57a0fbf0d730b_fabe3ffa2c43f9fc8047b--
1586
1805
 
1587
- Processing by PushType::UsersController#invite as HTML
1588
- Parameters: {"id"=>"785b5cdc-df5c-4798-9bfa-b4b4cd3bde97"}
1589
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "22eaffac-b4c2-4e19-90be-9e7e3e4de76f"], ["LIMIT", 1]]
1590
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "785b5cdc-df5c-4798-9bfa-b4b4cd3bde97"], ["LIMIT", 1]]
1591
-  (0.2ms) SAVEPOINT active_record_2
1806
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1807
+  (0.1ms) ROLLBACK
1808
+  (0.0ms) BEGIN
1809
+ ---------------------------------------------------------------
1810
+ PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
1811
+ ---------------------------------------------------------------
1812
+  (0.0ms) SAVEPOINT active_record_1
1813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1814
+  (0.0ms) SAVEPOINT active_record_1
1815
+  (0.1ms) SAVEPOINT active_record_2
1816
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
1817
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
1818
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1819
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1820
+  (0.1ms) SAVEPOINT active_record_2
1821
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
1822
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
1823
+ 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-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "qenwjwtZxdDUeBmCmyW_"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1592
1824
   (0.1ms) RELEASE SAVEPOINT active_record_2
1593
1825
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1594
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1595
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
1596
- Sent mail to joe-13@example.com (3.5ms)
1597
- Date: Thu, 28 Jul 2016 16:23:38 +0100
1826
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1827
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1828
+ Sent mail to joe-18@example.com (3.9ms)
1829
+ Date: Tue, 02 Aug 2016 21:00:48 +0100
1598
1830
  From: pushtype@example.com
1599
1831
  Reply-To: pushtype@example.com
1600
- To: joe-13@example.com
1601
- Message-ID: <579a237a2accb_92fd3fe72183f9e472778@Aarons-iMac.local.mail>
1832
+ To: joe-18@example.com
1833
+ Message-ID: <57a0fbf0e321f_fabe3ffa2c43f9fc80859@Aarons-iMac.local.mail>
1602
1834
  Subject: [PushType] Confirm your account
1603
1835
  Mime-Version: 1.0
1604
1836
  Content-Type: multipart/alternative;
1605
- boundary="--==_mimepart_579a237a2a876_92fd3fe72183f9e472692";
1837
+ boundary="--==_mimepart_57a0fbf0e2d7c_fabe3ffa2c43f9fc80791";
1606
1838
  charset=UTF-8
1607
1839
  Content-Transfer-Encoding: 7bit
1608
1840
 
1609
1841
 
1610
- ----==_mimepart_579a237a2a876_92fd3fe72183f9e472692
1842
+ ----==_mimepart_57a0fbf0e2d7c_fabe3ffa2c43f9fc80791
1611
1843
  Content-Type: text/plain;
1612
1844
  charset=UTF-8
1613
1845
  Content-Transfer-Encoding: 7bit
@@ -1623,11 +1855,11 @@ To get started, confirm your account and set your own password by
1623
1855
  clicking the link below:
1624
1856
 
1625
1857
  Confirm my account
1626
- ( http://localhost:3000/push_type/confirmation?confirmation_token=B3-3UzjYNVw-zEzZTyn9 )
1858
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=qenwjwtZxdDUeBmCmyW_ )
1627
1859
 
1628
1860
 
1629
1861
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1630
- ----==_mimepart_579a237a2a876_92fd3fe72183f9e472692
1862
+ ----==_mimepart_57a0fbf0e2d7c_fabe3ffa2c43f9fc80791
1631
1863
  Content-Type: text/html;
1632
1864
  charset=UTF-8
1633
1865
  Content-Transfer-Encoding: 7bit
@@ -1673,7 +1905,7 @@ body {
1673
1905
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1674
1906
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1675
1907
  <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;">
1676
- <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=B3-3UzjYNVw-zEzZTyn9" 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>
1908
+ <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=qenwjwtZxdDUeBmCmyW_" 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>
1677
1909
  </td>
1678
1910
  </tr>
1679
1911
  </table>
@@ -1718,179 +1950,32 @@ body {
1718
1950
  </body>
1719
1951
  </html>
1720
1952
 
1721
- ----==_mimepart_579a237a2a876_92fd3fe72183f9e472692--
1953
+ ----==_mimepart_57a0fbf0e2d7c_fabe3ffa2c43f9fc80791--
1722
1954
 
1723
- Redirected to http://test.host/push_type/users
1724
- Completed 302 Found in 48ms (ActiveRecord: 0.5ms)
1725
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1726
-  (0.1ms) ROLLBACK
1727
-  (0.1ms) BEGIN
1728
- ----------------------------------------------------------------
1729
- PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
1730
- ----------------------------------------------------------------
1731
-  (0.1ms) SAVEPOINT active_record_1
1732
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1733
-  (0.0ms) SAVEPOINT active_record_1
1734
-  (0.1ms) SAVEPOINT active_record_2
1735
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1736
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1737
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-28 15:23:38 UTC], ["confirmation_sent_at", 2016-07-28 15:23:38 UTC]]
1738
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1739
- Processing by PushType::ProfilesController#edit as HTML
1740
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "3485b01e-bf0b-479a-bc90-2113c67889bb"], ["LIMIT", 1]]
1741
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
1742
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (7.3ms)
1743
- Completed 200 OK in 24ms (Views: 18.5ms | ActiveRecord: 0.1ms)
1744
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1745
-  (0.1ms) ROLLBACK
1746
-  (0.1ms) BEGIN
1747
- ----------------------------------------------------------------
1748
- PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
1749
- ----------------------------------------------------------------
1750
-  (0.1ms) SAVEPOINT active_record_1
1751
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1752
-  (0.0ms) SAVEPOINT active_record_1
1753
-  (0.1ms) SAVEPOINT active_record_2
1754
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1755
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1756
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-28 15:23:38 UTC], ["confirmation_sent_at", 2016-07-28 15:23:38 UTC]]
1757
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1758
- Processing by PushType::ProfilesController#edit as HTML
1759
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "c4bb01db-184f-4126-8b50-89466f72092f"], ["LIMIT", 1]]
1760
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
1761
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
1762
- Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms)
1763
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1764
-  (0.1ms) ROLLBACK
1765
-  (0.1ms) BEGIN
1766
- ---------------------------------------------------------------------------
1767
- PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
1768
- ---------------------------------------------------------------------------
1769
-  (0.1ms) SAVEPOINT active_record_1
1770
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1771
-  (0.1ms) SAVEPOINT active_record_1
1772
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1773
-  (0.0ms) ROLLBACK
1774
-  (0.1ms) BEGIN
1775
- ---------------------------------------------------------------------------
1776
- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
1777
- ---------------------------------------------------------------------------
1778
-  (0.0ms) SAVEPOINT active_record_1
1779
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1780
-  (0.0ms) SAVEPOINT active_record_1
1781
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1782
-  (0.1ms) ROLLBACK
1783
-  (0.1ms) BEGIN
1784
- -------------------------------------------------------------
1785
- PushType::AuthenticatableTest::trackable: test_0001_anonymous
1786
- -------------------------------------------------------------
1787
-  (0.0ms) SAVEPOINT active_record_1
1788
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1789
-  (0.1ms) SAVEPOINT active_record_1
1790
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1791
-  (0.1ms) ROLLBACK
1792
-  (0.1ms) BEGIN
1793
- ----------------------------------------------------
1794
- PushType::InvitationMethodsTest: test_0001_anonymous
1795
- ----------------------------------------------------
1796
-  (0.1ms) SAVEPOINT active_record_1
1797
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1798
-  (0.0ms) SAVEPOINT active_record_1
1799
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1800
-  (0.0ms) ROLLBACK
1801
-  (0.1ms) BEGIN
1802
- --------------------------------------------------------------------------------------
1803
- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
1804
- --------------------------------------------------------------------------------------
1805
-  (0.0ms) SAVEPOINT active_record_1
1806
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1807
-  (0.0ms) SAVEPOINT active_record_1
1808
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1809
-  (0.0ms) ROLLBACK
1810
-  (0.1ms) BEGIN
1811
- --------------------------------------------------------
1812
- PushType::AuthenticationMethodsTest: test_0001_anonymous
1813
- --------------------------------------------------------
1814
-  (0.1ms) SAVEPOINT active_record_1
1815
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1816
-  (0.0ms) SAVEPOINT active_record_1
1817
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1818
-  (0.0ms) ROLLBACK
1819
-  (0.1ms) BEGIN
1820
- --------------------------------------------------------
1821
- PushType::AuthenticationMethodsTest: test_0002_anonymous
1822
- --------------------------------------------------------
1823
-  (0.0ms) SAVEPOINT active_record_1
1824
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1825
-  (0.0ms) SAVEPOINT active_record_1
1826
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1827
-  (0.0ms) ROLLBACK
1828
-  (0.1ms) BEGIN
1829
- ------------------------------------------------------------------------------------------------------
1830
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
1831
- ------------------------------------------------------------------------------------------------------
1832
-  (0.1ms) SAVEPOINT active_record_1
1833
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1834
-  (0.0ms) SAVEPOINT active_record_1
1835
- Processing by PushType::ConfirmationsController#show as HTML
1836
- Parameters: {"confirmation_token"=>"invalid"}
1837
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1838
- 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 $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1839
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "3e850e283f2206a00c652b3600029aa8f55a199a5fb482bb364dae0943d96245"], ["LIMIT", 1]]
1840
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
1841
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1842
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (2.9ms)
1843
- Completed 200 OK in 184ms (Views: 11.1ms | ActiveRecord: 0.5ms)
1844
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1845
-  (0.1ms) ROLLBACK
1846
-  (0.1ms) BEGIN
1847
- ------------------------------------------------------------------------------------------------------
1848
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
1849
- ------------------------------------------------------------------------------------------------------
1850
-  (0.1ms) SAVEPOINT active_record_1
1851
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1852
-  (0.1ms) SAVEPOINT active_record_1
1853
- Processing by PushType::ConfirmationsController#show as HTML
1854
- Parameters: {"confirmation_token"=>"invalid"}
1855
- 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 $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1856
- 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 $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1857
- 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 $2 [["confirmation_token", "3e850e283f2206a00c652b3600029aa8f55a199a5fb482bb364dae0943d96245"], ["LIMIT", 1]]
1858
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
1859
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1860
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.5ms)
1861
- Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.3ms)
1862
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1863
-  (0.1ms) ROLLBACK
1864
-  (0.1ms) BEGIN
1865
- ----------------------------------------------------------------------------------------------------
1866
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
1867
- ----------------------------------------------------------------------------------------------------
1868
-  (0.1ms) SAVEPOINT active_record_1
1869
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1870
-  (0.0ms) SAVEPOINT active_record_1
1955
+ Processing by PushType::UsersController#invite as HTML
1956
+ Parameters: {"id"=>"6016f92d-215a-4240-aac0-845ef80997c7"}
1957
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "c535b6d4-0e4b-4eaf-95c7-969e8f79a053"], ["LIMIT", 1]]
1958
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "6016f92d-215a-4240-aac0-845ef80997c7"], ["LIMIT", 1]]
1871
1959
   (0.1ms) SAVEPOINT active_record_2
1872
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
1873
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
1874
- 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-16@example.com"], ["created_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["confirmation_token", "dJEt5kWAMLw4HwVRB35G"], ["confirmation_sent_at", 2016-07-28 15:23:38 UTC]]
1875
1960
   (0.1ms) RELEASE SAVEPOINT active_record_2
1876
1961
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1877
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1878
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
1879
- Sent mail to joe-16@example.com (3.4ms)
1880
- Date: Thu, 28 Jul 2016 16:23:38 +0100
1962
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
1963
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 4.1ms
1964
+ Sent mail to joe-18@example.com (3.8ms)
1965
+ Date: Tue, 02 Aug 2016 21:00:48 +0100
1881
1966
  From: pushtype@example.com
1882
1967
  Reply-To: pushtype@example.com
1883
- To: joe-16@example.com
1884
- Message-ID: <579a237a73b59_92fd3fe72183f9e473047@Aarons-iMac.local.mail>
1968
+ To: joe-18@example.com
1969
+ Message-ID: <57a0fbf0efc1b_fabe3ffa2c43f9fc811f@Aarons-iMac.local.mail>
1885
1970
  Subject: [PushType] Confirm your account
1886
1971
  Mime-Version: 1.0
1887
1972
  Content-Type: multipart/alternative;
1888
- boundary="--==_mimepart_579a237a73726_92fd3fe72183f9e4729aa";
1973
+ boundary="--==_mimepart_57a0fbf0ef72e_fabe3ffa2c43f9fc810a4";
1889
1974
  charset=UTF-8
1890
1975
  Content-Transfer-Encoding: 7bit
1891
1976
 
1892
1977
 
1893
- ----==_mimepart_579a237a73726_92fd3fe72183f9e4729aa
1978
+ ----==_mimepart_57a0fbf0ef72e_fabe3ffa2c43f9fc810a4
1894
1979
  Content-Type: text/plain;
1895
1980
  charset=UTF-8
1896
1981
  Content-Transfer-Encoding: 7bit
@@ -1906,11 +1991,11 @@ To get started, confirm your account and set your own password by
1906
1991
  clicking the link below:
1907
1992
 
1908
1993
  Confirm my account
1909
- ( http://localhost:3000/push_type/confirmation?confirmation_token=dJEt5kWAMLw4HwVRB35G )
1994
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=qenwjwtZxdDUeBmCmyW_ )
1910
1995
 
1911
1996
 
1912
1997
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1913
- ----==_mimepart_579a237a73726_92fd3fe72183f9e4729aa
1998
+ ----==_mimepart_57a0fbf0ef72e_fabe3ffa2c43f9fc810a4
1914
1999
  Content-Type: text/html;
1915
2000
  charset=UTF-8
1916
2001
  Content-Transfer-Encoding: 7bit
@@ -1956,7 +2041,7 @@ body {
1956
2041
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1957
2042
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1958
2043
  <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;">
1959
- <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=dJEt5kWAMLw4HwVRB35G" 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>
2044
+ <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=qenwjwtZxdDUeBmCmyW_" 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>
1960
2045
  </td>
1961
2046
  </tr>
1962
2047
  </table>
@@ -2001,47 +2086,47 @@ body {
2001
2086
  </body>
2002
2087
  </html>
2003
2088
 
2004
- ----==_mimepart_579a237a73726_92fd3fe72183f9e4729aa--
2089
+ ----==_mimepart_57a0fbf0ef72e_fabe3ffa2c43f9fc810a4--
2005
2090
 
2006
- Processing by PushType::ConfirmationsController#show as HTML
2007
- Parameters: {"confirmation_token"=>"dJEt5kWAMLw4HwVRB35G"}
2008
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "dJEt5kWAMLw4HwVRB35G"], ["LIMIT", 1]]
2009
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
2010
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2011
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
2012
- Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms)
2091
+ Redirected to http://test.host/push_type/users
2092
+ Completed 302 Found in 51ms (ActiveRecord: 0.5ms)
2013
2093
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2014
2094
   (0.1ms) ROLLBACK
2015
2095
   (0.1ms) BEGIN
2016
- ----------------------------------------------------------------------------------------------------
2017
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
2018
- ----------------------------------------------------------------------------------------------------
2096
+ ---------------------------------------------------------------
2097
+ PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
2098
+ ---------------------------------------------------------------
2019
2099
   (0.0ms) SAVEPOINT active_record_1
2020
2100
   (0.0ms) RELEASE SAVEPOINT active_record_1
2021
2101
   (0.0ms) SAVEPOINT active_record_1
2022
2102
   (0.1ms) SAVEPOINT active_record_2
2023
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
2024
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
2025
- 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-17@example.com"], ["created_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["confirmation_token", "opM4AY2stdZHrX3GTG5w"], ["confirmation_sent_at", 2016-07-28 15:23:38 UTC]]
2103
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2104
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2105
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
2106
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2107
+  (0.1ms) SAVEPOINT active_record_2
2108
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2109
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2110
+ 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-20@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "dWV39ThZToHkH4qR96JD"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
2026
2111
   (0.1ms) RELEASE SAVEPOINT active_record_2
2027
2112
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2028
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2029
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
2030
- Sent mail to joe-17@example.com (3.9ms)
2031
- Date: Thu, 28 Jul 2016 16:23:38 +0100
2113
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
2114
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
2115
+ Sent mail to joe-20@example.com (3.3ms)
2116
+ Date: Tue, 02 Aug 2016 21:00:49 +0100
2032
2117
  From: pushtype@example.com
2033
2118
  Reply-To: pushtype@example.com
2034
- To: joe-17@example.com
2035
- Message-ID: <579a237a7f3f3_92fd3fe72183f9e47338@Aarons-iMac.local.mail>
2119
+ To: joe-20@example.com
2120
+ Message-ID: <57a0fbf128e78_fabe3ffa2c43f9fc81418@Aarons-iMac.local.mail>
2036
2121
  Subject: [PushType] Confirm your account
2037
2122
  Mime-Version: 1.0
2038
2123
  Content-Type: multipart/alternative;
2039
- boundary="--==_mimepart_579a237a7ef39_92fd3fe72183f9e4732c2";
2124
+ boundary="--==_mimepart_57a0fbf128a1d_fabe3ffa2c43f9fc8135";
2040
2125
  charset=UTF-8
2041
2126
  Content-Transfer-Encoding: 7bit
2042
2127
 
2043
2128
 
2044
- ----==_mimepart_579a237a7ef39_92fd3fe72183f9e4732c2
2129
+ ----==_mimepart_57a0fbf128a1d_fabe3ffa2c43f9fc8135
2045
2130
  Content-Type: text/plain;
2046
2131
  charset=UTF-8
2047
2132
  Content-Transfer-Encoding: 7bit
@@ -2057,11 +2142,11 @@ To get started, confirm your account and set your own password by
2057
2142
  clicking the link below:
2058
2143
 
2059
2144
  Confirm my account
2060
- ( http://localhost:3000/push_type/confirmation?confirmation_token=opM4AY2stdZHrX3GTG5w )
2145
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=dWV39ThZToHkH4qR96JD )
2061
2146
 
2062
2147
 
2063
2148
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2064
- ----==_mimepart_579a237a7ef39_92fd3fe72183f9e4732c2
2149
+ ----==_mimepart_57a0fbf128a1d_fabe3ffa2c43f9fc8135
2065
2150
  Content-Type: text/html;
2066
2151
  charset=UTF-8
2067
2152
  Content-Transfer-Encoding: 7bit
@@ -2107,7 +2192,7 @@ body {
2107
2192
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2108
2193
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2109
2194
  <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;">
2110
- <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=opM4AY2stdZHrX3GTG5w" 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>
2195
+ <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=dWV39ThZToHkH4qR96JD" 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>
2111
2196
  </td>
2112
2197
  </tr>
2113
2198
  </table>
@@ -2152,47 +2237,32 @@ body {
2152
2237
  </body>
2153
2238
  </html>
2154
2239
 
2155
- ----==_mimepart_579a237a7ef39_92fd3fe72183f9e4732c2--
2240
+ ----==_mimepart_57a0fbf128a1d_fabe3ffa2c43f9fc8135--
2156
2241
 
2157
- Processing by PushType::ConfirmationsController#show as HTML
2158
- Parameters: {"confirmation_token"=>"opM4AY2stdZHrX3GTG5w"}
2159
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "opM4AY2stdZHrX3GTG5w"], ["LIMIT", 1]]
2160
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
2161
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2162
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
2163
- Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms)
2164
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2165
-  (0.1ms) ROLLBACK
2166
-  (0.1ms) BEGIN
2167
- ----------------------------------------------------------------------------------------
2168
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
2169
- ----------------------------------------------------------------------------------------
2170
-  (0.1ms) SAVEPOINT active_record_1
2171
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2172
-  (0.0ms) SAVEPOINT active_record_1
2242
+ Processing by PushType::UsersController#invite as HTML
2243
+ Parameters: {"id"=>"7f62e5f5-37c1-4263-bb19-e5a654a10077"}
2244
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "ffa1ea48-d7dd-46ad-ac61-d79206668e23"], ["LIMIT", 1]]
2245
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "7f62e5f5-37c1-4263-bb19-e5a654a10077"], ["LIMIT", 1]]
2173
2246
   (0.1ms) SAVEPOINT active_record_2
2174
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
2175
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
2176
- 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-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["confirmation_token", "64tNfShMwPkvNzGWWuw1"], ["confirmation_sent_at", 2016-07-28 15:23:38 UTC]]
2177
2247
   (0.1ms) RELEASE SAVEPOINT active_record_2
2178
2248
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2179
2249
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2180
2250
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
2181
- Sent mail to joe-18@example.com (3.6ms)
2182
- Date: Thu, 28 Jul 2016 16:23:38 +0100
2251
+ Sent mail to joe-20@example.com (3.6ms)
2252
+ Date: Tue, 02 Aug 2016 21:00:49 +0100
2183
2253
  From: pushtype@example.com
2184
2254
  Reply-To: pushtype@example.com
2185
- To: joe-18@example.com
2186
- Message-ID: <579a237a8b88d_92fd3fe72183f9e473674@Aarons-iMac.local.mail>
2255
+ To: joe-20@example.com
2256
+ Message-ID: <57a0fbf1326c1_fabe3ffa2c43f9fc817cf@Aarons-iMac.local.mail>
2187
2257
  Subject: [PushType] Confirm your account
2188
2258
  Mime-Version: 1.0
2189
2259
  Content-Type: multipart/alternative;
2190
- boundary="--==_mimepart_579a237a8b3aa_92fd3fe72183f9e4735f2";
2260
+ boundary="--==_mimepart_57a0fbf1321fd_fabe3ffa2c43f9fc816b4";
2191
2261
  charset=UTF-8
2192
2262
  Content-Transfer-Encoding: 7bit
2193
2263
 
2194
2264
 
2195
- ----==_mimepart_579a237a8b3aa_92fd3fe72183f9e4735f2
2265
+ ----==_mimepart_57a0fbf1321fd_fabe3ffa2c43f9fc816b4
2196
2266
  Content-Type: text/plain;
2197
2267
  charset=UTF-8
2198
2268
  Content-Transfer-Encoding: 7bit
@@ -2208,11 +2278,11 @@ To get started, confirm your account and set your own password by
2208
2278
  clicking the link below:
2209
2279
 
2210
2280
  Confirm my account
2211
- ( http://localhost:3000/push_type/confirmation?confirmation_token=64tNfShMwPkvNzGWWuw1 )
2281
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=dWV39ThZToHkH4qR96JD )
2212
2282
 
2213
2283
 
2214
2284
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2215
- ----==_mimepart_579a237a8b3aa_92fd3fe72183f9e4735f2
2285
+ ----==_mimepart_57a0fbf1321fd_fabe3ffa2c43f9fc816b4
2216
2286
  Content-Type: text/html;
2217
2287
  charset=UTF-8
2218
2288
  Content-Transfer-Encoding: 7bit
@@ -2258,7 +2328,7 @@ body {
2258
2328
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2259
2329
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2260
2330
  <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;">
2261
- <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=64tNfShMwPkvNzGWWuw1" 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>
2331
+ <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=dWV39ThZToHkH4qR96JD" 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>
2262
2332
  </td>
2263
2333
  </tr>
2264
2334
  </table>
@@ -2303,53 +2373,47 @@ body {
2303
2373
  </body>
2304
2374
  </html>
2305
2375
 
2306
- ----==_mimepart_579a237a8b3aa_92fd3fe72183f9e4735f2--
2376
+ ----==_mimepart_57a0fbf1321fd_fabe3ffa2c43f9fc816b4--
2307
2377
 
2308
- Processing by PushType::ConfirmationsController#update as HTML
2309
- Parameters: {"user"=>{"confirmation_token"=>"64tNfShMwPkvNzGWWuw1", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2310
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "64tNfShMwPkvNzGWWuw1"], ["LIMIT", 1]]
2311
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-18@example.com"], ["id", "1a372e77-984b-4dc1-a67b-8d3bb0bd23ba"], ["LIMIT", 1]]
2312
-  (0.1ms) SAVEPOINT active_record_2
2313
- 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$DRC4G8W3K.XTJgUtXqMRMO.2gwI3Q7jCmONqUa7XJ0L/cdN633f4u"], ["confirmed_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["id", "1a372e77-984b-4dc1-a67b-8d3bb0bd23ba"]]
2314
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2315
-  (0.1ms) SAVEPOINT active_record_2
2316
- SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-07-28 15:23:38 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-07-28 15:23:38 UTC], ["last_sign_in_at", 2016-07-28 15:23:38 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "1a372e77-984b-4dc1-a67b-8d3bb0bd23ba"]]
2317
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2318
- Redirected to http://test.host/push_type/
2319
- Completed 302 Found in 8ms (ActiveRecord: 1.3ms)
2320
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "1a372e77-984b-4dc1-a67b-8d3bb0bd23ba"], ["LIMIT", 1]]
2378
+ Redirected to http://test.host/push_type/users
2379
+ Completed 302 Found in 39ms (ActiveRecord: 0.5ms)
2321
2380
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2322
2381
   (0.1ms) ROLLBACK
2323
2382
   (0.1ms) BEGIN
2324
- ----------------------------------------------------------------------------------------
2325
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
2326
- ----------------------------------------------------------------------------------------
2383
+ ---------------------------------------------------------------
2384
+ PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
2385
+ ---------------------------------------------------------------
2327
2386
   (0.1ms) SAVEPOINT active_record_1
2328
2387
   (0.0ms) RELEASE SAVEPOINT active_record_1
2329
2388
   (0.0ms) SAVEPOINT active_record_1
2330
2389
   (0.1ms) SAVEPOINT active_record_2
2331
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2332
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2333
- 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-19@example.com"], ["created_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["confirmation_token", "CsT4xj3g-zjzXJhmcaab"], ["confirmation_sent_at", 2016-07-28 15:23:38 UTC]]
2390
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2391
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2392
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", 2016-08-02 20:00:49 UTC], ["updated_at", 2016-08-02 20:00:49 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:49 UTC], ["confirmation_sent_at", 2016-08-02 20:00:49 UTC]]
2393
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2394
+  (0.1ms) SAVEPOINT active_record_2
2395
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2396
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2397
+ 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-22@example.com"], ["created_at", 2016-08-02 20:00:49 UTC], ["updated_at", 2016-08-02 20:00:49 UTC], ["confirmation_token", "uECzYvJ7k82TYrAyubwK"], ["confirmation_sent_at", 2016-08-02 20:00:49 UTC]]
2334
2398
   (0.1ms) RELEASE SAVEPOINT active_record_2
2335
2399
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2336
2400
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2337
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
2338
- Sent mail to joe-19@example.com (3.6ms)
2339
- Date: Thu, 28 Jul 2016 16:23:38 +0100
2401
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2402
+ Sent mail to joe-22@example.com (3.4ms)
2403
+ Date: Tue, 02 Aug 2016 21:00:49 +0100
2340
2404
  From: pushtype@example.com
2341
2405
  Reply-To: pushtype@example.com
2342
- To: joe-19@example.com
2343
- Message-ID: <579a237a989ae_92fd3fe72183f9e473921@Aarons-iMac.local.mail>
2406
+ To: joe-22@example.com
2407
+ Message-ID: <57a0fbf13ca00_fabe3ffa2c43f9fc8205a@Aarons-iMac.local.mail>
2344
2408
  Subject: [PushType] Confirm your account
2345
2409
  Mime-Version: 1.0
2346
2410
  Content-Type: multipart/alternative;
2347
- boundary="--==_mimepart_579a237a984fc_92fd3fe72183f9e473843";
2411
+ boundary="--==_mimepart_57a0fbf13c5e0_fabe3ffa2c43f9fc81992";
2348
2412
  charset=UTF-8
2349
2413
  Content-Transfer-Encoding: 7bit
2350
2414
 
2351
2415
 
2352
- ----==_mimepart_579a237a984fc_92fd3fe72183f9e473843
2416
+ ----==_mimepart_57a0fbf13c5e0_fabe3ffa2c43f9fc81992
2353
2417
  Content-Type: text/plain;
2354
2418
  charset=UTF-8
2355
2419
  Content-Transfer-Encoding: 7bit
@@ -2365,11 +2429,11 @@ To get started, confirm your account and set your own password by
2365
2429
  clicking the link below:
2366
2430
 
2367
2431
  Confirm my account
2368
- ( http://localhost:3000/push_type/confirmation?confirmation_token=CsT4xj3g-zjzXJhmcaab )
2432
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=uECzYvJ7k82TYrAyubwK )
2369
2433
 
2370
2434
 
2371
2435
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2372
- ----==_mimepart_579a237a984fc_92fd3fe72183f9e473843
2436
+ ----==_mimepart_57a0fbf13c5e0_fabe3ffa2c43f9fc81992
2373
2437
  Content-Type: text/html;
2374
2438
  charset=UTF-8
2375
2439
  Content-Transfer-Encoding: 7bit
@@ -2415,7 +2479,7 @@ body {
2415
2479
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2416
2480
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2417
2481
  <td class="padding" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 10px 0;">
2418
- <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=CsT4xj3g-zjzXJhmcaab" 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>
2482
+ <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=uECzYvJ7k82TYrAyubwK" 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>
2419
2483
  </td>
2420
2484
  </tr>
2421
2485
  </table>
@@ -2460,52 +2524,32 @@ body {
2460
2524
  </body>
2461
2525
  </html>
2462
2526
 
2463
- ----==_mimepart_579a237a984fc_92fd3fe72183f9e473843--
2527
+ ----==_mimepart_57a0fbf13c5e0_fabe3ffa2c43f9fc81992--
2464
2528
 
2465
- Processing by PushType::ConfirmationsController#update as HTML
2466
- Parameters: {"user"=>{"confirmation_token"=>"CsT4xj3g-zjzXJhmcaab", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2467
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "CsT4xj3g-zjzXJhmcaab"], ["LIMIT", 1]]
2468
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-19@example.com"], ["id", "d9fb561a-038c-4910-8caf-26d0d53155b6"], ["LIMIT", 1]]
2469
-  (0.1ms) SAVEPOINT active_record_2
2470
- 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$6FuoG6Jy8TeMH1IN8HDEB.73imUcjDpoejFnqofPTLrJCaubZC2Jy"], ["confirmed_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["id", "d9fb561a-038c-4910-8caf-26d0d53155b6"]]
2471
-  (0.2ms) RELEASE SAVEPOINT active_record_2
2472
-  (0.1ms) SAVEPOINT active_record_2
2473
- SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-07-28 15:23:38 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-07-28 15:23:38 UTC], ["last_sign_in_at", 2016-07-28 15:23:38 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "d9fb561a-038c-4910-8caf-26d0d53155b6"]]
2474
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2475
- Redirected to http://test.host/push_type/
2476
- Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
2477
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2478
-  (0.1ms) ROLLBACK
2479
-  (0.1ms) BEGIN
2480
- --------------------------------------------------------------------------------------------------------------
2481
- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
2482
- --------------------------------------------------------------------------------------------------------------
2483
-  (0.1ms) SAVEPOINT active_record_1
2484
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2485
-  (0.1ms) SAVEPOINT active_record_1
2529
+ Processing by PushType::UsersController#invite as HTML
2530
+ Parameters: {"id"=>"85b563c4-5eac-4d01-bbc1-b6746e3d4364"}
2531
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "40462e39-9661-4710-8c11-0128ce5524c8"], ["LIMIT", 1]]
2532
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "85b563c4-5eac-4d01-bbc1-b6746e3d4364"], ["LIMIT", 1]]
2486
2533
   (0.1ms) SAVEPOINT active_record_2
2487
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2488
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2489
- 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-20@example.com"], ["created_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["confirmation_token", "4b1ctE4VHLRWwPMzyzfJ"], ["confirmation_sent_at", 2016-07-28 15:23:38 UTC]]
2490
2534
   (0.1ms) RELEASE SAVEPOINT active_record_2
2491
2535
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2492
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2493
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
2494
- Sent mail to joe-20@example.com (3.5ms)
2495
- Date: Thu, 28 Jul 2016 16:23:38 +0100
2536
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2537
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
2538
+ Sent mail to joe-22@example.com (3.2ms)
2539
+ Date: Tue, 02 Aug 2016 21:00:49 +0100
2496
2540
  From: pushtype@example.com
2497
2541
  Reply-To: pushtype@example.com
2498
- To: joe-20@example.com
2499
- Message-ID: <579a237aa4fc8_92fd3fe72183f9e47421c@Aarons-iMac.local.mail>
2542
+ To: joe-22@example.com
2543
+ Message-ID: <57a0fbf14595a_fabe3ffa2c43f9fc823f5@Aarons-iMac.local.mail>
2500
2544
  Subject: [PushType] Confirm your account
2501
2545
  Mime-Version: 1.0
2502
2546
  Content-Type: multipart/alternative;
2503
- boundary="--==_mimepart_579a237aa4b71_92fd3fe72183f9e4741dc";
2547
+ boundary="--==_mimepart_57a0fbf14554e_fabe3ffa2c43f9fc82261";
2504
2548
  charset=UTF-8
2505
2549
  Content-Transfer-Encoding: 7bit
2506
2550
 
2507
2551
 
2508
- ----==_mimepart_579a237aa4b71_92fd3fe72183f9e4741dc
2552
+ ----==_mimepart_57a0fbf14554e_fabe3ffa2c43f9fc82261
2509
2553
  Content-Type: text/plain;
2510
2554
  charset=UTF-8
2511
2555
  Content-Transfer-Encoding: 7bit
@@ -2521,11 +2565,11 @@ To get started, confirm your account and set your own password by
2521
2565
  clicking the link below:
2522
2566
 
2523
2567
  Confirm my account
2524
- ( http://localhost:3000/push_type/confirmation?confirmation_token=4b1ctE4VHLRWwPMzyzfJ )
2568
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=uECzYvJ7k82TYrAyubwK )
2525
2569
 
2526
2570
 
2527
2571
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2528
- ----==_mimepart_579a237aa4b71_92fd3fe72183f9e4741dc
2572
+ ----==_mimepart_57a0fbf14554e_fabe3ffa2c43f9fc82261
2529
2573
  Content-Type: text/html;
2530
2574
  charset=UTF-8
2531
2575
  Content-Transfer-Encoding: 7bit
@@ -2571,7 +2615,7 @@ body {
2571
2615
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2572
2616
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2573
2617
  <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;">
2574
- <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=4b1ctE4VHLRWwPMzyzfJ" 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>
2618
+ <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=uECzYvJ7k82TYrAyubwK" 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>
2575
2619
  </td>
2576
2620
  </tr>
2577
2621
  </table>
@@ -2616,53 +2660,9 @@ body {
2616
2660
  </body>
2617
2661
  </html>
2618
2662
 
2619
- ----==_mimepart_579a237aa4b71_92fd3fe72183f9e4741dc--
2663
+ ----==_mimepart_57a0fbf14554e_fabe3ffa2c43f9fc82261--
2620
2664
 
2665
+ Redirected to http://test.host/push_type/users
2666
+ Completed 302 Found in 36ms (ActiveRecord: 0.5ms)
2621
2667
   (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2622
2668
   (0.1ms) ROLLBACK
2623
-  (0.1ms) BEGIN
2624
- -------------------------------------------------------------------------------------
2625
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
2626
- -------------------------------------------------------------------------------------
2627
-  (0.1ms) SAVEPOINT active_record_1
2628
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2629
-  (0.0ms) SAVEPOINT active_record_1
2630
-  (0.1ms) SAVEPOINT active_record_2
2631
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2632
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2633
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-28 15:23:38 UTC], ["confirmation_sent_at", 2016-07-28 15:23:38 UTC]]
2634
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2635
- Processing by PushType::ProfilesController#update as HTML
2636
- Parameters: {"user"=>{"name"=>""}}
2637
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "c22c2702-6231-40ac-8a31-a95aae1aa906"], ["LIMIT", 1]]
2638
-  (0.1ms) SAVEPOINT active_record_2
2639
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-21@example.com"], ["id", "c22c2702-6231-40ac-8a31-a95aae1aa906"], ["LIMIT", 1]]
2640
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
2641
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
2642
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
2643
- Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.5ms)
2644
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2645
-  (0.1ms) ROLLBACK
2646
-  (0.1ms) BEGIN
2647
- -------------------------------------------------------------------------------------
2648
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
2649
- -------------------------------------------------------------------------------------
2650
-  (0.0ms) SAVEPOINT active_record_1
2651
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2652
-  (0.0ms) SAVEPOINT active_record_1
2653
-  (0.1ms) SAVEPOINT active_record_2
2654
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2655
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2656
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2016-07-28 15:23:38 UTC], ["updated_at", 2016-07-28 15:23:38 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-07-28 15:23:38 UTC], ["confirmation_sent_at", 2016-07-28 15:23:38 UTC]]
2657
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2658
- Processing by PushType::ProfilesController#update as HTML
2659
- Parameters: {"user"=>{"name"=>""}}
2660
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "8a50bd0b-fa7a-4ccb-9f91-47e6ff19a36c"], ["LIMIT", 1]]
2661
-  (0.1ms) SAVEPOINT active_record_2
2662
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-22@example.com"], ["id", "8a50bd0b-fa7a-4ccb-9f91-47e6ff19a36c"], ["LIMIT", 1]]
2663
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
2664
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
2665
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.6ms)
2666
- Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.5ms)
2667
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2668
-  (0.1ms) ROLLBACK