push_type_auth 0.6.0.beta.1 → 0.6.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) 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/{20151015181747_create_push_type_users.push_type.rb → 20151102165930_create_push_type_users.push_type.rb} +0 -0
  5. data/test/dummy/db/migrate/{20151015181748_create_push_type_nodes.push_type.rb → 20151102165931_create_push_type_nodes.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20151015181749_create_push_type_node_hierarchies.push_type.rb → 20151102165932_create_push_type_node_hierarchies.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20151015181750_create_push_type_assets.push_type.rb → 20151102165933_create_push_type_assets.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20151015181751_create_push_type_taxonomies.push_type.rb → 20151102165934_create_push_type_taxonomies.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20151015181752_create_push_type_taxonomy_hierarchies.push_type.rb → 20151102165935_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20151015181753_add_field_store_default_values.push_type.rb → 20151102165936_add_field_store_default_values.push_type.rb} +0 -0
  11. data/test/dummy/db/migrate/{20151015181754_devise_extend_push_type_users.push_type_auth.rb → 20151102165937_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  12. data/test/dummy/db/schema.rb +1 -1
  13. data/test/dummy/log/test.log +680 -680
  14. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/13enFOLQsI8Mye9dhTWkj9KKyYFODHE888fUc0YLTYw.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{b9JQPxW4JXsEMPg6IuwbcxAuP2OhDDjLKHRDAmL9gi0.cache → 2EThNHqLu_xwuBEx4vHV3OET28iaKx6e_PUWDDYCfNA.cache} +1 -1
  16. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3LxVbFL3l9A2TlSeH7h2o-F13L_JW1mkCx_M9d4C7A8.cache +46 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8Yus8_gDNuUFZEcVfeXKTB56TPihlWLL6d8qBUtlxhs.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{EFi353vPjI0mCdem6bROYjtNuvlKj3EcwMkp5g5Mpj0.cache → 9uv1sZD3AP_O2KaJodca_1LtmauwIODXfzHvRu2G7-c.cache} +1 -1
  19. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{b_s0LvGnXotYeP7ueqwDIpeRe_32gsm1zkbeE2UmozQ.cache → A3QMbn17wDkitGAvrQzrM5Yvwc4n485nbIme7P3pipI.cache} +0 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AKNuwBosUS_xVARIwHOtZLhpTj0VGfcpMSDOzY5VYSM.cache +1 -0
  21. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{gTuX3cv-vdz9qv8gNX5F84Ei5mIJttVCsJjrqv4Np5g.cache → CASd7mtaP88OldKeSPlNlSe5Z0rXQDEwSVTCfeSoblw.cache} +1 -1
  22. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FtlieXse4_zwRlqG_RseVlz-TXIop-wClSIXiGyCa-k.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GSuwmAmknqPxy3lOcjsmOG1cGtWUAK67WCqDt3pWc0E.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{UXhmsxcPbGcG36Pk6KUujzn9noRkcRgGOohZ8wP8O58.cache → JWU4QAKxpGFz1WxBsIoXKK6IH5hWAZ6ulEAwKiOz1X4.cache} +0 -0
  25. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NOLzY4N8876kNz0nVXOuWtF5FApAsa9NO-e4quADtHM.cache +1 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{WzG6jRDGbAJ41fKtKf8Rmip8oknkkLAfWgvOd0kkgjY.cache → RZ7U3cmHsXIKt6ekhKZP6Pw8KEtCwk7Hy9HViUWfQj0.cache} +2 -1
  27. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ti3ckxVqeNRd1ShfRfv4oOZZ8Boq8qKJB6y_Fv9ytU0.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{4AF6EbpH49NMHFQdc9OnIUfkRLM8lKlSBqaBvUVo3KM.cache → Uh8MXM6z2fmNXc4sqqPfSRoLUQPEFMEmu2Ifr44NsEc.cache} +1 -1
  29. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{VkZ0DGEafpmCHjq-WFxDxbu3tQIQdddqOV-7qXmT_Js.cache → VT4ptrpfuw0joWBCiDIXoO5_j6knZOUqsEHVhSzZDug.cache} +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YYzFefU0_ds10v4STNe8TB77tSdI0H_KoOTf3IC0W5w.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Za-bWpyPHwDgncSmeFii-kf2OBoGGfM9hq7a2ek4UB0.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{bn4g9rKX92aXFOIF45FlF5DA0zMZCBDpiTSbD55ZsWA.cache → Zy6nYRgc2MyEGXCZnYSq-m1aAY44ChWxkTH6HT8TdOU.cache} +0 -0
  33. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_lObpVI6whu6Za3BTLG5Hx8sNP9CVQ3ZMVzzdeK0NTQ.cache +2 -0
  34. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{PghaRuu1VpTYo6FSvTUg-wiFBQhv4uj69lpKjI6JjKQ.cache → emReUhkfaQkbNvBYnI2hyBwbph-vKsk323NNnNZP2v0.cache} +0 -0
  35. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/f1opt7BM9dnmxGb_MLgUjRgCNqtffPgDaP1yQPYozHw.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{pbDdMevTripqjdLgZ-5gJL5yJ9u8_WN_wvD-2bDKchs.cache → fUjwjDI8TTWz2HrWHI5JMUs6j5Zhhpt4gu6RUqI_mUI.cache} +1 -1
  37. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/megN6QCcG4mwKczRObfHIHA8XpDGRwlsppU_Zz3_Tl4.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oGabhBAYxeJ2uXArE6IRQrs9lp2BEAwkEQNAVAlZJr8.cache +1 -0
  39. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/o_4u5rpJosTLleHQ6oFN50tkbxKhh8vZ-pV_WowjSHI.cache +1 -0
  40. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{eC-2Y2I8qyXJ7wrQBJz3ZhFKtD_pwn-cptPShWvKXT4.cache → p-RMJZhToSQmo_KPJdkWODZQZ4dnJ91jbL8gIxjXoZ0.cache} +0 -0
  41. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{W1e-QEtbbwHcA0az4RroxMuDRYpPb68Z9QWrh3M27_I.cache → pUDQP8HidXQvtJQEhTGC7_ODICFEiSU9Vh6peKiUX8o.cache} +0 -0
  42. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/t3hCHk9ruCftcpXnkKI-fJNua82etX3bwNBEUtZ9lto.cache +1 -0
  43. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{uZWjCUafkm7SECxzLEtFxy5P7sfw2rYKt8yN59KJ42Q.cache → uWg65r77iUJib7MTS9pw5aH9FKMjlzUSRKBD331BPtI.cache} +0 -0
  44. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vcC8Jy6hXCQmtvaDthKUCjhefi2JHvMcweAO6q6iCrQ.cache +30 -0
  45. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{hHilQ4bcUd8onLMrObWVvrbBXGQji2ic5mYuEwKnnNY.cache → xW0MZCmr6qsKPiKHi-p_tpm4quTg9MjmOa-Od5_rIU4.cache} +10 -3
  46. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{tli_LD_p18lfhUBkYvg05DnTi6ub4yzVxobMsgAhJ80.cache → yVAlvXhvMp6zOjyiiyQBHnvrEidq7VqKYL8AtUH97uY.cache} +1 -1
  47. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{oPvGci8wIDxeMOWgaH9tg9cmiw_uXWAnEgNSB1G36C4.cache → zU6SWg93-hpgJyTjFP15NSTMQgfkIQ0RK2aq5zpJXaQ.cache} +30 -4
  48. metadata +86 -116
  49. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0Mgh5nyc3Pzes6lDtGL-Gv6ROsVKBh0lUsGUKzXw9kc.cache +0 -1
  50. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1bVhd3dFMo9Ta1ZpKfvQhdvM5qaev4RvY_3DMATQbrM.cache +0 -0
  51. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1nNN5hiPJhSBFbXuNhBFG9MAnwLc93VFIaeblAGZ3To.cache +0 -1
  52. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5P1BK5rrkt_pXJofFRcpFsmzd_MJW8pl403ygUGDDxs.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5eYnCJcXnQkAOctRXxDskITlrtsk7nrYlEf8qxbEpgo.cache +0 -2
  54. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5qCJaEhgPbRPDUGCudAamasvrzwHon7PLBJ3kPdq21s.cache +0 -1
  55. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8OSaAe5xd1TtBUWFtqunZLYGKr-iTN8p_PgoaSfNjB4.cache +0 -2
  56. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AFosvpRRM0x48rPHPouVE6eBrYZY6rcsRuUatpTfJzY.cache +0 -10
  57. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EfhRYuSCpVmiWXUWtbKDKzGwk58paaV2GPb4_rREQPg.cache +0 -2
  58. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/H3uM2R6qlfQ8WXNmFFe23Sw3CSzcZm5YubuWd5pUIQA.cache +0 -0
  59. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/J8kzo4amsH6wL9Smiyw2zQ1rkjrO_iiJP3-7P_3W4qA.cache +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KYdGQ31taQ80bQiRyD5P527fNvIZmseD3OPEXwkWAYE.cache +0 -1
  61. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Nut9NY263iE2JHbMgV8KTaKMThqrxHG242447k_-VG4.cache +0 -1
  62. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PJ2ondm6na55yEj8Q6fzW4hErJNAV0hEJpN9a04eZ6I.cache +0 -1
  63. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PLJqtbGuGip_S21FMzWEwuL8tHSd3_L_e9lBchsOD_Q.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YFAro2UoBm8P_QlrbBg2oTTP4EJddGbzgT_-7tFdP9M.cache +0 -11
  65. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YNPSWoHxiTzJIdNt3nDkJQuR60jdFqw58LfFMz2WUkE.cache +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YiHXNl-e6pgl9d3wk6J5jSq2zt9W9tmKloipy49G6XE.cache +0 -1
  67. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bapjpNlEDk-joNMCwQsUJoDKICYoYGukAfDmBon6hO0.cache +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cgRz1kQTuswK7Bo8D5znvQXHywdhrORz5fWIydag1F0.cache +0 -21
  69. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/e6yFwTLDDEwVn9G3mpsV_5f5r68_Ht5HSyOBjhhrioY.cache +0 -1
  70. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hHoFdLF-c8SLdDf6BH8UmOS6j1HFnvT40DiKakWrRJE.cache +0 -1
  71. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ij1h-nsseqe7QjynUzOIy_ewVf4ChzVoR2uAAuEvjCY.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jKX8VTCvXUSDC6yVThQiAX_wf1EWIkrZDhShrJnpFbQ.cache +0 -21
  73. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mZf34r0DjzryIiaM7TY7d5qOdD02esR0mCd6sNH3r-k.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/muDDpoKNrUnYa7QCaUYWGeiwHFzO5RDGJUA-wj606Bs.cache +0 -1
  75. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rpmymrTDaltDPEmKOAQPQ2FObPIrhRDS-6ImndpqPb0.cache +0 -17
  76. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/sEa2reB8yNAAce0aN3ByKwFb1NmMmqK3hh9CDh6wYdA.cache +0 -1
  77. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/t_gbM3iDelNCbFx1f94Th2HHAAEr9E6mgKDWru8YYpI.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/y3KGeoqel0zi9J24AzufRd1-enK-SZMtCdTOxn3pxHQ.cache +0 -1
@@ -1,62 +1,62 @@
1
-  (3.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
3
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreatePushTypeUsers (20151015181747)
4
+ Migrating to CreatePushTypeUsers (20151102165930)
5
5
   (0.1ms) BEGIN
6
- SQL (1.9ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
-  (2.3ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
8
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151015181747"]]
9
-  (0.6ms) COMMIT
10
- Migrating to CreatePushTypeNodes (20151015181748)
6
+ SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
+  (2.6ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
8
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102165930"]]
9
+  (0.7ms) COMMIT
10
+ Migrating to CreatePushTypeNodes (20151102165931)
11
11
   (0.1ms) BEGIN
12
-  (2.0ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
13
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151015181748"]]
14
-  (0.5ms) COMMIT
15
- Migrating to CreatePushTypeNodeHierarchies (20151015181749)
12
+  (2.1ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
13
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102165931"]]
14
+  (0.4ms) COMMIT
15
+ Migrating to CreatePushTypeNodeHierarchies (20151102165932)
16
16
   (0.1ms) BEGIN
17
17
   (0.4ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
18
-  (0.7ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
-  (0.5ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151015181749"]]
18
+  (0.8ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
+  (0.7ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102165932"]]
21
21
   (0.4ms) COMMIT
22
- Migrating to CreatePushTypeAssets (20151015181750)
22
+ Migrating to CreatePushTypeAssets (20151102165933)
23
23
   (0.1ms) BEGIN
24
-  (2.2ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
25
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151015181750"]]
24
+  (2.1ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
25
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102165933"]]
26
26
   (0.4ms) COMMIT
27
- Migrating to CreatePushTypeTaxonomies (20151015181751)
27
+ Migrating to CreatePushTypeTaxonomies (20151102165934)
28
28
   (0.1ms) BEGIN
29
-  (2.1ms) CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
29
+  (2.2ms) CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
30
30
   (0.2ms) ALTER TABLE "push_type_assets" ADD "tags" character varying[]
31
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151015181751"]]
31
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102165934"]]
32
32
   (0.4ms) COMMIT
33
- Migrating to CreatePushTypeTaxonomyHierarchies (20151015181752)
33
+ Migrating to CreatePushTypeTaxonomyHierarchies (20151102165935)
34
34
   (0.1ms) BEGIN
35
35
   (0.4ms) CREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) 
36
36
   (0.7ms) CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
37
-  (0.5ms) CREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")
38
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151015181752"]]
39
-  (0.5ms) COMMIT
40
- Migrating to AddFieldStoreDefaultValues (20151015181753)
37
+  (1.6ms) CREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")
38
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102165935"]]
39
+  (0.4ms) COMMIT
40
+ Migrating to AddFieldStoreDefaultValues (20151102165936)
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 '{}'
44
-  (0.2ms) UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL
44
+  (0.3ms) UPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL
45
45
   (0.1ms) ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
46
46
   (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb
47
-  (0.2ms) ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
47
+  (0.1ms) 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.2ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
50
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151015181753"]]
51
-  (3.1ms) COMMIT
52
- Migrating to DeviseExtendPushTypeUsers (20151015181754)
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) [["version", "20151102165936"]]
51
+  (0.5ms) COMMIT
52
+ Migrating to DeviseExtendPushTypeUsers (20151102165937)
53
53
   (0.1ms) BEGIN
54
54
   (2.7ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
55
55
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
56
-  (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
57
-  (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
56
+  (0.1ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
57
+  (0.2ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
58
58
   (2.2ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
59
-  (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
59
+  (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
60
60
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
61
61
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
62
62
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
@@ -65,7 +65,7 @@ Migrating to DeviseExtendPushTypeUsers (20151015181754)
65
65
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
66
66
   (0.5ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
67
67
   (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
68
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151015181754"]]
68
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151102165937"]]
69
69
   (1.1ms) COMMIT
70
70
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
71
71
   (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
@@ -92,7 +92,7 @@ WHERE c.contype = 'f'
92
92
  AND t3.nspname = ANY (current_schemas(false))
93
93
  ORDER BY c.conname
94
94
 
95
-  (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
95
+  (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
96
96
  FROM pg_constraint c
97
97
  JOIN pg_class t1 ON c.conrelid = t1.oid
98
98
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -104,7 +104,7 @@ WHERE c.contype = 'f'
104
104
  AND t3.nspname = ANY (current_schemas(false))
105
105
  ORDER BY c.conname
106
106
  
107
-  (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
107
+  (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
108
108
  FROM pg_constraint c
109
109
  JOIN pg_class t1 ON c.conrelid = t1.oid
110
110
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -116,7 +116,7 @@ WHERE c.contype = 'f'
116
116
  AND t3.nspname = ANY (current_schemas(false))
117
117
  ORDER BY c.conname
118
118
 
119
-  (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
119
+  (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
120
120
  FROM pg_constraint c
121
121
  JOIN pg_class t1 ON c.conrelid = t1.oid
122
122
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -141,137 +141,189 @@ WHERE c.contype = 'f'
141
141
  ORDER BY c.conname
142
142
 
143
143
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
144
-  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
145
-  (1.1ms)  SELECT schemaname || '.' || tablename
144
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
145
+  (1.0ms)  SELECT schemaname || '.' || tablename
146
146
  FROM pg_tables
147
147
  WHERE
148
148
  tablename !~ '_prt_' AND
149
149
  tablename <> 'schema_migrations' AND
150
150
  schemaname = ANY (current_schemas(false))
151
151
  
152
-  (0.9ms) select table_name from information_schema.views where table_schema = 'dummy_test'
153
-  (10.9ms) TRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies", "public"."push_type_users" RESTART IDENTITY CASCADE;
154
-  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
152
+  (1.1ms) select table_name from information_schema.views where table_schema = 'dummy_test'
153
+  (11.0ms) TRUNCATE TABLE "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies", "public"."push_type_users" RESTART IDENTITY CASCADE;
154
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
155
155
   (0.1ms) BEGIN
156
- --------------------------------------------------------------------------------------
157
- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
158
- --------------------------------------------------------------------------------------
156
+ --------------------------------------------------------
157
+ PushType::AuthenticationMethodsTest: test_0001_anonymous
158
+ --------------------------------------------------------
159
159
   (0.1ms) SAVEPOINT active_record_1
160
160
   (0.1ms) RELEASE SAVEPOINT active_record_1
161
161
   (0.0ms) SAVEPOINT active_record_1
162
162
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
163
163
   (0.1ms) ROLLBACK
164
164
   (0.1ms) BEGIN
165
- -------------------------------------------------------------------------------------
166
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
167
- -------------------------------------------------------------------------------------
165
+ --------------------------------------------------------
166
+ PushType::AuthenticationMethodsTest: test_0002_anonymous
167
+ --------------------------------------------------------
168
+  (0.1ms) SAVEPOINT active_record_1
169
+  (0.1ms) RELEASE SAVEPOINT active_record_1
170
+  (0.0ms) SAVEPOINT active_record_1
171
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
172
+  (0.0ms) ROLLBACK
173
+  (0.1ms) BEGIN
174
+ ----------------------------------------------------
175
+ PushType::InvitationMethodsTest: test_0001_anonymous
176
+ ----------------------------------------------------
177
+  (0.1ms) SAVEPOINT active_record_1
178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
179
+  (0.0ms) SAVEPOINT active_record_1
180
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
181
+  (0.0ms) ROLLBACK
182
+  (0.0ms) BEGIN
183
+ -----------------------------------------------------------------------------------
184
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
185
+ -----------------------------------------------------------------------------------
168
186
   (0.1ms) SAVEPOINT active_record_1
169
187
   (0.1ms) RELEASE SAVEPOINT active_record_1
170
188
   (0.1ms) SAVEPOINT active_record_1
171
189
   (0.1ms) SAVEPOINT active_record_2
172
190
  PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
173
191
  PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
174
- SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2015-10-15 18:17:52.670687"], ["confirmed_at", "2015-10-15 18:17:52.670764"], ["confirmation_token", "Generated account"], ["created_at", "2015-10-15 18:17:52.681471"], ["updated_at", "2015-10-15 18:17:52.681471"]]
192
+ SQL (0.7ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:35.973181"], ["confirmed_at", "2015-11-02 16:59:35.973257"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:35.983762"], ["updated_at", "2015-11-02 16:59:35.983762"]]
175
193
   (0.1ms) RELEASE SAVEPOINT active_record_2
176
194
  Processing by PushType::ProfilesController#update as HTML
177
- Parameters: {"user"=>{"name"=>""}}
178
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "c8b3d247-059a-44a5-8766-4e2020ad9ee9"]]
195
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
196
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "a3bfb415-b5cc-4845-8ab5-b570c6a9ba5d"]]
179
197
   (0.1ms) SAVEPOINT active_record_2
180
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != 'c8b3d247-059a-44a5-8766-4e2020ad9ee9') LIMIT 1
181
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
182
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (13.4ms)
183
- Completed 200 OK in 10662ms (Views: 10645.6ms | ActiveRecord: 0.8ms)
198
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-1@example.com' AND "push_type_users"."id" != 'a3bfb415-b5cc-4845-8ab5-b570c6a9ba5d') LIMIT 1
199
+ 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", "2015-11-02 16:59:36.004467"], ["id", "a3bfb415-b5cc-4845-8ab5-b570c6a9ba5d"]]
200
+  (0.1ms) RELEASE SAVEPOINT active_record_2
201
+ Redirected to http://test.host/push_type/profile/edit
202
+ Completed 302 Found in 16ms (ActiveRecord: 0.9ms)
203
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
204
+  (0.1ms) ROLLBACK
205
+  (0.1ms) BEGIN
206
+ -----------------------------------------------------------------------------------
207
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
208
+ -----------------------------------------------------------------------------------
209
+  (0.0ms) SAVEPOINT active_record_1
210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
211
+  (0.0ms) SAVEPOINT active_record_1
212
+  (0.1ms) SAVEPOINT active_record_2
213
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
214
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
215
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:36.008458"], ["confirmed_at", "2015-11-02 16:59:36.008507"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:36.009899"], ["updated_at", "2015-11-02 16:59:36.009899"]]
216
+  (0.1ms) RELEASE SAVEPOINT active_record_2
217
+ Processing by PushType::ProfilesController#update as HTML
218
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
219
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "10880f8d-69b1-409f-b506-013e2e04e892"]]
220
+  (0.1ms) SAVEPOINT active_record_2
221
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-2@example.com' AND "push_type_users"."id" != '10880f8d-69b1-409f-b506-013e2e04e892') LIMIT 1
222
+ SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-11-02 16:59:36.014650"], ["id", "10880f8d-69b1-409f-b506-013e2e04e892"]]
223
+  (0.1ms) RELEASE SAVEPOINT active_record_2
224
+ Redirected to http://test.host/push_type/profile/edit
225
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
226
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
227
+  (0.1ms) ROLLBACK
228
+  (0.1ms) BEGIN
229
+ -----------------------------------------------------------------------------------
230
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
231
+ -----------------------------------------------------------------------------------
232
+  (0.1ms) SAVEPOINT active_record_1
233
+  (0.0ms) RELEASE SAVEPOINT active_record_1
234
+  (0.0ms) SAVEPOINT active_record_1
235
+  (0.1ms) SAVEPOINT active_record_2
236
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
237
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
238
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:36.017907"], ["confirmed_at", "2015-11-02 16:59:36.017948"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:36.019347"], ["updated_at", "2015-11-02 16:59:36.019347"]]
239
+  (0.1ms) RELEASE SAVEPOINT active_record_2
240
+ Processing by PushType::ProfilesController#update as HTML
241
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
242
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "0c537ecc-5678-4ab5-8883-d339e8cc90b4"]]
243
+  (0.1ms) SAVEPOINT active_record_2
244
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != '0c537ecc-5678-4ab5-8883-d339e8cc90b4') LIMIT 1
245
+ SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-11-02 16:59:36.023616"], ["id", "0c537ecc-5678-4ab5-8883-d339e8cc90b4"]]
246
+  (0.1ms) RELEASE SAVEPOINT active_record_2
247
+ Redirected to http://test.host/push_type/profile/edit
248
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
249
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "0c537ecc-5678-4ab5-8883-d339e8cc90b4"]]
184
250
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
185
-  (0.2ms) ROLLBACK
251
+  (0.1ms) ROLLBACK
186
252
   (0.1ms) BEGIN
187
253
  -------------------------------------------------------------------------------------
188
254
  PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
189
255
  -------------------------------------------------------------------------------------
190
-  (0.1ms) SAVEPOINT active_record_1
191
-  (0.1ms) RELEASE SAVEPOINT active_record_1
192
-  (0.1ms) SAVEPOINT active_record_1
256
+  (0.0ms) SAVEPOINT active_record_1
257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
258
+  (0.0ms) SAVEPOINT active_record_1
193
259
   (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" = '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" = 'joe-2@example.com' LIMIT 1
196
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["confirmation_sent_at", "2015-10-15 18:18:03.351784"], ["confirmed_at", "2015-10-15 18:18:03.351869"], ["confirmation_token", "Generated account"], ["created_at", "2015-10-15 18:18:03.353958"], ["updated_at", "2015-10-15 18:18:03.353958"]]
260
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
261
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
262
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:36.028212"], ["confirmed_at", "2015-11-02 16:59:36.028260"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:36.029671"], ["updated_at", "2015-11-02 16:59:36.029671"]]
197
263
   (0.1ms) RELEASE SAVEPOINT active_record_2
198
264
  Processing by PushType::ProfilesController#update as HTML
199
265
  Parameters: {"user"=>{"name"=>""}}
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 1 [["id", "e0d4c131-1ada-4113-ad80-55567cd84715"]]
266
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "e2958d29-b7aa-4d7b-a934-cb101eb16f93"]]
201
267
   (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" = 'joe-2@example.com' AND "push_type_users"."id" != 'e0d4c131-1ada-4113-ad80-55567cd84715') LIMIT 1
268
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != 'e2958d29-b7aa-4d7b-a934-cb101eb16f93') LIMIT 1
203
269
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
204
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.2ms)
205
- Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.5ms)
270
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (12.1ms)
271
+ Completed 200 OK in 10851ms (Views: 10848.1ms | ActiveRecord: 0.5ms)
206
272
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
207
-  (0.1ms) ROLLBACK
273
+  (0.2ms) ROLLBACK
208
274
   (0.1ms) BEGIN
209
- ---------------------------------------------------------------
210
- PushType::AuthenticatableTest::confirmable: test_0001_anonymous
211
- ---------------------------------------------------------------
275
+ -------------------------------------------------------------------------------------
276
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
277
+ -------------------------------------------------------------------------------------
212
278
   (0.1ms) SAVEPOINT active_record_1
213
-  (0.1ms) RELEASE SAVEPOINT active_record_1
214
-  (0.0ms) SAVEPOINT active_record_1
215
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
216
-  (0.1ms) ROLLBACK
217
-  (0.1ms) BEGIN
218
- ----------------------------------------------------------------
219
- PushType::AuthenticatableTest::rememberable: test_0001_anonymous
220
- ----------------------------------------------------------------
221
-  (0.0ms) SAVEPOINT active_record_1
222
279
   (0.0ms) RELEASE SAVEPOINT active_record_1
223
280
   (0.0ms) SAVEPOINT active_record_1
224
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
225
-  (0.1ms) ROLLBACK
226
-  (0.1ms) BEGIN
227
- ---------------------------------------------------------------------------
228
- PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
229
- ---------------------------------------------------------------------------
230
-  (0.0ms) SAVEPOINT active_record_1
231
-  (0.0ms) RELEASE SAVEPOINT active_record_1
232
-  (0.0ms) SAVEPOINT active_record_1
233
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
234
-  (0.0ms) ROLLBACK
235
-  (0.1ms) BEGIN
236
- ---------------------------------------------------------------------------
237
- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
238
- ---------------------------------------------------------------------------
239
-  (0.0ms) SAVEPOINT active_record_1
240
-  (0.0ms) RELEASE SAVEPOINT active_record_1
241
-  (0.0ms) SAVEPOINT active_record_1
242
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
243
-  (0.0ms) ROLLBACK
244
-  (0.1ms) BEGIN
281
+  (0.1ms) SAVEPOINT active_record_2
282
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
283
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
284
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:46.885149"], ["confirmed_at", "2015-11-02 16:59:46.885231"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:46.887098"], ["updated_at", "2015-11-02 16:59:46.887098"]]
285
+  (0.1ms) RELEASE SAVEPOINT active_record_2
286
+ Processing by PushType::ProfilesController#update as HTML
287
+ Parameters: {"user"=>{"name"=>""}}
288
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "b3d94bf8-729e-4c8d-9ef7-9cb9b76f553d"]]
289
+  (0.1ms) SAVEPOINT active_record_2
290
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-5@example.com' AND "push_type_users"."id" != 'b3d94bf8-729e-4c8d-9ef7-9cb9b76f553d') LIMIT 1
291
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
292
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.0ms)
293
+ Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.5ms)
294
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
295
+  (0.1ms) ROLLBACK
296
+  (0.1ms) BEGIN
245
297
  ----------------------------------------------------------------------------------------
246
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
298
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
247
299
  ----------------------------------------------------------------------------------------
248
-  (0.1ms) SAVEPOINT active_record_1
249
-  (0.1ms) RELEASE SAVEPOINT active_record_1
250
-  (0.1ms) SAVEPOINT active_record_1
251
-  (0.1ms) SAVEPOINT active_record_2
252
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
253
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
254
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d7f8a42ee92322100eddc770099c6a9a3de4e91368f167b07d525fcfe0687ed6"]]
255
- 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-3@example.com"], ["created_at", "2015-10-15 18:18:03.381943"], ["updated_at", "2015-10-15 18:18:03.381943"], ["confirmation_token", "ZjB-9biAkCoxuFzPAKuA"], ["confirmation_sent_at", "2015-10-15 18:18:03.568171"]]
256
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
300
+  (0.1ms) SAVEPOINT active_record_1
301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
302
+  (0.1ms) SAVEPOINT active_record_1
303
+  (0.1ms) SAVEPOINT active_record_2
304
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
305
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
306
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5086a300017642ca9d0928c84f8cfe85e2007fedf816b402bcc84ba91ef8c79a"]]
307
+ 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", "2015-11-02 16:59:46.927241"], ["updated_at", "2015-11-02 16:59:46.927241"], ["confirmation_token", "jN3PS6mGPdcLcxYiVU1q"], ["confirmation_sent_at", "2015-11-02 16:59:47.102634"]]
308
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.7ms)
257
309
 
