push_type_auth 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) 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/{20160802200029_create_push_type_users.push_type.rb → 20160808143128_create_push_type_users.push_type.rb} +0 -0
  5. data/test/dummy/db/migrate/{20160802200030_create_push_type_nodes.push_type.rb → 20160808143129_create_push_type_nodes.push_type.rb} +0 -0
  6. data/test/dummy/db/migrate/{20160802200031_create_push_type_node_hierarchies.push_type.rb → 20160808143130_create_push_type_node_hierarchies.push_type.rb} +0 -0
  7. data/test/dummy/db/migrate/{20160802200032_create_push_type_assets.push_type.rb → 20160808143131_create_push_type_assets.push_type.rb} +0 -0
  8. data/test/dummy/db/migrate/{20160802200033_add_field_store_default_values.push_type.rb → 20160808143132_add_field_store_default_values.push_type.rb} +0 -0
  9. data/test/dummy/db/migrate/{20160802200034_drop_legacy_push_type_taxonomies.push_type.rb → 20160808143133_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
  10. data/test/dummy/db/migrate/{20160802200035_devise_extend_push_type_users.push_type_auth.rb → 20160808143134_devise_extend_push_type_users.push_type_auth.rb} +0 -0
  11. data/test/dummy/db/schema.rb +1 -1
  12. data/test/dummy/log/test.log +670 -670
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-0/-0YWjU9o_ED64Q-ble7Cx7JJMl6ixLD6Rs0MWGvI7W0.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0B/0B-C8U_2WItj1IWivCUt6gYmouHzG40cOLQQ97Ce2Qk.cache +1 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0c/0c03vIY2hz-Vs3csJlgO1iFfqrRIMUCkKdi5cvZzXVI.cache +0 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5m/5mmF9j4DBscNfKkZKJbQ6g9e7RJF2Bw2goq2YORppBg.cache +1 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5o/5ootBJO53weTWlJEJwmB_F44KEw9EFEajksBWORPlQM.cache +1 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6L/6Lhxxtnokc9hE0S53x50jUtW7LUTHb3TGFteCpj6cRA.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6u/6u-WGcpHoiUCexJlgwhJD_sZB0JB0MF1CO7MLkgl2-k.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/74/74aWVUwLzO0_I3tUV7SQC55F8bytCjUcj6G1Kaevlqw.cache +3 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7Y/7YAQcb12WI_1L8D133uz4DfgwGUeISDWYqnz7r8GimQ.cache +1 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{7y → 7Y}/7ylHToOg7F5lt9v_uzR6ZM2A8Ayk-uId3mCLEiOrFek.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7u/7uCWGhiCizWPgpijjEjeDpurVg_-z66degdk1Jp4yaQ.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{xe/xEjCTVrwRKWFLo37SBygfS8scAzDoHEWF3h49KTCAoU.cache → 83/83UGPJ51Sz6MWcqMIQeeT_-C3H9Tbp6KBfuPcmxK9rE.cache} +0 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{SQ/sQyXc2-mwR_4cn2y72ilTvJmbceXzuWqKHmSN8gThp4.cache → AT/ATSfVc7h89ZnMZf4pQVSDcO-GYoIpwvshemgxmCYMWI.cache} +1 -1
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{at → AT}/ATxyHz0alnygdGstlYHbT5vuIBZsCrz5T2kZ3pgdxl8.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{at → AT}/atqRjzdxuXr1a9QUKSnA12B2iB696yq-1-rSsnmpAkM.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{GW/GWji8EA8EqHgEzhnfeKExUdZhp-ECScZOuNrZ_g6XBM.cache → Cb/Cb_f_nITZo-ofcGuOiVcepaYEt0CscHZXRF18BFooBc.cache} +0 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cB → Cb}/cBUqmryQQhtHZLFdzrH95ZluT6c31My_BLcTFR2LR1Q.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{fa/fAb7ROexEnCy6GX-FPd5QmsiHX0tG6Kweq01CW4UdTA.cache → D4/D4NwfcyTTUF8KhKTk9fu8TmVgr4qYP-EM4djoJMK8OI.cache} +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{d4 → D4}/d4J6campXM2gqszRDuRALXFUHaBZt7Efabj43WnJWfA.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{nU/nUeNZa-ygmvJTilkwCdyJ6Ihpxb6tovyEb7ur_3vTJI.cache → GF/GF30WDp5eLvPTzPb95cren2ZetfsQucGoOs8yRxknfc.cache} +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{rQ/rqm7_7_o-9poop5SE78ZWDI5JsBmEdgkq7_t4uN0jhI.cache → GH/gh4PmuF-WRmSxQTFUEa71RJBaSl9q9J4zjVB8e6dgN8.cache} +0 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/IX/IXWyhzEub11DtfKrWbVAOCw5PH3gEQzL8AKM0mXfKfY.cache +2 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LH/lhLIWGLMJ9EZ0YTt4NW-bqUCR9Px0MMfS5wPypeRzyQ.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nr/NrRn6fi-WI0VVIZdbmboGxmFso3CSILM0TT35Y2CjFM.cache +0 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Or/OrWHpSg-nrnOY7N8js-uv6EvsORvgd6GsNHAs7vwkWA.cache +1 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PV/PVwUPQLuNj56UeLICBeqscm-XP8wuUbY1fT3F6xX0p0.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PW/PWX3xYWu8RNJffcDKEalLmeh3FY4FpF7YHQafaGyZwM.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SM/SMxDtnwvxmGsswtkpyUdxYVGBvsmBGehY313mi6yodE.cache +3 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sa/SamRugl_FKgRsKjXfw_3WFqulh-GmTknaVmUHf-bkWw.cache +0 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{sA → Sa}/sAlQ89RFdQrdkCQy11FTSD0JWYmrdB-_YTdqiZ1qxKU.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Xc/XcnV6RdQ9nfVBWCIteEnxwMyiH96JsWsfwMA2NxeY54.cache → Sz/szdayULpQ6WoulKe7geLRwEZY_mOMafHc5SBz7yxbIM.cache} +0 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{TM → Tm}/TMZzzhTWJqTlqhzePr_41PebqqXP4EvP0YiDNY7Ex8g.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{TM → Tm}/TmsMOrQk-utxhV1CCWnjPMGOG0Kg1YLPYhTD8b27QjM.cache +0 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/U3/U37peR5WZZgWTmSnu9ArlOX39q4G2hzlBjGErfHH7kc.cache +1 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{u3 → U3}/u3MbOPOiy2IW7T3wJJ_GRoRWs3Ft2fUQjXRfDw8D0VQ.cache +0 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V_/V_-AuKpkVZsJRBO4ILgH-sI8OviexmbUMbCKuiMjJ70.cache +0 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{TM/TMx7EHxws7GCfaD9lwE7xEZ6NUsowb5ZcCv67SRslnk.cache → Wg/wgTEXJSTR-I1EEcsqqNgQFyI5uyW-7YMNyBTv4AsegI.cache} +1 -1
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_D/_DETqJMzs8BLtV54jI3Ro9OC-aZxdQruxTJxMR30Z00.cache +2 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{_d → _D}/_dyCheV64NW1k5WoytRgTEE3aOLVNtWTiZ8MqRzF71c.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{OR/OR6EfW6XMR92ItvBFzblFmUOwXuJ9qZV7eDkmhP9NwM.cache → a9/a9O7Cwro8KvzRs-oiOd1VHWQ-L9UsYnxuqNRkMpS7bY.cache} +0 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{BG → bg}/BGfDOIlJ-dskD-0CfFq1_NIeWGErOd2qOX0wTtuzRwI.cache +0 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{BG → bg}/Bg80jIOoY6mUVhTm7Q4zCWCUhjVPDz3BCZP_BzULQuA.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{NK/NKmdRHhr8TJOukM5D2vFYlCJjz4SWvNes_Jcx9Ggfjg.cache → bg/bgZRRIE4ODfnPGAf9hn3DjGl6X-u5rC-WYllO1V6tWk.cache} +0 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cx/cxHCaLjjlHCHnXgn6lNaMULMy2es5esQBoNxUuqrsfk.cache +0 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Dl → dl}/Dl99In1IJY4kMvuQf9FVmDp8qygi2tTN6V43rZs8R5E.cache +0 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dl/dl21n_GeicdtgIfaZrr6yi3Sr5fK4A87x6A-sg9zYq0.cache +3 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{cD/cDxX_pdk2WLuGiQwDTZeYTNKZORK_Hf8ZQlXzon_2Xk.cache → eB/eBOsH-hcHwBwgdu9t18Glg-xykMBSUwNe9isow7ZiyI.cache} +0 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eI/eIscP5iObecfo73d_tQudrGWEO7tOq4mJoB_lAVY-dI.cache +0 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/f7/f7c-Z-QsNr1xniJVbxuxNMlzk4LyTkpc9s9NbU34y_w.cache +1 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fx/fxYtNA9t9vIWSrsBzKiUiKvxVTex9UBJMDnJ4LrZUNA.cache +0 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gw/gwwpa1dZp7mTKSbda8bEIRrHfZ_AA0JSEC_CstxtgKk.cache +1 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{yd/yDAP1IZzEqcnh64FFTyeJULqX6dSdcmd67ggYcNjV9s.cache → hV/hVTA48cq3DOkFXKcie8IYdThF0WgLt2NZRMXAITnwtI.cache} +1 -1
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/iI/Ii7vOnsBaYZBLo49RmFrZdDz9x14OCam1tMA-gRgjV4.cache +1 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/il/ILqMXF0nSbW0qGMribe-9pMzX6PQt_28gkfczbxwXGc.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jC/Jc5q_9Qi6ZionrziGTS8vLdDhZSc0uM0rrf0WFqGGGA.cache +1 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jZ/JZIvYiIU2oBHCcj6xKwQYIX-wKWGJcu2Xn8zVbyj0SA.cache +3 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ja/jaJ3CyTPd1asSmM7AjhzA_Qp8jPjsR-a-Vc0eT2NkbE.cache +1 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{pe/pe6rDkNCjqzYWQDv2D8E5DSxWiKOuESZdsXrBEXsbIY.cache → l5/l5VK7baYxVpJ7LpuPykJ7F-hA4mS6dwt1XXqaIcRBPo.cache} +0 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mI/mILLZEcknQIQ0QXmlMY8ydcLWfqQ605czFlf32InLvk.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nM/NMFiohf9bQxFCoGgRP-Aa8wVin5Bk7g3Lv9Dvu0ui3k.cache +0 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oN/oN9RkmwI6hhx-7gcKQmWennRBao48WpbaBqJqpo_vz8.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{pe → pE}/pEnth6g-i8MP-xnYEs46DsAyJBD5hW_xsFrlGYIqzeU.cache +0 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Qm → qm}/QmTLr9W3M4g2_D8PhZMYkOwD2AaMX6m2lTd3p9cLc1U.cache +0 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qm/qm0mY6ybdFD4YYWuFygsTa7ORK20i-J0AlCae9HbUmY.cache +0 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/v5/v5vZBssQDHPq5xS6jOzGfKDLp6iqJZWS7x92Wqo1CJw.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/w6/w6jCGPi_RdJhSrO7P85pHXC4EHwIf3tKzdWG4HUDz04.cache +0 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wF/wFriff6Uu7AbczjBI1jEVKVNtCGHhFR30Pl4S4CMCi8.cache +3 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wM/wmOGy8EZqaz8VTeqHV3XbrOAWOmS-PKDbzwGOqv05jo.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wN/wnSgfy8GaxJMQBP4I5u2YOrd1BAARYRBJ0aMvCaCMF0.cache +0 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{xI → xi}/xI2Ao0p_oz5uv0ZoBKH_39T9l5ocTQrORy22q7ClK7s.cache +0 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xi/xitZGp74K7b3921y684t8Z9H5DLExTJ0sDMBCEmdats.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/z2/z2KJKL8WOxgDJ7vdXwnuXNjwdP8psNOvco3oOhlm42U.cache +1 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zx/zxCGdVNaR0PCatbWsZhnqFSNZUEGeOsZB-9d6fhX544.cache +0 -0
  86. metadata +150 -106
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0y/0YCLR7InoF6O19l_oiELee0-MPt1nobJBXtygz3D08w.cache +0 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2O/2OLh5fZO-Q6Bdj25MFNg-ANS96kfNSaaltqUuKDQ9s4.cache +0 -1
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6v/6vaaMl8N6nDVJfvyl1gexnInwT8lBqL87Syoa7dblR8.cache +0 -1
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ak/Ak2k-dsAPc6D5Bym3HXOPyXcemOlL6FnCB2pEVoSC6E.cache +0 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dq/DqXVTbshRRCcFZrTwCWkMLlcmZVlZDEgfefblIwPUfA.cache +0 -1
  92. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fw/FwKmvXTrw6xnHPvL0LN2wo92expAaPjeaAtIlGyIcEE.cache +0 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v3.0/QX/QXMrfPu99Zz3SBsBnBOLe9Q_41u17p_R7J1cPXxqUHo.cache +0 -0
  94. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SF/SfHa2ZMN_eaequ-3m-CFU0MtKwcB4GCF0FW9zYa18NY.cache +0 -0
  95. data/test/dummy/tmp/cache/assets/sprockets/v3.0/e9/e9Y0SJ7XQA5VMQHj-o9XImnDLNFinNxkn77TdU5FyNU.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ib/ib7EjRbhkg73LfVKl_fk5sFn5F5Mh8qYB5foIzGpIh0.cache +0 -0
  97. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ju/juOnzq1OwNOCCIBCZsLwZrJaCSuskA_qYWFgxLZWbPU.cache +0 -1
  98. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nl/nlFCVuONKjJ7w_YU85QF8-KTKaLffgIHreKFkM3z2dY.cache +0 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qB/qBEq4U7c5UTbsngKaX6RoHJodR4TQaiae9VHEadCD04.cache +0 -0
  100. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ss/ssxOQQqcxmx6O_eGPoLYH0B3kPVQ0GhGa7HQPqDEA4A.cache +0 -1
@@ -1,83 +1,83 @@
1
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
1
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
2
2
   (0.1ms) BEGIN
3
- SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-08-02 20:00:24 UTC], ["updated_at", 2016-08-02 20:00:24 UTC]]
4
-  (0.5ms) COMMIT
3
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-08-08 14:31:23 UTC], ["updated_at", 2016-08-08 14:31:23 UTC]]
4
+  (0.6ms) COMMIT
5
5
  ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