258
- Devise::Mailer#confirmation_instructions: processed outbound mail in 105.3ms
310
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 106.3ms
259
311
 
260
- Sent mail to joe-3@example.com (7.2ms)
261
- Date: Thu, 15 Oct 2015 19:18:03 +0100
312
+ Sent mail to joe-6@example.com (6.9ms)
313
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
262
314
  From: pushtype@example.com
263
315
  Reply-To: pushtype@example.com
264
- To: joe-3@example.com
265
- Message-ID: <561feddbaec71_3aea3fec76063be4881e8@Aarons-iMac.local.mail>
316
+ To: joe-6@example.com
317
+ Message-ID: <563796833cad8_2a0d3fff7dc57be893469@Aarons-iMac.local.mail>
266
318
  Subject: [PushType] Confirm your account
267
319
  Mime-Version: 1.0
268
320
  Content-Type: multipart/alternative;
269
- boundary="--==_mimepart_561feddbadc2b_3aea3fec76063be488034";
321
+ boundary="--==_mimepart_563796833bbaf_2a0d3fff7dc57be893313";
270
322
  charset=UTF-8
271
323
  Content-Transfer-Encoding: 7bit
272
324
 
273
325
 
274
- ----==_mimepart_561feddbadc2b_3aea3fec76063be488034
326
+ ----==_mimepart_563796833bbaf_2a0d3fff7dc57be893313
275
327
  Content-Type: text/plain;
276
328
  charset=UTF-8
277
329
  Content-Transfer-Encoding: 7bit
@@ -286,10 +338,10 @@ created for you.
286
338
  To get started, confirm your account and set your own password by
287
339
  clicking the link below:
288
340
 
289
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ZjB-9biAkCoxuFzPAKuA )
341
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=jN3PS6mGPdcLcxYiVU1q )
290
342
 
291
343
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
292
- ----==_mimepart_561feddbadc2b_3aea3fec76063be488034
344
+ ----==_mimepart_563796833bbaf_2a0d3fff7dc57be893313
293
345
  Content-Type: text/html;
294
346
  charset=UTF-8
295
347
  Content-Transfer-Encoding: 7bit
@@ -335,7 +387,7 @@ body {
335
387
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
336
388
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
337
389
  <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">
338
- <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=ZjB-9biAkCoxuFzPAKuA" 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>
390
+ <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=jN3PS6mGPdcLcxYiVU1q" 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>
339
391
  </td>
340
392
  </tr>
341
393
  </table>
@@ -380,54 +432,55 @@ body {
380
432
  </body>
381
433
  </html>
382
434
 
383
- ----==_mimepart_561feddbadc2b_3aea3fec76063be488034--
435
+ ----==_mimepart_563796833bbaf_2a0d3fff7dc57be893313--
384
436
 
385
-  (0.2ms) RELEASE SAVEPOINT active_record_2
386
- Processing by PushType::ConfirmationsController#update as HTML
387
- Parameters: {"user"=>{"confirmation_token"=>"ZjB-9biAkCoxuFzPAKuA", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
388
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ZjB-9biAkCoxuFzPAKuA"]]
389
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != 'e7cfc103-002f-4ce3-8478-84d4d9296be4') LIMIT 1
390
-  (0.1ms) SAVEPOINT active_record_2
391
- 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$vkdZxJd9UrHKzkpe6MpgoucapUpMmV7e30ofgtks59LcePLzVajDu"], ["confirmed_at", "2015-10-15 18:18:03.732167"], ["updated_at", "2015-10-15 18:18:03.732706"], ["id", "e7cfc103-002f-4ce3-8478-84d4d9296be4"]]
392
437
   (0.1ms) RELEASE SAVEPOINT active_record_2
438
+ Processing by PushType::ConfirmationsController#update as HTML
439
+ Parameters: {"user"=>{"confirmation_token"=>"jN3PS6mGPdcLcxYiVU1q", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
440
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "jN3PS6mGPdcLcxYiVU1q"]]
441
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != 'afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a') LIMIT 1
393
442
   (0.1ms) SAVEPOINT active_record_2
394
- SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-10-15 18:18:03.735404"], ["current_sign_in_at", "2015-10-15 18:18:03.735404"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-10-15 18:18:03.735991"], ["id", "e7cfc103-002f-4ce3-8478-84d4d9296be4"]]
443
+ 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$3EocGU6w8bX0SNOcr9S0E.XJLGf3RBM7jfFPaQigHTERXIILd2Ar2"], ["confirmed_at", "2015-11-02 16:59:47.279882"], ["updated_at", "2015-11-02 16:59:47.280474"], ["id", "afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a"]]
395
444
   (0.1ms) RELEASE SAVEPOINT active_record_2
445
+  (0.1ms) SAVEPOINT active_record_2
446
+ SQL (0.2ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-11-02 16:59:47.282104"], ["current_sign_in_at", "2015-11-02 16:59:47.282104"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-02 16:59:47.282625"], ["id", "afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a"]]
447
+  (0.1ms) RELEASE SAVEPOINT active_record_2
396
448
  Redirected to http://test.host/push_type/
397
- Completed 302 Found in 16ms (ActiveRecord: 1.4ms)
449
+ Completed 302 Found in 30ms (ActiveRecord: 1.2ms)
450
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "afe0b1ae-6e4c-4bbc-90a7-88465d4eab7a"]]
398
451
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
399
452
   (0.1ms) ROLLBACK
400
453
   (0.1ms) BEGIN
401
454
  ----------------------------------------------------------------------------------------
402
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
455
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
403
456
  ----------------------------------------------------------------------------------------
404
457
   (0.1ms) SAVEPOINT active_record_1
405
-  (0.1ms) RELEASE SAVEPOINT active_record_1
406
-  (0.1ms) SAVEPOINT active_record_1
407
-  (0.1ms) SAVEPOINT active_record_2
408
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
409
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
410
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "7e3cb9fba524caf91e866139d0c7cb9647b98e4fa8b4aed96d16271722647b48"]]
411
- 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", "2015-10-15 18:18:03.742151"], ["updated_at", "2015-10-15 18:18:03.742151"], ["confirmation_token", "xx8xcV8M61dxoAvqByCm"], ["confirmation_sent_at", "2015-10-15 18:18:03.743089"]]
412
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
458
+  (0.0ms) RELEASE SAVEPOINT active_record_1
459
+  (0.0ms) SAVEPOINT active_record_1
460
+  (0.0ms) SAVEPOINT active_record_2
461
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
462
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
463
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "bad7e7bba10faf6c99b7bf6a2b362c2d77bc144cb89f8cb513f19072ceee3fd1"]]
464
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", "2015-11-02 16:59:47.288000"], ["updated_at", "2015-11-02 16:59:47.288000"], ["confirmation_token", "7URfEsvgpVDX52za-_EK"], ["confirmation_sent_at", "2015-11-02 16:59:47.288704"]]
465
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
413
466
 
414
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.2ms
467
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
415
468
 
416
- Sent mail to joe-4@example.com (5.0ms)
417
- Date: Thu, 15 Oct 2015 19:18:03 +0100
469
+ Sent mail to joe-7@example.com (2.9ms)
470
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
418
471
  From: pushtype@example.com
419
472
  Reply-To: pushtype@example.com
420
- To: joe-4@example.com
421
- Message-ID: <561feddbbec94_3aea3fec76063be488469@Aarons-iMac.local.mail>
473
+ To: joe-7@example.com
474
+ Message-ID: <563796834df7b_2a0d3fff7dc57be893733@Aarons-iMac.local.mail>
422
475
  Subject: [PushType] Confirm your account
423
476
  Mime-Version: 1.0
424
477
  Content-Type: multipart/alternative;
425
- boundary="--==_mimepart_561feddbbe5e4_3aea3fec76063be488315";
478
+ boundary="--==_mimepart_563796834da33_2a0d3fff7dc57be893681";
426
479
  charset=UTF-8
427
480
  Content-Transfer-Encoding: 7bit
428
481
 
429
482
 
430
- ----==_mimepart_561feddbbe5e4_3aea3fec76063be488315
483
+ ----==_mimepart_563796834da33_2a0d3fff7dc57be893681
431
484
  Content-Type: text/plain;
432
485
  charset=UTF-8
433
486
  Content-Transfer-Encoding: 7bit
@@ -442,10 +495,10 @@ created for you.
442
495
  To get started, confirm your account and set your own password by
443
496
  clicking the link below:
444
497
 
445
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=xx8xcV8M61dxoAvqByCm )
498
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=7URfEsvgpVDX52za-_EK )
446
499
 
447
500
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
448
- ----==_mimepart_561feddbbe5e4_3aea3fec76063be488315
501
+ ----==_mimepart_563796834da33_2a0d3fff7dc57be893681
449
502
  Content-Type: text/html;
450
503
  charset=UTF-8
451
504
  Content-Transfer-Encoding: 7bit
@@ -491,7 +544,7 @@ body {
491
544
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
492
545
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
493
546
  <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">
494
- <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=xx8xcV8M61dxoAvqByCm" 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>
547
+ <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=7URfEsvgpVDX52za-_EK" 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>
495
548
  </td>
496
549
  </tr>
497
550
  </table>
@@ -536,91 +589,54 @@ body {
536
589
  </body>
537
590
  </html>
538
591
 
539
- ----==_mimepart_561feddbbe5e4_3aea3fec76063be488315--
592
+ ----==_mimepart_563796834da33_2a0d3fff7dc57be893681--
540
593
 
541
594
   (0.1ms) RELEASE SAVEPOINT active_record_2
542
595
  Processing by PushType::ConfirmationsController#update as HTML
543
- Parameters: {"user"=>{"confirmation_token"=>"xx8xcV8M61dxoAvqByCm", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
544
- 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 1 [["confirmation_token", "xx8xcV8M61dxoAvqByCm"]]
545
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != 'bf8ec6ff-e832-401d-9eac-825898398f42') LIMIT 1
596
+ Parameters: {"user"=>{"confirmation_token"=>"7URfEsvgpVDX52za-_EK", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
597
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "7URfEsvgpVDX52za-_EK"]]
598
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '6d7790bd-e781-40f6-9ac1-97fd9b5e001e') LIMIT 1
546
599
   (0.1ms) SAVEPOINT active_record_2
547
- 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$t78ohBw0OzTkt5Hlc7H/EeaADmZMny8MQGfxz1TgJn4fd0wK30miO"], ["confirmed_at", "2015-10-15 18:18:03.791043"], ["updated_at", "2015-10-15 18:18:03.791590"], ["id", "bf8ec6ff-e832-401d-9eac-825898398f42"]]
600
+ 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$Flts4NYl5hPw.nG/4cznauWUpzB5Kk.32uzdUfZwNES9TwhsHYqNO"], ["confirmed_at", "2015-11-02 16:59:47.325577"], ["updated_at", "2015-11-02 16:59:47.326095"], ["id", "6d7790bd-e781-40f6-9ac1-97fd9b5e001e"]]
548
601
   (0.1ms) RELEASE SAVEPOINT active_record_2
549
602
   (0.1ms) SAVEPOINT active_record_2
550
- SQL (0.3ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-10-15 18:18:03.793228"], ["current_sign_in_at", "2015-10-15 18:18:03.793228"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-10-15 18:18:03.793681"], ["id", "bf8ec6ff-e832-401d-9eac-825898398f42"]]
603
+ SQL (0.1ms) UPDATE "push_type_users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "last_sign_in_ip" = $3, "current_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = $7 [["last_sign_in_at", "2015-11-02 16:59:47.327327"], ["current_sign_in_at", "2015-11-02 16:59:47.327327"], ["last_sign_in_ip", "0.0.0.0"], ["current_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2015-11-02 16:59:47.327724"], ["id", "6d7790bd-e781-40f6-9ac1-97fd9b5e001e"]]
551
604
   (0.1ms) RELEASE SAVEPOINT active_record_2
552
605
  Redirected to http://test.host/push_type/
553
- Completed 302 Found in 9ms (ActiveRecord: 1.5ms)
554
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "bf8ec6ff-e832-401d-9eac-825898398f42"]]
555
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
556
-  (0.1ms) ROLLBACK
557
-  (0.1ms) BEGIN
558
- ---------------------------------------------------------------
559
- PushType::AuthenticatableTest::validatable: test_0001_anonymous
560
- ---------------------------------------------------------------
561
-  (0.1ms) SAVEPOINT active_record_1
562
-  (0.1ms) RELEASE SAVEPOINT active_record_1
563
-  (0.1ms) SAVEPOINT active_record_1
564
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
565
-  (0.1ms) ROLLBACK
566
-  (0.1ms) BEGIN
567
- ---------------------------------------------------------------
568
- PushType::AuthenticatableTest::validatable: test_0002_anonymous
569
- ---------------------------------------------------------------
570
-  (0.1ms) SAVEPOINT active_record_1
571
-  (0.1ms) RELEASE SAVEPOINT active_record_1
572
-  (0.1ms) SAVEPOINT active_record_1
573
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
574
-  (0.1ms) ROLLBACK
575
-  (0.1ms) BEGIN
576
- --------------------------------------------------------
577
- PushType::AuthenticationMethodsTest: test_0001_anonymous
578
- --------------------------------------------------------
579
-  (0.1ms) SAVEPOINT active_record_1
580
-  (0.0ms) RELEASE SAVEPOINT active_record_1
581
-  (0.0ms) SAVEPOINT active_record_1
582
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
583
-  (0.1ms) ROLLBACK
584
-  (0.1ms) BEGIN
585
- --------------------------------------------------------
586
- PushType::AuthenticationMethodsTest: test_0002_anonymous
587
- --------------------------------------------------------
588
-  (0.1ms) SAVEPOINT active_record_1
589
-  (0.1ms) RELEASE SAVEPOINT active_record_1
590
-  (0.1ms) SAVEPOINT active_record_1
591
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
592
-  (0.1ms) ROLLBACK
593
-  (0.1ms) BEGIN
606
+ Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
607
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
608
+  (0.1ms) ROLLBACK
609
+  (0.1ms) BEGIN
594
610
  --------------------------------------------------------------------------------------------------------------
595
- PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
611
+ PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
596
612
  --------------------------------------------------------------------------------------------------------------
597
-  (0.1ms) SAVEPOINT active_record_1
598
-  (0.1ms) RELEASE SAVEPOINT active_record_1
599
-  (0.1ms) SAVEPOINT active_record_1
600
-  (0.1ms) SAVEPOINT active_record_2
601
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
602
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
603
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "716fd86ac126772d00b691bbd2d14761200d5fd72a937e7c962b17e9966cc4b4"]]
604
- 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", "2015-10-15 18:18:03.809075"], ["updated_at", "2015-10-15 18:18:03.809075"], ["confirmation_token", "BNF3tEyvbqwTFzzVs8zR"], ["confirmation_sent_at", "2015-10-15 18:18:03.809958"]]
605
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
613
+  (0.0ms) SAVEPOINT active_record_1
614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
615
+  (0.0ms) SAVEPOINT active_record_1
616
+  (0.0ms) SAVEPOINT active_record_2
617
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
618
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
619
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "db14a596f2a5766c796c1ed1891008cfcb89c7986be3e839a0d9d0ae5a3cdc23"]]
620
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", "2015-11-02 16:59:47.332338"], ["updated_at", "2015-11-02 16:59:47.332338"], ["confirmation_token", "P1qyHXVoxxynsy8qa5WG"], ["confirmation_sent_at", "2015-11-02 16:59:47.333118"]]
621
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
606
622
 
607
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
623
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
608
624
 
609
- Sent mail to joe-5@example.com (5.5ms)
610
- Date: Thu, 15 Oct 2015 19:18:03 +0100
625
+ Sent mail to joe-8@example.com (3.0ms)
626
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
611
627
  From: pushtype@example.com
612
628
  Reply-To: pushtype@example.com
613
- To: joe-5@example.com
614
- Message-ID: <561feddbcf58b_3aea3fec76063be488735@Aarons-iMac.local.mail>
629
+ To: joe-8@example.com
630
+ Message-ID: <5637968358994_2a0d3fff7dc57be894058@Aarons-iMac.local.mail>
615
631
  Subject: [PushType] Confirm your account