-  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
6
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
7
7
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
8
   (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
9
9
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
10
   (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
11
-  (115.0ms) DROP DATABASE IF EXISTS "dummy_test"
12
-  (238.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
11
+  (119.3ms) DROP DATABASE IF EXISTS "dummy_test"
12
+  (238.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
13
13
   (3.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
14
14
   (2.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
15
15
   (0.1ms) SELECT pg_try_advisory_lock(2735718569030447490);
16
16
  ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
- Migrating to CreatePushTypeUsers (20160802200029)
17
+ Migrating to CreatePushTypeUsers (20160808143128)
18
18
   (0.1ms) BEGIN
19
- SQL (1.8ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
19
+ SQL (2.1ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
20
20
   (2.0ms) CREATE TABLE "push_type_users" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
21
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200029"]]
22
-  (0.7ms) COMMIT
23
- Migrating to CreatePushTypeNodes (20160802200030)
21
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160808143128"]]
22
+  (0.6ms) COMMIT
23
+ Migrating to CreatePushTypeNodes (20160808143129)
24
24
   (0.1ms) BEGIN
25
-  (1.8ms) CREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
26
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200030"]]
25
+  (2.0ms) CREATE TABLE "push_type_nodes" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
26
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160808143129"]]
27
27
   (0.4ms) COMMIT
28
- Migrating to CreatePushTypeNodeHierarchies (20160802200031)
28
+ Migrating to CreatePushTypeNodeHierarchies (20160808143130)
29
29
   (0.1ms) BEGIN
30
30
   (0.5ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
31
-  (0.6ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
31
+  (0.8ms) CREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
32
32
   (0.5ms) CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
33
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200031"]]
34
-  (0.3ms) COMMIT
35
- Migrating to CreatePushTypeAssets (20160802200032)
33
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160808143130"]]
34
+  (0.5ms) COMMIT
35
+ Migrating to CreatePushTypeAssets (20160808143131)
36
36
   (0.1ms) BEGIN
37
-  (1.7ms) CREATE TABLE "push_type_assets" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
38
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200032"]]
37
+  (2.0ms) CREATE TABLE "push_type_assets" ("id" uuid DEFAULT uuid_generate_v4() PRIMARY KEY, "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
38
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160808143131"]]
39
39
   (0.4ms) COMMIT
40
- Migrating to AddFieldStoreDefaultValues (20160802200033)
40
+ Migrating to AddFieldStoreDefaultValues (20160808143132)
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
44
   (0.2ms) 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) RETURNING "version" [["version", "20160802200033"]]
51
-  (0.4ms) COMMIT
52
- Migrating to DropLegacyPushTypeTaxonomies (20160802200034)
49
+  (0.4ms) ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
50
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160808143132"]]
51
+  (0.5ms) COMMIT
52
+ Migrating to DropLegacyPushTypeTaxonomies (20160808143133)
53
53
   (0.1ms) BEGIN
54
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200034"]]
55
-  (0.4ms) COMMIT
56
- Migrating to DeviseExtendPushTypeUsers (20160802200035)
54
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160808143133"]]
55
+  (0.3ms) COMMIT
56
+ Migrating to DeviseExtendPushTypeUsers (20160808143134)
57
57
   (0.1ms) BEGIN
58
-  (2.6ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
58
+  (3.0ms) ALTER TABLE "push_type_users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL
59
59
   (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_token" character varying
60
-  (0.2ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
60
+  (0.1ms) ALTER TABLE "push_type_users" ADD "reset_password_sent_at" timestamp
61
61
   (0.1ms) ALTER TABLE "push_type_users" ADD "remember_created_at" timestamp
62
-  (2.1ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
63
-  (0.2ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
62
+  (2.4ms) ALTER TABLE "push_type_users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
63
+  (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_at" timestamp
64
64
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_at" timestamp
65
65
   (0.1ms) ALTER TABLE "push_type_users" ADD "current_sign_in_ip" character varying
66
66
   (0.1ms) ALTER TABLE "push_type_users" ADD "last_sign_in_ip" character varying
67
67
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_token" character varying
68
68
   (0.1ms) ALTER TABLE "push_type_users" ADD "confirmed_at" timestamp
69
-  (0.1ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
70
-  (0.7ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
71
-  (0.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
72
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160802200035"]]
73
-  (1.1ms) COMMIT
69
+  (0.2ms) ALTER TABLE "push_type_users" ADD "confirmation_sent_at" timestamp
70
+  (6.0ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
71
+  (6.0ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
72
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160808143134"]]
73
+  (11.2ms) COMMIT
74
74
  ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
75
75
   (0.1ms) BEGIN
76
- SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-08-02 20:00:32 UTC], ["updated_at", 2016-08-02 20:00:32 UTC]]
77
-  (0.5ms) COMMIT
78
-  (0.1ms) SELECT pg_advisory_unlock(2735718569030447490)
76
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-08-08 14:31:31 UTC], ["updated_at", 2016-08-08 14:31:31 UTC]]
77
+  (5.6ms) COMMIT
78
+  (0.2ms) SELECT pg_advisory_unlock(2735718569030447490)
79
79
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
-  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
80
+  (1.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
81
81
  FROM pg_constraint c
82
82
  JOIN pg_class t1 ON c.conrelid = t1.oid
83
83
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -89,7 +89,7 @@ WHERE c.contype = 'f'
89
89
  AND t3.nspname = ANY (current_schemas(false))
90
90
  ORDER BY c.conname
91
91
  
92
-  (1.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
92
+  (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
93
93
  FROM pg_constraint c
94
94
  JOIN pg_class t1 ON c.conrelid = t1.oid
95
95
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -113,7 +113,7 @@ WHERE c.contype = 'f'
113
113
  AND t3.nspname = ANY (current_schemas(false))
114
114
  ORDER BY c.conname
115
115
  
116
-  (1.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
116
+  (1.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
117
117
  FROM pg_constraint c
118
118
  JOIN pg_class t1 ON c.conrelid = t1.oid
119
119
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -125,12 +125,12 @@ WHERE c.contype = 'f'
125
125
  AND t3.nspname = ANY (current_schemas(false))
126
126
  ORDER BY c.conname
127
127
  
128
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
128
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
129
129
  Creating scope :published. Overwriting existing method PushType::Node.published.
130
130
   (0.1ms) BEGIN
131
131
   (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL
132
132
   (0.1ms) COMMIT
133
-  (1.0ms)  SELECT schemaname || '.' || tablename
133
+  (0.9ms)  SELECT schemaname || '.' || tablename
134
134
  FROM pg_tables
135
135
  WHERE
136
136
  tablename !~ '_prt_' AND
@@ -138,148 +138,102 @@ Creating scope :published. Overwriting existing method PushType::Node.published.
138
138
  schemaname = ANY (current_schemas(false))
139
139
  
140
140
   (0.9ms) select table_name from information_schema.views where table_schema = 'dummy_test'
141
-  (8.4ms) TRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
142
-  (0.2ms) BEGIN
141
+  (9.2ms) TRUNCATE TABLE "public"."ar_internal_metadata", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_assets", "public"."push_type_users" RESTART IDENTITY CASCADE;
142
+  (0.1ms) BEGIN
143
143
   (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
144
144
   (0.1ms) COMMIT
145
145
   (0.1ms) BEGIN
146
- --------------------------------------------------------------------------------------
147
- PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
148
- --------------------------------------------------------------------------------------
149
-  (0.1ms) SAVEPOINT active_record_1
150
-  (0.1ms) RELEASE SAVEPOINT active_record_1
151
-  (0.1ms) SAVEPOINT active_record_1
152
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
153
-  (0.1ms) ROLLBACK
154
-  (0.1ms) BEGIN
155
146
  ----------------------------------------------------------------
156
147
  PushType::ProfilesControllerTest::GET #edit: test_0001_anonymous
157
148
  ----------------------------------------------------------------
158
149
   (0.1ms) SAVEPOINT active_record_1
159
150
   (0.1ms) RELEASE SAVEPOINT active_record_1
160
151
   (0.1ms) SAVEPOINT active_record_1
161
-  (0.1ms) SAVEPOINT active_record_2
162
- PushType::User Exists (0.6ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
163
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
164
- SQL (0.8ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", 2016-08-02 20:00:35 UTC], ["updated_at", 2016-08-02 20:00:35 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:35 UTC], ["confirmation_sent_at", 2016-08-02 20:00:35 UTC]]
152
+  (0.2ms) SAVEPOINT active_record_2
153
+ PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
154
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-1@example.com"], ["LIMIT", 1]]
155
+ SQL (0.8ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-1@example.com"], ["created_at", 2016-08-08 14:31:35 UTC], ["updated_at", 2016-08-08 14:31:35 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-08 14:31:35 UTC], ["confirmation_sent_at", 2016-08-08 14:31:35 UTC]]
165
156
   (0.1ms) RELEASE SAVEPOINT active_record_2
166
157
  Processing by PushType::ProfilesController#edit as HTML
167
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "e86521cf-7da3-4a72-8be9-0a9c31c3c9ae"], ["LIMIT", 1]]
158
+ PushType::User Load (0.9ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "b1ea1175-d372-4018-bb4b-443aea803cb0"], ["LIMIT", 1]]
168
159
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
169
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (27.0ms)
160
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (47.9ms)
170
161
  DEPRECATION WARNING on line 78 of /Users/aaron/.rvm/gems/ruby-2.3.0@push_type/gems/foundation-rails-5.5.3.2/vendor/assets/stylesheets/foundation/components/_top-bar.scss: #{} interpolation near operators will be simplified
171
162
  in a future version of Sass. To preserve the current behavior, use quotes:
172
163
 
173
164
  unquote("#{lower-bound($medium-range)}")
174
165
 
175
166
 
176
- Completed 200 OK in 11979ms (Views: 11968.3ms | ActiveRecord: 0.4ms)
177
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
178
-  (0.2ms) ROLLBACK
167
+ Completed 200 OK in 12827ms (Views: 12812.9ms | ActiveRecord: 1.1ms)
168
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
169
+  (0.3ms) ROLLBACK
179
170
   (0.1ms) BEGIN
180
171
  ----------------------------------------------------------------
181
172
  PushType::ProfilesControllerTest::GET #edit: test_0002_anonymous
182
173
  ----------------------------------------------------------------
183
-  (0.1ms) SAVEPOINT active_record_1
184
-  (0.1ms) RELEASE SAVEPOINT active_record_1
185
-  (0.1ms) SAVEPOINT active_record_1
174
+  (0.0ms) SAVEPOINT active_record_1
175
+  (0.0ms) RELEASE SAVEPOINT active_record_1
176
+  (0.0ms) SAVEPOINT active_record_1
186
177
   (0.1ms) SAVEPOINT active_record_2
187
178
  PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
188
179
  PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-2@example.com"], ["LIMIT", 1]]
189
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2016-08-02 20:00:47 UTC], ["updated_at", 2016-08-02 20:00:47 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:47 UTC], ["confirmation_sent_at", 2016-08-02 20:00:47 UTC]]
180
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-2@example.com"], ["created_at", 2016-08-08 14:31:48 UTC], ["updated_at", 2016-08-08 14:31:48 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-08 14:31:48 UTC], ["confirmation_sent_at", 2016-08-08 14:31:48 UTC]]
190
181
   (0.1ms) RELEASE SAVEPOINT active_record_2
191
182
  Processing by PushType::ProfilesController#edit as HTML
192
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "f163ddbf-ee26-4bda-b9b9-88479f493550"], ["LIMIT", 1]]
183
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "fcb789e1-b944-4be7-80f6-c86302e4254a"], ["LIMIT", 1]]
193
184
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
194
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.6ms)
195
- Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
185
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.8ms)
186
+ Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.2ms)
196
187
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
197
188
   (0.1ms) ROLLBACK
198
189
   (0.1ms) BEGIN
199
- -------------------------------------------------------------------------------------
200
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
201
- -------------------------------------------------------------------------------------
202
-  (0.0ms) SAVEPOINT active_record_1
203
-  (0.0ms) RELEASE SAVEPOINT active_record_1
190
+ ---------------------------------------------------------------
191
+ PushType::AuthenticatableTest::recoverable: test_0001_anonymous
192
+ ---------------------------------------------------------------
193
+  (0.1ms) SAVEPOINT active_record_1
194
+  (0.1ms) RELEASE SAVEPOINT active_record_1
204
195
   (0.0ms) SAVEPOINT active_record_1
205
-  (0.1ms) SAVEPOINT active_record_2
206
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
207
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
208
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-3@example.com"], ["created_at", 2016-08-02 20:00:47 UTC], ["updated_at", 2016-08-02 20:00:47 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:47 UTC], ["confirmation_sent_at", 2016-08-02 20:00:47 UTC]]
209
-  (0.1ms) RELEASE SAVEPOINT active_record_2
210
- Processing by PushType::ProfilesController#update as HTML
211
- Parameters: {"user"=>{"name"=>""}}
212
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "e9806d58-132b-4d87-8d21-ec2225d08aaf"], ["LIMIT", 1]]
213
-  (0.1ms) SAVEPOINT active_record_2
214
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-3@example.com"], ["id", "e9806d58-132b-4d87-8d21-ec2225d08aaf"], ["LIMIT", 1]]
215
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
216
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
217
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.6ms)
218
- Completed 200 OK in 12ms (Views: 7.5ms | ActiveRecord: 0.6ms)
219
196
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
220
197
   (0.1ms) ROLLBACK
221
198
   (0.1ms) BEGIN
222
- -------------------------------------------------------------------------------------
223
- PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
224
- -------------------------------------------------------------------------------------
225
-  (0.0ms) SAVEPOINT active_record_1
226
-  (0.0ms) RELEASE SAVEPOINT active_record_1
199
+ ----------------------------------------------------
200
+ PushType::InvitationMethodsTest: test_0001_anonymous
201
+ ----------------------------------------------------
202
+  (0.1ms) SAVEPOINT active_record_1
203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
227
204
   (0.0ms) SAVEPOINT active_record_1
228
-  (0.1ms) SAVEPOINT active_record_2
229
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
230
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
231
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", 2016-08-02 20:00:47 UTC], ["updated_at", 2016-08-02 20:00:47 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:47 UTC], ["confirmation_sent_at", 2016-08-02 20:00:47 UTC]]
232
-  (0.1ms) RELEASE SAVEPOINT active_record_2
233
- Processing by PushType::ProfilesController#update as HTML
234
- Parameters: {"user"=>{"name"=>""}}
235
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "72c98c28-2698-4063-b0b9-c0fbf741c1a9"], ["LIMIT", 1]]
236
-  (0.1ms) SAVEPOINT active_record_2
237
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-4@example.com"], ["id", "72c98c28-2698-4063-b0b9-c0fbf741c1a9"], ["LIMIT", 1]]
238
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
239
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
240
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (1.6ms)
241
- Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.5ms)
242
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
243
-  (0.1ms) ROLLBACK
205
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
206
+  (0.0ms) ROLLBACK
244
207
   (0.1ms) BEGIN
245
- ----------------------------------------------------------------
246
- PushType::AuthenticatableTest::rememberable: test_0001_anonymous
247
- ----------------------------------------------------------------
248
-  (0.1ms) SAVEPOINT active_record_1
208
+ --------------------------------------------------------------------------------------------------------------
209
+ PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
210
+ --------------------------------------------------------------------------------------------------------------
211
+  (0.0ms) SAVEPOINT active_record_1
249
212
   (0.0ms) RELEASE SAVEPOINT active_record_1
250
213
   (0.0ms) SAVEPOINT active_record_1
251
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
252
-  (0.1ms) ROLLBACK
253
-  (0.1ms) BEGIN
254
- ------------------------------------------------------------------------------------------
255
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
256
- ------------------------------------------------------------------------------------------
257
-  (0.1ms) SAVEPOINT active_record_1
258
-  (0.1ms) RELEASE SAVEPOINT active_record_1
259
-  (0.1ms) SAVEPOINT active_record_1
260
214
   (0.1ms) SAVEPOINT active_record_2
261
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
262
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
263
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", 2016-08-02 20:00:47 UTC], ["updated_at", 2016-08-02 20:00:47 UTC], ["confirmation_token", "quz6o4jxJGa25Pxavyps"], ["confirmation_sent_at", 2016-08-02 20:00:47 UTC]]
215
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
216
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-3@example.com"], ["LIMIT", 1]]
217
+ 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", 2016-08-08 14:31:48 UTC], ["updated_at", 2016-08-08 14:31:48 UTC], ["confirmation_token", "Mf-YZpYQr8jGRA91XJEs"], ["confirmation_sent_at", 2016-08-08 14:31:48 UTC]]
264
218
   (0.1ms) RELEASE SAVEPOINT active_record_2
265
219
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
266
220
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.8ms)
267
- Devise::Mailer#confirmation_instructions: processed outbound mail in 153.7ms
268
- Sent mail to joe-5@example.com (7.2ms)
269
- Date: Tue, 02 Aug 2016 21:00:48 +0100
221
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 199.8ms
222
+ Sent mail to joe-3@example.com (9.4ms)
223
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
270
224
  From: pushtype@example.com
271
225
  Reply-To: pushtype@example.com
272
- To: joe-5@example.com
273
- Message-ID: <57a0fbf0273f7_fabe3ffa2c43f9fc781c0@Aarons-iMac.local.mail>
226
+ To: joe-3@example.com
227
+ Message-ID: <57a897d59c71_38d13fd4f543f9cc482cb@Aarons-iMac.local.mail>
274
228
  Subject: [PushType] Confirm your account
275
229
  Mime-Version: 1.0
276
230
  Content-Type: multipart/alternative;
277
- boundary="--==_mimepart_57a0fbf026579_fabe3ffa2c43f9fc78043";
231
+ boundary="--==_mimepart_57a897d58935_38d13fd4f543f9cc481d1";
278
232
  charset=UTF-8
279
233
  Content-Transfer-Encoding: 7bit
280
234
 
281
235
 
282
- ----==_mimepart_57a0fbf026579_fabe3ffa2c43f9fc78043
236
+ ----==_mimepart_57a897d58935_38d13fd4f543f9cc481d1
283
237
  Content-Type: text/plain;
284
238
  charset=UTF-8
285
239
  Content-Transfer-Encoding: 7bit
@@ -295,11 +249,11 @@ To get started, confirm your account and set your own password by
295
249
  clicking the link below:
296
250
 
297
251
  Confirm my account
298
- ( http://localhost:3000/push_type/confirmation?confirmation_token=quz6o4jxJGa25Pxavyps )
252
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=Mf-YZpYQr8jGRA91XJEs )
299
253
 
300
254
 
301
255
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
302
- ----==_mimepart_57a0fbf026579_fabe3ffa2c43f9fc78043
256
+ ----==_mimepart_57a897d58935_38d13fd4f543f9cc481d1
303
257
  Content-Type: text/html;
304
258
  charset=UTF-8
305
259
  Content-Transfer-Encoding: 7bit
@@ -345,7 +299,7 @@ body {
345
299
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
346
300
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
347
301
  <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;">
348
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=quz6o4jxJGa25Pxavyps" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
302
+ <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=Mf-YZpYQr8jGRA91XJEs" 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>
349
303
  </td>
350
304
  </tr>
351
305
  </table>
@@ -390,48 +344,58 @@ body {
390
344
  </body>
391
345
  </html>
392
346
 
393
- ----==_mimepart_57a0fbf026579_fabe3ffa2c43f9fc78043--
347
+ ----==_mimepart_57a897d58935_38d13fd4f543f9cc481d1--
394
348
 
395
- Processing by PushType::ConfirmationsController#update as HTML
396
- Parameters: {"user"=>{"confirmation_token"=>"quz6o4jxJGa25Pxavyps", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
397
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "quz6o4jxJGa25Pxavyps"], ["LIMIT", 1]]
398
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-5@example.com"], ["id", "5ad396e6-f27d-461e-9df1-b152c289ad74"], ["LIMIT", 1]]
399
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
400
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.2ms)
401
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.6ms)
402
- Completed 200 OK in 21ms (Views: 17.3ms | ActiveRecord: 0.5ms)
403
349
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
404
350
   (0.1ms) ROLLBACK
405
351
   (0.1ms) BEGIN
406
- ------------------------------------------------------------------------------------------
407
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
408
- ------------------------------------------------------------------------------------------
352
+ ---------------------------------------------------------------
353
+ PushType::AuthenticatableTest::validatable: test_0002_anonymous
354
+ ---------------------------------------------------------------
355
+  (0.1ms) SAVEPOINT active_record_1
356
+  (0.1ms) RELEASE SAVEPOINT active_record_1
357
+  (0.1ms) SAVEPOINT active_record_1
358
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
359
+  (0.1ms) ROLLBACK
360
+  (0.1ms) BEGIN
361
+ ---------------------------------------------------------------
362
+ PushType::AuthenticatableTest::validatable: test_0001_anonymous
363
+ ---------------------------------------------------------------
409
364
   (0.0ms) SAVEPOINT active_record_1
410
365
   (0.0ms) RELEASE SAVEPOINT active_record_1
366
+  (0.0ms) SAVEPOINT active_record_1
367
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
368
+  (0.1ms) ROLLBACK
369
+  (0.0ms) BEGIN
370
+ ----------------------------------------------------------------------------------------------------
371
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
372
+ ----------------------------------------------------------------------------------------------------
373
+  (0.1ms) SAVEPOINT active_record_1
374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
411
375
   (0.1ms) SAVEPOINT active_record_1
412
376
   (0.1ms) SAVEPOINT active_record_2
413
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
414
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
415
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "45Ap7QzsSumKzW6VRdim"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
377
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
378
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-4@example.com"], ["LIMIT", 1]]
379
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-4@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "opwPayADMVxmencEa5Ds"], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
416
380
   (0.1ms) RELEASE SAVEPOINT active_record_2
417
381
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
418
382
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
419
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
420
- Sent mail to joe-6@example.com (3.8ms)
421
- Date: Tue, 02 Aug 2016 21:00:48 +0100
383
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
384
+ Sent mail to joe-4@example.com (3.3ms)
385
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
422
386
  From: pushtype@example.com
423
387
  Reply-To: pushtype@example.com
424
- To: joe-6@example.com
425
- Message-ID: <57a0fbf037c56_fabe3ffa2c43f9fc7848e@Aarons-iMac.local.mail>
388
+ To: joe-4@example.com
389
+ Message-ID: <57a897d516447_38d13fd4f543f9cc4856f@Aarons-iMac.local.mail>
426
390
  Subject: [PushType] Confirm your account
427
391
  Mime-Version: 1.0
428
392
  Content-Type: multipart/alternative;
429
- boundary="--==_mimepart_57a0fbf0377c5_fabe3ffa2c43f9fc78391";
393
+ boundary="--==_mimepart_57a897d516025_38d13fd4f543f9cc48420";
430
394
  charset=UTF-8
431
395
  Content-Transfer-Encoding: 7bit
432
396
 
433
397
 
434
- ----==_mimepart_57a0fbf0377c5_fabe3ffa2c43f9fc78391
398
+ ----==_mimepart_57a897d516025_38d13fd4f543f9cc48420
435
399
  Content-Type: text/plain;
436
400
  charset=UTF-8
437
401
  Content-Transfer-Encoding: 7bit
@@ -447,11 +411,11 @@ To get started, confirm your account and set your own password by
447
411
  clicking the link below:
448
412
 
449
413
  Confirm my account
450
- ( http://localhost:3000/push_type/confirmation?confirmation_token=45Ap7QzsSumKzW6VRdim )
414
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=opwPayADMVxmencEa5Ds )
451
415
 
452
416
 
453
417
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
454
- ----==_mimepart_57a0fbf0377c5_fabe3ffa2c43f9fc78391
418
+ ----==_mimepart_57a897d516025_38d13fd4f543f9cc48420
455
419
  Content-Type: text/html;
456
420
  charset=UTF-8
457
421
  Content-Transfer-Encoding: 7bit
@@ -497,7 +461,7 @@ body {
497
461
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
498
462
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
499
463
  <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;">
500
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=45Ap7QzsSumKzW6VRdim" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
464
+ <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=opwPayADMVxmencEa5Ds" 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>
501
465
  </td>
502
466
  </tr>
503
467
  </table>
@@ -542,48 +506,47 @@ body {
542
506
  </body>
543
507
  </html>
544
508
 
545
- ----==_mimepart_57a0fbf0377c5_fabe3ffa2c43f9fc78391--
509
+ ----==_mimepart_57a897d516025_38d13fd4f543f9cc48420--
546
510
 
547
- Processing by PushType::ConfirmationsController#update as HTML
548
- Parameters: {"user"=>{"confirmation_token"=>"45Ap7QzsSumKzW6VRdim", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
549
- PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "45Ap7QzsSumKzW6VRdim"], ["LIMIT", 1]]
550
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-6@example.com"], ["id", "e3b3de08-c9cd-4313-bfb2-c38a181aa050"], ["LIMIT", 1]]
511
+ Processing by PushType::ConfirmationsController#show as HTML
512
+ Parameters: {"confirmation_token"=>"opwPayADMVxmencEa5Ds"}
513
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "opwPayADMVxmencEa5Ds"], ["LIMIT", 1]]
551
514
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
552
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
553
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.2ms)
554
- Completed 200 OK in 14ms (Views: 11.2ms | ActiveRecord: 0.6ms)
515
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (1.0ms)
516
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (7.4ms)
517
+ Completed 200 OK in 18ms (Views: 14.2ms | ActiveRecord: 0.2ms)
555
518
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
556
519
   (0.1ms) ROLLBACK
557
520
   (0.1ms) BEGIN
558
- ------------------------------------------------------------------------------------------
559
- PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
560
- ------------------------------------------------------------------------------------------
561
-  (0.1ms) SAVEPOINT active_record_1
521
+ ----------------------------------------------------------------------------------------------------
522
+ PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
523
+ ----------------------------------------------------------------------------------------------------
524
+  (0.0ms) SAVEPOINT active_record_1
562
525
   (0.0ms) RELEASE SAVEPOINT active_record_1
563
526
   (0.0ms) SAVEPOINT active_record_1
564
527
   (0.1ms) SAVEPOINT active_record_2
565
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
566
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
567
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "DzuyyzuL8zsg8h4RqatN"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
528
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
529
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-5@example.com"], ["LIMIT", 1]]
530
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-5@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "XaHzTuy-5zvU35yqsxA9"], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
568
531
   (0.1ms) RELEASE SAVEPOINT active_record_2
569
532
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
570
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
533
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
571
534
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
572
- Sent mail to joe-7@example.com (3.5ms)
573
- Date: Tue, 02 Aug 2016 21:00:48 +0100
535
+ Sent mail to joe-5@example.com (3.5ms)
536
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
574
537
  From: pushtype@example.com
575
538
  Reply-To: pushtype@example.com
576
- To: joe-7@example.com
577
- Message-ID: <57a0fbf045f6f_fabe3ffa2c43f9fc78730@Aarons-iMac.local.mail>
539
+ To: joe-5@example.com
540
+ Message-ID: <57a897d524693_38d13fd4f543f9cc48844@Aarons-iMac.local.mail>
578
541
  Subject: [PushType] Confirm your account
579
542
  Mime-Version: 1.0
580
543
  Content-Type: multipart/alternative;
581
- boundary="--==_mimepart_57a0fbf045afa_fabe3ffa2c43f9fc786f6";
544
+ boundary="--==_mimepart_57a897d52425d_38d13fd4f543f9cc487c0";
582
545
  charset=UTF-8
583
546
  Content-Transfer-Encoding: 7bit
584
547
 
585
548
 
586
- ----==_mimepart_57a0fbf045afa_fabe3ffa2c43f9fc786f6
549
+ ----==_mimepart_57a897d52425d_38d13fd4f543f9cc487c0
587
550
  Content-Type: text/plain;
588
551
  charset=UTF-8
589
552
  Content-Transfer-Encoding: 7bit
@@ -599,11 +562,11 @@ To get started, confirm your account and set your own password by
599
562
  clicking the link below:
600
563
 
601
564
  Confirm my account
602
- ( http://localhost:3000/push_type/confirmation?confirmation_token=DzuyyzuL8zsg8h4RqatN )
565
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=XaHzTuy-5zvU35yqsxA9 )
603
566
 
604
567
 
605
568
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
606
- ----==_mimepart_57a0fbf045afa_fabe3ffa2c43f9fc786f6
569
+ ----==_mimepart_57a897d52425d_38d13fd4f543f9cc487c0
607
570
  Content-Type: text/html;
608
571
  charset=UTF-8
609
572
  Content-Transfer-Encoding: 7bit
@@ -649,7 +612,7 @@ body {
649
612
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
650
613
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
651
614
  <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;">
652
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=DzuyyzuL8zsg8h4RqatN" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
615
+ <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=XaHzTuy-5zvU35yqsxA9" 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>
653
616
  </td>
654
617
  </tr>
655
618
  </table>
@@ -694,34 +657,15 @@ body {
694
657
  </body>
695
658
  </html>
696
659
 
697
- ----==_mimepart_57a0fbf045afa_fabe3ffa2c43f9fc786f6--
660
+ ----==_mimepart_57a897d52425d_38d13fd4f543f9cc487c0--
698
661
 
699
- Processing by PushType::ConfirmationsController#update as HTML
700
- Parameters: {"user"=>{"confirmation_token"=>"DzuyyzuL8zsg8h4RqatN", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
701
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "DzuyyzuL8zsg8h4RqatN"], ["LIMIT", 1]]
702
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-7@example.com"], ["id", "b07b6640-2891-4dea-8a51-480a28d69d6a"], ["LIMIT", 1]]
662
+ Processing by PushType::ConfirmationsController#show as HTML
663
+ Parameters: {"confirmation_token"=>"XaHzTuy-5zvU35yqsxA9"}
664
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "XaHzTuy-5zvU35yqsxA9"], ["LIMIT", 1]]
703
665
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
704
666
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
705
667
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
706
- Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.5ms)
707
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
708
-  (0.2ms) ROLLBACK
709
-  (0.1ms) BEGIN
710
- ---------------------------------------------------------------------------
711
- PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
712
- ---------------------------------------------------------------------------
713
-  (0.0ms) SAVEPOINT active_record_1
714
-  (0.0ms) RELEASE SAVEPOINT active_record_1
715
-  (0.0ms) SAVEPOINT active_record_1
716
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
717
-  (0.1ms) ROLLBACK
718
-  (0.1ms) BEGIN
719
- ---------------------------------------------------------------------------
720
- PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
721
- ---------------------------------------------------------------------------
722
-  (0.1ms) SAVEPOINT active_record_1
723
-  (0.0ms) RELEASE SAVEPOINT active_record_1
724
-  (0.0ms) SAVEPOINT active_record_1
668
+ Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms)
725
669
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
726
670
   (0.1ms) ROLLBACK
727
671
   (0.1ms) BEGIN
@@ -729,40 +673,54 @@ PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
729
673
  PushType::AuthenticatableTest::trackable: test_0001_anonymous
730
674
  -------------------------------------------------------------
731
675
   (0.1ms) SAVEPOINT active_record_1
732
-  (0.0ms) RELEASE SAVEPOINT active_record_1
676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
733
677
   (0.0ms) SAVEPOINT active_record_1
734
678
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
735
679
   (0.1ms) ROLLBACK
736
680
   (0.1ms) BEGIN
737
- --------------------------------------------------------------------------------------------------------------
738
- PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
739
- --------------------------------------------------------------------------------------------------------------
681
+ --------------------------------------------------------------------------------------
682
+ PushType::AuthenticatableTest::#password_required?::with new user: test_0001_anonymous
683
+ --------------------------------------------------------------------------------------
684
+  (0.1ms) SAVEPOINT active_record_1
685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
686
+  (0.1ms) SAVEPOINT active_record_1
687
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
688
+  (0.1ms) ROLLBACK
689
+  (0.0ms) BEGIN
690
+ ---------------------------------------------------------------
691
+ PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
692
+ ---------------------------------------------------------------
740
693
   (0.0ms) SAVEPOINT active_record_1
741
694
   (0.0ms) RELEASE SAVEPOINT active_record_1
742
695
   (0.0ms) SAVEPOINT active_record_1
743
696
   (0.1ms) SAVEPOINT active_record_2
744
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
745
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
746
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "sxxUUCz7yo1LuqqMckhC"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
697
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
698
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-6@example.com"], ["LIMIT", 1]]
699
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-6@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-08 14:31:49 UTC], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
700
+  (0.1ms) RELEASE SAVEPOINT active_record_2
701
+  (0.1ms) SAVEPOINT active_record_2
702
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
703
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-7@example.com"], ["LIMIT", 1]]
704
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-7@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "WTcoqNWptTz-arY51iWq"], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
747
705
   (0.1ms) RELEASE SAVEPOINT active_record_2
748
706
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
749
707
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
750
708
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
751
- Sent mail to joe-8@example.com (3.8ms)
752
- Date: Tue, 02 Aug 2016 21:00:48 +0100
709
+ Sent mail to joe-7@example.com (3.4ms)
710
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
753
711
  From: pushtype@example.com
754
712
  Reply-To: pushtype@example.com
755
- To: joe-8@example.com
756
- Message-ID: <57a0fbf053cb2_fabe3ffa2c43f9fc79013@Aarons-iMac.local.mail>
713
+ To: joe-7@example.com
714
+ Message-ID: <57a897d531c7e_38d13fd4f543f9cc491b2@Aarons-iMac.local.mail>
757
715
  Subject: [PushType] Confirm your account
758
716
  Mime-Version: 1.0
759
717
  Content-Type: multipart/alternative;
760
- boundary="--==_mimepart_57a0fbf05386a_fabe3ffa2c43f9fc78922";
718
+ boundary="--==_mimepart_57a897d53185d_38d13fd4f543f9cc49054";
761
719
  charset=UTF-8
762
720
  Content-Transfer-Encoding: 7bit
763
721
 
764
722
 
765
- ----==_mimepart_57a0fbf05386a_fabe3ffa2c43f9fc78922
723
+ ----==_mimepart_57a897d53185d_38d13fd4f543f9cc49054
766
724
  Content-Type: text/plain;
767
725
  charset=UTF-8
768
726
  Content-Transfer-Encoding: 7bit
@@ -778,11 +736,11 @@ To get started, confirm your account and set your own password by
778
736
  clicking the link below:
779
737
 
780
738
  Confirm my account
781
- ( http://localhost:3000/push_type/confirmation?confirmation_token=sxxUUCz7yo1LuqqMckhC )
739
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=WTcoqNWptTz-arY51iWq )
782
740
 
783
741
 
784
742
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
785
- ----==_mimepart_57a0fbf05386a_fabe3ffa2c43f9fc78922
743
+ ----==_mimepart_57a897d53185d_38d13fd4f543f9cc49054
786
744
  Content-Type: text/html;
787
745
  charset=UTF-8
788
746
  Content-Transfer-Encoding: 7bit
@@ -828,7 +786,7 @@ body {
828
786
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
829
787
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
830
788
  <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;">
831
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=sxxUUCz7yo1LuqqMckhC" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
789
+ <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=WTcoqNWptTz-arY51iWq" 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>
832
790
  </td>
833
791
  </tr>
834
792
  </table>
@@ -873,40 +831,32 @@ body {
873
831
  </body>
874
832
  </html>
875
833
 
876
- ----==_mimepart_57a0fbf05386a_fabe3ffa2c43f9fc78922--
834
+ ----==_mimepart_57a897d53185d_38d13fd4f543f9cc49054--
877
835
 
878
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
879
-  (0.1ms) ROLLBACK
880
-  (0.1ms) BEGIN
881
- ----------------------------------------------------------------------------------------------------
882
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0001_anonymous
883
- ----------------------------------------------------------------------------------------------------
884
-  (0.1ms) SAVEPOINT active_record_1
885
-  (0.1ms) RELEASE SAVEPOINT active_record_1
886
-  (0.1ms) SAVEPOINT active_record_1
836
+ Processing by PushType::UsersController#invite as HTML
837
+ Parameters: {"id"=>"216d51f8-dccd-47d9-8b80-781e189ab7f8"}
838
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "56a32980-4914-4692-b58f-927b79606109"], ["LIMIT", 1]]
839
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "216d51f8-dccd-47d9-8b80-781e189ab7f8"], ["LIMIT", 1]]
887
840
   (0.1ms) SAVEPOINT active_record_2