616
632
  Mime-Version: 1.0
617
633
  Content-Type: multipart/alternative;
618
- boundary="--==_mimepart_561feddbceb99_3aea3fec76063be488658";
634
+ boundary="--==_mimepart_563796835841a_2a0d3fff7dc57be89395d";
619
635
  charset=UTF-8
620
636
  Content-Transfer-Encoding: 7bit
621
637
 
622
638
 
623
- ----==_mimepart_561feddbceb99_3aea3fec76063be488658
639
+ ----==_mimepart_563796835841a_2a0d3fff7dc57be89395d
624
640
  Content-Type: text/plain;
625
641
  charset=UTF-8
626
642
  Content-Transfer-Encoding: 7bit
@@ -635,10 +651,10 @@ created for you.
635
651
  To get started, confirm your account and set your own password by
636
652
  clicking the link below:
637
653
 
638
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=BNF3tEyvbqwTFzzVs8zR )
654
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=P1qyHXVoxxynsy8qa5WG )
639
655
 
640
656
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
641
- ----==_mimepart_561feddbceb99_3aea3fec76063be488658
657
+ ----==_mimepart_563796835841a_2a0d3fff7dc57be89395d
642
658
  Content-Type: text/html;
643
659
  charset=UTF-8
644
660
  Content-Transfer-Encoding: 7bit
@@ -684,7 +700,7 @@ body {
684
700
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
685
701
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
686
702
  <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">
687
- <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=BNF3tEyvbqwTFzzVs8zR" 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>
703
+ <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=P1qyHXVoxxynsy8qa5WG" 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>
688
704
  </td>
689
705
  </tr>
690
706
  </table>
@@ -729,76 +745,108 @@ body {
729
745
  </body>
730
746
  </html>
731
747
 
732
- ----==_mimepart_561feddbceb99_3aea3fec76063be488658--
748
+ ----==_mimepart_563796835841a_2a0d3fff7dc57be89395d--
733
749
 
734
-  (0.1ms) RELEASE SAVEPOINT active_record_2
735
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
736
-  (0.1ms) ROLLBACK
737
-  (0.1ms) BEGIN
738
- ------------------------------------------------------------------------------------------------------
739
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
740
- ------------------------------------------------------------------------------------------------------
741
-  (0.1ms) SAVEPOINT active_record_1
742
-  (0.1ms) RELEASE SAVEPOINT active_record_1
743
-  (0.1ms) SAVEPOINT active_record_1
744
- Processing by PushType::ConfirmationsController#show as HTML
745
- Parameters: {"confirmation_token"=>"invalid"}
746
- 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 1 [["confirmation_token", "invalid"]]
747
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
748
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "3d3217bb7950d2c24d3740053a68c9cb57a45faf1d1c34d089facb0f23b134ad"]]
749
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.2ms)
750
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (7.8ms)
751
- Completed 200 OK in 22ms (Views: 15.4ms | ActiveRecord: 0.7ms)
752
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
750
+  (0.1ms) RELEASE SAVEPOINT active_record_2
751
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
753
752
   (0.1ms) ROLLBACK
753
+  (0.0ms) BEGIN
754
+ ---------------------------------------------------------------------------
755
+ PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
756
+ ---------------------------------------------------------------------------
757
+  (0.0ms) SAVEPOINT active_record_1
758
+  (0.0ms) RELEASE SAVEPOINT active_record_1
759
+  (0.0ms) SAVEPOINT active_record_1
760
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
761
+  (0.1ms) ROLLBACK
762
+  (0.0ms) BEGIN
763
+ ---------------------------------------------------------------------------
764
+ PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
765
+ ---------------------------------------------------------------------------
766
+  (0.0ms) SAVEPOINT active_record_1
767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
768
+  (0.0ms) SAVEPOINT active_record_1
769
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
770
+  (0.0ms) ROLLBACK
754
771
   (0.1ms) BEGIN
755
772
  ------------------------------------------------------------------------------------------------------
756
773
  PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
757
774
  ------------------------------------------------------------------------------------------------------
758
775
   (0.1ms) SAVEPOINT active_record_1
759
-  (0.1ms) RELEASE SAVEPOINT active_record_1
760
-  (0.1ms) SAVEPOINT active_record_1
776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
777
+  (0.0ms) SAVEPOINT active_record_1
761
778
  Processing by PushType::ConfirmationsController#show as HTML
762
779
  Parameters: {"confirmation_token"=>"invalid"}
763
780
  PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
764
781
  PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
765
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "3d3217bb7950d2c24d3740053a68c9cb57a45faf1d1c34d089facb0f23b134ad"]]
766
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
767
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.9ms)
768
- Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 0.4ms)
769
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
782
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5912ef8b395805b8aaccedf740acc0c9afa2afe691cd77fc01b8baad06332f6f"]]
783
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.9ms)
784
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (5.5ms)
785
+ Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 0.3ms)
786
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
770
787
   (0.1ms) ROLLBACK
771
788
   (0.1ms) BEGIN
772
- ------------------------------------------------------------------------------------------
773
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
774
- ------------------------------------------------------------------------------------------
775
-  (0.1ms) SAVEPOINT active_record_1
776
-  (0.1ms) RELEASE SAVEPOINT active_record_1
777
-  (0.1ms) SAVEPOINT active_record_1
789
+ ------------------------------------------------------------------------------------------------------
790
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
791
+ ------------------------------------------------------------------------------------------------------
792
+  (0.0ms) SAVEPOINT active_record_1
793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
794
+  (0.0ms) SAVEPOINT active_record_1
795
+ Processing by PushType::ConfirmationsController#show as HTML
796
+ Parameters: {"confirmation_token"=>"invalid"}
797
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
798
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "invalid"]]
799
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "5912ef8b395805b8aaccedf740acc0c9afa2afe691cd77fc01b8baad06332f6f"]]
800
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
801
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.3ms)
802
+ Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms)
803
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
804
+  (0.2ms) ROLLBACK
805
+  (0.1ms) BEGIN
806
+ ---------------------------------------------------------------
807
+ PushType::AuthenticatableTest::recoverable: test_0001_anonymous
808
+ ---------------------------------------------------------------
809
+  (0.0ms) SAVEPOINT active_record_1
810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
811
+  (0.0ms) SAVEPOINT active_record_1
812
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
813
+  (0.1ms) ROLLBACK
814
+  (0.1ms) BEGIN
815
+ ---------------------------------------------------------------
816
+ PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
817
+ ---------------------------------------------------------------
818
+  (0.1ms) SAVEPOINT active_record_1
819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
820
+  (0.0ms) SAVEPOINT active_record_1
821
+  (0.1ms) SAVEPOINT active_record_2
822
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
823
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
824
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.399711"], ["confirmed_at", "2015-11-02 16:59:47.399775"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.401342"], ["updated_at", "2015-11-02 16:59:47.401342"]]
825
+  (0.1ms) RELEASE SAVEPOINT active_record_2
778
826
   (0.1ms) SAVEPOINT active_record_2
779
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
780
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
781
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "79828f7438faa23c357aba73067f26cb461daa8aa6b8a7597c196cad0e14002c"]]
782
- 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", "2015-10-15 18:18:03.901057"], ["updated_at", "2015-10-15 18:18:03.901057"], ["confirmation_token", "_Cs_AFUeN4qzec_3ixyB"], ["confirmation_sent_at", "2015-10-15 18:18:03.902348"]]
783
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
827
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
828
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
829
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "78904a0a3bab70977724f0f4461ad10956de4fd02e80a9445b0c4271f97ebea5"]]
830
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", "2015-11-02 16:59:47.404172"], ["updated_at", "2015-11-02 16:59:47.404172"], ["confirmation_token", "QfD3UkRjymTPyFXujMve"], ["confirmation_sent_at", "2015-11-02 16:59:47.404868"]]
831
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
784
832
 
785
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.3ms
833
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
786
834
 
787
- Sent mail to joe-6@example.com (3.7ms)
788
- Date: Thu, 15 Oct 2015 19:18:03 +0100
835
+ Sent mail to joe-10@example.com (3.0ms)
836
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
789
837
  From: pushtype@example.com
790
838
  Reply-To: pushtype@example.com
791
- To: joe-6@example.com
792
- Message-ID: <561feddbe554b_3aea3fec76063be489095@Aarons-iMac.local.mail>
839
+ To: joe-10@example.com
840
+ Message-ID: <563796837f35f_2a0d3fff7dc57be89436@Aarons-iMac.local.mail>
793
841
  Subject: [PushType] Confirm your account
794
842
  Mime-Version: 1.0
795
843
  Content-Type: multipart/alternative;
796
- boundary="--==_mimepart_561feddbe4e6a_3aea3fec76063be488987";
844
+ boundary="--==_mimepart_563796837edfd_2a0d3fff7dc57be894249";
797
845
  charset=UTF-8
798
846
  Content-Transfer-Encoding: 7bit
799
847
 
800
848
 
801
- ----==_mimepart_561feddbe4e6a_3aea3fec76063be488987
849
+ ----==_mimepart_563796837edfd_2a0d3fff7dc57be894249
802
850
  Content-Type: text/plain;
803
851
  charset=UTF-8
804
852
  Content-Transfer-Encoding: 7bit
@@ -813,10 +861,10 @@ created for you.
813
861
  To get started, confirm your account and set your own password by
814
862
  clicking the link below:
815
863
 
816
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=_Cs_AFUeN4qzec_3ixyB )
864
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=QfD3UkRjymTPyFXujMve )
817
865
 
818
866
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
819
- ----==_mimepart_561feddbe4e6a_3aea3fec76063be488987
867
+ ----==_mimepart_563796837edfd_2a0d3fff7dc57be894249
820
868
  Content-Type: text/html;
821
869
  charset=UTF-8
822
870
  Content-Transfer-Encoding: 7bit
@@ -862,7 +910,7 @@ body {
862
910
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
863
911
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
864
912
  <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">
865
- <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=_Cs_AFUeN4qzec_3ixyB" 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>
913
+ <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=QfD3UkRjymTPyFXujMve" 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>
866
914
  </td>
867
915
  </tr>
868
916
  </table>
@@ -907,49 +955,34 @@ body {
907
955
  </body>
908
956
  </html>
909
957
 
910
- ----==_mimepart_561feddbe4e6a_3aea3fec76063be488987--
958
+ ----==_mimepart_563796837edfd_2a0d3fff7dc57be894249--
911
959
 
912
-  (0.2ms) RELEASE SAVEPOINT active_record_2
913
- Processing by PushType::ConfirmationsController#update as HTML
914
- Parameters: {"user"=>{"confirmation_token"=>"_Cs_AFUeN4qzec_3ixyB", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
915
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "_Cs_AFUeN4qzec_3ixyB"]]
916
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != 'aaf6789c-76c7-44c1-adfc-669945f86c8b') LIMIT 1
917
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
918
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (104.5ms)
919
- Completed 200 OK in 112ms (Views: 109.3ms | ActiveRecord: 0.5ms)
920
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
921
-  (0.1ms) ROLLBACK
922
-  (0.1ms) BEGIN
923
- ------------------------------------------------------------------------------------------
924
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
925
- ------------------------------------------------------------------------------------------
926
-  (0.1ms) SAVEPOINT active_record_1
927
-  (0.1ms) RELEASE SAVEPOINT active_record_1
928
-  (0.1ms) SAVEPOINT active_record_1
960
+  (0.1ms) RELEASE SAVEPOINT active_record_2
961
+ Processing by PushType::UsersController#invite as HTML
962
+ Parameters: {"id"=>"a0d8bde1-9063-4185-8922-f94d10983218"}
963
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "e0f505ca-7787-4625-9be3-e9fd13e2a5cb"]]
964
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "a0d8bde1-9063-4185-8922-f94d10983218"]]
929
965
   (0.1ms) SAVEPOINT active_record_2
930
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
931
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
932
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "af65921f32dd62206329c2f4a8235d0d52535748d3c11eb44cdd9e3459bb2de4"]]
933
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", "2015-10-15 18:18:04.059346"], ["updated_at", "2015-10-15 18:18:04.059346"], ["confirmation_token", "Kses9Wjo6J4QSMY_3wKQ"], ["confirmation_sent_at", "2015-10-15 18:18:04.060824"]]
934
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
966
+  (0.1ms) RELEASE SAVEPOINT active_record_2
967
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
935
968
 
936
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.2ms
969
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
937
970
 
938
- Sent mail to joe-7@example.com (4.2ms)
939
- Date: Thu, 15 Oct 2015 19:18:04 +0100
971
+ Sent mail to joe-10@example.com (3.1ms)
972
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
940
973
  From: pushtype@example.com
941
974
  Reply-To: pushtype@example.com
942
- To: joe-7@example.com
943
- Message-ID: <561feddc1867a_3aea3fec76063be4893d1@Aarons-iMac.local.mail>
975
+ To: joe-10@example.com
976
+ Message-ID: <56379683880a9_2a0d3fff7dc57be8946fd@Aarons-iMac.local.mail>
944
977
  Subject: [PushType] Confirm your account
945
978
  Mime-Version: 1.0
946
979
  Content-Type: multipart/alternative;
947
- boundary="--==_mimepart_561feddc17dbb_3aea3fec76063be4892b1";
980
+ boundary="--==_mimepart_5637968387b80_2a0d3fff7dc57be89458c";
948
981
  charset=UTF-8
949
982
  Content-Transfer-Encoding: 7bit
950
983
 
951
984
 
952
- ----==_mimepart_561feddc17dbb_3aea3fec76063be4892b1
985
+ ----==_mimepart_5637968387b80_2a0d3fff7dc57be89458c
953
986
  Content-Type: text/plain;
954
987
  charset=UTF-8
955
988
  Content-Transfer-Encoding: 7bit
@@ -964,10 +997,10 @@ created for you.
964
997
  To get started, confirm your account and set your own password by
965
998
  clicking the link below:
966
999
 
967
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Kses9Wjo6J4QSMY_3wKQ )
1000
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=QfD3UkRjymTPyFXujMve )
968
1001
 
969
1002
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
970
- ----==_mimepart_561feddc17dbb_3aea3fec76063be4892b1
1003
+ ----==_mimepart_5637968387b80_2a0d3fff7dc57be89458c
971
1004
  Content-Type: text/html;
972
1005
  charset=UTF-8
973
1006
  Content-Transfer-Encoding: 7bit
@@ -1013,7 +1046,7 @@ body {
1013
1046
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1014
1047
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1015
1048
  <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">
1016
- <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=Kses9Wjo6J4QSMY_3wKQ" 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>
1049
+ <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=QfD3UkRjymTPyFXujMve" 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>
1017
1050
  </td>
1018
1051
  </tr>
1019
1052
  </table>
@@ -1058,49 +1091,48 @@ body {
1058
1091
  </body>
1059
1092
  </html>
1060
1093
 
1061
- ----==_mimepart_561feddc17dbb_3aea3fec76063be4892b1--
1094
+ ----==_mimepart_5637968387b80_2a0d3fff7dc57be89458c--
1062
1095
 
1063
-  (0.2ms) RELEASE SAVEPOINT active_record_2
1064
- Processing by PushType::ConfirmationsController#update as HTML
1065
- Parameters: {"user"=>{"confirmation_token"=>"Kses9Wjo6J4QSMY_3wKQ", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1066
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "Kses9Wjo6J4QSMY_3wKQ"]]
1067
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != 'abd49a87-5c67-4ad2-9d5f-8bccb7dd6517') LIMIT 1
1068
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1069
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.0ms)
1070
- Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.4ms)
1096
+ Redirected to /push_type/users
1097
+ Completed 302 Found in 34ms (ActiveRecord: 0.5ms)
1071
1098
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1072
1099
   (0.1ms) ROLLBACK