888
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
889
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
890
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "cfN9QGAB2n7QD4fjJm6J"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
891
841
   (0.1ms) RELEASE SAVEPOINT active_record_2
892
842
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
893
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
894
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
895
- Sent mail to joe-9@example.com (3.7ms)
896
- Date: Tue, 02 Aug 2016 21:00:48 +0100
843
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
844
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
845
+ Sent mail to joe-7@example.com (3.4ms)
846
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
897
847
  From: pushtype@example.com
898
848
  Reply-To: pushtype@example.com
899
- To: joe-9@example.com
900
- Message-ID: <57a0fbf061109_fabe3ffa2c43f9fc7936b@Aarons-iMac.local.mail>
849
+ To: joe-7@example.com
850
+ Message-ID: <57a897d53c14e_38d13fd4f543f9cc49443@Aarons-iMac.local.mail>
901
851
  Subject: [PushType] Confirm your account
902
852
  Mime-Version: 1.0
903
853
  Content-Type: multipart/alternative;
904
- boundary="--==_mimepart_57a0fbf060c82_fabe3ffa2c43f9fc792d2";
854
+ boundary="--==_mimepart_57a897d53bd1e_38d13fd4f543f9cc49351";
905
855
  charset=UTF-8
906
856
  Content-Transfer-Encoding: 7bit
907
857
 
908
858
 
909
- ----==_mimepart_57a0fbf060c82_fabe3ffa2c43f9fc792d2
859
+ ----==_mimepart_57a897d53bd1e_38d13fd4f543f9cc49351
910
860
  Content-Type: text/plain;
911
861
  charset=UTF-8
912
862
  Content-Transfer-Encoding: 7bit
@@ -922,11 +872,11 @@ To get started, confirm your account and set your own password by
922
872
  clicking the link below:
923
873
 
924
874
  Confirm my account
925
- ( http://localhost:3000/push_type/confirmation?confirmation_token=cfN9QGAB2n7QD4fjJm6J )
875
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=WTcoqNWptTz-arY51iWq )
926
876
 
927
877
 
928
878
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
929
- ----==_mimepart_57a0fbf060c82_fabe3ffa2c43f9fc792d2
879
+ ----==_mimepart_57a897d53bd1e_38d13fd4f543f9cc49351
930
880
  Content-Type: text/html;
931
881
  charset=UTF-8
932
882
  Content-Transfer-Encoding: 7bit
@@ -972,7 +922,7 @@ body {
972
922
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
973
923
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
974
924
  <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;">
975
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=cfN9QGAB2n7QD4fjJm6J" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
925
+ <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=WTcoqNWptTz-arY51iWq" 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>
976
926
  </td>
977
927
  </tr>
978
928
  </table>
@@ -1017,47 +967,47 @@ body {
1017
967
  </body>
1018
968
  </html>
1019
969
 
1020
- ----==_mimepart_57a0fbf060c82_fabe3ffa2c43f9fc792d2--
970
+ ----==_mimepart_57a897d53bd1e_38d13fd4f543f9cc49351--
1021
971
 
1022
- Processing by PushType::ConfirmationsController#show as HTML
1023
- Parameters: {"confirmation_token"=>"cfN9QGAB2n7QD4fjJm6J"}
1024
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "cfN9QGAB2n7QD4fjJm6J"], ["LIMIT", 1]]
1025
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1026
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1027
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.7ms)
1028
- Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.2ms)
972
+ Redirected to http://test.host/push_type/users
973
+ Completed 302 Found in 38ms (ActiveRecord: 0.6ms)
1029
974
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1030
-  (0.2ms) ROLLBACK
975
+  (0.1ms) ROLLBACK
1031
976
   (0.1ms) BEGIN
1032
- ----------------------------------------------------------------------------------------------------
1033
- PushType::ConfirmationsControllerTest::GET #show::with valid confirmation token: test_0002_anonymous
1034
- ----------------------------------------------------------------------------------------------------
1035
-  (0.0ms) SAVEPOINT active_record_1
977
+ ---------------------------------------------------------------
978
+ PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
979
+ ---------------------------------------------------------------
980
+  (0.1ms) SAVEPOINT active_record_1
1036
981
   (0.0ms) RELEASE SAVEPOINT active_record_1
1037
982
   (0.0ms) SAVEPOINT active_record_1
1038
983
   (0.1ms) SAVEPOINT active_record_2
1039
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1040
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1041
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "9V1CE41ZjPodZr4Ci6Uv"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
984
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
985
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-8@example.com"], ["LIMIT", 1]]
986
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-8@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-08 14:31:49 UTC], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
987
+  (0.1ms) RELEASE SAVEPOINT active_record_2
988
+  (0.1ms) SAVEPOINT active_record_2
989
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
990
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-9@example.com"], ["LIMIT", 1]]
991
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-9@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "fifR5ygTyiCbwmrZYxor"], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
1042
992
   (0.1ms) RELEASE SAVEPOINT active_record_2
1043
993
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1044
994
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1045
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
1046
- Sent mail to joe-10@example.com (3.8ms)
1047
- Date: Tue, 02 Aug 2016 21:00:48 +0100
995
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
996
+ Sent mail to joe-9@example.com (3.3ms)
997
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
1048
998
  From: pushtype@example.com
1049
999
  Reply-To: pushtype@example.com
1050
- To: joe-10@example.com
1051
- Message-ID: <57a0fbf06e736_fabe3ffa2c43f9fc79672@Aarons-iMac.local.mail>
1000
+ To: joe-9@example.com
1001
+ Message-ID: <57a897d54768f_38d13fd4f543f9cc49798@Aarons-iMac.local.mail>
1052
1002
  Subject: [PushType] Confirm your account
1053
1003
  Mime-Version: 1.0
1054
1004
  Content-Type: multipart/alternative;
1055
- boundary="--==_mimepart_57a0fbf06e298_fabe3ffa2c43f9fc795c5";
1005
+ boundary="--==_mimepart_57a897d547235_38d13fd4f543f9cc496fc";
1056
1006
  charset=UTF-8
1057
1007
  Content-Transfer-Encoding: 7bit
1058
1008
 
1059
1009
 
1060
- ----==_mimepart_57a0fbf06e298_fabe3ffa2c43f9fc795c5
1010
+ ----==_mimepart_57a897d547235_38d13fd4f543f9cc496fc
1061
1011
  Content-Type: text/plain;
1062
1012
  charset=UTF-8
1063
1013
  Content-Transfer-Encoding: 7bit
@@ -1073,11 +1023,11 @@ To get started, confirm your account and set your own password by
1073
1023
  clicking the link below:
1074
1024
 
1075
1025
  Confirm my account
1076
- ( http://localhost:3000/push_type/confirmation?confirmation_token=9V1CE41ZjPodZr4Ci6Uv )
1026
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=fifR5ygTyiCbwmrZYxor )
1077
1027
 
1078
1028
 
1079
1029
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1080
- ----==_mimepart_57a0fbf06e298_fabe3ffa2c43f9fc795c5
1030
+ ----==_mimepart_57a897d547235_38d13fd4f543f9cc496fc
1081
1031
  Content-Type: text/html;
1082
1032
  charset=UTF-8
1083
1033
  Content-Transfer-Encoding: 7bit
@@ -1123,7 +1073,7 @@ body {
1123
1073
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1124
1074
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1125
1075
  <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;">
1126
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=9V1CE41ZjPodZr4Ci6Uv" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1076
+ <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=fifR5ygTyiCbwmrZYxor" 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>
1127
1077
  </td>
1128
1078
  </tr>
1129
1079
  </table>
@@ -1168,207 +1118,32 @@ body {
1168
1118
  </body>
1169
1119
  </html>
1170
1120
 
1171
- ----==_mimepart_57a0fbf06e298_fabe3ffa2c43f9fc795c5--
1121
+ ----==_mimepart_57a897d547235_38d13fd4f543f9cc496fc--
1172
1122
 
1173
- Processing by PushType::ConfirmationsController#show as HTML
1174
- Parameters: {"confirmation_token"=>"9V1CE41ZjPodZr4Ci6Uv"}
1175
- PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "9V1CE41ZjPodZr4Ci6Uv"], ["LIMIT", 1]]
1176
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1177
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
1178
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (1.9ms)
1179
- Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.3ms)
1180
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1181
-  (0.1ms) ROLLBACK
1182
-  (0.1ms) BEGIN
1183
- ---------------------------------------------------------------
1184
- PushType::AuthenticatableTest::recoverable: test_0001_anonymous
1185
- ---------------------------------------------------------------
1186
-  (0.0ms) SAVEPOINT active_record_1
1187
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1188
-  (0.0ms) SAVEPOINT active_record_1
1189
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1190
-  (0.1ms) ROLLBACK
1191
-  (0.1ms) BEGIN
1192
- ---------------------------------------------------------------
1193
- PushType::AuthenticatableTest::validatable: test_0001_anonymous
1194
- ---------------------------------------------------------------
1195
-  (0.1ms) SAVEPOINT active_record_1
1196
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1197
-  (0.1ms) SAVEPOINT active_record_1
1198
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1199
-  (0.1ms) ROLLBACK
1200
-  (0.1ms) BEGIN
1201
- ---------------------------------------------------------------
1202
- PushType::AuthenticatableTest::validatable: test_0002_anonymous
1203
- ---------------------------------------------------------------
1204
-  (0.1ms) SAVEPOINT active_record_1
1205
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1206
-  (0.1ms) SAVEPOINT active_record_1
1207
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1208
-  (0.1ms) ROLLBACK
1209
-  (0.1ms) BEGIN
1210
- ---------------------------------------------------------------
1211
- PushType::AuthenticatableTest::confirmable: test_0001_anonymous
1212
- ---------------------------------------------------------------
1213
-  (0.1ms) SAVEPOINT active_record_1
1214
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1215
-  (0.1ms) SAVEPOINT active_record_1
1216
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1217
-  (0.1ms) ROLLBACK
1218
-  (0.0ms) BEGIN
1219
- ------------------------------------------------------------------------------------------------------
1220
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
1221
- ------------------------------------------------------------------------------------------------------
1222
-  (0.0ms) SAVEPOINT active_record_1
1223
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1224
-  (0.0ms) SAVEPOINT active_record_1
1225
- Processing by PushType::ConfirmationsController#show as HTML
1226
- Parameters: {"confirmation_token"=>"invalid"}
1227
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1228
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1229
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "26a46c132adddd7c0069d0a058062f559cc8f71df76fb0b184a7dc3e5450c16f"], ["LIMIT", 1]]
1230
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
1231
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.4ms)
1232
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (3.2ms)
1233
- Completed 200 OK in 197ms (Views: 9.9ms | ActiveRecord: 0.4ms)
1234
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1235
-  (0.1ms) ROLLBACK
1236
-  (0.1ms) BEGIN
1237
- ------------------------------------------------------------------------------------------------------
1238
- PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
1239
- ------------------------------------------------------------------------------------------------------
1240
-  (0.1ms) SAVEPOINT active_record_1
1241
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1242
-  (0.1ms) SAVEPOINT active_record_1
1243
- Processing by PushType::ConfirmationsController#show as HTML
1244
- Parameters: {"confirmation_token"=>"invalid"}
1245
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1246
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
1247
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "26a46c132adddd7c0069d0a058062f559cc8f71df76fb0b184a7dc3e5450c16f"], ["LIMIT", 1]]
1248
- Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
1249
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
1250
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.5ms)
1251
- Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.3ms)
1252
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1253
-  (0.1ms) ROLLBACK
1254
-  (0.1ms) BEGIN
1255
- --------------------------------------------------------
1256
- PushType::AuthenticationMethodsTest: test_0001_anonymous
1257
- --------------------------------------------------------
1258
-  (0.0ms) SAVEPOINT active_record_1
1259
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1260
-  (0.0ms) SAVEPOINT active_record_1
1261
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1262
-  (0.1ms) ROLLBACK
1263
-  (0.1ms) BEGIN
1264
- --------------------------------------------------------
1265
- PushType::AuthenticationMethodsTest: test_0002_anonymous
1266
- --------------------------------------------------------
1267
-  (0.1ms) SAVEPOINT active_record_1
1268
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1269
-  (0.0ms) SAVEPOINT active_record_1
1270
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1271
-  (0.0ms) ROLLBACK
1272
-  (0.1ms) BEGIN
1273
- -----------------------------------------------------------------------------------
1274
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
1275
- -----------------------------------------------------------------------------------
1276
-  (0.1ms) SAVEPOINT active_record_1
1277
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1278
-  (0.1ms) SAVEPOINT active_record_1
1279
-  (0.1ms) SAVEPOINT active_record_2
1280
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1281
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1282
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1283
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1284
- Processing by PushType::ProfilesController#update as HTML
1285
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1286
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "e2bf778f-574d-41c9-a43f-dd640b8bdb2e"], ["LIMIT", 1]]
1287
-  (0.1ms) SAVEPOINT active_record_2
1288
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-11@example.com"], ["id", "e2bf778f-574d-41c9-a43f-dd640b8bdb2e"], ["LIMIT", 1]]
1289
- SQL (0.4ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-08-02 20:00:48 UTC], ["id", "e2bf778f-574d-41c9-a43f-dd640b8bdb2e"]]
1290
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1291
- Redirected to http://test.host/push_type/profile/edit
1292
- Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
1293
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "e2bf778f-574d-41c9-a43f-dd640b8bdb2e"], ["LIMIT", 1]]
1294
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1295
-  (0.1ms) ROLLBACK
1296
-  (0.1ms) BEGIN
1297
- -----------------------------------------------------------------------------------
1298
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
1299
- -----------------------------------------------------------------------------------
1300
-  (0.1ms) SAVEPOINT active_record_1
1301
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1302
-  (0.1ms) SAVEPOINT active_record_1
1303
-  (0.1ms) SAVEPOINT active_record_2
1304
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1305
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1306
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1307
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1308
- Processing by PushType::ProfilesController#update as HTML
1309
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1310
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "2e5beb74-c538-4971-b86a-6bf6cd670788"], ["LIMIT", 1]]
1311
-  (0.1ms) SAVEPOINT active_record_2
1312
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-12@example.com"], ["id", "2e5beb74-c538-4971-b86a-6bf6cd670788"], ["LIMIT", 1]]
1313
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-08-02 20:00:48 UTC], ["id", "2e5beb74-c538-4971-b86a-6bf6cd670788"]]
1314
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1315
- Redirected to http://test.host/push_type/profile/edit
1316
- Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
1317
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1318
-  (0.1ms) ROLLBACK
1319
-  (0.1ms) BEGIN
1320
- -----------------------------------------------------------------------------------
1321
- PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
1322
- -----------------------------------------------------------------------------------
1323
-  (0.1ms) SAVEPOINT active_record_1
1324
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1325
-  (0.0ms) SAVEPOINT active_record_1
1326
-  (0.1ms) SAVEPOINT active_record_2
1327
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1328
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1329
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-13@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1330
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1331
- Processing by PushType::ProfilesController#update as HTML
1332
- Parameters: {"user"=>{"name"=>"Test user ABC"}}
1333
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "1dcd1708-62b9-4734-ad32-06b102563a4c"], ["LIMIT", 1]]
1334
-  (0.1ms) SAVEPOINT active_record_2
1335
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-13@example.com"], ["id", "1dcd1708-62b9-4734-ad32-06b102563a4c"], ["LIMIT", 1]]
1336
- SQL (0.2ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-08-02 20:00:48 UTC], ["id", "1dcd1708-62b9-4734-ad32-06b102563a4c"]]
1337
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1338
- Redirected to http://test.host/push_type/profile/edit
1339
- Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
1340
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1341
-  (0.1ms) ROLLBACK
1342
-  (0.1ms) BEGIN
1343
- ----------------------------------------------------------------------------------------
1344
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
1345
- ----------------------------------------------------------------------------------------
1346
-  (0.1ms) SAVEPOINT active_record_1
1347
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1348
-  (0.1ms) SAVEPOINT active_record_1
1123
+ Processing by PushType::UsersController#invite as HTML
1124
+ Parameters: {"id"=>"bab1d71b-12cd-4198-8b2c-167975855550"}
1125
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "bca1cb3a-d730-4856-96b0-c32fe7b2bad5"], ["LIMIT", 1]]
1126
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "bab1d71b-12cd-4198-8b2c-167975855550"], ["LIMIT", 1]]
1349
1127
   (0.1ms) SAVEPOINT active_record_2