1073
1100
   (0.1ms) BEGIN
1074
- ------------------------------------------------------------------------------------------
1075
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
1076
- ------------------------------------------------------------------------------------------
1077
-  (0.1ms) SAVEPOINT active_record_1
1101
+ ---------------------------------------------------------------
1102
+ PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
1103
+ ---------------------------------------------------------------
1104
+  (0.0ms) SAVEPOINT active_record_1
1078
1105
   (0.0ms) RELEASE SAVEPOINT active_record_1
1079
1106
   (0.0ms) SAVEPOINT active_record_1
1080
1107
   (0.1ms) SAVEPOINT active_record_2
1081
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
1082
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-8@example.com' LIMIT 1
1083
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "06c2cb6c3a6c49df6eafe62c44d7e4507897c612d1f63bfb7ef0a8e0c236fef2"]]
1084
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", "2015-10-15 18:18:04.116981"], ["updated_at", "2015-10-15 18:18:04.116981"], ["confirmation_token", "iKskWUGSARJw4icx8koN"], ["confirmation_sent_at", "2015-10-15 18:18:04.117767"]]
1085
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1108
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1109
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1110
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.561475"], ["confirmed_at", "2015-11-02 16:59:47.561536"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.563165"], ["updated_at", "2015-11-02 16:59:47.563165"]]
1111
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1112
+  (0.1ms) SAVEPOINT active_record_2
1113
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1114
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1115
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "9f538f65f85cb0ba3c9558f2ce160a43a9634ab7691b3ce6416654d5446b9797"]]
1116
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", "2015-11-02 16:59:47.565859"], ["updated_at", "2015-11-02 16:59:47.565859"], ["confirmation_token", "gYHzp7eggMJfXvucHgay"], ["confirmation_sent_at", "2015-11-02 16:59:47.566548"]]
1117
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1086
1118
 
1087
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1119
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
1088
1120
 
1089
- Sent mail to joe-8@example.com (3.4ms)
1090
- Date: Thu, 15 Oct 2015 19:18:04 +0100
1121
+ Sent mail to joe-12@example.com (3.1ms)
1122
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
1091
1123
  From: pushtype@example.com
1092
1124
  Reply-To: pushtype@example.com
1093
- To: joe-8@example.com
1094
- Message-ID: <561feddc253c8_3aea3fec76063be4896f9@Aarons-iMac.local.mail>
1125
+ To: joe-12@example.com
1126
+ Message-ID: <5637968391e72_2a0d3fff7dc57be89495f@Aarons-iMac.local.mail>
1095
1127
  Subject: [PushType] Confirm your account
1096
1128
  Mime-Version: 1.0
1097
1129
  Content-Type: multipart/alternative;
1098
- boundary="--==_mimepart_561feddc24d9a_3aea3fec76063be48952a";
1130
+ boundary="--==_mimepart_5637968391869_2a0d3fff7dc57be894834";
1099
1131
  charset=UTF-8
1100
1132
  Content-Transfer-Encoding: 7bit
1101
1133
 
1102
1134
 
1103
- ----==_mimepart_561feddc24d9a_3aea3fec76063be48952a
1135
+ ----==_mimepart_5637968391869_2a0d3fff7dc57be894834
1104
1136
  Content-Type: text/plain;
1105
1137
  charset=UTF-8
1106
1138
  Content-Transfer-Encoding: 7bit
@@ -1115,10 +1147,10 @@ created for you.
1115
1147
  To get started, confirm your account and set your own password by
1116
1148
  clicking the link below:
1117
1149
 
1118
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=iKskWUGSARJw4icx8koN )
1150
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=gYHzp7eggMJfXvucHgay )
1119
1151
 
1120
1152
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1121
- ----==_mimepart_561feddc24d9a_3aea3fec76063be48952a
1153
+ ----==_mimepart_5637968391869_2a0d3fff7dc57be894834
1122
1154
  Content-Type: text/html;
1123
1155
  charset=UTF-8
1124
1156
  Content-Transfer-Encoding: 7bit
@@ -1164,7 +1196,7 @@ body {
1164
1196
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1165
1197
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1166
1198
  <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">
1167
- <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=iKskWUGSARJw4icx8koN" 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>
1199
+ <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=gYHzp7eggMJfXvucHgay" 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>
1168
1200
  </td>
1169
1201
  </tr>
1170
1202
  </table>
@@ -1209,49 +1241,34 @@ body {
1209
1241
  </body>
1210
1242
  </html>
1211
1243
 
1212
- ----==_mimepart_561feddc24d9a_3aea3fec76063be48952a--
1244
+ ----==_mimepart_5637968391869_2a0d3fff7dc57be894834--
1213
1245
 
1214
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1215
- Processing by PushType::ConfirmationsController#update as HTML
1216
- Parameters: {"user"=>{"confirmation_token"=>"iKskWUGSARJw4icx8koN", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1217
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "iKskWUGSARJw4icx8koN"]]
1218
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-8@example.com' AND "push_type_users"."id" != '73846448-f0af-448e-8053-aaa7402a2dce') LIMIT 1
1219
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1220
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.3ms)
1221
- Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.4ms)
1222
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1223
-  (0.1ms) ROLLBACK
1224
-  (0.1ms) BEGIN
1225
- ----------------------------------------------------------------------------------------------------
1226
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
1227
- ----------------------------------------------------------------------------------------------------
1228
-  (0.1ms) SAVEPOINT active_record_1
1229
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1230
-  (0.1ms) SAVEPOINT active_record_1
1231
-  (0.1ms) SAVEPOINT active_record_2
1232
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
1233
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-9@example.com' LIMIT 1
1234
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "f02cbd4b47613126b20e5cf8c28d4892f40d1b5020cd3d51a7b3f6a67cd7f358"]]
1235
- 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", "2015-10-15 18:18:04.173838"], ["updated_at", "2015-10-15 18:18:04.173838"], ["confirmation_token", "jBKArxLA27m8_juRFE3f"], ["confirmation_sent_at", "2015-10-15 18:18:04.174994"]]
1236
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.5ms)
1246
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1247
+ Processing by PushType::UsersController#invite as HTML
1248
+ Parameters: {"id"=>"b8a50076-3e93-499b-9d25-76680ab361f8"}
1249
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "d95f4911-dd4a-4a89-b3b1-e530f7197571"]]
1250
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "b8a50076-3e93-499b-9d25-76680ab361f8"]]
1251
+  (0.1ms) SAVEPOINT active_record_2
1252
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1253
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1237
1254
 
1238
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.2ms
1255
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
1239
1256
 
1240
- Sent mail to joe-9@example.com (3.7ms)
1241
- Date: Thu, 15 Oct 2015 19:18:04 +0100
1257
+ Sent mail to joe-12@example.com (2.9ms)
1258
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
1242
1259
  From: pushtype@example.com
1243
1260
  Reply-To: pushtype@example.com
1244
- To: joe-9@example.com
1245
- Message-ID: <561feddc33d5f_3aea3fec76063be4899a6@Aarons-iMac.local.mail>
1261
+ To: joe-12@example.com
1262
+ Message-ID: <563796839a825_2a0d3fff7dc57be89521e@Aarons-iMac.local.mail>
1246
1263
  Subject: [PushType] Confirm your account
1247
1264
  Mime-Version: 1.0
1248
1265
  Content-Type: multipart/alternative;
1249
- boundary="--==_mimepart_561feddc336c4_3aea3fec76063be489828";
1266
+ boundary="--==_mimepart_563796839a2ea_2a0d3fff7dc57be89518";
1250
1267
  charset=UTF-8
1251
1268
  Content-Transfer-Encoding: 7bit
1252
1269
 
1253
1270
 
1254
- ----==_mimepart_561feddc336c4_3aea3fec76063be489828
1271
+ ----==_mimepart_563796839a2ea_2a0d3fff7dc57be89518
1255
1272
  Content-Type: text/plain;
1256
1273
  charset=UTF-8
1257
1274
  Content-Transfer-Encoding: 7bit
@@ -1266,10 +1283,10 @@ created for you.
1266
1283
  To get started, confirm your account and set your own password by
1267
1284
  clicking the link below:
1268
1285
 
1269
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=jBKArxLA27m8_juRFE3f )
1286
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=gYHzp7eggMJfXvucHgay )
1270
1287
 
1271
1288
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1272
- ----==_mimepart_561feddc336c4_3aea3fec76063be489828
1289
+ ----==_mimepart_563796839a2ea_2a0d3fff7dc57be89518
1273
1290
  Content-Type: text/html;
1274
1291
  charset=UTF-8
1275
1292
  Content-Transfer-Encoding: 7bit
@@ -1315,7 +1332,7 @@ body {
1315
1332
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1316
1333
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1317
1334
  <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">
1318
- <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=jBKArxLA27m8_juRFE3f" 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>
1335
+ <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=gYHzp7eggMJfXvucHgay" 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>
1319
1336
  </td>
1320
1337
  </tr>
1321
1338
  </table>
@@ -1360,48 +1377,48 @@ body {
1360
1377
  </body>
1361
1378
  </html>
1362
1379
 
1363
- ----==_mimepart_561feddc336c4_3aea3fec76063be489828--
1380
+ ----==_mimepart_563796839a2ea_2a0d3fff7dc57be89518--
1364
1381
 
1365
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1366
- Processing by PushType::ConfirmationsController#show as HTML
1367
- Parameters: {"confirmation_token"=>"jBKArxLA27m8_juRFE3f"}
1368
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "jBKArxLA27m8_juRFE3f"]]
1369
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1370
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.0ms)
1371
- Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.2ms)
1372
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1382
+ Redirected to /push_type/users
1383
+ Completed 302 Found in 34ms (ActiveRecord: 0.4ms)
1384
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1373
1385
   (0.1ms) ROLLBACK
1374
1386
   (0.1ms) BEGIN
1375
- ----------------------------------------------------------------------------------------------------
1376
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
1377
- ----------------------------------------------------------------------------------------------------
1378
-  (0.1ms) SAVEPOINT active_record_1
1387
+ ---------------------------------------------------------------
1388
+ PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
1389
+ ---------------------------------------------------------------
1390
+  (0.0ms) SAVEPOINT active_record_1
1379
1391
   (0.0ms) RELEASE SAVEPOINT active_record_1
1380
1392
   (0.0ms) SAVEPOINT active_record_1
1381
1393
   (0.1ms) SAVEPOINT active_record_2
1382
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1383
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-10@example.com' LIMIT 1
1384
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "1300b99006e5c3498933562fa51063f07116bd5843b1d9580e8aa8085a320daa"]]
1385
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", "2015-10-15 18:18:04.228694"], ["updated_at", "2015-10-15 18:18:04.228694"], ["confirmation_token", "Xy2hWvBirP_jo3Rss2ib"], ["confirmation_sent_at", "2015-10-15 18:18:04.229679"]]
1386
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1394
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1395
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1396
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.636777"], ["confirmed_at", "2015-11-02 16:59:47.636836"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.638408"], ["updated_at", "2015-11-02 16:59:47.638408"]]
1397
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1398
+  (0.1ms) SAVEPOINT active_record_2
1399
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1400
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1401
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "c514fcaf5a8e478d9008486d909f81041e8315d44d3912e57f09e84d82847c2b"]]
1402
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", "2015-11-02 16:59:47.640986"], ["updated_at", "2015-11-02 16:59:47.640986"], ["confirmation_token", "5r-shr8nEwAfCncaNw-9"], ["confirmation_sent_at", "2015-11-02 16:59:47.641630"]]
1403
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1387
1404
 
1388
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.0ms
1405
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
1389
1406
 
1390
- Sent mail to joe-10@example.com (3.1ms)
1391
- Date: Thu, 15 Oct 2015 19:18:04 +0100
1407
+ Sent mail to joe-14@example.com (3.0ms)
1408
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
1392
1409
  From: pushtype@example.com
1393
1410
  Reply-To: pushtype@example.com
1394
- To: joe-10@example.com
1395
- Message-ID: <561feddc40c8e_3aea3fec76063be4902ea@Aarons-iMac.local.mail>
1411
+ To: joe-14@example.com
1412
+ Message-ID: <56379683a4820_2a0d3fff7dc57be89557b@Aarons-iMac.local.mail>
1396
1413
  Subject: [PushType] Confirm your account
1397
1414
  Mime-Version: 1.0
1398
1415
  Content-Type: multipart/alternative;
1399
- boundary="--==_mimepart_561feddc4070a_3aea3fec76063be49018";
1416
+ boundary="--==_mimepart_56379683a4294_2a0d3fff7dc57be895446";
1400
1417
  charset=UTF-8
1401
1418
  Content-Transfer-Encoding: 7bit
1402
1419
 
1403
1420
 
1404
- ----==_mimepart_561feddc4070a_3aea3fec76063be49018
1421
+ ----==_mimepart_56379683a4294_2a0d3fff7dc57be895446
1405
1422
  Content-Type: text/plain;
1406
1423
  charset=UTF-8
1407
1424
  Content-Transfer-Encoding: 7bit
@@ -1416,10 +1433,10 @@ created for you.
1416
1433
  To get started, confirm your account and set your own password by
1417
1434
  clicking the link below:
1418
1435
 
1419
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=Xy2hWvBirP_jo3Rss2ib )
1436
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=5r-shr8nEwAfCncaNw-9 )
1420
1437
 
1421
1438
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1422
- ----==_mimepart_561feddc4070a_3aea3fec76063be49018
1439
+ ----==_mimepart_56379683a4294_2a0d3fff7dc57be895446
1423
1440
  Content-Type: text/html;
1424
1441
  charset=UTF-8
1425
1442
  Content-Transfer-Encoding: 7bit