1350
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1351
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1352
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "ybsJy4ipByXygs7SuBwM"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1353
1128
   (0.1ms) RELEASE SAVEPOINT active_record_2
1354
1129
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1355
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
1356
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.3ms
1357
- Sent mail to joe-14@example.com (3.8ms)
1358
- Date: Tue, 02 Aug 2016 21:00:48 +0100
1130
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1131
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.4ms
1132
+ Sent mail to joe-9@example.com (3.8ms)
1133
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
1359
1134
  From: pushtype@example.com
1360
1135
  Reply-To: pushtype@example.com
1361
- To: joe-14@example.com
1362
- Message-ID: <57a0fbf0bdc26_fabe3ffa2c43f9fc7993e@Aarons-iMac.local.mail>
1136
+ To: joe-9@example.com
1137
+ Message-ID: <57a897d5512db_38d13fd4f543f9cc500e1@Aarons-iMac.local.mail>
1363
1138
  Subject: [PushType] Confirm your account
1364
1139
  Mime-Version: 1.0
1365
1140
  Content-Type: multipart/alternative;
1366
- boundary="--==_mimepart_57a0fbf0bd77d_fabe3ffa2c43f9fc79897";
1141
+ boundary="--==_mimepart_57a897d550de9_38d13fd4f543f9cc499c9";
1367
1142
  charset=UTF-8
1368
1143
  Content-Transfer-Encoding: 7bit
1369
1144
 
1370
1145
 
1371
- ----==_mimepart_57a0fbf0bd77d_fabe3ffa2c43f9fc79897
1146
+ ----==_mimepart_57a897d550de9_38d13fd4f543f9cc499c9
1372
1147
  Content-Type: text/plain;
1373
1148
  charset=UTF-8
1374
1149
  Content-Transfer-Encoding: 7bit
@@ -1384,11 +1159,11 @@ To get started, confirm your account and set your own password by
1384
1159
  clicking the link below:
1385
1160
 
1386
1161
  Confirm my account
1387
- ( http://localhost:3000/push_type/confirmation?confirmation_token=ybsJy4ipByXygs7SuBwM )
1162
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=fifR5ygTyiCbwmrZYxor )
1388
1163
 
1389
1164
 
1390
1165
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1391
- ----==_mimepart_57a0fbf0bd77d_fabe3ffa2c43f9fc79897
1166
+ ----==_mimepart_57a897d550de9_38d13fd4f543f9cc499c9
1392
1167
  Content-Type: text/html;
1393
1168
  charset=UTF-8
1394
1169
  Content-Transfer-Encoding: 7bit
@@ -1434,7 +1209,7 @@ body {
1434
1209
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1435
1210
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1436
1211
  <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;">
1437
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=ybsJy4ipByXygs7SuBwM" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1212
+ <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=fifR5ygTyiCbwmrZYxor" 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>
1438
1213
  </td>
1439
1214
  </tr>
1440
1215
  </table>
@@ -1479,53 +1254,47 @@ body {
1479
1254
  </body>
1480
1255
  </html>
1481
1256
 
1482
- ----==_mimepart_57a0fbf0bd77d_fabe3ffa2c43f9fc79897--
1257
+ ----==_mimepart_57a897d550de9_38d13fd4f543f9cc499c9--
1483
1258
 
1484
- Processing by PushType::ConfirmationsController#update as HTML
1485
- Parameters: {"user"=>{"confirmation_token"=>"ybsJy4ipByXygs7SuBwM", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1486
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "ybsJy4ipByXygs7SuBwM"], ["LIMIT", 1]]
1487
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-14@example.com"], ["id", "e07f67dc-ab68-48ab-b79f-477aa61ecb57"], ["LIMIT", 1]]
1488
-  (0.1ms) SAVEPOINT active_record_2
1489
- SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$.B7mvtAuWsvd67vY3Ingfu9UpM.PemRFwP9K6ySyDM8AHRP7QXub."], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["id", "e07f67dc-ab68-48ab-b79f-477aa61ecb57"]]
1490
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1491
-  (0.1ms) SAVEPOINT active_record_2
1492
- SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-08-02 20:00:48 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-08-02 20:00:48 UTC], ["last_sign_in_at", 2016-08-02 20:00:48 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "e07f67dc-ab68-48ab-b79f-477aa61ecb57"]]
1493
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1494
- Redirected to http://test.host/push_type/
1495
- Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
1496
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "e07f67dc-ab68-48ab-b79f-477aa61ecb57"], ["LIMIT", 1]]
1259
+ Redirected to http://test.host/push_type/users
1260
+ Completed 302 Found in 40ms (ActiveRecord: 0.6ms)
1497
1261
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1498
1262
   (0.1ms) ROLLBACK
1499
1263
   (0.1ms) BEGIN
1500
- ----------------------------------------------------------------------------------------
1501
- PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
1502
- ----------------------------------------------------------------------------------------
1264
+ ---------------------------------------------------------------
1265
+ PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
1266
+ ---------------------------------------------------------------
1503
1267
   (0.1ms) SAVEPOINT active_record_1
1504
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1268
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1505
1269
   (0.0ms) SAVEPOINT active_record_1
1506
1270
   (0.1ms) SAVEPOINT active_record_2
1507
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1508
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
1509
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "TAQHmJX_swC1LUuur2Xt"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1271
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1272
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-10@example.com"], ["LIMIT", 1]]
1273
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-10@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-08 14:31:49 UTC], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
1274
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1275
+  (0.1ms) SAVEPOINT active_record_2
1276
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1277
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-11@example.com"], ["LIMIT", 1]]
1278
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-11@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "KzUpd86Jmi_vhpz6fdBX"], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
1510
1279
   (0.1ms) RELEASE SAVEPOINT active_record_2
1511
1280
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1512
1281
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1513
1282
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.7ms
1514
- Sent mail to joe-15@example.com (3.4ms)
1515
- Date: Tue, 02 Aug 2016 21:00:48 +0100
1283
+ Sent mail to joe-11@example.com (3.7ms)
1284
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
1516
1285
  From: pushtype@example.com
1517
1286
  Reply-To: pushtype@example.com
1518
- To: joe-15@example.com
1519
- Message-ID: <57a0fbf0ca82c_fabe3ffa2c43f9fc80289@Aarons-iMac.local.mail>
1287
+ To: joe-11@example.com
1288
+ Message-ID: <57a897d55c528_38d13fd4f543f9cc503b9@Aarons-iMac.local.mail>
1520
1289
  Subject: [PushType] Confirm your account
1521
1290
  Mime-Version: 1.0
1522
1291
  Content-Type: multipart/alternative;
1523
- boundary="--==_mimepart_57a0fbf0ca3f7_fabe3ffa2c43f9fc801d3";
1292
+ boundary="--==_mimepart_57a897d55c03b_38d13fd4f543f9cc502d";
1524
1293
  charset=UTF-8
1525
1294
  Content-Transfer-Encoding: 7bit
1526
1295
 
1527
1296
 
1528
- ----==_mimepart_57a0fbf0ca3f7_fabe3ffa2c43f9fc801d3
1297
+ ----==_mimepart_57a897d55c03b_38d13fd4f543f9cc502d
1529
1298
  Content-Type: text/plain;
1530
1299
  charset=UTF-8
1531
1300
  Content-Transfer-Encoding: 7bit
@@ -1541,11 +1310,11 @@ To get started, confirm your account and set your own password by
1541
1310
  clicking the link below:
1542
1311
 
1543
1312
  Confirm my account
1544
- ( http://localhost:3000/push_type/confirmation?confirmation_token=TAQHmJX_swC1LUuur2Xt )
1313
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=KzUpd86Jmi_vhpz6fdBX )
1545
1314
 
1546
1315
 
1547
1316
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1548
- ----==_mimepart_57a0fbf0ca3f7_fabe3ffa2c43f9fc801d3
1317
+ ----==_mimepart_57a897d55c03b_38d13fd4f543f9cc502d
1549
1318
  Content-Type: text/html;
1550
1319
  charset=UTF-8
1551
1320
  Content-Transfer-Encoding: 7bit
@@ -1591,7 +1360,7 @@ body {
1591
1360
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1592
1361
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1593
1362
  <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;">
1594
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=TAQHmJX_swC1LUuur2Xt" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1363
+ <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=KzUpd86Jmi_vhpz6fdBX" 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>
1595
1364
  </td>
1596
1365
  </tr>
1597
1366
  </table>
@@ -1636,61 +1405,32 @@ body {
1636
1405
  </body>
1637
1406
  </html>
1638
1407
 
1639
- ----==_mimepart_57a0fbf0ca3f7_fabe3ffa2c43f9fc801d3--
1408
+ ----==_mimepart_57a897d55c03b_38d13fd4f543f9cc502d--
1640
1409
 
1641
- Processing by PushType::ConfirmationsController#update as HTML
1642
- Parameters: {"user"=>{"confirmation_token"=>"TAQHmJX_swC1LUuur2Xt", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1643
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "TAQHmJX_swC1LUuur2Xt"], ["LIMIT", 1]]
1644
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-15@example.com"], ["id", "668dbcbb-631d-494c-af12-490eb2b0f6b9"], ["LIMIT", 1]]
1645
-  (0.1ms) SAVEPOINT active_record_2
1646
- SQL (0.2ms) UPDATE "push_type_users" SET "encrypted_password" = $1, "confirmed_at" = $2, "updated_at" = $3 WHERE "push_type_users"."id" = $4 [["encrypted_password", "$2a$04$3xuSe7nDwX4u/5zAYMabXup51/xsCBAhbhgT.dg0e8HNpPVBghxXq"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["id", "668dbcbb-631d-494c-af12-490eb2b0f6b9"]]
1647
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1648
-  (0.1ms) SAVEPOINT active_record_2
1649
- SQL (0.3ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-08-02 20:00:48 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-08-02 20:00:48 UTC], ["last_sign_in_at", 2016-08-02 20:00:48 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "668dbcbb-631d-494c-af12-490eb2b0f6b9"]]
1650
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1651
- Redirected to http://test.host/push_type/
1652
- Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
1653
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1654
-  (0.1ms) ROLLBACK
1655
-  (0.1ms) BEGIN
1656
- ----------------------------------------------------
1657
- PushType::InvitationMethodsTest: test_0001_anonymous
1658
- ----------------------------------------------------
1659
-  (0.1ms) SAVEPOINT active_record_1
1660
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1661
-  (0.0ms) SAVEPOINT active_record_1
1662
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1663
-  (0.1ms) ROLLBACK
1664
-  (0.0ms) BEGIN
1665
- --------------------------------------------------------------------------------------------------------------
1666
- PushType::AuthenticatableTest::#password_required?::with existing user and clean password: test_0001_anonymous
1667
- --------------------------------------------------------------------------------------------------------------
1668
-  (0.0ms) SAVEPOINT active_record_1
1669
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1670
-  (0.0ms) SAVEPOINT active_record_1
1410
+ Processing by PushType::UsersController#invite as HTML
1411
+ Parameters: {"id"=>"5b076017-5f97-44bb-95e8-2afed2c1a345"}
1412
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "ddbb665d-9627-4647-8ea0-7379616816f5"], ["LIMIT", 1]]
1413
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "5b076017-5f97-44bb-95e8-2afed2c1a345"], ["LIMIT", 1]]
1671
1414
   (0.1ms) SAVEPOINT active_record_2
1672
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
1673
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
1674
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "9zkKpboN3MC1BdCRdUhU"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1675
1415
   (0.1ms) RELEASE SAVEPOINT active_record_2
1676
1416
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1677
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1417
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1678
1418
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1679
- Sent mail to joe-16@example.com (3.4ms)
1680
- Date: Tue, 02 Aug 2016 21:00:48 +0100
1419
+ Sent mail to joe-11@example.com (3.3ms)
1420
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
1681
1421
  From: pushtype@example.com
1682
1422
  Reply-To: pushtype@example.com