@@ -1465,7 +1482,7 @@ body {
1465
1482
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1466
1483
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1467
1484
  <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">
1468
- <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=Xy2hWvBirP_jo3Rss2ib" 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>
1485
+ <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=5r-shr8nEwAfCncaNw-9" 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>
1469
1486
  </td>
1470
1487
  </tr>
1471
1488
  </table>
@@ -1504,129 +1521,40 @@ body {
1504
1521
  </td>
1505
1522
  <td style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0"></td>
1506
1523
  </tr>
1507
- </table>
1508
- <!-- /footer -->
1509
-
1510
- </body>
1511
- </html>
1512
-
1513
- ----==_mimepart_561feddc4070a_3aea3fec76063be49018--
1514
-
1515
-  (0.2ms) RELEASE SAVEPOINT active_record_2
1516
- Processing by PushType::ConfirmationsController#show as HTML
1517
- Parameters: {"confirmation_token"=>"Xy2hWvBirP_jo3Rss2ib"}
1518
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "Xy2hWvBirP_jo3Rss2ib"]]
1519
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
1520
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.4ms)
1521
- Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.2ms)
1522
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1523
-  (0.1ms) ROLLBACK
1524
-  (0.1ms) BEGIN
1525
- -----------------------------------------------------------------------------------
1526
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
1527
- -----------------------------------------------------------------------------------
1528
-  (0.1ms) SAVEPOINT active_record_1
1529
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1530
-  (0.1ms) SAVEPOINT active_record_1
1531
-  (0.1ms) SAVEPOINT active_record_2
1532
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1533
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-11@example.com' LIMIT 1
1534
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["confirmation_sent_at", "2015-10-15 18:18:04.281599"], ["confirmed_at", "2015-10-15 18:18:04.281699"], ["confirmation_token", "Generated account"], ["created_at", "2015-10-15 18:18:04.283671"], ["updated_at", "2015-10-15 18:18:04.283671"]]
1535
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1536
- Processing by PushType::ProfilesController#update as HTML
1537
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1538
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "23ec44d9-b3f9-476c-82a0-69ca7f4a62ef"]]
1539
-  (0.1ms) SAVEPOINT active_record_2
1540
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-11@example.com' AND "push_type_users"."id" != '23ec44d9-b3f9-476c-82a0-69ca7f4a62ef') LIMIT 1
1541
- 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", "2015-10-15 18:18:04.289565"], ["id", "23ec44d9-b3f9-476c-82a0-69ca7f4a62ef"]]
1542
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1543
- Redirected to http://test.host/push_type/profile/edit
1544
- Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
1545
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "23ec44d9-b3f9-476c-82a0-69ca7f4a62ef"]]
1546
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1547
-  (0.1ms) ROLLBACK
1548
-  (0.1ms) BEGIN
1549
- -----------------------------------------------------------------------------------
1550
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
1551
- -----------------------------------------------------------------------------------
1552
-  (0.0ms) SAVEPOINT active_record_1
1553
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1554
-  (0.0ms) SAVEPOINT active_record_1
1555
-  (0.1ms) SAVEPOINT active_record_2
1556
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1557
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-12@example.com' LIMIT 1
1558
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["confirmation_sent_at", "2015-10-15 18:18:04.293780"], ["confirmed_at", "2015-10-15 18:18:04.293827"], ["confirmation_token", "Generated account"], ["created_at", "2015-10-15 18:18:04.295262"], ["updated_at", "2015-10-15 18:18:04.295262"]]
1559
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1560
- Processing by PushType::ProfilesController#update as HTML
1561
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1562
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "4eb10b27-c5a4-48bd-afd2-6bc569ad5543"]]
1563
-  (0.1ms) SAVEPOINT active_record_2
1564
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-12@example.com' AND "push_type_users"."id" != '4eb10b27-c5a4-48bd-afd2-6bc569ad5543') LIMIT 1
1565
- 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", "2015-10-15 18:18:04.299734"], ["id", "4eb10b27-c5a4-48bd-afd2-6bc569ad5543"]]
1566
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1567
- Redirected to http://test.host/push_type/profile/edit
1568
- Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
1569
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1570
-  (0.1ms) ROLLBACK
1571
-  (0.1ms) BEGIN
1572
- -----------------------------------------------------------------------------------
1573
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
1574
- -----------------------------------------------------------------------------------
1575
-  (0.0ms) SAVEPOINT active_record_1
1576
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1577
-  (0.0ms) SAVEPOINT active_record_1
1578
-  (0.1ms) SAVEPOINT active_record_2
1579
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1580
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-13@example.com' LIMIT 1
1581
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["confirmation_sent_at", "2015-10-15 18:18:04.303167"], ["confirmed_at", "2015-10-15 18:18:04.303214"], ["confirmation_token", "Generated account"], ["created_at", "2015-10-15 18:18:04.304570"], ["updated_at", "2015-10-15 18:18:04.304570"]]
1582
-  (0.2ms) RELEASE SAVEPOINT active_record_2
1583
- Processing by PushType::ProfilesController#update as HTML
1584
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1585
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "75ecd869-aeb7-4606-9bf3-48ee9e2e74eb"]]
1586
-  (0.1ms) SAVEPOINT active_record_2
1587
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-13@example.com' AND "push_type_users"."id" != '75ecd869-aeb7-4606-9bf3-48ee9e2e74eb') LIMIT 1
1588
- SQL (0.1ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", "2015-10-15 18:18:04.308773"], ["id", "75ecd869-aeb7-4606-9bf3-48ee9e2e74eb"]]
1589
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1590
- Redirected to http://test.host/push_type/profile/edit
1591
- Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
1592
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1593
-  (0.1ms) ROLLBACK
1594
-  (0.0ms) BEGIN
1595
- ---------------------------------------------------------------
1596
- PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
1597
- ---------------------------------------------------------------
1598
-  (0.1ms) SAVEPOINT active_record_1
1599
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1600
-  (0.1ms) SAVEPOINT active_record_1
1601
-  (0.1ms) SAVEPOINT active_record_2
1602
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1603
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-14@example.com' LIMIT 1
1604
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["confirmation_sent_at", "2015-10-15 18:18:04.312643"], ["confirmed_at", "2015-10-15 18:18:04.312690"], ["confirmation_token", "Generated account"], ["created_at", "2015-10-15 18:18:04.314151"], ["updated_at", "2015-10-15 18:18:04.314151"]]
1524
+ </table>
1525
+ <!-- /footer -->
1526
+
1527
+ </body>
1528
+ </html>
1529
+
1530
+ ----==_mimepart_56379683a4294_2a0d3fff7dc57be895446--
1531
+
1605
1532
   (0.1ms) RELEASE SAVEPOINT active_record_2
1533
+ Processing by PushType::UsersController#invite as HTML
1534
+ Parameters: {"id"=>"0583c5fd-3e1e-4c7c-b779-5f002793dfea"}
1535
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "e0ef9a0e-8c82-43da-8c40-1fda4d39bf2c"]]
1536
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "0583c5fd-3e1e-4c7c-b779-5f002793dfea"]]
1606
1537
   (0.1ms) SAVEPOINT active_record_2
1607
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1608
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1609
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "332b7530af770ace43f3b55882c884d2022aa2e1b07d5c7103695e947278e923"]]
1610
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", "2015-10-15 18:18:04.317098"], ["updated_at", "2015-10-15 18:18:04.317098"], ["confirmation_token", "mQEbaSjoBH9MMGFX1HAt"], ["confirmation_sent_at", "2015-10-15 18:18:04.317838"]]
1611
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1538
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1539
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1612
1540
 
1613
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
1541
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
1614
1542
 
1615
- Sent mail to joe-15@example.com (3.2ms)
1616
- Date: Thu, 15 Oct 2015 19:18:04 +0100
1543
+ Sent mail to joe-14@example.com (2.9ms)
1544
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
1617
1545
  From: pushtype@example.com
1618
1546
  Reply-To: pushtype@example.com
1619
- To: joe-15@example.com
1620
- Message-ID: <561feddc55ab1_3aea3fec76063be490577@Aarons-iMac.local.mail>
1547
+ To: joe-14@example.com
1548
+ Message-ID: <56379683ad0c2_2a0d3fff7dc57be895821@Aarons-iMac.local.mail>
1621
1549
  Subject: [PushType] Confirm your account
1622
1550
  Mime-Version: 1.0
1623
1551
  Content-Type: multipart/alternative;
1624
- boundary="--==_mimepart_561feddc5550a_3aea3fec76063be49049a";
1552
+ boundary="--==_mimepart_56379683acba5_2a0d3fff7dc57be895724";
1625
1553
  charset=UTF-8
1626
1554
  Content-Transfer-Encoding: 7bit
1627
1555
 
1628
1556
 
1629
- ----==_mimepart_561feddc5550a_3aea3fec76063be49049a
1557
+ ----==_mimepart_56379683acba5_2a0d3fff7dc57be895724
1630
1558
  Content-Type: text/plain;
1631
1559
  charset=UTF-8
1632
1560
  Content-Transfer-Encoding: 7bit
@@ -1641,10 +1569,10 @@ created for you.
1641
1569
  To get started, confirm your account and set your own password by
1642
1570
  clicking the link below:
1643
1571
 
1644
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=mQEbaSjoBH9MMGFX1HAt )
1572
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=5r-shr8nEwAfCncaNw-9 )
1645
1573
 
1646
1574
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1647
- ----==_mimepart_561feddc5550a_3aea3fec76063be49049a
1575
+ ----==_mimepart_56379683acba5_2a0d3fff7dc57be895724
1648
1576
  Content-Type: text/html;
1649
1577
  charset=UTF-8
1650
1578
  Content-Transfer-Encoding: 7bit
@@ -1690,7 +1618,7 @@ body {
1690
1618
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1691
1619
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1692
1620
  <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">
1693
- <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=mQEbaSjoBH9MMGFX1HAt" 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>
1621
+ <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=5r-shr8nEwAfCncaNw-9" 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>
1694
1622
  </td>
1695
1623
  </tr>
1696
1624
  </table>
@@ -1735,34 +1663,61 @@ body {
1735
1663
  </body>
1736
1664
  </html>
1737
1665
 
1738
- ----==_mimepart_561feddc5550a_3aea3fec76063be49049a--
1666
+ ----==_mimepart_56379683acba5_2a0d3fff7dc57be895724--
1739
1667
 
1740
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1741
- Processing by PushType::UsersController#invite as HTML
1742
- Parameters: {"id"=>"4bac6edf-0da4-4c28-aa10-853c5131efa7"}
1743
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "bb4ebe3d-8fcf-4a3b-b2e4-e7c63986945c"]]
1744
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "4bac6edf-0da4-4c28-aa10-853c5131efa7"]]
1745
-  (0.1ms) SAVEPOINT active_record_2
1746
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1668
+ Redirected to /push_type/users
1669
+ Completed 302 Found in 34ms (ActiveRecord: 0.4ms)
1670
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1671
+  (0.1ms) ROLLBACK
1672
+  (0.1ms) BEGIN
1673
+ -------------------------------------------------------------
1674
+ PushType::AuthenticatableTest::trackable: test_0001_anonymous
1675
+ -------------------------------------------------------------
1676
+  (0.1ms) SAVEPOINT active_record_1
1677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1678
+  (0.0ms) SAVEPOINT active_record_1
1679
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1680
+  (0.1ms) ROLLBACK
1681
+  (0.1ms) BEGIN
1682
+ ----------------------------------------------------------------
1683
+ PushType::AuthenticatableTest::rememberable: test_0001_anonymous
1684
+ ----------------------------------------------------------------
1685
+  (0.1ms) SAVEPOINT active_record_1
1686
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1687
+  (0.1ms) SAVEPOINT active_record_1
1688
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1689
+  (0.1ms) ROLLBACK
1690
+  (0.0ms) BEGIN
1691
+ ----------------------------------------------------------------------------------------------------
1692
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
1693
+ ----------------------------------------------------------------------------------------------------
1694
+  (0.0ms) SAVEPOINT active_record_1
1695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1696
+  (0.0ms) SAVEPOINT active_record_1
1697
+  (0.0ms) SAVEPOINT active_record_2
1698
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1699
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-15@example.com' LIMIT 1
1700
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ce68a03d06c03ce3a6895bfe8d50e7b4798d92a13227e1b7b7e7e0a859dcf9b2"]]
1701
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", "2015-11-02 16:59:47.718788"], ["updated_at", "2015-11-02 16:59:47.718788"], ["confirmation_token", "ojUinCQ242dipt2MwAQg"], ["confirmation_sent_at", "2015-11-02 16:59:47.719488"]]
1747
1702
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1748
1703
 
1749
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1704
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
1750
1705
 
1751
- Sent mail to joe-15@example.com (3.0ms)
1752
- Date: Thu, 15 Oct 2015 19:18:04 +0100
1706
+ Sent mail to joe-15@example.com (2.9ms)
1707
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
1753
1708
  From: pushtype@example.com
1754
1709
  Reply-To: pushtype@example.com
1755
1710
  To: joe-15@example.com
1756
- Message-ID: <561feddc5f3c4_3aea3fec76063be490818@Aarons-iMac.local.mail>
1711
+ Message-ID: <56379683b6f29_2a0d3fff7dc57be8961ce@Aarons-iMac.local.mail>
1757
1712
  Subject: [PushType] Confirm your account
1758
1713
  Mime-Version: 1.0
1759
1714
  Content-Type: multipart/alternative;
1760
- boundary="--==_mimepart_561feddc5ee5f_3aea3fec76063be4907f4";
1715
+ boundary="--==_mimepart_56379683b69e0_2a0d3fff7dc57be89603";
1761
1716
  charset=UTF-8
1762
1717
  Content-Transfer-Encoding: 7bit
1763
1718
 
1764
1719
 
1765
- ----==_mimepart_561feddc5ee5f_3aea3fec76063be4907f4
1720
+ ----==_mimepart_56379683b69e0_2a0d3fff7dc57be89603
1766
1721
  Content-Type: text/plain;
1767
1722
  charset=UTF-8
1768
1723
  Content-Transfer-Encoding: 7bit
@@ -1777,10 +1732,10 @@ created for you.
1777
1732
  To get started, confirm your account and set your own password by
1778
1733
  clicking the link below:
1779
1734
 
1780
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=mQEbaSjoBH9MMGFX1HAt )
1735
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ojUinCQ242dipt2MwAQg )
1781
1736
 
1782
1737
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1783
- ----==_mimepart_561feddc5ee5f_3aea3fec76063be4907f4
1738
+ ----==_mimepart_56379683b69e0_2a0d3fff7dc57be89603
1784
1739
  Content-Type: text/html;
1785
1740
  charset=UTF-8
1786
1741
  Content-Transfer-Encoding: 7bit
@@ -1826,7 +1781,7 @@ body {
1826
1781
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1827
1782
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1828
1783
  <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">
1829
- <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=mQEbaSjoBH9MMGFX1HAt" 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>
1784
+ <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=ojUinCQ242dipt2MwAQg" 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>
1830
1785
  </td>
1831
1786
  </tr>
1832
1787
  </table>
@@ -1871,48 +1826,48 @@ body {
1871
1826
  </body>
1872
1827
  </html>
1873
1828
 
1874
- ----==_mimepart_561feddc5ee5f_3aea3fec76063be4907f4--
1829
+ ----==_mimepart_56379683b69e0_2a0d3fff7dc57be89603--
1875
1830
 
1876
- Redirected to /push_type/users
1877
- Completed 302 Found in 37ms (ActiveRecord: 0.6ms)
1878
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1879
-  (0.1ms) ROLLBACK
1880
-  (0.1ms) BEGIN
1881
- ---------------------------------------------------------------
1882
- PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
1883
- ---------------------------------------------------------------
1884
-  (0.1ms) SAVEPOINT active_record_1
1885
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1886
-  (0.0ms) SAVEPOINT active_record_1
1887
-  (0.1ms) SAVEPOINT active_record_2
1888
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1889
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1890
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["confirmation_sent_at", "2015-10-15 18:18:04.394616"], ["confirmed_at", "2015-10-15 18:18:04.394694"], ["confirmation_token", "Generated account"], ["created_at", "2015-10-15 18:18:04.396399"], ["updated_at", "2015-10-15 18:18:04.396399"]]
1891
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1831
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1832
+ Processing by PushType::ConfirmationsController#show as HTML
1833
+ Parameters: {"confirmation_token"=>"ojUinCQ242dipt2MwAQg"}
1834
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "ojUinCQ242dipt2MwAQg"]]
1835
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1836
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (4.0ms)
1837
+ Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.1ms)
1838
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1839
+  (0.1ms) ROLLBACK
1840
+  (0.1ms) BEGIN
1841
+ ----------------------------------------------------------------------------------------------------
1842
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
1843
+ ----------------------------------------------------------------------------------------------------
1844
+  (0.0ms) SAVEPOINT active_record_1
1845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1846
+  (0.0ms) SAVEPOINT active_record_1
1892
1847
   (0.1ms) SAVEPOINT active_record_2