1683
- To: joe-16@example.com
1684
- Message-ID: <57a0fbf0d772e_fabe3ffa2c43f9fc80581@Aarons-iMac.local.mail>
1423
+ To: joe-11@example.com
1424
+ Message-ID: <57a897d565944_38d13fd4f543f9cc5066c@Aarons-iMac.local.mail>
1685
1425
  Subject: [PushType] Confirm your account
1686
1426
  Mime-Version: 1.0
1687
1427
  Content-Type: multipart/alternative;
1688
- boundary="--==_mimepart_57a0fbf0d730b_fabe3ffa2c43f9fc8047b";
1428
+ boundary="--==_mimepart_57a897d565547_38d13fd4f543f9cc505c9";
1689
1429
  charset=UTF-8
1690
1430
  Content-Transfer-Encoding: 7bit
1691
1431
 
1692
1432
 
1693
- ----==_mimepart_57a0fbf0d730b_fabe3ffa2c43f9fc8047b
1433
+ ----==_mimepart_57a897d565547_38d13fd4f543f9cc505c9
1694
1434
  Content-Type: text/plain;
1695
1435
  charset=UTF-8
1696
1436
  Content-Transfer-Encoding: 7bit
@@ -1706,11 +1446,11 @@ To get started, confirm your account and set your own password by
1706
1446
  clicking the link below:
1707
1447
 
1708
1448
  Confirm my account
1709
- ( http://localhost:3000/push_type/confirmation?confirmation_token=9zkKpboN3MC1BdCRdUhU )
1449
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=KzUpd86Jmi_vhpz6fdBX )
1710
1450
 
1711
1451
 
1712
1452
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1713
- ----==_mimepart_57a0fbf0d730b_fabe3ffa2c43f9fc8047b
1453
+ ----==_mimepart_57a897d565547_38d13fd4f543f9cc505c9
1714
1454
  Content-Type: text/html;
1715
1455
  charset=UTF-8
1716
1456
  Content-Transfer-Encoding: 7bit
@@ -1756,7 +1496,7 @@ body {
1756
1496
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1757
1497
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1758
1498
  <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;">
1759
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=9zkKpboN3MC1BdCRdUhU" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1499
+ <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=KzUpd86Jmi_vhpz6fdBX" 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>
1760
1500
  </td>
1761
1501
  </tr>
1762
1502
  </table>
@@ -1801,45 +1541,42 @@ body {
1801
1541
  </body>
1802
1542
  </html>
1803
1543
 
1804
- ----==_mimepart_57a0fbf0d730b_fabe3ffa2c43f9fc8047b--
1544
+ ----==_mimepart_57a897d565547_38d13fd4f543f9cc505c9--
1805
1545
 
1546
+ Redirected to http://test.host/push_type/users
1547
+ Completed 302 Found in 37ms (ActiveRecord: 0.4ms)
1806
1548
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1807
1549
   (0.1ms) ROLLBACK
1808
-  (0.0ms) BEGIN
1809
- ---------------------------------------------------------------
1810
- PushType::UsersControllerTest::PUT #invite: test_0001_anonymous
1811
- ---------------------------------------------------------------
1550
+  (0.1ms) BEGIN
1551
+ --------------------------------------------------------------------------------------------------------------
1552
+ PushType::AuthenticatableTest::#password_required?::with existing user and dirty password: test_0001_anonymous
1553
+ --------------------------------------------------------------------------------------------------------------
1812
1554
   (0.0ms) SAVEPOINT active_record_1
1813
1555
   (0.0ms) RELEASE SAVEPOINT active_record_1
1814
1556
   (0.0ms) SAVEPOINT active_record_1
1815
1557
   (0.1ms) SAVEPOINT active_record_2
1816
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
1817
- PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
1818
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1819
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1820
-  (0.1ms) SAVEPOINT active_record_2
1821
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
1822
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
1823
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "qenwjwtZxdDUeBmCmyW_"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1558
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1559
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-12@example.com"], ["LIMIT", 1]]
1560
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-12@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "HJRgEGdKz4QkiLttqH9r"], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
1824
1561
   (0.1ms) RELEASE SAVEPOINT active_record_2
1825
1562
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1826
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1827
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
1828
- Sent mail to joe-18@example.com (3.9ms)
1829
- Date: Tue, 02 Aug 2016 21:00:48 +0100
1563
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
1564
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
1565
+ Sent mail to joe-12@example.com (4.0ms)
1566
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
1830
1567
  From: pushtype@example.com
1831
1568
  Reply-To: pushtype@example.com
1832
- To: joe-18@example.com
1833
- Message-ID: <57a0fbf0e321f_fabe3ffa2c43f9fc80859@Aarons-iMac.local.mail>
1569
+ To: joe-12@example.com
1570
+ Message-ID: <57a897d56fd4d_38d13fd4f543f9cc509ed@Aarons-iMac.local.mail>
1834
1571
  Subject: [PushType] Confirm your account
1835
1572
  Mime-Version: 1.0
1836
1573
  Content-Type: multipart/alternative;
1837
- boundary="--==_mimepart_57a0fbf0e2d7c_fabe3ffa2c43f9fc80791";
1574
+ boundary="--==_mimepart_57a897d56f891_38d13fd4f543f9cc508cc";
1838
1575
  charset=UTF-8
1839
1576
  Content-Transfer-Encoding: 7bit
1840
1577
 
1841
1578
 
1842
- ----==_mimepart_57a0fbf0e2d7c_fabe3ffa2c43f9fc80791
1579
+ ----==_mimepart_57a897d56f891_38d13fd4f543f9cc508cc
1843
1580
  Content-Type: text/plain;
1844
1581
  charset=UTF-8
1845
1582
  Content-Transfer-Encoding: 7bit
@@ -1855,11 +1592,11 @@ To get started, confirm your account and set your own password by
1855
1592
  clicking the link below:
1856
1593
 
1857
1594
  Confirm my account
1858
- ( http://localhost:3000/push_type/confirmation?confirmation_token=qenwjwtZxdDUeBmCmyW_ )
1595
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=HJRgEGdKz4QkiLttqH9r )
1859
1596
 
1860
1597
 
1861
1598
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1862
- ----==_mimepart_57a0fbf0e2d7c_fabe3ffa2c43f9fc80791
1599
+ ----==_mimepart_57a897d56f891_38d13fd4f543f9cc508cc
1863
1600
  Content-Type: text/html;
1864
1601
  charset=UTF-8
1865
1602
  Content-Transfer-Encoding: 7bit
@@ -1905,7 +1642,7 @@ body {
1905
1642
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
1906
1643
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
1907
1644
  <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;">
1908
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=qenwjwtZxdDUeBmCmyW_" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1645
+ <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=HJRgEGdKz4QkiLttqH9r" 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>
1909
1646
  </td>
1910
1647
  </tr>
1911
1648
  </table>
@@ -1950,32 +1687,40 @@ body {
1950
1687
  </body>
1951
1688
  </html>
1952
1689
 
1953
- ----==_mimepart_57a0fbf0e2d7c_fabe3ffa2c43f9fc80791--
1690
+ ----==_mimepart_57a897d56f891_38d13fd4f543f9cc508cc--
1954
1691
 
1955
- Processing by PushType::UsersController#invite as HTML
1956
- Parameters: {"id"=>"6016f92d-215a-4240-aac0-845ef80997c7"}
1957
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "c535b6d4-0e4b-4eaf-95c7-969e8f79a053"], ["LIMIT", 1]]
1958
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "6016f92d-215a-4240-aac0-845ef80997c7"], ["LIMIT", 1]]
1692
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1693
+  (0.1ms) ROLLBACK
1694
+  (0.1ms) BEGIN
1695
+ ------------------------------------------------------------------------------------------
1696
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0001_anonymous
1697
+ ------------------------------------------------------------------------------------------
1698
+  (0.1ms) SAVEPOINT active_record_1
1699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1700
+  (0.1ms) SAVEPOINT active_record_1
1959
1701
   (0.1ms) SAVEPOINT active_record_2
1702
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1703
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-13@example.com"], ["LIMIT", 1]]
1704
+ 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-13@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "NYSbimxMQw_vKYj7eM53"], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
1960
1705
   (0.1ms) RELEASE SAVEPOINT active_record_2
1961
1706
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
1962
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
1963
- Devise::Mailer#confirmation_instructions: processed outbound mail in 4.1ms
1964
- Sent mail to joe-18@example.com (3.8ms)
1965
- Date: Tue, 02 Aug 2016 21:00:48 +0100
1707
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
1708
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
1709
+ Sent mail to joe-13@example.com (3.8ms)
1710
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
1966
1711
  From: pushtype@example.com
1967
1712
  Reply-To: pushtype@example.com
1968
- To: joe-18@example.com
1969
- Message-ID: <57a0fbf0efc1b_fabe3ffa2c43f9fc811f@Aarons-iMac.local.mail>
1713
+ To: joe-13@example.com
1714
+ Message-ID: <57a897d58173f_38d13fd4f543f9cc5127d@Aarons-iMac.local.mail>
1970
1715
  Subject: [PushType] Confirm your account
1971
1716
  Mime-Version: 1.0
1972
1717
  Content-Type: multipart/alternative;
1973
- boundary="--==_mimepart_57a0fbf0ef72e_fabe3ffa2c43f9fc810a4";
1718
+ boundary="--==_mimepart_57a897d58123d_38d13fd4f543f9cc5115a";
1974
1719
  charset=UTF-8
1975
1720
  Content-Transfer-Encoding: 7bit
1976
1721
 
1977
1722
 
1978
- ----==_mimepart_57a0fbf0ef72e_fabe3ffa2c43f9fc810a4
1723
+ ----==_mimepart_57a897d58123d_38d13fd4f543f9cc5115a
1979
1724
  Content-Type: text/plain;
1980
1725
  charset=UTF-8
1981
1726
  Content-Transfer-Encoding: 7bit
@@ -1991,11 +1736,11 @@ To get started, confirm your account and set your own password by
1991
1736
  clicking the link below:
1992
1737
 
1993
1738
  Confirm my account
1994
- ( http://localhost:3000/push_type/confirmation?confirmation_token=qenwjwtZxdDUeBmCmyW_ )
1739
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=NYSbimxMQw_vKYj7eM53 )
1995
1740
 
1996
1741
 
1997
1742
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
1998
- ----==_mimepart_57a0fbf0ef72e_fabe3ffa2c43f9fc810a4
1743
+ ----==_mimepart_57a897d58123d_38d13fd4f543f9cc5115a
1999
1744
  Content-Type: text/html;
2000
1745
  charset=UTF-8
2001
1746
  Content-Transfer-Encoding: 7bit
@@ -2041,7 +1786,7 @@ body {
2041
1786
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2042
1787
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2043
1788
  <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;">
2044
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=qenwjwtZxdDUeBmCmyW_" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1789
+ <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=NYSbimxMQw_vKYj7eM53" 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>
2045
1790
  </td>
2046
1791
  </tr>
2047
1792
  </table>
@@ -2086,47 +1831,48 @@ body {
2086
1831
  </body>
2087
1832
  </html>
2088
1833
 
2089
- ----==_mimepart_57a0fbf0ef72e_fabe3ffa2c43f9fc810a4--
1834
+ ----==_mimepart_57a897d58123d_38d13fd4f543f9cc5115a--
2090
1835
 
2091
- Redirected to http://test.host/push_type/users
2092
- Completed 302 Found in 51ms (ActiveRecord: 0.5ms)
1836
+ Processing by PushType::ConfirmationsController#update as HTML
1837
+ Parameters: {"user"=>{"confirmation_token"=>"NYSbimxMQw_vKYj7eM53", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1838
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "NYSbimxMQw_vKYj7eM53"], ["LIMIT", 1]]
1839
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-13@example.com"], ["id", "ba6f9475-1cd6-4e15-b0a8-8982116be435"], ["LIMIT", 1]]
1840
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1841
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
1842
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.1ms)
1843
+ Completed 200 OK in 11ms (Views: 7.1ms | ActiveRecord: 0.6ms)
2093
1844
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2094
1845
   (0.1ms) ROLLBACK
2095
1846
   (0.1ms) BEGIN
2096
- ---------------------------------------------------------------
2097
- PushType::UsersControllerTest::PUT #invite: test_0002_anonymous
2098
- ---------------------------------------------------------------
2099
-  (0.0ms) SAVEPOINT active_record_1
2100
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2101
-  (0.0ms) SAVEPOINT active_record_1
2102
-  (0.1ms) SAVEPOINT active_record_2
2103
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2104
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2105
- SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:48 UTC], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
2106
-  (0.1ms) RELEASE SAVEPOINT active_record_2
1847
+ ------------------------------------------------------------------------------------------
1848
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0003_anonymous
1849
+ ------------------------------------------------------------------------------------------
1850
+  (0.1ms) SAVEPOINT active_record_1
1851
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1852
+  (0.1ms) SAVEPOINT active_record_1
2107
1853
   (0.1ms) SAVEPOINT active_record_2
2108
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2109
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2110
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", 2016-08-02 20:00:48 UTC], ["updated_at", 2016-08-02 20:00:48 UTC], ["confirmation_token", "dWV39ThZToHkH4qR96JD"], ["confirmation_sent_at", 2016-08-02 20:00:48 UTC]]
1854
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1855
+ PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-14@example.com"], ["LIMIT", 1]]
1856
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-14@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "F2LAePmReDrpgx8Qvrj2"], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
2111
1857
   (0.1ms) RELEASE SAVEPOINT active_record_2
2112
1858
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2113
1859
  Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
2114
- Devise::Mailer#confirmation_instructions: processed outbound mail in 3.1ms
2115
- Sent mail to joe-20@example.com (3.3ms)
2116
- Date: Tue, 02 Aug 2016 21:00:49 +0100
1860
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.8ms
1861
+ Sent mail to joe-14@example.com (5.3ms)
1862
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
2117
1863
  From: pushtype@example.com
2118
1864
  Reply-To: pushtype@example.com
2119
- To: joe-20@example.com
2120
- Message-ID: <57a0fbf128e78_fabe3ffa2c43f9fc81418@Aarons-iMac.local.mail>
1865
+ To: joe-14@example.com
1866
+ Message-ID: <57a897d592013_38d13fd4f543f9cc51529@Aarons-iMac.local.mail>
2121
1867
  Subject: [PushType] Confirm your account
2122
1868
  Mime-Version: 1.0
2123
1869
  Content-Type: multipart/alternative;
2124
- boundary="--==_mimepart_57a0fbf128a1d_fabe3ffa2c43f9fc8135";
1870
+ boundary="--==_mimepart_57a897d59183f_38d13fd4f543f9cc514ea";
2125
1871
  charset=UTF-8
2126
1872
  Content-Transfer-Encoding: 7bit
2127
1873
 
2128
1874
 
2129
- ----==_mimepart_57a0fbf128a1d_fabe3ffa2c43f9fc8135
1875
+ ----==_mimepart_57a897d59183f_38d13fd4f543f9cc514ea
2130
1876
  Content-Type: text/plain;
2131
1877
  charset=UTF-8
2132
1878
  Content-Transfer-Encoding: 7bit
@@ -2142,11 +1888,11 @@ To get started, confirm your account and set your own password by
2142
1888
  clicking the link below:
2143
1889
 
2144
1890
  Confirm my account
2145
- ( http://localhost:3000/push_type/confirmation?confirmation_token=dWV39ThZToHkH4qR96JD )
1891
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=F2LAePmReDrpgx8Qvrj2 )
2146
1892
 
2147
1893
 
2148
1894
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2149
- ----==_mimepart_57a0fbf128a1d_fabe3ffa2c43f9fc8135
1895
+ ----==_mimepart_57a897d59183f_38d13fd4f543f9cc514ea
2150
1896
  Content-Type: text/html;
2151
1897
  charset=UTF-8
2152
1898
  Content-Transfer-Encoding: 7bit