1893
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1894
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1895
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "8fb67c001ea0e6eb9cbb3f9c36a6633255e484ed174320bad77ff7fcca432886"]]
1896
- 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", "2015-10-15 18:18:04.399514"], ["updated_at", "2015-10-15 18:18:04.399514"], ["confirmation_token", "mLddMBEogS-9Rh7NVVah"], ["confirmation_sent_at", "2015-10-15 18:18:04.400325"]]
1897
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1848
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1849
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-16@example.com' LIMIT 1
1850
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "e784ecd10f1eac49e137a632739fe808b3f3f079a9efce537b16de3d3513531f"]]
1851
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", "2015-11-02 16:59:47.764738"], ["updated_at", "2015-11-02 16:59:47.764738"], ["confirmation_token", "cA_MkSjuxxfzeox_nsLX"], ["confirmation_sent_at", "2015-11-02 16:59:47.765460"]]
1852
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1898
1853
 
1899
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1854
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1900
1855
 
1901
- Sent mail to joe-17@example.com (3.1ms)
1902
- Date: Thu, 15 Oct 2015 19:18:04 +0100
1856
+ Sent mail to joe-16@example.com (3.2ms)
1857
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
1903
1858
  From: pushtype@example.com
1904
1859
  Reply-To: pushtype@example.com
1905
- To: joe-17@example.com
1906
- Message-ID: <561feddc6975f_3aea3fec76063be4911c6@Aarons-iMac.local.mail>
1860
+ To: joe-16@example.com
1861
+ Message-ID: <56379683c246e_2a0d3fff7dc57be89648b@Aarons-iMac.local.mail>
1907
1862
  Subject: [PushType] Confirm your account
1908
1863
  Mime-Version: 1.0
1909
1864
  Content-Type: multipart/alternative;
1910
- boundary="--==_mimepart_561feddc691ee_3aea3fec76063be4910ea";
1865
+ boundary="--==_mimepart_56379683c1e90_2a0d3fff7dc57be8963e6";
1911
1866
  charset=UTF-8
1912
1867
  Content-Transfer-Encoding: 7bit
1913
1868
 
1914
1869
 
1915
- ----==_mimepart_561feddc691ee_3aea3fec76063be4910ea
1870
+ ----==_mimepart_56379683c1e90_2a0d3fff7dc57be8963e6
1916
1871
  Content-Type: text/plain;
1917
1872
  charset=UTF-8
1918
1873
  Content-Transfer-Encoding: 7bit
@@ -1927,10 +1882,10 @@ created for you.
1927
1882
  To get started, confirm your account and set your own password by
1928
1883
  clicking the link below:
1929
1884
 
1930
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=mLddMBEogS-9Rh7NVVah )
1885
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=cA_MkSjuxxfzeox_nsLX )
1931
1886
 
1932
1887
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1933
- ----==_mimepart_561feddc691ee_3aea3fec76063be4910ea
1888
+ ----==_mimepart_56379683c1e90_2a0d3fff7dc57be8963e6
1934
1889
  Content-Type: text/html;
1935
1890
  charset=UTF-8
1936
1891
  Content-Transfer-Encoding: 7bit
@@ -1976,7 +1931,7 @@ body {
1976
1931
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
1977
1932
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
1978
1933
  <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">
1979
- <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=mLddMBEogS-9Rh7NVVah" 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>
1934
+ <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=cA_MkSjuxxfzeox_nsLX" 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>
1980
1935
  </td>
1981
1936
  </tr>
1982
1937
  </table>
@@ -2021,34 +1976,48 @@ body {
2021
1976
  </body>
2022
1977
  </html>
2023
1978
 
2024
- ----==_mimepart_561feddc691ee_3aea3fec76063be4910ea--
1979
+ ----==_mimepart_56379683c1e90_2a0d3fff7dc57be8963e6--
2025
1980
 
2026
1981
   (0.1ms) RELEASE SAVEPOINT active_record_2
2027
- Processing by PushType::UsersController#invite as HTML
2028
- Parameters: {"id"=>"7667d2d0-fd8b-4a67-a268-ec3aa3b2bbea"}
2029
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "80132cef-81fd-4c4b-b846-623548dbe042"]]
2030
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "7667d2d0-fd8b-4a67-a268-ec3aa3b2bbea"]]
2031
-  (0.1ms) SAVEPOINT active_record_2
2032
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1982
+ Processing by PushType::ConfirmationsController#show as HTML
1983
+ Parameters: {"confirmation_token"=>"cA_MkSjuxxfzeox_nsLX"}
1984
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "cA_MkSjuxxfzeox_nsLX"]]
1985
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1986
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
1987
+ Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.1ms)
1988
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1989
+  (0.1ms) ROLLBACK
1990
+  (0.1ms) BEGIN
1991
+ ------------------------------------------------------------------------------------------
1992
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
1993
+ ------------------------------------------------------------------------------------------
1994
+  (0.0ms) SAVEPOINT active_record_1
1995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1996
+  (0.0ms) SAVEPOINT active_record_1
1997
+  (0.0ms) SAVEPOINT active_record_2
1998
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
1999
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-17@example.com' LIMIT 1
2000
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "3aac86f3827e9c45a92337889c7e4bd26e1b33c418977a8c2cddd668ce531f91"]]
2001
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", "2015-11-02 16:59:47.808821"], ["updated_at", "2015-11-02 16:59:47.808821"], ["confirmation_token", "u-k1qMEsyqiFe_1afsd_"], ["confirmation_sent_at", "2015-11-02 16:59:47.809535"]]
2033
2002
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2034
2003
 
2035
2004
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
2036
2005
 
2037
- Sent mail to joe-17@example.com (2.8ms)
2038
- Date: Thu, 15 Oct 2015 19:18:04 +0100
2006
+ Sent mail to joe-17@example.com (3.0ms)
2007
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
2039
2008
  From: pushtype@example.com
2040
2009
  Reply-To: pushtype@example.com
2041
2010
  To: joe-17@example.com
2042
- Message-ID: <561feddc721d0_3aea3fec76063be4914a7@Aarons-iMac.local.mail>
2011
+ Message-ID: <56379683cd10c_2a0d3fff7dc57be89675f@Aarons-iMac.local.mail>
2043
2012
  Subject: [PushType] Confirm your account
2044
2013
  Mime-Version: 1.0
2045
2014
  Content-Type: multipart/alternative;
2046
- boundary="--==_mimepart_561feddc71cd1_3aea3fec76063be491377";
2015
+ boundary="--==_mimepart_56379683ccba5_2a0d3fff7dc57be896625";
2047
2016
  charset=UTF-8
2048
2017
  Content-Transfer-Encoding: 7bit
2049
2018
 
2050
2019
 
2051
- ----==_mimepart_561feddc71cd1_3aea3fec76063be491377
2020
+ ----==_mimepart_56379683ccba5_2a0d3fff7dc57be896625
2052
2021
  Content-Type: text/plain;
2053
2022
  charset=UTF-8
2054
2023
  Content-Transfer-Encoding: 7bit
@@ -2063,10 +2032,10 @@ created for you.
2063
2032
  To get started, confirm your account and set your own password by
2064
2033
  clicking the link below:
2065
2034
 
2066
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=mLddMBEogS-9Rh7NVVah )
2035
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=u-k1qMEsyqiFe_1afsd_ )
2067
2036
 
2068
2037
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2069
- ----==_mimepart_561feddc71cd1_3aea3fec76063be491377
2038
+ ----==_mimepart_56379683ccba5_2a0d3fff7dc57be896625
2070
2039
  Content-Type: text/html;
2071
2040
  charset=UTF-8
2072
2041
  Content-Transfer-Encoding: 7bit
@@ -2112,7 +2081,7 @@ body {
2112
2081
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2113
2082
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2114
2083
  <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">
2115
- <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=mLddMBEogS-9Rh7NVVah" 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>
2084
+ <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=u-k1qMEsyqiFe_1afsd_" 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>
2116
2085
  </td>
2117
2086
  </tr>
2118
2087
  </table>
@@ -2157,48 +2126,49 @@ body {
2157
2126
  </body>
2158
2127
  </html>
2159
2128
 
2160
- ----==_mimepart_561feddc71cd1_3aea3fec76063be491377--
2129
+ ----==_mimepart_56379683ccba5_2a0d3fff7dc57be896625--
2161
2130
 
2162
- Redirected to /push_type/users
2163
- Completed 302 Found in 34ms (ActiveRecord: 0.5ms)
2164
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2165
-  (0.1ms) ROLLBACK
2166
-  (0.1ms) BEGIN
2167
- ---------------------------------------------------------------
2168
- PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
2169
- ---------------------------------------------------------------
2170
-  (0.0ms) SAVEPOINT active_record_1
2171
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2172
-  (0.0ms) SAVEPOINT active_record_1
2173
-  (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" = 'joe-18@example.com' LIMIT 1
2175
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2176
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["confirmation_sent_at", "2015-10-15 18:18:04.471439"], ["confirmed_at", "2015-10-15 18:18:04.471498"], ["confirmation_token", "Generated account"], ["created_at", "2015-10-15 18:18:04.473067"], ["updated_at", "2015-10-15 18:18:04.473067"]]
2177
2131
   (0.1ms) RELEASE SAVEPOINT active_record_2
2132
+ Processing by PushType::ConfirmationsController#update as HTML
2133
+ Parameters: {"user"=>{"confirmation_token"=>"u-k1qMEsyqiFe_1afsd_", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2134
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "u-k1qMEsyqiFe_1afsd_"]]
2135
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-17@example.com' AND "push_type_users"."id" != 'd5cbdf95-d2bb-47b9-9926-a6695700602b') LIMIT 1
2136
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.2ms)
2137
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.5ms)
2138
+ Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.3ms)
2139
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2140
+  (0.1ms) ROLLBACK
2141
+  (0.1ms) BEGIN
2142
+ ------------------------------------------------------------------------------------------
2143
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
2144
+ ------------------------------------------------------------------------------------------
2145
+  (0.0ms) SAVEPOINT active_record_1
2146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2147
+  (0.0ms) SAVEPOINT active_record_1
2178
2148
   (0.1ms) SAVEPOINT active_record_2
2179
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2180
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2181
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "663054dfeaa381059f998f2847131375cc2f5a4fd233655b78e84b1966081ab2"]]
2182
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", "2015-10-15 18:18:04.475872"], ["updated_at", "2015-10-15 18:18:04.475872"], ["confirmation_token", "ySN2jPWn3BaqMvaxHY2z"], ["confirmation_sent_at", "2015-10-15 18:18:04.476615"]]
2149
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2150
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-18@example.com' LIMIT 1
2151
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "78ad055cb7274b58e0a33dac119182519c8fcb4748038073d004227b24a00ffb"]]
2152
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", "2015-11-02 16:59:47.854328"], ["updated_at", "2015-11-02 16:59:47.854328"], ["confirmation_token", "CyK1Fht_jHJttZwbXsSw"], ["confirmation_sent_at", "2015-11-02 16:59:47.855177"]]
2183
2153
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2184
2154
 
2185
2155
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
2186
2156
 
2187
- Sent mail to joe-19@example.com (3.1ms)
2188
- Date: Thu, 15 Oct 2015 19:18:04 +0100
2157
+ Sent mail to joe-18@example.com (3.1ms)
2158
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
2189
2159
  From: pushtype@example.com
2190
2160
  Reply-To: pushtype@example.com
2191
- To: joe-19@example.com
2192
- Message-ID: <561feddc7bf07_3aea3fec76063be4917ad@Aarons-iMac.local.mail>
2161
+ To: joe-18@example.com
2162
+ Message-ID: <56379683d8210_2a0d3fff7dc57be89701d@Aarons-iMac.local.mail>
2193
2163
  Subject: [PushType] Confirm your account
2194
2164
  Mime-Version: 1.0
2195
2165
  Content-Type: multipart/alternative;
2196
- boundary="--==_mimepart_561feddc7b92d_3aea3fec76063be491665";
2166
+ boundary="--==_mimepart_56379683d7cd0_2a0d3fff7dc57be89696a";
2197
2167
  charset=UTF-8
2198
2168
  Content-Transfer-Encoding: 7bit
2199
2169
 
2200
2170
 
2201
- ----==_mimepart_561feddc7b92d_3aea3fec76063be491665
2171
+ ----==_mimepart_56379683d7cd0_2a0d3fff7dc57be89696a
2202
2172
  Content-Type: text/plain;
2203
2173
  charset=UTF-8
2204
2174
  Content-Transfer-Encoding: 7bit
@@ -2213,10 +2183,10 @@ created for you.
2213
2183
  To get started, confirm your account and set your own password by
2214
2184
  clicking the link below:
2215
2185
 
2216
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ySN2jPWn3BaqMvaxHY2z )
2186
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=CyK1Fht_jHJttZwbXsSw )
2217
2187
 
2218
2188
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2219
- ----==_mimepart_561feddc7b92d_3aea3fec76063be491665
2189
+ ----==_mimepart_56379683d7cd0_2a0d3fff7dc57be89696a
2220
2190
  Content-Type: text/html;
2221
2191
  charset=UTF-8
2222
2192
  Content-Transfer-Encoding: 7bit
@@ -2262,7 +2232,7 @@ body {
2262
2232
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2263
2233
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2264
2234
  <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">
2265
- <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=ySN2jPWn3BaqMvaxHY2z" 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>
2235
+ <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=CyK1Fht_jHJttZwbXsSw" 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>
2266
2236
  </td>
2267
2237
  </tr>
2268
2238
  </table>
@@ -2307,34 +2277,49 @@ body {
2307
2277
  </body>
2308
2278
  </html>
2309
2279
 
2310
- ----==_mimepart_561feddc7b92d_3aea3fec76063be491665--
2280
+ ----==_mimepart_56379683d7cd0_2a0d3fff7dc57be89696a--
2311
2281
 
2312
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2313
- Processing by PushType::UsersController#invite as HTML
2314
- Parameters: {"id"=>"46ea58fe-f2bf-449e-9600-82343dc52db6"}
2315
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "99148f7a-de32-4783-9896-ad4cb7e97781"]]
2316
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "46ea58fe-f2bf-449e-9600-82343dc52db6"]]
2317
-  (0.1ms) SAVEPOINT active_record_2
2318
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2282
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2283
+ Processing by PushType::ConfirmationsController#update as HTML
2284
+ Parameters: {"user"=>{"confirmation_token"=>"CyK1Fht_jHJttZwbXsSw", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2285
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "CyK1Fht_jHJttZwbXsSw"]]
2286
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-18@example.com' AND "push_type_users"."id" != '64531310-dadd-446e-ad3f-2071e30feba5') LIMIT 1
2287
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2288
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
2289
+ Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.4ms)
2290
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2291
+  (0.1ms) ROLLBACK
2292
+  (0.1ms) BEGIN
2293
+ ------------------------------------------------------------------------------------------
2294
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
2295
+ ------------------------------------------------------------------------------------------
2296
+  (0.0ms) SAVEPOINT active_record_1
2297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2298
+  (0.0ms) SAVEPOINT active_record_1
2299
+  (0.0ms) SAVEPOINT active_record_2
2300
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2301
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-19@example.com' LIMIT 1
2302
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "d58b82a4f864c03395dcad3aa4ac41e8adc4e64574ef4843368f13ac25ad018a"]]
2303
+ 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", "2015-11-02 16:59:47.899050"], ["updated_at", "2015-11-02 16:59:47.899050"], ["confirmation_token", "vz5UMsm3ec8WsdMVyrMC"], ["confirmation_sent_at", "2015-11-02 16:59:47.899747"]]
2319
2304
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2320
2305
 