@@ -2192,7 +1938,7 @@ body {
2192
1938
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2193
1939
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2194
1940
  <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;">
2195
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=dWV39ThZToHkH4qR96JD" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
1941
+ <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=F2LAePmReDrpgx8Qvrj2" 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>
2196
1942
  </td>
2197
1943
  </tr>
2198
1944
  </table>
@@ -2237,32 +1983,48 @@ body {
2237
1983
  </body>
2238
1984
  </html>
2239
1985
 
2240
- ----==_mimepart_57a0fbf128a1d_fabe3ffa2c43f9fc8135--
1986
+ ----==_mimepart_57a897d59183f_38d13fd4f543f9cc514ea--
2241
1987
 
2242
- Processing by PushType::UsersController#invite as HTML
2243
- Parameters: {"id"=>"7f62e5f5-37c1-4263-bb19-e5a654a10077"}
2244
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "ffa1ea48-d7dd-46ad-ac61-d79206668e23"], ["LIMIT", 1]]
2245
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "7f62e5f5-37c1-4263-bb19-e5a654a10077"], ["LIMIT", 1]]
1988
+ Processing by PushType::ConfirmationsController#update as HTML
1989
+ Parameters: {"user"=>{"confirmation_token"=>"F2LAePmReDrpgx8Qvrj2", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
1990
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "F2LAePmReDrpgx8Qvrj2"], ["LIMIT", 1]]
1991
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-14@example.com"], ["id", "f16d14fc-1007-446e-8fb8-5d18046eff69"], ["LIMIT", 1]]
1992
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
1993
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.7ms)
1994
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (3.3ms)
1995
+ Completed 200 OK in 16ms (Views: 10.6ms | ActiveRecord: 0.8ms)
1996
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1997
+  (0.1ms) ROLLBACK
1998
+  (0.1ms) BEGIN
1999
+ ------------------------------------------------------------------------------------------
2000
+ PushType::ConfirmationsControllerTest::PUT #update::with invalid user: test_0002_anonymous
2001
+ ------------------------------------------------------------------------------------------
2002
+  (0.1ms) SAVEPOINT active_record_1
2003
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2004
+  (0.1ms) SAVEPOINT active_record_1
2246
2005
   (0.1ms) SAVEPOINT active_record_2
2006
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
2007
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-15@example.com"], ["LIMIT", 1]]
2008
+ SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-15@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "-w8YuA4hhf2Erv_Q8iMn"], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
2247
2009
   (0.1ms) RELEASE SAVEPOINT active_record_2
2248
2010
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2249
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2250
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.6ms
2251
- Sent mail to joe-20@example.com (3.6ms)
2252
- Date: Tue, 02 Aug 2016 21:00:49 +0100
2011
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.6ms)
2012
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 5.1ms
2013
+ Sent mail to joe-15@example.com (5.6ms)
2014
+ Date: Mon, 08 Aug 2016 15:31:49 +0100
2253
2015
  From: pushtype@example.com
2254
2016
  Reply-To: pushtype@example.com
2255
- To: joe-20@example.com
2256
- Message-ID: <57a0fbf1326c1_fabe3ffa2c43f9fc817cf@Aarons-iMac.local.mail>
2017
+ To: joe-15@example.com
2018
+ Message-ID: <57a897d5a87ca_38d13fd4f543f9cc518f3@Aarons-iMac.local.mail>
2257
2019
  Subject: [PushType] Confirm your account
2258
2020
  Mime-Version: 1.0
2259
2021
  Content-Type: multipart/alternative;
2260
- boundary="--==_mimepart_57a0fbf1321fd_fabe3ffa2c43f9fc816b4";
2022
+ boundary="--==_mimepart_57a897d5a809a_38d13fd4f543f9cc5173c";
2261
2023
  charset=UTF-8
2262
2024
  Content-Transfer-Encoding: 7bit
2263
2025
 
2264
2026
 
2265
- ----==_mimepart_57a0fbf1321fd_fabe3ffa2c43f9fc816b4
2027
+ ----==_mimepart_57a897d5a809a_38d13fd4f543f9cc5173c
2266
2028
  Content-Type: text/plain;
2267
2029
  charset=UTF-8
2268
2030
  Content-Transfer-Encoding: 7bit
@@ -2278,11 +2040,11 @@ To get started, confirm your account and set your own password by
2278
2040
  clicking the link below:
2279
2041
 
2280
2042
  Confirm my account
2281
- ( http://localhost:3000/push_type/confirmation?confirmation_token=dWV39ThZToHkH4qR96JD )
2043
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=-w8YuA4hhf2Erv_Q8iMn )
2282
2044
 
2283
2045
 
2284
2046
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2285
- ----==_mimepart_57a0fbf1321fd_fabe3ffa2c43f9fc816b4
2047
+ ----==_mimepart_57a897d5a809a_38d13fd4f543f9cc5173c
2286
2048
  Content-Type: text/html;
2287
2049
  charset=UTF-8
2288
2050
  Content-Transfer-Encoding: 7bit
@@ -2328,7 +2090,7 @@ body {
2328
2090
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2329
2091
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2330
2092
  <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;">
2331
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=dWV39ThZToHkH4qR96JD" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2093
+ <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=-w8YuA4hhf2Erv_Q8iMn" 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>
2332
2094
  </td>
2333
2095
  </tr>
2334
2096
  </table>
@@ -2373,47 +2135,227 @@ body {
2373
2135
  </body>
2374
2136
  </html>
2375
2137
 
2376
- ----==_mimepart_57a0fbf1321fd_fabe3ffa2c43f9fc816b4--
2138
+ ----==_mimepart_57a897d5a809a_38d13fd4f543f9cc5173c--
2377
2139
 
2378
- Redirected to http://test.host/push_type/users
2379
- Completed 302 Found in 39ms (ActiveRecord: 0.5ms)
2140
+ Processing by PushType::ConfirmationsController#update as HTML
2141
+ Parameters: {"user"=>{"confirmation_token"=>"-w8YuA4hhf2Erv_Q8iMn", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2142
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "-w8YuA4hhf2Erv_Q8iMn"], ["LIMIT", 1]]
2143
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-15@example.com"], ["id", "5b5384ed-c88c-4629-8077-523dd2e9d5a0"], ["LIMIT", 1]]
2144
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth
2145
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.6ms)
2146
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (2.7ms)
2147
+ Completed 200 OK in 16ms (Views: 10.6ms | ActiveRecord: 0.8ms)
2148
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2149
+  (0.1ms) ROLLBACK
2150
+  (0.1ms) BEGIN
2151
+ -----------------------------------------------------------------------------------
2152
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0002_anonymous
2153
+ -----------------------------------------------------------------------------------
2154
+  (0.1ms) SAVEPOINT active_record_1
2155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2156
+  (0.1ms) SAVEPOINT active_record_1
2157
+  (0.1ms) SAVEPOINT active_record_2
2158
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
2159
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-16@example.com"], ["LIMIT", 1]]
2160
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-16@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-08 14:31:49 UTC], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
2161
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2162
+ Processing by PushType::ProfilesController#update as HTML
2163
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
2164
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "77f9501c-b6f6-4a45-9f3d-de24dca31823"], ["LIMIT", 1]]
2165
+  (0.2ms) SAVEPOINT active_record_2
2166
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-16@example.com"], ["id", "77f9501c-b6f6-4a45-9f3d-de24dca31823"], ["LIMIT", 1]]
2167
+ SQL (0.4ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-08-08 14:31:49 UTC], ["id", "77f9501c-b6f6-4a45-9f3d-de24dca31823"]]
2168
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2169
+ Redirected to http://test.host/push_type/profile/edit
2170
+ Completed 302 Found in 10ms (ActiveRecord: 1.3ms)
2380
2171
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2381
2172
   (0.1ms) ROLLBACK
2382
2173
   (0.1ms) BEGIN
2383
- ---------------------------------------------------------------
2384
- PushType::UsersControllerTest::PUT #invite: test_0003_anonymous
2385
- ---------------------------------------------------------------
2174
+ -----------------------------------------------------------------------------------
2175
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0001_anonymous
2176
+ -----------------------------------------------------------------------------------
2177
+  (0.1ms) SAVEPOINT active_record_1
2178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2386
2179
   (0.1ms) SAVEPOINT active_record_1
2387
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2388
-  (0.0ms) SAVEPOINT active_record_1
2389
2180
   (0.1ms) SAVEPOINT active_record_2
2390
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2391
- PushType::User Exists (0.1ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2392
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-21@example.com"], ["created_at", 2016-08-02 20:00:49 UTC], ["updated_at", 2016-08-02 20:00:49 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-02 20:00:49 UTC], ["confirmation_sent_at", 2016-08-02 20:00:49 UTC]]
2181
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
2182
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-17@example.com"], ["LIMIT", 1]]
2183
+ SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-17@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-08 14:31:49 UTC], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
2184
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2185
+ Processing by PushType::ProfilesController#update as HTML
2186
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
2187
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "1ddc4ab6-1abe-4b11-9c01-9d56a5d9e407"], ["LIMIT", 1]]
2188
+  (0.2ms) SAVEPOINT active_record_2
2189
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-17@example.com"], ["id", "1ddc4ab6-1abe-4b11-9c01-9d56a5d9e407"], ["LIMIT", 1]]
2190
+ SQL (0.4ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-08-08 14:31:49 UTC], ["id", "1ddc4ab6-1abe-4b11-9c01-9d56a5d9e407"]]
2191
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2192
+ Redirected to http://test.host/push_type/profile/edit
2193
+ Completed 302 Found in 9ms (ActiveRecord: 1.2ms)
2194
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "1ddc4ab6-1abe-4b11-9c01-9d56a5d9e407"], ["LIMIT", 1]]
2195
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2196
+  (0.2ms) ROLLBACK
2197
+  (0.1ms) BEGIN
2198
+ -----------------------------------------------------------------------------------
2199
+ PushType::ProfilesControllerTest::PUT #update::with valid user: test_0003_anonymous
2200
+ -----------------------------------------------------------------------------------
2201
+  (0.1ms) SAVEPOINT active_record_1
2202
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2203
+  (0.1ms) SAVEPOINT active_record_1
2204
+  (0.1ms) SAVEPOINT active_record_2
2205
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
2206
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-18@example.com"], ["LIMIT", 1]]
2207
+ SQL (0.4ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-18@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-08 14:31:49 UTC], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
2393
2208
   (0.1ms) RELEASE SAVEPOINT active_record_2
2209
+ Processing by PushType::ProfilesController#update as HTML
2210
+ Parameters: {"user"=>{"name"=>"Test user ABC"}}
2211
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "e724f8ce-9a8a-4efd-a405-2746b3c0f321"], ["LIMIT", 1]]
2394
2212
   (0.1ms) SAVEPOINT active_record_2
2395
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2396
- PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2397
- SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2016-08-02 20:00:49 UTC], ["updated_at", 2016-08-02 20:00:49 UTC], ["confirmation_token", "uECzYvJ7k82TYrAyubwK"], ["confirmation_sent_at", 2016-08-02 20:00:49 UTC]]
2213
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-18@example.com"], ["id", "e724f8ce-9a8a-4efd-a405-2746b3c0f321"], ["LIMIT", 1]]
2214
+ SQL (0.4ms) UPDATE "push_type_users" SET "name" = $1, "updated_at" = $2 WHERE "push_type_users"."id" = $3 [["name", "Test user ABC"], ["updated_at", 2016-08-08 14:31:49 UTC], ["id", "e724f8ce-9a8a-4efd-a405-2746b3c0f321"]]
2215
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2216
+ Redirected to http://test.host/push_type/profile/edit
2217
+ Completed 302 Found in 8ms (ActiveRecord: 1.1ms)
2218
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2219
+  (0.1ms) ROLLBACK
2220
+  (0.1ms) BEGIN
2221
+ -------------------------------------------------------------------------------------
2222
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0001_anonymous
2223
+ -------------------------------------------------------------------------------------
2224
+  (0.1ms) SAVEPOINT active_record_1
2225
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2226
+  (0.1ms) SAVEPOINT active_record_1
2227
+  (0.1ms) SAVEPOINT active_record_2
2228
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2229
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-19@example.com"], ["LIMIT", 1]]
2230
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-19@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-08 14:31:49 UTC], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
2231
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2232
+ Processing by PushType::ProfilesController#update as HTML
2233
+ Parameters: {"user"=>{"name"=>""}}
2234
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "e712bfb3-21b5-49de-bfd6-faa48deaa629"], ["LIMIT", 1]]
2235
+  (0.1ms) SAVEPOINT active_record_2
2236
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-19@example.com"], ["id", "e712bfb3-21b5-49de-bfd6-faa48deaa629"], ["LIMIT", 1]]
2237
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
2238
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
2239
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (3.5ms)
2240
+ Completed 200 OK in 19ms (Views: 12.3ms | ActiveRecord: 0.9ms)
2241
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2242
+  (0.1ms) ROLLBACK
2243
+  (0.1ms) BEGIN
2244
+ -------------------------------------------------------------------------------------
2245
+ PushType::ProfilesControllerTest::PUT #update::with invalid user: test_0002_anonymous
2246
+ -------------------------------------------------------------------------------------
2247
+  (0.1ms) SAVEPOINT active_record_1
2248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2249
+  (0.1ms) SAVEPOINT active_record_1
2250
+  (0.1ms) SAVEPOINT active_record_2
2251
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2252
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-20@example.com"], ["LIMIT", 1]]
2253
+ SQL (0.3ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmed_at", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-20@example.com"], ["created_at", 2016-08-08 14:31:49 UTC], ["updated_at", 2016-08-08 14:31:49 UTC], ["confirmation_token", "Generated account"], ["confirmed_at", 2016-08-08 14:31:49 UTC], ["confirmation_sent_at", 2016-08-08 14:31:49 UTC]]
2398
2254
   (0.1ms) RELEASE SAVEPOINT active_record_2
2255
+ Processing by PushType::ProfilesController#update as HTML
2256
+ Parameters: {"user"=>{"name"=>""}}
2257
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "712e9929-9586-4f58-a29e-148835616981"], ["LIMIT", 1]]
2258
+  (0.1ms) SAVEPOINT active_record_2
2259
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-20@example.com"], ["id", "712e9929-9586-4f58-a29e-148835616981"], ["LIMIT", 1]]
2260
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
2261
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin
2262
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/profiles/edit.html.haml within layouts/push_type/admin (2.4ms)
2263
+ Completed 200 OK in 20ms (Views: 13.0ms | ActiveRecord: 0.9ms)
2264
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2265
+  (0.1ms) ROLLBACK
2266
+  (0.1ms) BEGIN
2267
+ ----------------------------------------------------------------
2268
+ PushType::AuthenticatableTest::rememberable: test_0001_anonymous
2269
+ ----------------------------------------------------------------
2270
+  (0.1ms) SAVEPOINT active_record_1
2271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2272
+  (0.1ms) SAVEPOINT active_record_1
2273
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2274
+  (0.1ms) ROLLBACK
2275
+  (0.1ms) BEGIN
2276
+ --------------------------------------------------------
2277
+ PushType::AuthenticationMethodsTest: test_0001_anonymous
2278
+ --------------------------------------------------------
2279
+  (0.1ms) SAVEPOINT active_record_1
2280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2281
+  (0.1ms) SAVEPOINT active_record_1
2282
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2283
+  (0.1ms) ROLLBACK
2284
+  (0.1ms) BEGIN
2285
+ --------------------------------------------------------
2286
+ PushType::AuthenticationMethodsTest: test_0002_anonymous
2287
+ --------------------------------------------------------
2288
+  (0.1ms) SAVEPOINT active_record_1
2289
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2290
+  (0.1ms) SAVEPOINT active_record_1
2291
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2292
+  (0.1ms) ROLLBACK
2293
+  (0.1ms) BEGIN
2294
+ ------------------------------------------------------------------------------------------------------
2295
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0001_anonymous
2296
+ ------------------------------------------------------------------------------------------------------
2297
+  (0.1ms) SAVEPOINT active_record_1
2298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2299
+  (0.1ms) SAVEPOINT active_record_1
2300
+ Processing by PushType::ConfirmationsController#show as HTML
2301
+ Parameters: {"confirmation_token"=>"invalid"}
2302
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
2303
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
2304
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "c97326864601931b80a7da64da60b9929bd8a536dd7547d45cb9210b57027db0"], ["LIMIT", 1]]
2305
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
2306
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2307
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (2.9ms)
2308
+ Completed 200 OK in 310ms (Views: 9.6ms | ActiveRecord: 0.8ms)
2309
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2310
+  (0.1ms) ROLLBACK
2311
+  (0.1ms) BEGIN
2312
+ ------------------------------------------------------------------------------------------------------
2313
+ PushType::ConfirmationsControllerTest::GET #show::with invalid confirmation token: test_0002_anonymous
2314
+ ------------------------------------------------------------------------------------------------------
2315
+  (0.1ms) SAVEPOINT active_record_1
2316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2317
+  (0.1ms) SAVEPOINT active_record_1
2318
+ Processing by PushType::ConfirmationsController#show as HTML
2319
+ Parameters: {"confirmation_token"=>"invalid"}
2320
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
2321
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "invalid"], ["LIMIT", 1]]
2322
+ PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "c97326864601931b80a7da64da60b9929bd8a536dd7547d45cb9210b57027db0"], ["LIMIT", 1]]
2323
+ Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth
2324
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/shared/_links.html.erb (0.3ms)
2325
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/push_type/confirmations/new.html.haml within layouts/push_type/auth (1.4ms)
2326
+ Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.3ms)
2327
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2328
+  (0.1ms) ROLLBACK
2329
+  (0.1ms) BEGIN
2330
+ ----------------------------------------------------------------------------------------
2331
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0001_anonymous
2332
+ ----------------------------------------------------------------------------------------
2333
+  (0.1ms) SAVEPOINT active_record_1
2334
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2335
+  (0.1ms) SAVEPOINT active_record_1
2336
+  (0.1ms) SAVEPOINT active_record_2
2337
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2338
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-21@example.com"], ["LIMIT", 1]]
2339
+ 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-21@example.com"], ["created_at", 2016-08-08 14:31:50 UTC], ["updated_at", 2016-08-08 14:31:50 UTC], ["confirmation_token", "VpiSoof716XciRZ9uMUf"], ["confirmation_sent_at", 2016-08-08 14:31:50 UTC]]
2340
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2399
2341
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2400
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2401
- Devise::Mailer#confirmation_instructions: processed outbound mail in 2.5ms
2402
- Sent mail to joe-22@example.com (3.4ms)
2403
- Date: Tue, 02 Aug 2016 21:00:49 +0100
2342
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.4ms)
2343
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 3.0ms
2344
+ Sent mail to joe-21@example.com (3.6ms)
2345
+ Date: Mon, 08 Aug 2016 15:31:50 +0100
2404
2346
  From: pushtype@example.com
2405
2347
  Reply-To: pushtype@example.com
2406
- To: joe-22@example.com
2407
- Message-ID: <57a0fbf13ca00_fabe3ffa2c43f9fc8205a@Aarons-iMac.local.mail>
2348
+ To: joe-21@example.com
2349
+ Message-ID: <57a897d635d39_38d13fd4f543f9cc521ab@Aarons-iMac.local.mail>
2408
2350
  Subject: [PushType] Confirm your account
2409
2351
  Mime-Version: 1.0
2410
2352
  Content-Type: multipart/alternative;
2411
- boundary="--==_mimepart_57a0fbf13c5e0_fabe3ffa2c43f9fc81992";
2353
+ boundary="--==_mimepart_57a897d6358f7_38d13fd4f543f9cc52093";
2412
2354
  charset=UTF-8
2413
2355
  Content-Transfer-Encoding: 7bit
2414
2356
 
2415
2357
 
2416
- ----==_mimepart_57a0fbf13c5e0_fabe3ffa2c43f9fc81992
2358
+ ----==_mimepart_57a897d6358f7_38d13fd4f543f9cc52093
2417
2359
  Content-Type: text/plain;
2418
2360
  charset=UTF-8
2419
2361
  Content-Transfer-Encoding: 7bit
@@ -2429,11 +2371,11 @@ To get started, confirm your account and set your own password by
2429
2371
  clicking the link below:
2430
2372
 
2431
2373
  Confirm my account
2432
- ( http://localhost:3000/push_type/confirmation?confirmation_token=uECzYvJ7k82TYrAyubwK )
2374
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=VpiSoof716XciRZ9uMUf )
2433
2375
 
2434
2376
 
2435
2377
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2436
- ----==_mimepart_57a0fbf13c5e0_fabe3ffa2c43f9fc81992
2378
+ ----==_mimepart_57a897d6358f7_38d13fd4f543f9cc52093
2437
2379
  Content-Type: text/html;
2438
2380
  charset=UTF-8
2439
2381
  Content-Transfer-Encoding: 7bit
@@ -2479,7 +2421,7 @@ body {
2479
2421
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2480
2422
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2481
2423
  <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;">
2482
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=uECzYvJ7k82TYrAyubwK" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2424
+ <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=VpiSoof716XciRZ9uMUf" 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>
2483
2425
  </td>
2484
2426
  </tr>
2485
2427
  </table>
@@ -2524,32 +2466,53 @@ body {
2524
2466
  </body>
2525
2467
  </html>
2526
2468
 
2527
- ----==_mimepart_57a0fbf13c5e0_fabe3ffa2c43f9fc81992--
2469
+ ----==_mimepart_57a897d6358f7_38d13fd4f543f9cc52093--
2528
2470
 
2529
- Processing by PushType::UsersController#invite as HTML
2530
- Parameters: {"id"=>"85b563c4-5eac-4d01-bbc1-b6746e3d4364"}
2531
- PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "40462e39-9661-4710-8c11-0128ce5524c8"], ["LIMIT", 1]]
2532
- PushType::User Load (0.1ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["id", "85b563c4-5eac-4d01-bbc1-b6746e3d4364"], ["LIMIT", 1]]
2471
+ Processing by PushType::ConfirmationsController#update as HTML
2472
+ Parameters: {"user"=>{"confirmation_token"=>"VpiSoof716XciRZ9uMUf", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2473
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "VpiSoof716XciRZ9uMUf"], ["LIMIT", 1]]
2474
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-21@example.com"], ["id", "6aa8c658-8680-47e2-b21a-1d7512e35fdc"], ["LIMIT", 1]]
2475
+  (0.1ms) SAVEPOINT active_record_2
2476
+ 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$xKn5fo7bloNFyxqNKXnGGuxK/8aG6dUPSFfXdJcNGLP42EsmsXPPG"], ["confirmed_at", 2016-08-08 14:31:50 UTC], ["updated_at", 2016-08-08 14:31:50 UTC], ["id", "6aa8c658-8680-47e2-b21a-1d7512e35fdc"]]
2477
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2533
2478
   (0.1ms) SAVEPOINT active_record_2
2479
+ SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-08-08 14:31:50 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-08-08 14:31:50 UTC], ["last_sign_in_at", 2016-08-08 14:31:50 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "6aa8c658-8680-47e2-b21a-1d7512e35fdc"]]
2480
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2481
+ Redirected to http://test.host/push_type/
2482
+ Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
2483
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT $2 [["id", "6aa8c658-8680-47e2-b21a-1d7512e35fdc"], ["LIMIT", 1]]
2484
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2485
+  (0.1ms) ROLLBACK
2486
+  (0.1ms) BEGIN
2487
+ ----------------------------------------------------------------------------------------
2488
+ PushType::ConfirmationsControllerTest::PUT #update::with valid user: test_0002_anonymous
2489
+ ----------------------------------------------------------------------------------------
2490
+  (0.1ms) SAVEPOINT active_record_1
2491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2492
+  (0.0ms) SAVEPOINT active_record_1
2493
+  (0.1ms) SAVEPOINT active_record_2
2494
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2495
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 LIMIT $2 [["email", "joe-22@example.com"], ["LIMIT", 1]]
2496
+ SQL (0.2ms) INSERT INTO "push_type_users" ("name", "email", "created_at", "updated_at", "confirmation_token", "confirmation_sent_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "Joe Bloggs"], ["email", "joe-22@example.com"], ["created_at", 2016-08-08 14:31:50 UTC], ["updated_at", 2016-08-08 14:31:50 UTC], ["confirmation_token", "qLi-oBtAnwhiCHsL5yqU"], ["confirmation_sent_at", 2016-08-08 14:31:50 UTC]]
2534
2497
   (0.1ms) RELEASE SAVEPOINT active_record_2
2535
2498
  Rendering /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email
2536
- Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.2ms)
2499
+ Rendered /Users/aaron/dev/pushcode/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb within layouts/push_type/email (0.3ms)
2537
2500
  Devise::Mailer#confirmation_instructions: processed outbound mail in 2.9ms
2538
- Sent mail to joe-22@example.com (3.2ms)
2539
- Date: Tue, 02 Aug 2016 21:00:49 +0100
2501
+ Sent mail to joe-22@example.com (4.3ms)
2502
+ Date: Mon, 08 Aug 2016 15:31:50 +0100
2540
2503
  From: pushtype@example.com
2541
2504
  Reply-To: pushtype@example.com
2542
2505
  To: joe-22@example.com
2543
- Message-ID: <57a0fbf14595a_fabe3ffa2c43f9fc823f5@Aarons-iMac.local.mail>
2506
+ Message-ID: <57a897d643ead_38d13fd4f543f9cc524c6@Aarons-iMac.local.mail>
2544
2507
  Subject: [PushType] Confirm your account
2545
2508
  Mime-Version: 1.0
2546
2509
  Content-Type: multipart/alternative;
2547
- boundary="--==_mimepart_57a0fbf14554e_fabe3ffa2c43f9fc82261";
2510
+ boundary="--==_mimepart_57a897d643873_38d13fd4f543f9cc5237f";
2548
2511
  charset=UTF-8
2549
2512
  Content-Transfer-Encoding: 7bit
2550
2513
 
2551
2514
 
2552
- ----==_mimepart_57a0fbf14554e_fabe3ffa2c43f9fc82261
2515
+ ----==_mimepart_57a897d643873_38d13fd4f543f9cc5237f
2553
2516
  Content-Type: text/plain;
2554
2517
  charset=UTF-8
2555
2518
  Content-Transfer-Encoding: 7bit
@@ -2565,11 +2528,11 @@ To get started, confirm your account and set your own password by
2565
2528
  clicking the link below:
2566
2529
 
2567
2530
  Confirm my account
2568
- ( http://localhost:3000/push_type/confirmation?confirmation_token=uECzYvJ7k82TYrAyubwK )
2531
+ ( http://localhost:3000/push_type/confirmation?confirmation_token=qLi-oBtAnwhiCHsL5yqU )
2569
2532
 
2570
2533
 
2571
2534
  PushType CMS: www.pushtype.org ( http://www.pushtype.org ).
2572
- ----==_mimepart_57a0fbf14554e_fabe3ffa2c43f9fc82261
2535
+ ----==_mimepart_57a897d643873_38d13fd4f543f9cc5237f
2573
2536
  Content-Type: text/html;
2574
2537
  charset=UTF-8
2575
2538
  Content-Transfer-Encoding: 7bit
@@ -2615,7 +2578,7 @@ body {
2615
2578
  <table style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0; width: 100%;">
2616
2579
  <tr style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
2617
2580
  <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;">
2618
- <p style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: normal; line-height: 1.6; margin: 0 0 10px; padding: 0;"><a class="btn-primary" href="http://localhost:3000/push_type/confirmation?confirmation_token=uECzYvJ7k82TYrAyubwK" style="background: #348eda; border-color: #348eda; border-radius: 25px; border-style: solid; border-width: 10px 20px; color: #FFF; cursor: pointer; display: inline-block; font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; font-size: 100%; font-weight: bold; line-height: 2; margin: 0 10px 0 0; padding: 0; text-align: center; text-decoration: none;">Confirm my account</a></p>
2581
+ <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=qLi-oBtAnwhiCHsL5yqU" 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>
2619
2582
  </td>
2620
2583
  </tr>
2621
2584
  </table>
@@ -2660,9 +2623,46 @@ body {
2660
2623
  </body>
2661
2624
  </html>
2662
2625
 
2663
- ----==_mimepart_57a0fbf14554e_fabe3ffa2c43f9fc82261--
2626
+ ----==_mimepart_57a897d643873_38d13fd4f543f9cc5237f--
2664
2627
 
2665
- Redirected to http://test.host/push_type/users
2666
- Completed 302 Found in 36ms (ActiveRecord: 0.5ms)
2667
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
2628
+ Processing by PushType::ConfirmationsController#update as HTML
2629
+ Parameters: {"user"=>{"confirmation_token"=>"qLi-oBtAnwhiCHsL5yqU", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
2630
+ PushType::User Load (0.2ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = $1 ORDER BY "push_type_users"."name" ASC LIMIT $2 [["confirmation_token", "qLi-oBtAnwhiCHsL5yqU"], ["LIMIT", 1]]
2631
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = $1 AND ("push_type_users"."id" != $2) LIMIT $3 [["email", "joe-22@example.com"], ["id", "b5132d11-a9d1-4629-a693-f74f5f398a02"], ["LIMIT", 1]]
2632
+  (0.1ms) SAVEPOINT active_record_2
2633
+ 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$G0asJV2/7Z.WUZzlCgucsOeB1H88JwfmscFZx46pHxo2n3XGwLE5i"], ["confirmed_at", 2016-08-08 14:31:50 UTC], ["updated_at", 2016-08-08 14:31:50 UTC], ["id", "b5132d11-a9d1-4629-a693-f74f5f398a02"]]
2634
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2635
+  (0.1ms) SAVEPOINT active_record_2
2636
+ SQL (0.2ms) UPDATE "push_type_users" SET "updated_at" = $1, "sign_in_count" = $2, "current_sign_in_at" = $3, "last_sign_in_at" = $4, "current_sign_in_ip" = $5, "last_sign_in_ip" = $6 WHERE "push_type_users"."id" = $7 [["updated_at", 2016-08-08 14:31:50 UTC], ["sign_in_count", 1], ["current_sign_in_at", 2016-08-08 14:31:50 UTC], ["last_sign_in_at", 2016-08-08 14:31:50 UTC], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_ip", "0.0.0.0"], ["id", "b5132d11-a9d1-4629-a693-f74f5f398a02"]]
2637
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2638
+ Redirected to http://test.host/push_type/
2639
+ Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
2640
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2641
+  (0.2ms) ROLLBACK
2642
+  (0.1ms) BEGIN
2643
+ ---------------------------------------------------------------------------
2644
+ PushType::AuthenticatableTest::database_athenticatable: test_0001_anonymous
2645
+ ---------------------------------------------------------------------------
2646
+  (0.1ms) SAVEPOINT active_record_1
2647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2648
+  (0.1ms) SAVEPOINT active_record_1
2649
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2650
+  (0.1ms) ROLLBACK
2651
+  (0.1ms) BEGIN
2652
+ ---------------------------------------------------------------------------
2653
+ PushType::AuthenticatableTest::database_athenticatable: test_0002_anonymous
2654
+ ---------------------------------------------------------------------------
2655
+  (0.1ms) SAVEPOINT active_record_1
2656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2657
+  (0.1ms) SAVEPOINT active_record_1
2658
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2659
+  (0.1ms) ROLLBACK
2660
+  (0.1ms) BEGIN
2661
+ ---------------------------------------------------------------
2662
+ PushType::AuthenticatableTest::confirmable: test_0001_anonymous
2663
+ ---------------------------------------------------------------
2664
+  (0.1ms) SAVEPOINT active_record_1
2665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2666
+  (0.1ms) SAVEPOINT active_record_1
2667
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2668
2668
   (0.1ms) ROLLBACK