2321
2306
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
2322
2307
 
2323
- Sent mail to joe-19@example.com (2.9ms)
2324
- Date: Thu, 15 Oct 2015 19:18:04 +0100
2308
+ Sent mail to joe-19@example.com (3.1ms)
2309
+ Date: Mon, 02 Nov 2015 16:59:47 +0000
2325
2310
  From: pushtype@example.com
2326
2311
  Reply-To: pushtype@example.com
2327
2312
  To: joe-19@example.com
2328
- Message-ID: <561feddc84893_3aea3fec76063be49203b@Aarons-iMac.local.mail>
2313
+ Message-ID: <56379683e3171_2a0d3fff7dc57be89732@Aarons-iMac.local.mail>
2329
2314
  Subject: [PushType] Confirm your account
2330
2315
  Mime-Version: 1.0
2331
2316
  Content-Type: multipart/alternative;
2332
- boundary="--==_mimepart_561feddc84393_3aea3fec76063be4919ec";
2317
+ boundary="--==_mimepart_56379683e2bdb_2a0d3fff7dc57be8972f";
2333
2318
  charset=UTF-8
2334
2319
  Content-Transfer-Encoding: 7bit
2335
2320
 
2336
2321
 
2337
- ----==_mimepart_561feddc84393_3aea3fec76063be4919ec
2322
+ ----==_mimepart_56379683e2bdb_2a0d3fff7dc57be8972f
2338
2323
  Content-Type: text/plain;
2339
2324
  charset=UTF-8
2340
2325
  Content-Transfer-Encoding: 7bit
@@ -2349,10 +2334,10 @@ created for you.
2349
2334
  To get started, confirm your account and set your own password by
2350
2335
  clicking the link below:
2351
2336
 
2352
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=ySN2jPWn3BaqMvaxHY2z )
2337
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=vz5UMsm3ec8WsdMVyrMC )
2353
2338
 
2354
2339
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2355
- ----==_mimepart_561feddc84393_3aea3fec76063be4919ec
2340
+ ----==_mimepart_56379683e2bdb_2a0d3fff7dc57be8972f
2356
2341
  Content-Type: text/html;
2357
2342
  charset=UTF-8
2358
2343
  Content-Transfer-Encoding: 7bit
@@ -2398,7 +2383,7 @@ body {
2398
2383
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2399
2384
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2400
2385
  <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">
2401
- <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=ySN2jPWn3BaqMvaxHY2z" 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>
2386
+ <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=vz5UMsm3ec8WsdMVyrMC" 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>
2402
2387
  </td>
2403
2388
  </tr>
2404
2389
  </table>
@@ -2443,61 +2428,121 @@ body {
2443
2428
  </body>
2444
2429
  </html>
2445
2430
 
2446
- ----==_mimepart_561feddc84393_3aea3fec76063be4919ec--
2431
+ ----==_mimepart_56379683e2bdb_2a0d3fff7dc57be8972f--
2447
2432
 
2448
- Redirected to /push_type/users
2449
- Completed 302 Found in 34ms (ActiveRecord: 0.5ms)
2433
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2434
+ Processing by PushType::ConfirmationsController#update as HTML
2435
+ Parameters: {"user"=>{"confirmation_token"=>"vz5UMsm3ec8WsdMVyrMC", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2436
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "vz5UMsm3ec8WsdMVyrMC"]]
2437
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-19@example.com' AND "push_type_users"."id" != 'e05082cc-915e-4714-ac0b-eb4d4ff0c064') LIMIT 1
2438
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2439
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.6ms)
2440
+ Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.4ms)
2450
2441
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2451
2442
   (0.1ms) ROLLBACK
2452
2443
   (0.1ms) BEGIN
2453
- ----------------------------------------------------
2454
- PushType::InvitationMethodsTest: test_0001_anonymous
2455
- ----------------------------------------------------
2444
+ ---------------------------------------------------------------
2445
+ PushType::AuthenticatableTest::validatable: test_0001_anonymous
2446
+ ---------------------------------------------------------------
2447
+  (0.1ms) SAVEPOINT active_record_1
2448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2449
+  (0.1ms) SAVEPOINT active_record_1
2450
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2451
+  (0.1ms) ROLLBACK
2452
+  (0.1ms) BEGIN
2453
+ ---------------------------------------------------------------
2454
+ PushType::AuthenticatableTest::validatable: test_0002_anonymous
2455
+ ---------------------------------------------------------------
2456
2456
   (0.0ms) SAVEPOINT active_record_1
2457
2457
   (0.0ms) RELEASE SAVEPOINT active_record_1
2458
2458
   (0.0ms) SAVEPOINT active_record_1
2459
2459
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2460
2460
   (0.0ms) ROLLBACK
2461
-  (0.0ms) BEGIN
2461
+  (0.1ms) BEGIN
2462
2462
  ---------------------------------------------------------------
2463
- PushType::AuthenticatableTest::recoverable: test_0001_anonymous
2463
+ PushType::AuthenticatableTest::confirmable: test_0001_anonymous
2464
2464
  ---------------------------------------------------------------
2465
2465
   (0.0ms) SAVEPOINT active_record_1
2466
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2467
+  (0.1ms) SAVEPOINT active_record_1
2468
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2469
+  (0.0ms) ROLLBACK
2470
+  (0.1ms) BEGIN
2471
+ ----------------------------------------------------------------
2472
+ PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
2473
+ ----------------------------------------------------------------
2474
+  (0.1ms) SAVEPOINT active_record_1
2475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2476
+  (0.1ms) SAVEPOINT active_record_1
2477
+  (0.1ms) SAVEPOINT active_record_2
2478
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2479
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2480
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.949035"], ["confirmed_at", "2015-11-02 16:59:47.949099"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.950635"], ["updated_at", "2015-11-02 16:59:47.950635"]]
2481
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2482
+ Processing by PushType::ProfilesController#edit as HTML
2483
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "aac3c4d8-c707-4eae-9de4-4e8114ce68ee"]]
2484
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.7ms)
2485
+ Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
2486
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2487
+  (0.1ms) ROLLBACK
2488
+  (0.1ms) BEGIN
2489
+ ----------------------------------------------------------------
2490
+ PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
2491
+ ----------------------------------------------------------------
2492
+  (0.1ms) SAVEPOINT active_record_1
2466
2493
   (0.0ms) RELEASE SAVEPOINT active_record_1
2467
2494
   (0.0ms) SAVEPOINT active_record_1
2495
+  (0.1ms) SAVEPOINT active_record_2
2496
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2497
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2498
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["confirmation_sent_at", "2015-11-02 16:59:47.961943"], ["confirmed_at", "2015-11-02 16:59:47.961999"], ["confirmation_token", "Generated account"], ["created_at", "2015-11-02 16:59:47.963422"], ["updated_at", "2015-11-02 16:59:47.963422"]]
2499
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2500
+ Processing by PushType::ProfilesController#edit as HTML
2501
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "de462119-10f5-4edf-875f-4625bf3126ee"]]
2502
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
2503
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.1ms)
2468
2504
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2469
2505
   (0.1ms) ROLLBACK
2470
2506
   (0.1ms) BEGIN
2507
+ --------------------------------------------------------------------------------------
2508
+ PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
2509
+ --------------------------------------------------------------------------------------
2510
+  (0.0ms) SAVEPOINT active_record_1
2511
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2512
+  (0.0ms) SAVEPOINT active_record_1
2513
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2514
+  (0.0ms) ROLLBACK
2515
+  (0.0ms) BEGIN
2471
2516
  --------------------------------------------------------------------------------------------------------------
2472
- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
2517
+ PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
2473
2518
  --------------------------------------------------------------------------------------------------------------
2474
2519
   (0.0ms) SAVEPOINT active_record_1
2475
2520
   (0.0ms) RELEASE SAVEPOINT active_record_1
2476
2521
   (0.0ms) SAVEPOINT active_record_1
2477
2522
   (0.0ms) SAVEPOINT active_record_2
2478
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2479
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-20@example.com' LIMIT 1
2480
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "92556194e1a95f4f591e23b6a084562ba3e153fa1e8140d4dcbf2ee8340ba183"]]
2481
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", "2015-10-15 18:18:04.551825"], ["updated_at", "2015-10-15 18:18:04.551825"], ["confirmation_token", "iBVc_u3vi8czyJ68GygC"], ["confirmation_sent_at", "2015-10-15 18:18:04.552553"]]
2523
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2524
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2525
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["confirmation_token", "1359b6467d0884978efd9841d59c7aea59347bc728a2e93aa432838df6843ab5"]]
2526
+ SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", "2015-11-02 16:59:47.977265"], ["updated_at", "2015-11-02 16:59:47.977265"], ["confirmation_token", "e5bxG2Jmvx_chNsquZSu"], ["confirmation_sent_at", "2015-11-02 16:59:47.978035"]]
2482
2527
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2483
2528
 
2484
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.3ms
2529
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2485
2530
 
2486
- Sent mail to joe-20@example.com (3.1ms)
2487
- Date: Thu, 15 Oct 2015 19:18:04 +0100
2531
+ Sent mail to joe-22@example.com (3.2ms)
2532
+ Date: Mon, 02 Nov 2015 16:59:48 +0000
2488
2533
  From: pushtype@example.com
2489
2534
  Reply-To: pushtype@example.com
2490
- To: joe-20@example.com
2491
- Message-ID: <561feddc8ea7a_3aea3fec76063be49234@Aarons-iMac.local.mail>
2535
+ To: joe-22@example.com
2536
+ Message-ID: <56379684271d_2a0d3fff7dc57be8976c1@Aarons-iMac.local.mail>
2492
2537
  Subject: [PushType] Confirm your account
2493
2538
  Mime-Version: 1.0
2494
2539
  Content-Type: multipart/alternative;
2495
- boundary="--==_mimepart_561feddc8e4e9_3aea3fec76063be4922c9";
2540
+ boundary="--==_mimepart_563796842185_2a0d3fff7dc57be89756a";
2496
2541
  charset=UTF-8
2497
2542
  Content-Transfer-Encoding: 7bit
2498
2543
 
2499
2544
 
2500
- ----==_mimepart_561feddc8e4e9_3aea3fec76063be4922c9
2545
+ ----==_mimepart_563796842185_2a0d3fff7dc57be89756a
2501
2546
  Content-Type: text/plain;
2502
2547
  charset=UTF-8
2503
2548
  Content-Transfer-Encoding: 7bit
@@ -2512,10 +2557,10 @@ created for you.
2512
2557
  To get started, confirm your account and set your own password by
2513
2558
  clicking the link below:
2514
2559
 
2515
- Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=iBVc_u3vi8czyJ68GygC )
2560
+ Confirm my account ( http://localhost:3000/push_type/confirmation?confirmation_token=e5bxG2Jmvx_chNsquZSu )
2516
2561
 
2517
2562
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2518
- ----==_mimepart_561feddc8e4e9_3aea3fec76063be4922c9
2563
+ ----==_mimepart_563796842185_2a0d3fff7dc57be89756a
2519
2564
  Content-Type: text/html;
2520
2565
  charset=UTF-8
2521
2566
  Content-Transfer-Encoding: 7bit
@@ -2561,7 +2606,7 @@ body {
2561
2606
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%">
2562
2607
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0">
2563
2608
  <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">
2564
- <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=iBVc_u3vi8czyJ68GygC" 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>
2609
+ <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=e5bxG2Jmvx_chNsquZSu" 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>
2565
2610
  </td>
2566
2611
  </tr>
2567
2612
  </table>
@@ -2606,53 +2651,8 @@ body {
2606
2651
  </body>
2607
2652
  </html>
2608
2653
 
2609
- ----==_mimepart_561feddc8e4e9_3aea3fec76063be4922c9--
2654
+ ----==_mimepart_563796842185_2a0d3fff7dc57be89756a--
2610
2655
 
2611
2656
   (0.1ms) RELEASE SAVEPOINT active_record_2
2612
2657
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2613
2658
   (0.1ms) ROLLBACK
2614
-  (0.1ms) BEGIN
2615
- ----------------------------------------------------------------
2616
- PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
2617
- ----------------------------------------------------------------
2618
-  (0.0ms) SAVEPOINT active_record_1
2619
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2620
-  (0.0ms) SAVEPOINT active_record_1
2621
-  (0.1ms) SAVEPOINT active_record_2
2622
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2623
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-21@example.com' LIMIT 1
2624
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["confirmation_sent_at", "2015-10-15 18:18:04.589106"], ["confirmed_at", "2015-10-15 18:18:04.589162"], ["confirmation_token", "Generated account"], ["created_at", "2015-10-15 18:18:04.590765"], ["updated_at", "2015-10-15 18:18:04.590765"]]
2625
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2626
- Processing by PushType::ProfilesController#edit as HTML
2627
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "2aeb1d44-50d4-4151-bf96-ec63116ecf64"]]
2628
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.1ms)
2629
- Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.2ms)
2630
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2631
-  (0.1ms) ROLLBACK
2632
-  (0.1ms) BEGIN
2633
- ----------------------------------------------------------------
2634
- PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
2635
- ----------------------------------------------------------------
2636
-  (0.1ms) SAVEPOINT active_record_1
2637
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2638
-  (0.1ms) SAVEPOINT active_record_1
2639
-  (0.1ms) SAVEPOINT active_record_2
2640
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2641
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-22@example.com' LIMIT 1
2642
- SQL (0.1ms) INSERT INTO "push_type_users" ("name", "email", "confirmation_sent_at", "confirmed_at", "confirmation_token", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["confirmation_sent_at", "2015-10-15 18:18:04.603322"], ["confirmed_at", "2015-10-15 18:18:04.603383"], ["confirmation_token", "Generated account"], ["created_at", "2015-10-15 18:18:04.604953"], ["updated_at", "2015-10-15 18:18:04.604953"]]
2643
-  (0.1ms) RELEASE SAVEPOINT active_record_2
2644
- Processing by PushType::ProfilesController#edit as HTML
2645
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT 1 [["id", "fde50d27-ef7b-41a2-aa23-dd7aa3d76529"]]
2646
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
2647
- Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.1ms)
2648
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2649
-  (0.1ms) ROLLBACK
2650
-  (0.1ms) BEGIN
2651
- -------------------------------------------------------------
2652
- PushType::AuthenticatableTest::trackable: test_0001_anonymous
2653
- -------------------------------------------------------------
2654
-  (0.1ms) SAVEPOINT active_record_1
2655
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2656
-  (0.0ms) SAVEPOINT active_record_1
2657
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2658
-  (0.1ms) ROLLBACK