gov_uk_date_fields 3.2.0.rc3 → 3.2.0

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 (114) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gov_uk_date_fields/version.rb +2 -2
  3. data/test/dummy/log/test.log +3681 -0
  4. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0C/0C2zg6Fz4ZDKb2SJoMeKCyuiEkK3VLTLoXTk6XtsYnk.cache +1 -0
  5. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1q/1qTKTELCNcaTGecih6WmU5XbelY0-n9ECxNFb7B3NDY.cache +1 -0
  6. data/test/dummy/tmp/cache/assets/sprockets/v3.0/23/23OcjleyoUnN5T0v_oEwEEVK7l5HEyIO_KGRr2Makg0.cache +0 -0
  7. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2v/2vYH0-57Ot7PCLWkuyRiVWFoDqDAisPuU54eB1XCuZs.cache +1 -0
  8. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
  9. data/test/dummy/tmp/cache/assets/sprockets/v3.0/87/87lBrKaac9bxHnrcDd3_kuqKV7Cn2kb3-9Yh1xDySjo.cache +0 -0
  10. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AX/AX3L2fGpRF9VevxsOcMT3K8MFiRGjRX81JBxvrH7IIc.cache +0 -0
  11. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
  12. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dw/DWiSprTdmJSiF4eYqRLDfLfWLyF-m0Mk3TOoLQXKKW0.cache +0 -0
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bE/bEgoYkpGjiyAWAaXBvA_-Aya6FVRKq3XugvZkD08uXQ.cache +0 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kB/kBO5u1GYzp_3At4KdTa7gu6M-8iJYzXwK7awXVhfdqQ.cache +1 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lm/lmLdQ9YYUNBpTGdPEpu9Jg8U72UBOztolRY2JGn69PQ.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nP/nPNMfuYlHJYq2PChYn-dJcrv2a_jlRXt70OIDOC2f3A.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oR/oREyRPrhTN2nImWV9UIIivSk5CeZ7vpcmwFg6CMNoGQ.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qK/qKwRM7szJUtdx-IcB_777nsCap0rkqBzoVO9zNTaLsY.cache +1 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xo/xo0vwho1GEXuJPGLrvAxM5Ag7xiZme4jPtTrZL2wSGY.cache +1 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yG/yGhSuZRuCtgZCBYZtGTzP3HHN73lpDEh0ZSY9fXMr74.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zF/zFkhrrravmeW44GBd3ZlMtqo96To6Zso0hWQ_7NIgU4.cache +0 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0F/0FBvTP5GR23sqfKQqc3ndsfMXyIceqNSEMDGdeKx-iw.cache +1 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0I/0I0SJYh6xyz2kJ-P0dZ1c8kq_lc0wkRDY1ZEeAombQo.cache +1 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0a/0a16TXIS237lMaBIne5Nr5Zz_LkXQroGtjhqyUhCOYQ.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/11/11ovRdbo434VRd2K0Sat3eZTuQn6hLBSz69i01_fDZ8.cache +1 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2U/2UTPo9bZtE2VMmv3ozQT5LpfnndJo1TaQ6VAOY0dAFQ.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2d/2dhiBTjBCH6rUfCJGoAp3fXgrDHxLIrybhE4TAS2su8.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4e/4eJoHAAJ4SF9Yw_4r61OtLTF9pK28G2ESTXYTkgT0qQ.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4g/4gt5Zf3XYLpssAYW6ANTaUFYel_6yWgzo9gI0M-lR6E.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/52/5248EdGUC74D1uVXiRxivkYvXF6xizQCiiKneqnfik4.cache +0 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5y/5Y9YnqLJJcIPyOyVcyWfDDb-U8nRpHueM2YGPtYmZm4.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5y/5y-aQ4cIum-_A2jTKUwbHTzo6AL99_jhiXTAcxlc5Ss.cache +1 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6H/6H4HGvZ3o4Pj8QMLBN3igwFMMODcAyz8U2Ap0ACQqok.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7H/7Hh93d3G281lD_G4MM-K7YL0RtvfF3osZ3tK86p8Psk.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7Z/7Z60_jhGYjjOBTk3r8Aa2ZV4DwTHuXc4JsqT13bCljc.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8W/8W7Id0h5U77_eVkkCY4ROJBUKABLRHsr5yo_vzBNoA4.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/92/92DncEpOSowpziX2RSXmGIKXaJo7h2rr9Hh6wyVOsRM.cache +1 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/AO/AOY_58Ai8y4zMJ13jdYBdoBNJHwlX4gtzflhfP2nl6k.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/AX/AX3L2fGpRF9VevxsOcMT3K8MFiRGjRX81JBxvrH7IIc.cache +0 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/C-/C-dw0M8QOQN8DjROlM-aUteggu3d6KaQD-rBmHAQ4dU.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/CM/CMeCT2T7Nd7PUPEtbK1YCarmzltllbcbsHI892df9Uo.cache +1 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Da/DahTrnxxMFavj3bHuCvhl03IXIb5XRXdj6PLUtMwVoI.cache +1 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache +2 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Dw/DWiSprTdmJSiF4eYqRLDfLfWLyF-m0Mk3TOoLQXKKW0.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/EA/EAMGb3LcvsJYsKCvU0FH3cFXQBqTmDHdm68CRcGGkxs.cache +0 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/HZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Hu/HuxqAoY_FoJq94YbRhmLRcXiA6K7xPXT3ViyV8vtr38.cache +1 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/LI/LIOeD2c3MYj4K4LebnGYcpb1F-G7eHCqyVcF3fLmivk.cache +1 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Lw/Lw7tUkUABT5dQ0eElpmhiEbK8h6ChHhEEb3iIP_q6As.cache +1 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/My/Myq6rgVMKFWObJUsyisfudlI1fWDVaFHdJtx_YNWgkE.cache +0 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/O6/O6PjkGTcXaO89C6AbuadQ3tNJM7JAUPl22JkjSlGYT0.cache +1 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OC/OCgWDw6AmW2ndZhYQJCovAT3MrQ1FUcjKcIVnicQFWs.cache +1 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OI/OIcpSS_toFEgHpKqLUFT_EO_KEIHJ2ti8VepxMz0ROk.cache +0 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ok/OkjwT_Bg1Ete5QvfmAGVm-YuMHrlbTH5VOI8aDtyDbg.cache +1 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/P2/P2eaoG_3TI887exxv_G88ZYFhwOs5UOqKB7If9FLtHE.cache +0 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/PF/PFD-K2z1IpxItwCxGEIxoq56ay6rKDrBA1wUNEYxOOc.cache +1 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Pb/Pb2Wc_FYaxn6JgXTJbW_unn8UhGBuRirp7PEBynJFyA.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Pw/PwV1n0VInOtXSi2kWiNdBHG44NAKqGfQx4OijtmIk5I.cache +0 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Q1/Q1XF7k1XjotY1C9SUWw3RaOuqBTZ3AygKU0FsKSGe8U.cache +0 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/T6/T6J4CcKu5C6mgeOQxg5nNc-lRwowH_UgZWmD_GWtKTE.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/US/USEnPg2AGtX0pVqQNI_iGrLtB9t-r253_6DzFzhoY9Q.cache +1 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/V2/V20OShSf4KQuR_tjMKpClFMr_EWUbxFeXbOhvvz9QM4.cache +1 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/V8/V8ZewWLrocSiIOMQMOeIrIXDgvktN939nWcA_wnBszs.cache +1 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/VQ/VQD_HVLaDTBoPGbAKzzV-_A-w_pjFujFXcYW1T5yVJ4.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Vk/Vk0wJE8hvbtGSNnzIW3-Evd7_M-Bc7emek0GFZQPapI.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/WG/WG5dYP-ckKzAMi5OcUWS50k31lbRPXJ-ipfPbVB_xlY.cache +0 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/YS/YSAUVr5d_wbRSzz2BleSmYfkMZPYTbL3ftCUchYei3I.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ye/Ye_ONiDRDCf5YZOULWxLUfsr-IjJryfMOA6FoDugNJA.cache +1 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/aS/aSw2fAfFJBikdJOTGE7_86zOLdFTCWV_lkKX3TwOkb8.cache +1 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/bD/bDtRIDP0s9tKUSyIAH31D5jroSMXZV0K7TynjIx3-8o.cache +0 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/bn/bnXRQyRSltQCM8FUXL8lpo4y5YaBLea1PIvciJFDf9Y.cache +1 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/br/bruJcqITayQQfuI_0x5dUW7M9DzJdRPNh8Igf0jpniY.cache +0 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cj/cjnpc-ByYZiJFv2-sjRS1AxvpxtM3S6sE2VB7NxZe80.cache +1 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cu/cuFUNLq4kuBeMs4w5fUvIkk-MFPMl2OnmsssjJMyPK8.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/e7/e7BUqMzL_1E7BBnoV_nbJLoQu_SGqKtKJWOsQsZQUjU.cache +0 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/fa/faTijp_rKjBEvLHMOJ2DtpixNdcS8LpJgk_kSFfXa7I.cache +1 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hi/HIwfqm8aLEFNNe1kRosjv97hgxdWZtZR4SUmIwPD_L4.cache +1 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hr/hr3vgmohlHUPBxg_1SkwssAeKMG4IeMmyHmsdaGxJXo.cache +0 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hx/hxaDKsXJi-m5nKlmbR1hk4a4Xg2YfFwmrW_TtmS7jlE.cache +0 -0
  86. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/i6/i6MnwGOTb-6wI1QoaMbUG6_si7ex6qJIq-6BD8a0atQ.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/jf/jfyB4_hKx91oYrg3Uz8kejw-1HKvL3WNzfXHySfnrjg.cache +1 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/jr/jrhg63vKri996YfYxadgGPKa0s0Z0QeRBvv78nSjZd8.cache +1 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/k2/k230zg3KWZuQ9up5IruYh082tu4CAmgAheZJN-w5_pE.cache +1 -0
  90. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/k9/k9czmo4FEiAIwA9VBgJzkuaEIzFHi4ncQa6QcilA4Hs.cache +1 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/l2/l2kRUfGOavyI9m_fh5Po6aCsWqcXA-N1alZsislQsyQ.cache +0 -0
  92. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lo/lop19Wm1uQZfGd6HfEAEdB1zDu5eWXraq_C7CfdepFI.cache +0 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/m7/M74bdzSYi7Dt522cDdBL3cfCik79h5YPNJfBk5Y_KMs.cache +0 -0
  94. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/m7/m7zZtDfOpfg4A2T8djXPwZ9bzt8QYGlaD7_1BmZ_XYI.cache +0 -0
  95. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oU/oUcXXxKagL4rpV2nZ9mguSwRZuRJ4amZlMbYJjZ0MNA.cache +1 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
  97. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pr/prQPg8mGVONBTk9Fg0dBPPW0jFaWR2sduO876XIDzwI.cache +0 -0
  98. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ps/psBBNOAKRh8YioHXsWx2sTo_Nhf1SB1nRF73bYh6szg.cache +0 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache +2 -0
  100. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/py/pyGAJrY1mgvF3JKeIGd7oSFKe34ZIyP04fOnInQI9Pc.cache +0 -0
  101. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/qh/qhcFpLxR_Q-MR3fQHOsfLnsd999iPY3-MULVjw5IyTo.cache +0 -0
  102. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/r9/r9EqVDhnX2xtdKYUJJ9TnrUnvcnVpFqzDp0_X9mRZAs.cache +0 -0
  103. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rV/rVIqk5blVIvnPB5_UOcU5Kb2jaOoDLVJJP-3cTJ-O58.cache +0 -0
  104. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rf/rfLkA5p4BXXJJ74YR8FbQbDV4Bb0WHxNwzsgAp1OLTs.cache +1 -0
  105. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/sD/sDAsuJtgLiV-QkQe-cSdXfiUOjOOa0Y26yKETGY4I5Q.cache +1 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uf/ufhKc2bX_OCnWPA1CIAmeHU8VxWbdA5qUlSdEScnkeY.cache +1 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uh/uhyjgIntx0ROlUReN-lOokLm-C_h3Qc0Tb55Ng5SNuM.cache +1 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wN/WnG-tLWvfYaiK9GlHONheAINtcktwQW3RGqbY7XjaJk.cache +1 -0
  109. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wX/wXqpuaP5B32TnHsCqCG8T8yFYTeC12ot6B3CZXVwZs4.cache +1 -0
  110. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xY/xYwuUZks6Apchm69F0RMY1VhCiOkTc0vnd0gdEdujIA.cache +1 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xz/xzt9-xebMB-HhzrGOZ-ybRzxoje_BYreHI6qS4ZdqXk.cache +1 -0
  112. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yX/yX4FWx00r4Ktdk56ieu0rpZC0oTTAJM5a8D7o9m4Gb4.cache +1 -0
  113. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/z9/z9sop_5Fsj3dppixvAQ6tts4MmhlyxvWiGi_YXnOvxc.cache +0 -0
  114. metadata +191 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 932e2c3de2e43eee9399b2dbfa3189d00140257cd1576888718dbcc9ce7da109
4
- data.tar.gz: bbca275b06393134b97f72e9963a85c14fdcb5fa002451fc62045822daa5c6cd
3
+ metadata.gz: bc6ee6a544dc261f821042b455b11199055fe6a364300a2f30f07f6072e1f71a
4
+ data.tar.gz: 624b5aefef654f3b700d44ff6b8e94f8f055aecc8ae087a03395fe1d185b5251
5
5
  SHA512:
6
- metadata.gz: 428e25ae745cd6ad27fdb47a31a8b1aec72b9673c6a7d9d18dab1db28c26121bcfc0f2db4341d9e1ca6a93c77cee7f8e6508b115361108da0cb9d493c1ec3335
7
- data.tar.gz: d44392510662c4c2e23269b1ef582e6018e0825d72aab29ac24588fb066b287a1f35dd6482acd3ba210b1c029d6512a2fdcb577f0746c2693d06a016e9f35882
6
+ metadata.gz: 7b3408fe0bb1e22ed99ba0e8a7861385d4785d8801ea81b97baeacbe60d0eca336f8a364f16b44cd1c0ee4cbf721ee22b79df7f1d84ad17aa2e1cf90e6b7c66a
7
+ data.tar.gz: a9fc7b525dc802eaf9a40ee770633680a2e47689f2a12c70fbc08e4d33aa301e6c6435a868dfb99d56dcf7f935550cfa8ec71ca6dde9f10272ed5b276431da79
@@ -1,4 +1,4 @@
1
1
  module GovUkDateFields
2
- VERSION = "3.2.0.rc3"
3
- VERSION_RELEASED = "2021-06-14"
2
+ VERSION = "3.2.0"
3
+ VERSION_RELEASED = "2021-06-16"
4
4
  end
@@ -11301,3 +11301,3684 @@ EmployeeTest: test_new_dates_can_be_populated_from_the_form
11301
11301
  ReplicantTest: test_joined_date_is_same_as_dob
11302
11302
  ----------------------------------------------
11303
11303
   (0.1ms) ROLLBACK
11304
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
11305
+  (6.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
11306
+  (0.2ms) BEGIN
11307
+ -------------------------------------------------------------------------------------------------------
11308
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
11309
+ -------------------------------------------------------------------------------------------------------
11310
+  (0.2ms) ROLLBACK
11311
+  (0.1ms) BEGIN
11312
+ ------------------------------------------------------------------
11313
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
11314
+ ------------------------------------------------------------------
11315
+  (0.1ms) ROLLBACK
11316
+  (0.1ms) BEGIN
11317
+ ----------------------------------------------------------------------
11318
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
11319
+ ----------------------------------------------------------------------
11320
+  (0.1ms) ROLLBACK
11321
+  (0.1ms) BEGIN
11322
+ ---------------------------------------------------------------------------------------
11323
+ GovUkDateFieldsTest: test_fieldset_output_with_today_button_with_no_css_class_specified
11324
+ ---------------------------------------------------------------------------------------
11325
+  (0.1ms) ROLLBACK
11326
+  (0.1ms) BEGIN
11327
+ ------------------------------------------------------------------------------------------------------
11328
+ GovUkDateFieldsTest: test_fieldset_without_explicit_`id`_passed_in_the_options_(will_be_autogenerated)
11329
+ ------------------------------------------------------------------------------------------------------
11330
+  (0.1ms) ROLLBACK
11331
+  (0.1ms) BEGIN
11332
+ --------------------------------------------------------
11333
+ GovUkDateFieldsTest: test_fieldset_output_with_form_hint
11334
+ --------------------------------------------------------
11335
+  (0.1ms) ROLLBACK
11336
+  (0.1ms) BEGIN
11337
+ -----------------------------------------------------------
11338
+ GovUkDateFieldsTest: test_fieldset_output_with_legend_class
11339
+ -----------------------------------------------------------
11340
+  (0.1ms) ROLLBACK
11341
+  (0.1ms) BEGIN
11342
+ -------------------------------------------------------
11343
+ GovUkDateFieldsTest: test_basic_output_without_fieldset
11344
+ -------------------------------------------------------
11345
+  (0.2ms) ROLLBACK
11346
+  (0.1ms) BEGIN
11347
+ -------------------------------------
11348
+ GovUkDateFieldsTest: test_squash_html
11349
+ -------------------------------------
11350
+  (0.1ms) ROLLBACK
11351
+  (0.1ms) BEGIN
11352
+ -------------------------------------------------------------------------------
11353
+ GovUkDateFieldsTest: test_fieldset_with_error_class_and_supplied_error_messages
11354
+ -------------------------------------------------------------------------------
11355
+  (0.1ms) ROLLBACK
11356
+  (0.1ms) BEGIN
11357
+ -------------------------------------------------------------
11358
+ GovUkDateFieldsTest: test_placeholder_output_without_fieldset
11359
+ -------------------------------------------------------------
11360
+  (0.1ms) ROLLBACK
11361
+  (0.1ms) BEGIN
11362
+ ---------------------------------------------------------------
11363
+ GovUkDateFieldsTest: test_fieldset_with_error_class_and_message
11364
+ ---------------------------------------------------------------
11365
+  (0.1ms) ROLLBACK
11366
+  (0.1ms) BEGIN
11367
+ ----------------------------------------------------------------------------------------
11368
+ GovUkDateFieldsTest: test_fieldset_with_error_class_and_message,_with_autogenerated_`id`
11369
+ ----------------------------------------------------------------------------------------
11370
+  (0.1ms) ROLLBACK
11371
+  (0.1ms) BEGIN
11372
+ ----------------------------------------------------------------------------------
11373
+ GovUkDateFieldsTest: test_fieldset_output_with_today_button_with_css_class_applied
11374
+ ----------------------------------------------------------------------------------
11375
+  (0.1ms) ROLLBACK
11376
+  (0.1ms) BEGIN
11377
+ ---------------------------------------------------------------
11378
+ GovUkDateFieldsTest: test_error_raised_if_invalid_options_given
11379
+ ---------------------------------------------------------------
11380
+  (0.1ms) ROLLBACK
11381
+  (0.1ms) BEGIN
11382
+ ------------------------------------------
11383
+ GovUkDateFieldsTest: test_fieldset_with_id
11384
+ ------------------------------------------
11385
+  (0.1ms) ROLLBACK
11386
+  (0.1ms) BEGIN
11387
+ ----------------------------------------------
11388
+ ReplicantTest: test_joined_date_is_same_as_dob
11389
+ ----------------------------------------------
11390
+  (0.1ms) ROLLBACK
11391
+  (0.1ms) BEGIN
11392
+ ----------------------------------------------------------------------
11393
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
11394
+ ----------------------------------------------------------------------
11395
+  (0.1ms) ROLLBACK
11396
+  (0.1ms) BEGIN
11397
+ --------------------------------------------------------------------------
11398
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
11399
+ --------------------------------------------------------------------------
11400
+  (0.1ms) ROLLBACK
11401
+  (0.1ms) BEGIN
11402
+ --------------------------------------------------------------------------------
11403
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
11404
+ --------------------------------------------------------------------------------
11405
+  (0.1ms) ROLLBACK
11406
+  (0.1ms) BEGIN
11407
+ ------------------------------------------------------------------------------------------------
11408
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
11409
+ ------------------------------------------------------------------------------------------------
11410
+  (0.2ms) SAVEPOINT active_record_1
11411
+ Director Create (1.4ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-14 21:49:41.168495"], ["updated_at", "2021-06-14 21:49:41.168495"]]
11412
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11413
+  (0.2ms) ROLLBACK
11414
+  (0.1ms) BEGIN
11415
+ -----------------------------------------------------------------------
11416
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
11417
+ -----------------------------------------------------------------------
11418
+  (0.1ms) ROLLBACK
11419
+  (0.1ms) BEGIN
11420
+ -----------------------------------------------------------------
11421
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
11422
+ -----------------------------------------------------------------
11423
+  (0.1ms) ROLLBACK
11424
+  (0.1ms) BEGIN
11425
+ -----------------------------------------------------------------------
11426
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
11427
+ -----------------------------------------------------------------------
11428
+  (0.1ms) ROLLBACK
11429
+  (0.1ms) BEGIN
11430
+ ---------------------------------------------------------------------
11431
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
11432
+ ---------------------------------------------------------------------
11433
+  (0.1ms) ROLLBACK
11434
+  (0.1ms) BEGIN
11435
+ -----------------------------------------------------------------------------------------------
11436
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
11437
+ -----------------------------------------------------------------------------------------------
11438
+  (0.1ms) ROLLBACK
11439
+  (0.1ms) BEGIN
11440
+ --------------------------------------------------------------------------
11441
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
11442
+ --------------------------------------------------------------------------
11443
+  (0.1ms) ROLLBACK
11444
+  (0.1ms) BEGIN
11445
+ -----------------------------------------------------------------------------------------------
11446
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
11447
+ -----------------------------------------------------------------------------------------------
11448
+  (0.1ms) ROLLBACK
11449
+  (0.1ms) BEGIN
11450
+ ---------------------------------------------------------------------------------
11451
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
11452
+ ---------------------------------------------------------------------------------
11453
+  (0.1ms) ROLLBACK
11454
+  (0.1ms) BEGIN
11455
+ ---------------------------------------------------------------------------------
11456
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
11457
+ ---------------------------------------------------------------------------------
11458
+  (0.1ms) ROLLBACK
11459
+  (0.1ms) BEGIN
11460
+ -------------------------------------------------------------------------------
11461
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
11462
+ -------------------------------------------------------------------------------
11463
+  (0.1ms) ROLLBACK
11464
+  (0.1ms) BEGIN
11465
+ ------------------------------------------------------------------------------------------
11466
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
11467
+ ------------------------------------------------------------------------------------------
11468
+  (0.1ms) ROLLBACK
11469
+  (0.1ms) BEGIN
11470
+ ----------------------------------------------------------------------------------------------------------------------------------
11471
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
11472
+ ----------------------------------------------------------------------------------------------------------------------------------
11473
+  (0.1ms) ROLLBACK
11474
+  (0.1ms) BEGIN
11475
+ -----------------------------------------------------------------------------------------
11476
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
11477
+ -----------------------------------------------------------------------------------------
11478
+  (0.1ms) ROLLBACK
11479
+  (0.1ms) BEGIN
11480
+ ---------------------------------------------------------------------
11481
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
11482
+ ---------------------------------------------------------------------
11483
+  (0.1ms) ROLLBACK
11484
+  (0.1ms) BEGIN
11485
+ --------------------------------------------------------------------------------------------------
11486
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
11487
+ --------------------------------------------------------------------------------------------------
11488
+  (0.1ms) ROLLBACK
11489
+  (0.1ms) BEGIN
11490
+ -------------------------------------------------------------------------
11491
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
11492
+ -------------------------------------------------------------------------
11493
+  (0.1ms) ROLLBACK
11494
+  (0.1ms) BEGIN
11495
+ -----------------------------------------------------------------------
11496
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
11497
+ -----------------------------------------------------------------------
11498
+  (0.1ms) ROLLBACK
11499
+  (0.1ms) BEGIN
11500
+ -------------------------------------------
11501
+ EmployeeTest: test_invalid_day_raises_error
11502
+ -------------------------------------------
11503
+  (0.1ms) ROLLBACK
11504
+  (0.1ms) BEGIN
11505
+ ----------------------------------------------
11506
+ EmployeeTest: test_valid_dates_raise_no_errors
11507
+ ----------------------------------------------
11508
+  (0.1ms) ROLLBACK
11509
+  (0.1ms) BEGIN
11510
+ ------------------------------------------------------------------------
11511
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
11512
+ ------------------------------------------------------------------------
11513
+  (0.1ms) ROLLBACK
11514
+  (0.1ms) BEGIN
11515
+ ----------------------------------------------------------------------------------------------------------------
11516
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
11517
+ ----------------------------------------------------------------------------------------------------------------
11518
+  (0.1ms) ROLLBACK
11519
+  (0.1ms) BEGIN
11520
+ -----------------------------------------------------------------------------------
11521
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
11522
+ -----------------------------------------------------------------------------------
11523
+  (0.1ms) ROLLBACK
11524
+  (0.1ms) BEGIN
11525
+ ----------------------------------------------------------------------------------------------
11526
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
11527
+ ----------------------------------------------------------------------------------------------
11528
+  (0.1ms) ROLLBACK
11529
+  (0.1ms) BEGIN
11530
+ ---------------------------------------------------------------------
11531
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
11532
+ ---------------------------------------------------------------------
11533
+  (0.1ms) ROLLBACK
11534
+  (0.1ms) BEGIN
11535
+ -----------------------------------------------------------------
11536
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
11537
+ -----------------------------------------------------------------
11538
+  (0.1ms) ROLLBACK
11539
+  (0.1ms) BEGIN
11540
+ -------------------------------------------------------------------------------------------------------------------
11541
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
11542
+ -------------------------------------------------------------------------------------------------------------------
11543
+  (0.1ms) ROLLBACK
11544
+  (0.1ms) BEGIN
11545
+ ---------------------------------------------------------------------------------------------------------
11546
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
11547
+ ---------------------------------------------------------------------------------------------------------
11548
+  (0.1ms) ROLLBACK
11549
+  (0.1ms) BEGIN
11550
+ -------------------------------------------------------------------------
11551
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
11552
+ -------------------------------------------------------------------------
11553
+  (0.1ms) SAVEPOINT active_record_1
11554
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-14 21:49:41.202446"], ["updated_at", "2021-06-14 21:49:41.202446"]]
11555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11556
+  (0.1ms) ROLLBACK
11557
+  (0.1ms) BEGIN
11558
+ --------------------------------------------
11559
+ EmployeeTest: test_nil_dates_raise_no_errors
11560
+ --------------------------------------------
11561
+  (0.1ms) ROLLBACK
11562
+  (0.1ms) BEGIN
11563
+ -----------------------------------------------------------
11564
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
11565
+ -----------------------------------------------------------
11566
+  (0.1ms) ROLLBACK
11567
+  (0.1ms) BEGIN
11568
+ ---------------------------------------------------------------------
11569
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
11570
+ ---------------------------------------------------------------------
11571
+  (0.1ms) SAVEPOINT active_record_1
11572
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-14 21:49:41.206257"], ["updated_at", "2021-06-14 21:49:41.206257"]]
11573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11574
+  (0.1ms) SAVEPOINT active_record_1
11575
+ Employee Update (0.3ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", "1965-05-17"], ["updated_at", "2021-06-14 21:49:41.207239"], ["id", 23]]
11576
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11577
+  (0.1ms) ROLLBACK
11578
+  (0.1ms) BEGIN
11579
+ -----------------------------------------------------------
11580
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
11581
+ -----------------------------------------------------------
11582
+  (0.1ms) ROLLBACK
11583
+  (0.1ms) BEGIN
11584
+ ------------------------------------------------------------------------------------------
11585
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
11586
+ ------------------------------------------------------------------------------------------
11587
+  (0.1ms) ROLLBACK
11588
+  (0.1ms) BEGIN
11589
+ --------------------------------------------------------------------------
11590
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
11591
+ --------------------------------------------------------------------------
11592
+  (0.1ms) ROLLBACK
11593
+  (0.1ms) BEGIN
11594
+ --------------------------------------------------------------
11595
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
11596
+ --------------------------------------------------------------
11597
+  (0.2ms) SAVEPOINT active_record_1
11598
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-14 21:49:41.257362"], ["updated_at", "2021-06-14 21:49:41.257362"]]
11599
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11600
+  (0.1ms) SAVEPOINT active_record_1
11601
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-14 21:49:41.258911"], ["updated_at", "2021-06-14 21:49:41.258911"]]
11602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11603
+ Processing by EmployeesController#edit as HTML
11604
+ Parameters: {"id"=>"24"}
11605
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 24], ["LIMIT", 1]]
11606
+ Rendering employees/edit.html.erb within layouts/application
11607
+ Rendered employees/_form.html.erb (Duration: 2.7ms | Allocations: 2220)
11608
+ Rendered employees/edit.html.erb within layouts/application (Duration: 3.9ms | Allocations: 2825)
11609
+ Completed 200 OK in 17ms (Views: 12.3ms | ActiveRecord: 0.3ms | Allocations: 10795)
11610
+  (0.1ms) ROLLBACK
11611
+  (0.1ms) BEGIN
11612
+ ----------------------------------------------------
11613
+ EmployeesControllerTest: test_should_update_employee
11614
+ ----------------------------------------------------
11615
+  (0.1ms) SAVEPOINT active_record_1
11616
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-14 21:49:41.291256"], ["updated_at", "2021-06-14 21:49:41.291256"]]
11617
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11618
+  (0.1ms) SAVEPOINT active_record_1
11619
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-14 21:49:41.292759"], ["updated_at", "2021-06-14 21:49:41.292759"]]
11620
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11621
+ Processing by EmployeesController#update as HTML
11622
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"26"}
11623
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]]
11624
+  (0.1ms) SAVEPOINT active_record_1
11625
+ Employee Update (0.2ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", "1981-11-01"], ["joined", "2015-10-03"], ["name", "Ioannis Kole"], ["updated_at", "2021-06-14 21:49:41.300889"], ["id", 26]]
11626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11627
+ Redirected to http://test.host/employees/26
11628
+ Completed 302 Found in 3ms (ActiveRecord: 0.8ms | Allocations: 1106)
11629
+ Employee Load (0.5ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 26], ["LIMIT", 1]]
11630
+  (0.1ms) ROLLBACK
11631
+  (0.1ms) BEGIN
11632
+ --------------------------------------------------
11633
+ EmployeesControllerTest: test_should_show_employee
11634
+ --------------------------------------------------
11635
+  (0.1ms) SAVEPOINT active_record_1
11636
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-14 21:49:41.305363"], ["updated_at", "2021-06-14 21:49:41.305363"]]
11637
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11638
+  (0.1ms) SAVEPOINT active_record_1
11639
+ Employee Create (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-14 21:49:41.306387"], ["updated_at", "2021-06-14 21:49:41.306387"]]
11640
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11641
+ Processing by EmployeesController#show as HTML
11642
+ Parameters: {"id"=>"28"}
11643
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 28], ["LIMIT", 1]]
11644
+ Rendering employees/show.html.erb within layouts/application
11645
+ Rendered employees/show.html.erb within layouts/application (Duration: 0.5ms | Allocations: 266)
11646
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms | Allocations: 1823)
11647
+  (0.2ms) ROLLBACK
11648
+  (0.1ms) BEGIN
11649
+ ---------------------------------------------
11650
+ EmployeesControllerTest: test_should_get_edit
11651
+ ---------------------------------------------
11652
+  (0.1ms) SAVEPOINT active_record_1
11653
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-14 21:49:41.311311"], ["updated_at", "2021-06-14 21:49:41.311311"]]
11654
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11655
+  (0.1ms) SAVEPOINT active_record_1
11656
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-14 21:49:41.313252"], ["updated_at", "2021-06-14 21:49:41.313252"]]
11657
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11658
+ Processing by EmployeesController#edit as HTML
11659
+ Parameters: {"id"=>"30"}
11660
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 30], ["LIMIT", 1]]
11661
+ Rendering employees/edit.html.erb within layouts/application
11662
+ Rendered employees/_form.html.erb (Duration: 3.9ms | Allocations: 1311)
11663
+ Rendered employees/edit.html.erb within layouts/application (Duration: 4.4ms | Allocations: 1417)
11664
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.2ms | Allocations: 2837)
11665
+  (0.1ms) ROLLBACK
11666
+  (0.1ms) BEGIN
11667
+ ----------------------------------------------------
11668
+ EmployeesControllerTest: test_should_create_employee
11669
+ ----------------------------------------------------
11670
+  (0.1ms) SAVEPOINT active_record_1
11671
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-14 21:49:41.325029"], ["updated_at", "2021-06-14 21:49:41.325029"]]
11672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11673
+  (0.1ms) SAVEPOINT active_record_1
11674
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-14 21:49:41.326908"], ["updated_at", "2021-06-14 21:49:41.326908"]]
11675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11676
+  (0.4ms) SELECT COUNT(*) FROM "employees"
11677
+ Processing by EmployeesController#create as HTML
11678
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
11679
+  (0.1ms) SAVEPOINT active_record_1
11680
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", "1965-12-31"], ["joined", "2015-03-04"], ["created_at", "2021-06-14 21:49:41.332448"], ["updated_at", "2021-06-14 21:49:41.332448"]]
11681
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11682
+ Redirected to http://test.host/employees/34
11683
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms | Allocations: 899)
11684
+  (0.2ms) SELECT COUNT(*) FROM "employees"
11685
+  (0.4ms) SELECT COUNT(*) FROM "employees"
11686
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
11687
+  (0.1ms) ROLLBACK
11688
+  (0.1ms) BEGIN
11689
+ ----------------------------------------------
11690
+ EmployeesControllerTest: test_should_get_index
11691
+ ----------------------------------------------
11692
+  (0.1ms) SAVEPOINT active_record_1
11693
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-14 21:49:41.342362"], ["updated_at", "2021-06-14 21:49:41.342362"]]
11694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11695
+  (0.1ms) SAVEPOINT active_record_1
11696
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-14 21:49:41.344305"], ["updated_at", "2021-06-14 21:49:41.344305"]]
11697
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11698
+ Processing by EmployeesController#index as HTML
11699
+ Rendering employees/index.html.erb within layouts/application
11700
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees"
11701
+ Rendered employees/index.html.erb within layouts/application (Duration: 2.9ms | Allocations: 748)
11702
+ Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.2ms | Allocations: 2160)
11703
+  (0.2ms) ROLLBACK
11704
+  (0.1ms) BEGIN
11705
+ -----------------------------------------------------
11706
+ EmployeesControllerTest: test_should_destroy_employee
11707
+ -----------------------------------------------------
11708
+  (0.1ms) SAVEPOINT active_record_1
11709
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-14 21:49:41.355169"], ["updated_at", "2021-06-14 21:49:41.355169"]]
11710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11711
+  (0.1ms) SAVEPOINT active_record_1
11712
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-14 21:49:41.356324"], ["updated_at", "2021-06-14 21:49:41.356324"]]
11713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11714
+  (0.3ms) SELECT COUNT(*) FROM "employees"
11715
+ Processing by EmployeesController#destroy as HTML
11716
+ Parameters: {"id"=>"37"}
11717
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 37], ["LIMIT", 1]]
11718
+  (0.1ms) SAVEPOINT active_record_1
11719
+ Employee Destroy (0.2ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 37]]
11720
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11721
+ Redirected to http://test.host/employees
11722
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms | Allocations: 479)
11723
+  (0.1ms) SELECT COUNT(*) FROM "employees"
11724
+  (0.1ms) ROLLBACK
11725
+  (0.1ms) BEGIN
11726
+ --------------------------------------------
11727
+ EmployeesControllerTest: test_should_get_new
11728
+ --------------------------------------------
11729
+  (0.1ms) SAVEPOINT active_record_1
11730
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-14 21:49:41.365483"], ["updated_at", "2021-06-14 21:49:41.365483"]]
11731
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11732
+  (0.1ms) SAVEPOINT active_record_1
11733
+ Employee Create (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-14 21:49:41.366440"], ["updated_at", "2021-06-14 21:49:41.366440"]]
11734
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11735
+ Processing by EmployeesController#new as HTML
11736
+ Rendering employees/new.html.erb within layouts/application
11737
+ Rendered employees/_form.html.erb (Duration: 3.1ms | Allocations: 1292)
11738
+ Rendered employees/new.html.erb within layouts/application (Duration: 4.3ms | Allocations: 1484)
11739
+ Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.0ms | Allocations: 2925)
11740
+  (0.1ms) ROLLBACK
11741
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
11742
+  (0.2ms) BEGIN
11743
+ -----------------------------------------------------------------
11744
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
11745
+ -----------------------------------------------------------------
11746
+  (0.4ms) ROLLBACK
11747
+  (0.1ms) BEGIN
11748
+ --------------------------------------------
11749
+ EmployeeTest: test_nil_dates_raise_no_errors
11750
+ --------------------------------------------
11751
+  (0.1ms) ROLLBACK
11752
+  (0.1ms) BEGIN
11753
+ -------------------------------------------
11754
+ EmployeeTest: test_invalid_day_raises_error
11755
+ -------------------------------------------
11756
+  (0.1ms) ROLLBACK
11757
+  (0.1ms) BEGIN
11758
+ --------------------------------------------------------------------------
11759
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
11760
+ --------------------------------------------------------------------------
11761
+  (0.9ms) ROLLBACK
11762
+  (0.1ms) BEGIN
11763
+ ---------------------------------------------------------------------
11764
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
11765
+ ---------------------------------------------------------------------
11766
+  (0.1ms) SAVEPOINT active_record_1
11767
+ SQL (0.9ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-15 07:32:45.483339"], ["updated_at", "2021-06-15 07:32:45.483339"]]
11768
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11769
+  (0.1ms) SAVEPOINT active_record_1
11770
+ SQL (0.4ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", "1965-05-17"], ["updated_at", "2021-06-15 07:32:45.487727"], ["id", 41]]
11771
+  (0.2ms) RELEASE SAVEPOINT active_record_1
11772
+  (0.2ms) ROLLBACK
11773
+  (0.1ms) BEGIN
11774
+ -------------------------------------------------------------------------
11775
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
11776
+ -------------------------------------------------------------------------
11777
+  (0.1ms) SAVEPOINT active_record_1
11778
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-15 07:32:45.491539"], ["updated_at", "2021-06-15 07:32:45.491539"]]
11779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11780
+  (0.1ms) SAVEPOINT active_record_1
11781
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
11782
+  (0.1ms) ROLLBACK
11783
+  (0.1ms) BEGIN
11784
+ ---------------------------------------------------------------------------------------------------------
11785
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
11786
+ ---------------------------------------------------------------------------------------------------------
11787
+  (0.1ms) ROLLBACK
11788
+  (0.1ms) BEGIN
11789
+ ----------------------------------------------------------------------------------------------------------------
11790
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
11791
+ ----------------------------------------------------------------------------------------------------------------
11792
+  (0.1ms) ROLLBACK
11793
+  (0.1ms) BEGIN
11794
+ ----------------------------------------------
11795
+ EmployeeTest: test_valid_dates_raise_no_errors
11796
+ ----------------------------------------------
11797
+  (0.1ms) ROLLBACK
11798
+  (0.1ms) BEGIN
11799
+ -------------------------------------------------------------------------------------------------------------------
11800
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
11801
+ -------------------------------------------------------------------------------------------------------------------
11802
+  (0.1ms) ROLLBACK
11803
+  (0.1ms) BEGIN
11804
+ ---------------------------------------------------------------------
11805
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
11806
+ ---------------------------------------------------------------------
11807
+  (0.1ms) ROLLBACK
11808
+  (0.1ms) BEGIN
11809
+ ----------------------------------------------------------------------------------------------
11810
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
11811
+ ----------------------------------------------------------------------------------------------
11812
+  (0.1ms) ROLLBACK
11813
+  (0.1ms) BEGIN
11814
+ ------------------------------------------------------------------------
11815
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
11816
+ ------------------------------------------------------------------------
11817
+  (0.1ms) ROLLBACK
11818
+  (0.1ms) BEGIN
11819
+ -----------------------------------------------------------------------
11820
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
11821
+ -----------------------------------------------------------------------
11822
+  (0.1ms) ROLLBACK
11823
+  (0.1ms) BEGIN
11824
+ -----------------------------------------------------------------------------------
11825
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
11826
+ -----------------------------------------------------------------------------------
11827
+  (0.1ms) ROLLBACK
11828
+  (0.1ms) BEGIN
11829
+ -----------------------------------------------------------
11830
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
11831
+ -----------------------------------------------------------
11832
+  (0.1ms) ROLLBACK
11833
+  (0.1ms) BEGIN
11834
+ -----------------------------------------------------------
11835
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
11836
+ -----------------------------------------------------------
11837
+  (0.1ms) ROLLBACK
11838
+  (0.1ms) BEGIN
11839
+ ------------------------------------------------------------------------------------------
11840
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
11841
+ ------------------------------------------------------------------------------------------
11842
+  (0.1ms) ROLLBACK
11843
+  (0.1ms) BEGIN
11844
+ --------------------------------------------
11845
+ EmployeesControllerTest: test_should_get_new
11846
+ --------------------------------------------
11847
+  (0.1ms) SAVEPOINT active_record_1
11848
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:32:45.515698"], ["updated_at", "2021-06-15 07:32:45.515698"]]
11849
+  (0.2ms) RELEASE SAVEPOINT active_record_1
11850
+  (0.1ms) SAVEPOINT active_record_1
11851
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:32:45.517959"], ["updated_at", "2021-06-15 07:32:45.517959"]]
11852
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11853
+ Processing by EmployeesController#new as HTML
11854
+ Rendering employees/new.html.erb within layouts/application
11855
+ Rendered employees/_form.html.erb (13.0ms)
11856
+ Rendered employees/new.html.erb within layouts/application (15.0ms)
11857
+ Completed 200 OK in 149ms (Views: 147.7ms | ActiveRecord: 0.0ms)
11858
+  (0.2ms) ROLLBACK
11859
+  (0.2ms) BEGIN
11860
+ ----------------------------------------------------
11861
+ EmployeesControllerTest: test_should_update_employee
11862
+ ----------------------------------------------------
11863
+  (0.1ms) SAVEPOINT active_record_1
11864
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:32:45.672454"], ["updated_at", "2021-06-15 07:32:45.672454"]]
11865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11866
+  (0.1ms) SAVEPOINT active_record_1
11867
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:32:45.673820"], ["updated_at", "2021-06-15 07:32:45.673820"]]
11868
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11869
+ Processing by EmployeesController#update as HTML
11870
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"45"}
11871
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 45], ["LIMIT", 1]]
11872
+  (0.2ms) SAVEPOINT active_record_1
11873
+ SQL (1.8ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", "1981-11-01"], ["joined", "2015-10-03"], ["name", "Ioannis Kole"], ["updated_at", "2021-06-15 07:32:45.685421"], ["id", 45]]
11874
+  (0.2ms) RELEASE SAVEPOINT active_record_1
11875
+ Redirected to http://test.host/employees/45
11876
+ Completed 302 Found in 8ms (ActiveRecord: 2.6ms)
11877
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 45], ["LIMIT", 1]]
11878
+  (0.2ms) ROLLBACK
11879
+  (0.1ms) BEGIN
11880
+ ----------------------------------------------
11881
+ EmployeesControllerTest: test_should_get_index
11882
+ ----------------------------------------------
11883
+  (0.1ms) SAVEPOINT active_record_1
11884
+ SQL (0.5ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:32:45.692158"], ["updated_at", "2021-06-15 07:32:45.692158"]]
11885
+  (0.2ms) RELEASE SAVEPOINT active_record_1
11886
+  (0.1ms) SAVEPOINT active_record_1
11887
+ SQL (0.4ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:32:45.694111"], ["updated_at", "2021-06-15 07:32:45.694111"]]
11888
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11889
+ Processing by EmployeesController#index as HTML
11890
+ Rendering employees/index.html.erb within layouts/application
11891
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees"
11892
+ Rendered employees/index.html.erb within layouts/application (1.3ms)
11893
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms)
11894
+  (0.1ms) ROLLBACK
11895
+  (0.1ms) BEGIN
11896
+ ---------------------------------------------
11897
+ EmployeesControllerTest: test_should_get_edit
11898
+ ---------------------------------------------
11899
+  (0.1ms) SAVEPOINT active_record_1
11900
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:32:45.700130"], ["updated_at", "2021-06-15 07:32:45.700130"]]
11901
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11902
+  (0.1ms) SAVEPOINT active_record_1
11903
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:32:45.701175"], ["updated_at", "2021-06-15 07:32:45.701175"]]
11904
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11905
+ Processing by EmployeesController#edit as HTML
11906
+ Parameters: {"id"=>"49"}
11907
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 49], ["LIMIT", 1]]
11908
+ Rendering employees/edit.html.erb within layouts/application
11909
+ Rendered employees/_form.html.erb (1.8ms)
11910
+ Rendered employees/edit.html.erb within layouts/application (2.3ms)
11911
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
11912
+  (0.1ms) ROLLBACK
11913
+  (0.1ms) BEGIN
11914
+ -----------------------------------------------------
11915
+ EmployeesControllerTest: test_should_destroy_employee
11916
+ -----------------------------------------------------
11917
+  (0.1ms) SAVEPOINT active_record_1
11918
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:32:45.707830"], ["updated_at", "2021-06-15 07:32:45.707830"]]
11919
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11920
+  (0.1ms) SAVEPOINT active_record_1
11921
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:32:45.709079"], ["updated_at", "2021-06-15 07:32:45.709079"]]
11922
+  (0.2ms) RELEASE SAVEPOINT active_record_1
11923
+  (0.2ms) SELECT COUNT(*) FROM "employees"
11924
+ Processing by EmployeesController#destroy as HTML
11925
+ Parameters: {"id"=>"51"}
11926
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 51], ["LIMIT", 1]]
11927
+  (0.1ms) SAVEPOINT active_record_1
11928
+ SQL (0.2ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 51]]
11929
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11930
+ Redirected to http://test.host/employees
11931
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
11932
+  (0.2ms) SELECT COUNT(*) FROM "employees"
11933
+  (0.1ms) ROLLBACK
11934
+  (0.1ms) BEGIN
11935
+ ----------------------------------------------------
11936
+ EmployeesControllerTest: test_should_create_employee
11937
+ ----------------------------------------------------
11938
+  (0.1ms) SAVEPOINT active_record_1
11939
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:32:45.714890"], ["updated_at", "2021-06-15 07:32:45.714890"]]
11940
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11941
+  (0.2ms) SAVEPOINT active_record_1
11942
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:32:45.716203"], ["updated_at", "2021-06-15 07:32:45.716203"]]
11943
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11944
+  (0.2ms) SELECT COUNT(*) FROM "employees"
11945
+ Processing by EmployeesController#create as HTML
11946
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
11947
+  (0.1ms) SAVEPOINT active_record_1
11948
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", "1965-12-31"], ["joined", "2015-03-04"], ["created_at", "2021-06-15 07:32:45.719005"], ["updated_at", "2021-06-15 07:32:45.719005"]]
11949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11950
+ Redirected to http://test.host/employees/55
11951
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
11952
+  (0.2ms) SELECT COUNT(*) FROM "employees"
11953
+  (0.2ms) SELECT COUNT(*) FROM "employees"
11954
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
11955
+  (0.1ms) ROLLBACK
11956
+  (0.1ms) BEGIN
11957
+ --------------------------------------------------------------
11958
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
11959
+ --------------------------------------------------------------
11960
+  (0.1ms) SAVEPOINT active_record_1
11961
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:32:45.722809"], ["updated_at", "2021-06-15 07:32:45.722809"]]
11962
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11963
+  (0.1ms) SAVEPOINT active_record_1
11964
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:32:45.723900"], ["updated_at", "2021-06-15 07:32:45.723900"]]
11965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11966
+ Processing by EmployeesController#edit as HTML
11967
+ Parameters: {"id"=>"56"}
11968
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 56], ["LIMIT", 1]]
11969
+ Rendering employees/edit.html.erb within layouts/application
11970
+ Rendered employees/_form.html.erb (2.1ms)
11971
+ Rendered employees/edit.html.erb within layouts/application (2.5ms)
11972
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)
11973
+  (0.2ms) ROLLBACK
11974
+  (0.1ms) BEGIN
11975
+ --------------------------------------------------
11976
+ EmployeesControllerTest: test_should_show_employee
11977
+ --------------------------------------------------
11978
+  (0.1ms) SAVEPOINT active_record_1
11979
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:32:45.732136"], ["updated_at", "2021-06-15 07:32:45.732136"]]
11980
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11981
+  (0.1ms) SAVEPOINT active_record_1
11982
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:32:45.733344"], ["updated_at", "2021-06-15 07:32:45.733344"]]
11983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11984
+ Processing by EmployeesController#show as HTML
11985
+ Parameters: {"id"=>"58"}
11986
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 58], ["LIMIT", 1]]
11987
+ Rendering employees/show.html.erb within layouts/application
11988
+ Rendered employees/show.html.erb within layouts/application (0.5ms)
11989
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.2ms)
11990
+  (0.2ms) ROLLBACK
11991
+  (0.1ms) BEGIN
11992
+ -------------------------------------------------------------------------------------------------------
11993
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
11994
+ -------------------------------------------------------------------------------------------------------
11995
+  (0.2ms) ROLLBACK
11996
+  (0.1ms) BEGIN
11997
+ ----------------------------------------------------------------------
11998
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
11999
+ ----------------------------------------------------------------------
12000
+  (0.1ms) ROLLBACK
12001
+  (0.1ms) BEGIN
12002
+ ------------------------------------------------------------------
12003
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
12004
+ ------------------------------------------------------------------
12005
+  (0.1ms) ROLLBACK
12006
+  (0.1ms) BEGIN
12007
+ --------------------------------------------------------------------------
12008
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
12009
+ --------------------------------------------------------------------------
12010
+  (0.1ms) ROLLBACK
12011
+  (0.1ms) BEGIN
12012
+ ---------------------------------------------------------------------
12013
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
12014
+ ---------------------------------------------------------------------
12015
+  (0.1ms) ROLLBACK
12016
+  (0.1ms) BEGIN
12017
+ -----------------------------------------------------------------------------------------------
12018
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
12019
+ -----------------------------------------------------------------------------------------------
12020
+  (0.1ms) ROLLBACK
12021
+  (0.1ms) BEGIN
12022
+ -----------------------------------------------------------------------
12023
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
12024
+ -----------------------------------------------------------------------
12025
+  (0.1ms) ROLLBACK
12026
+  (0.1ms) BEGIN
12027
+ -----------------------------------------------------------------
12028
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
12029
+ -----------------------------------------------------------------
12030
+  (0.1ms) ROLLBACK
12031
+  (0.1ms) BEGIN
12032
+ ------------------------------------------------------------------------------------------------
12033
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
12034
+ ------------------------------------------------------------------------------------------------
12035
+  (0.1ms) SAVEPOINT active_record_1
12036
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-15 07:32:45.755104"], ["updated_at", "2021-06-15 07:32:45.755104"]]
12037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12038
+  (0.1ms) SAVEPOINT active_record_1
12039
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12040
+  (0.1ms) ROLLBACK
12041
+  (0.1ms) BEGIN
12042
+ -----------------------------------------------------------------------
12043
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
12044
+ -----------------------------------------------------------------------
12045
+  (0.1ms) ROLLBACK
12046
+  (0.1ms) BEGIN
12047
+ ----------------------------------------------------------------
12048
+ GovUkDateFieldsTest: test_date_fields_with_custom_i18n_attribute
12049
+ ----------------------------------------------------------------
12050
+  (0.1ms) ROLLBACK
12051
+  (0.2ms) BEGIN
12052
+ -------------------------------------------
12053
+ GovUkDateFieldsTest: test_date_fields_error
12054
+ -------------------------------------------
12055
+  (0.2ms) ROLLBACK
12056
+  (0.1ms) BEGIN
12057
+ ----------------------------------------------
12058
+ GovUkDateFieldsTest: test_date_fields_no_error
12059
+ ----------------------------------------------
12060
+  (0.1ms) ROLLBACK
12061
+  (0.1ms) BEGIN
12062
+ ------------------------------------------------
12063
+ GovUkDateFieldsTest: test_date_fields_no_heading
12064
+ ------------------------------------------------
12065
+  (0.1ms) ROLLBACK
12066
+  (0.1ms) BEGIN
12067
+ --------------------------------------------------------------------------------------------------
12068
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
12069
+ --------------------------------------------------------------------------------------------------
12070
+  (0.2ms) ROLLBACK
12071
+  (0.1ms) BEGIN
12072
+ ---------------------------------------------------------------------
12073
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
12074
+ ---------------------------------------------------------------------
12075
+  (0.1ms) ROLLBACK
12076
+  (0.1ms) BEGIN
12077
+ -------------------------------------------------------------------------
12078
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
12079
+ -------------------------------------------------------------------------
12080
+  (0.1ms) ROLLBACK
12081
+  (0.1ms) BEGIN
12082
+ ---------------------------------------------------------------------------------
12083
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
12084
+ ---------------------------------------------------------------------------------
12085
+  (0.1ms) ROLLBACK
12086
+  (0.1ms) BEGIN
12087
+ -----------------------------------------------------------------------------------------
12088
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
12089
+ -----------------------------------------------------------------------------------------
12090
+  (0.1ms) ROLLBACK
12091
+  (0.1ms) BEGIN
12092
+ ------------------------------------------------------------------------------------------
12093
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
12094
+ ------------------------------------------------------------------------------------------
12095
+  (0.1ms) ROLLBACK
12096
+  (0.1ms) BEGIN
12097
+ -----------------------------------------------------------------------------------------------
12098
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
12099
+ -----------------------------------------------------------------------------------------------
12100
+  (0.1ms) ROLLBACK
12101
+  (0.1ms) BEGIN
12102
+ ---------------------------------------------------------------------------------
12103
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
12104
+ ---------------------------------------------------------------------------------
12105
+  (0.1ms) ROLLBACK
12106
+  (0.1ms) BEGIN
12107
+ -------------------------------------------------------------------------------
12108
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
12109
+ -------------------------------------------------------------------------------
12110
+  (0.1ms) ROLLBACK
12111
+  (0.1ms) BEGIN
12112
+ ----------------------------------------------------------------------------------------------------------------------------------
12113
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
12114
+ ----------------------------------------------------------------------------------------------------------------------------------
12115
+  (0.1ms) ROLLBACK
12116
+  (0.1ms) BEGIN
12117
+ ----------------------------------------------
12118
+ ReplicantTest: test_joined_date_is_same_as_dob
12119
+ ----------------------------------------------
12120
+  (0.1ms) ROLLBACK
12121
+  (0.1ms) BEGIN
12122
+ --------------------------------------------------------------------------------
12123
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
12124
+ --------------------------------------------------------------------------------
12125
+  (0.1ms) ROLLBACK
12126
+  (0.1ms) BEGIN
12127
+ --------------------------------------------------------------------------
12128
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
12129
+ --------------------------------------------------------------------------
12130
+  (0.1ms) ROLLBACK
12131
+  (0.1ms) BEGIN
12132
+ ----------------------------------------------------------------------
12133
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
12134
+ ----------------------------------------------------------------------
12135
+  (0.1ms) ROLLBACK
12136
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
12137
+  (0.2ms) BEGIN
12138
+ -------------------------------------------------------------------------------------------------------
12139
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
12140
+ -------------------------------------------------------------------------------------------------------
12141
+  (0.2ms) ROLLBACK
12142
+  (0.1ms) BEGIN
12143
+ ------------------------------------------------------------------
12144
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
12145
+ ------------------------------------------------------------------
12146
+  (0.1ms) ROLLBACK
12147
+  (0.1ms) BEGIN
12148
+ ----------------------------------------------------------------------
12149
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
12150
+ ----------------------------------------------------------------------
12151
+  (0.1ms) ROLLBACK
12152
+  (0.1ms) BEGIN
12153
+ ------------------------------------------------------------------------------------------
12154
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
12155
+ ------------------------------------------------------------------------------------------
12156
+  (0.1ms) ROLLBACK
12157
+  (0.1ms) BEGIN
12158
+ -------------------------------------------------------------------------------
12159
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
12160
+ -------------------------------------------------------------------------------
12161
+  (0.1ms) ROLLBACK
12162
+  (0.1ms) BEGIN
12163
+ ----------------------------------------------------------------------------------------------------------------------------------
12164
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
12165
+ ----------------------------------------------------------------------------------------------------------------------------------
12166
+  (0.1ms) ROLLBACK
12167
+  (0.1ms) BEGIN
12168
+ -----------------------------------------------------------------------------------------------
12169
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
12170
+ -----------------------------------------------------------------------------------------------
12171
+  (0.1ms) ROLLBACK
12172
+  (0.1ms) BEGIN
12173
+ ---------------------------------------------------------------------------------
12174
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
12175
+ ---------------------------------------------------------------------------------
12176
+  (0.1ms) ROLLBACK
12177
+  (0.1ms) BEGIN
12178
+ -----------------------------------------------------------------------------------------
12179
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
12180
+ -----------------------------------------------------------------------------------------
12181
+  (0.1ms) ROLLBACK
12182
+  (0.1ms) BEGIN
12183
+ ---------------------------------------------------------------------------------
12184
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
12185
+ ---------------------------------------------------------------------------------
12186
+  (0.1ms) ROLLBACK
12187
+  (0.1ms) BEGIN
12188
+ ----------------------------------------------
12189
+ ReplicantTest: test_joined_date_is_same_as_dob
12190
+ ----------------------------------------------
12191
+  (0.1ms) ROLLBACK
12192
+  (0.1ms) BEGIN
12193
+ -----------------------------------------------------
12194
+ EmployeesControllerTest: test_should_destroy_employee
12195
+ -----------------------------------------------------
12196
+  (0.2ms) SAVEPOINT active_record_1
12197
+ SQL (0.7ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:36:45.577959"], ["updated_at", "2021-06-15 07:36:45.577959"]]
12198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12199
+  (0.1ms) SAVEPOINT active_record_1
12200
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:36:45.580138"], ["updated_at", "2021-06-15 07:36:45.580138"]]
12201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12202
+  (0.5ms) SELECT COUNT(*) FROM "employees"
12203
+ Processing by EmployeesController#destroy as HTML
12204
+ Parameters: {"id"=>"61"}
12205
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 61], ["LIMIT", 1]]
12206
+  (0.1ms) SAVEPOINT active_record_1
12207
+ SQL (0.2ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 61]]
12208
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12209
+ Redirected to http://test.host/employees
12210
+ Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
12211
+  (0.2ms) SELECT COUNT(*) FROM "employees"
12212
+  (0.2ms) ROLLBACK
12213
+  (0.1ms) BEGIN
12214
+ --------------------------------------------------------------
12215
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
12216
+ --------------------------------------------------------------
12217
+  (0.2ms) SAVEPOINT active_record_1
12218
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:36:45.596824"], ["updated_at", "2021-06-15 07:36:45.596824"]]
12219
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12220
+  (0.1ms) SAVEPOINT active_record_1
12221
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:36:45.598314"], ["updated_at", "2021-06-15 07:36:45.598314"]]
12222
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12223
+ Processing by EmployeesController#edit as HTML
12224
+ Parameters: {"id"=>"63"}
12225
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 63], ["LIMIT", 1]]
12226
+ Rendering employees/edit.html.erb within layouts/application
12227
+ Rendered employees/_form.html.erb (16.4ms)
12228
+ Rendered employees/edit.html.erb within layouts/application (18.2ms)
12229
+ Completed 200 OK in 126ms (Views: 124.8ms | ActiveRecord: 0.2ms)
12230
+  (0.2ms) ROLLBACK
12231
+  (0.2ms) BEGIN
12232
+ ----------------------------------------------------
12233
+ EmployeesControllerTest: test_should_create_employee
12234
+ ----------------------------------------------------
12235
+  (0.1ms) SAVEPOINT active_record_1
12236
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:36:45.729315"], ["updated_at", "2021-06-15 07:36:45.729315"]]
12237
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12238
+  (0.1ms) SAVEPOINT active_record_1
12239
+ SQL (0.4ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:36:45.732373"], ["updated_at", "2021-06-15 07:36:45.732373"]]
12240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12241
+  (0.2ms) SELECT COUNT(*) FROM "employees"
12242
+ Processing by EmployeesController#create as HTML
12243
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
12244
+  (0.3ms) SAVEPOINT active_record_1
12245
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", "1965-12-31"], ["joined", "2015-03-04"], ["created_at", "2021-06-15 07:36:45.739283"], ["updated_at", "2021-06-15 07:36:45.739283"]]
12246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12247
+ Redirected to http://test.host/employees/67
12248
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
12249
+  (0.2ms) SELECT COUNT(*) FROM "employees"
12250
+  (0.2ms) SELECT COUNT(*) FROM "employees"
12251
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
12252
+  (0.1ms) ROLLBACK
12253
+  (0.1ms) BEGIN
12254
+ --------------------------------------------
12255
+ EmployeesControllerTest: test_should_get_new
12256
+ --------------------------------------------
12257
+  (0.2ms) SAVEPOINT active_record_1
12258
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:36:45.748802"], ["updated_at", "2021-06-15 07:36:45.748802"]]
12259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12260
+  (0.1ms) SAVEPOINT active_record_1
12261
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:36:45.751286"], ["updated_at", "2021-06-15 07:36:45.751286"]]
12262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12263
+ Processing by EmployeesController#new as HTML
12264
+ Rendering employees/new.html.erb within layouts/application
12265
+ Rendered employees/_form.html.erb (7.4ms)
12266
+ Rendered employees/new.html.erb within layouts/application (7.9ms)
12267
+ Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.0ms)
12268
+  (0.1ms) ROLLBACK
12269
+  (0.1ms) BEGIN
12270
+ ----------------------------------------------------
12271
+ EmployeesControllerTest: test_should_update_employee
12272
+ ----------------------------------------------------
12273
+  (0.1ms) SAVEPOINT active_record_1
12274
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:36:45.767931"], ["updated_at", "2021-06-15 07:36:45.767931"]]
12275
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12276
+  (0.2ms) SAVEPOINT active_record_1
12277
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:36:45.770071"], ["updated_at", "2021-06-15 07:36:45.770071"]]
12278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12279
+ Processing by EmployeesController#update as HTML
12280
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"70"}
12281
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 70], ["LIMIT", 1]]
12282
+  (0.1ms) SAVEPOINT active_record_1
12283
+ SQL (0.3ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", "1981-11-01"], ["joined", "2015-10-03"], ["name", "Ioannis Kole"], ["updated_at", "2021-06-15 07:36:45.780413"], ["id", 70]]
12284
+  (0.2ms) RELEASE SAVEPOINT active_record_1
12285
+ Redirected to http://test.host/employees/70
12286
+ Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
12287
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 70], ["LIMIT", 1]]
12288
+  (0.1ms) ROLLBACK
12289
+  (0.1ms) BEGIN
12290
+ ---------------------------------------------
12291
+ EmployeesControllerTest: test_should_get_edit
12292
+ ---------------------------------------------
12293
+  (0.1ms) SAVEPOINT active_record_1
12294
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:36:45.785141"], ["updated_at", "2021-06-15 07:36:45.785141"]]
12295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12296
+  (0.1ms) SAVEPOINT active_record_1
12297
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:36:45.786659"], ["updated_at", "2021-06-15 07:36:45.786659"]]
12298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12299
+ Processing by EmployeesController#edit as HTML
12300
+ Parameters: {"id"=>"72"}
12301
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 72], ["LIMIT", 1]]
12302
+ Rendering employees/edit.html.erb within layouts/application
12303
+ Rendered employees/_form.html.erb (3.3ms)
12304
+ Rendered employees/edit.html.erb within layouts/application (3.6ms)
12305
+ Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms)
12306
+  (0.2ms) ROLLBACK
12307
+  (0.1ms) BEGIN
12308
+ --------------------------------------------------
12309
+ EmployeesControllerTest: test_should_show_employee
12310
+ --------------------------------------------------
12311
+  (0.1ms) SAVEPOINT active_record_1
12312
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:36:45.796045"], ["updated_at", "2021-06-15 07:36:45.796045"]]
12313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12314
+  (0.1ms) SAVEPOINT active_record_1
12315
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:36:45.797510"], ["updated_at", "2021-06-15 07:36:45.797510"]]
12316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12317
+ Processing by EmployeesController#show as HTML
12318
+ Parameters: {"id"=>"74"}
12319
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 74], ["LIMIT", 1]]
12320
+ Rendering employees/show.html.erb within layouts/application
12321
+ Rendered employees/show.html.erb within layouts/application (0.9ms)
12322
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms)
12323
+  (0.2ms) ROLLBACK
12324
+  (0.1ms) BEGIN
12325
+ ----------------------------------------------
12326
+ EmployeesControllerTest: test_should_get_index
12327
+ ----------------------------------------------
12328
+  (0.4ms) SAVEPOINT active_record_1
12329
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:36:45.805480"], ["updated_at", "2021-06-15 07:36:45.805480"]]
12330
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12331
+  (0.1ms) SAVEPOINT active_record_1
12332
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:36:45.807097"], ["updated_at", "2021-06-15 07:36:45.807097"]]
12333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12334
+ Processing by EmployeesController#index as HTML
12335
+ Rendering employees/index.html.erb within layouts/application
12336
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees"
12337
+ Rendered employees/index.html.erb within layouts/application (1.7ms)
12338
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)
12339
+  (0.1ms) ROLLBACK
12340
+  (0.1ms) BEGIN
12341
+ -------------------------------------------
12342
+ GovUkDateFieldsTest: test_date_fields_error
12343
+ -------------------------------------------
12344
+  (1.0ms) ROLLBACK
12345
+  (0.1ms) BEGIN
12346
+ ----------------------------------------------
12347
+ GovUkDateFieldsTest: test_date_fields_no_error
12348
+ ----------------------------------------------
12349
+  (0.1ms) ROLLBACK
12350
+  (0.2ms) BEGIN
12351
+ ------------------------------------------------
12352
+ GovUkDateFieldsTest: test_date_fields_no_heading
12353
+ ------------------------------------------------
12354
+  (0.1ms) ROLLBACK
12355
+  (0.1ms) BEGIN
12356
+ ----------------------------------------------------------------
12357
+ GovUkDateFieldsTest: test_date_fields_with_custom_i18n_attribute
12358
+ ----------------------------------------------------------------
12359
+  (0.1ms) ROLLBACK
12360
+  (0.1ms) BEGIN
12361
+ --------------------------------------------------------------------------------
12362
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
12363
+ --------------------------------------------------------------------------------
12364
+  (0.2ms) ROLLBACK
12365
+  (0.1ms) BEGIN
12366
+ --------------------------------------------------------------------------
12367
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
12368
+ --------------------------------------------------------------------------
12369
+  (0.1ms) ROLLBACK
12370
+  (0.1ms) BEGIN
12371
+ ----------------------------------------------------------------------
12372
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
12373
+ ----------------------------------------------------------------------
12374
+  (0.2ms) ROLLBACK
12375
+  (0.1ms) BEGIN
12376
+ ------------------------------------------------------------------------------------------
12377
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
12378
+ ------------------------------------------------------------------------------------------
12379
+  (0.2ms) ROLLBACK
12380
+  (0.1ms) BEGIN
12381
+ -------------------------------------------
12382
+ EmployeeTest: test_invalid_day_raises_error
12383
+ -------------------------------------------
12384
+  (0.1ms) ROLLBACK
12385
+  (0.1ms) BEGIN
12386
+ ---------------------------------------------------------------------
12387
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
12388
+ ---------------------------------------------------------------------
12389
+  (0.1ms) ROLLBACK
12390
+  (0.1ms) BEGIN
12391
+ --------------------------------------------------------------------------
12392
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
12393
+ --------------------------------------------------------------------------
12394
+  (0.1ms) ROLLBACK
12395
+  (0.1ms) BEGIN
12396
+ -----------------------------------------------------------
12397
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
12398
+ -----------------------------------------------------------
12399
+  (0.1ms) ROLLBACK
12400
+  (0.1ms) BEGIN
12401
+ ---------------------------------------------------------------------
12402
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
12403
+ ---------------------------------------------------------------------
12404
+  (0.1ms) SAVEPOINT active_record_1
12405
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-15 07:36:45.853930"], ["updated_at", "2021-06-15 07:36:45.853930"]]
12406
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12407
+  (0.1ms) SAVEPOINT active_record_1
12408
+ SQL (0.3ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", "1965-05-17"], ["updated_at", "2021-06-15 07:36:45.855481"], ["id", 78]]
12409
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12410
+  (0.1ms) ROLLBACK
12411
+  (0.1ms) BEGIN
12412
+ --------------------------------------------
12413
+ EmployeeTest: test_nil_dates_raise_no_errors
12414
+ --------------------------------------------
12415
+  (0.1ms) ROLLBACK
12416
+  (0.1ms) BEGIN
12417
+ -----------------------------------------------------------------------
12418
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
12419
+ -----------------------------------------------------------------------
12420
+  (0.1ms) ROLLBACK
12421
+  (0.1ms) BEGIN
12422
+ -----------------------------------------------------------------
12423
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
12424
+ -----------------------------------------------------------------
12425
+  (0.1ms) ROLLBACK
12426
+  (0.1ms) BEGIN
12427
+ -------------------------------------------------------------------------
12428
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
12429
+ -------------------------------------------------------------------------
12430
+  (0.1ms) SAVEPOINT active_record_1
12431
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-15 07:36:45.859725"], ["updated_at", "2021-06-15 07:36:45.859725"]]
12432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12433
+  (0.1ms) SAVEPOINT active_record_1
12434
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
12435
+  (0.1ms) ROLLBACK
12436
+  (0.1ms) BEGIN
12437
+ ----------------------------------------------------------------------------------------------------------------
12438
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
12439
+ ----------------------------------------------------------------------------------------------------------------
12440
+  (0.1ms) ROLLBACK
12441
+  (0.1ms) BEGIN
12442
+ ----------------------------------------------
12443
+ EmployeeTest: test_valid_dates_raise_no_errors
12444
+ ----------------------------------------------
12445
+  (0.1ms) ROLLBACK
12446
+  (0.1ms) BEGIN
12447
+ -----------------------------------------------------------------------------------
12448
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
12449
+ -----------------------------------------------------------------------------------
12450
+  (0.1ms) ROLLBACK
12451
+  (0.1ms) BEGIN
12452
+ ----------------------------------------------------------------------------------------------
12453
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
12454
+ ----------------------------------------------------------------------------------------------
12455
+  (0.1ms) ROLLBACK
12456
+  (0.1ms) BEGIN
12457
+ -----------------------------------------------------------
12458
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
12459
+ -----------------------------------------------------------
12460
+  (0.1ms) ROLLBACK
12461
+  (0.1ms) BEGIN
12462
+ ------------------------------------------------------------------------
12463
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
12464
+ ------------------------------------------------------------------------
12465
+  (0.1ms) ROLLBACK
12466
+  (0.1ms) BEGIN
12467
+ -------------------------------------------------------------------------------------------------------------------
12468
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
12469
+ -------------------------------------------------------------------------------------------------------------------
12470
+  (0.1ms) ROLLBACK
12471
+  (0.1ms) BEGIN
12472
+ ---------------------------------------------------------------------------------------------------------
12473
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
12474
+ ---------------------------------------------------------------------------------------------------------
12475
+  (0.1ms) ROLLBACK
12476
+  (0.1ms) BEGIN
12477
+ --------------------------------------------------------------------------
12478
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
12479
+ --------------------------------------------------------------------------
12480
+  (0.1ms) ROLLBACK
12481
+  (0.1ms) BEGIN
12482
+ ------------------------------------------------------------------------------------------------
12483
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
12484
+ ------------------------------------------------------------------------------------------------
12485
+  (0.1ms) SAVEPOINT active_record_1
12486
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-15 07:36:45.873884"], ["updated_at", "2021-06-15 07:36:45.873884"]]
12487
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12488
+  (0.1ms) SAVEPOINT active_record_1
12489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12490
+  (0.1ms) ROLLBACK
12491
+  (0.1ms) BEGIN
12492
+ -----------------------------------------------------------------
12493
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
12494
+ -----------------------------------------------------------------
12495
+  (0.1ms) ROLLBACK
12496
+  (0.1ms) BEGIN
12497
+ -----------------------------------------------------------------------
12498
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
12499
+ -----------------------------------------------------------------------
12500
+  (0.1ms) ROLLBACK
12501
+  (0.1ms) BEGIN
12502
+ -----------------------------------------------------------------------------------------------
12503
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
12504
+ -----------------------------------------------------------------------------------------------
12505
+  (0.1ms) ROLLBACK
12506
+  (0.1ms) BEGIN
12507
+ -----------------------------------------------------------------------
12508
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
12509
+ -----------------------------------------------------------------------
12510
+  (0.1ms) ROLLBACK
12511
+  (0.1ms) BEGIN
12512
+ ---------------------------------------------------------------------
12513
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
12514
+ ---------------------------------------------------------------------
12515
+  (0.1ms) ROLLBACK
12516
+  (0.1ms) BEGIN
12517
+ --------------------------------------------------------------------------------------------------
12518
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
12519
+ --------------------------------------------------------------------------------------------------
12520
+  (0.2ms) ROLLBACK
12521
+  (0.1ms) BEGIN
12522
+ ---------------------------------------------------------------------
12523
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
12524
+ ---------------------------------------------------------------------
12525
+  (0.1ms) ROLLBACK
12526
+  (0.1ms) BEGIN
12527
+ -------------------------------------------------------------------------
12528
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
12529
+ -------------------------------------------------------------------------
12530
+  (0.1ms) ROLLBACK
12531
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
12532
+  (0.2ms) BEGIN
12533
+ ---------------------------------------------------------------------------------
12534
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
12535
+ ---------------------------------------------------------------------------------
12536
+  (0.2ms) ROLLBACK
12537
+  (0.1ms) BEGIN
12538
+ -----------------------------------------------------------------------------------------
12539
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
12540
+ -----------------------------------------------------------------------------------------
12541
+  (0.1ms) ROLLBACK
12542
+  (0.1ms) BEGIN
12543
+ ------------------------------------------------------------------------------------------
12544
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
12545
+ ------------------------------------------------------------------------------------------
12546
+  (0.1ms) ROLLBACK
12547
+  (0.1ms) BEGIN
12548
+ ---------------------------------------------------------------------------------
12549
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
12550
+ ---------------------------------------------------------------------------------
12551
+  (0.1ms) ROLLBACK
12552
+  (0.1ms) BEGIN
12553
+ -----------------------------------------------------------------------------------------------
12554
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
12555
+ -----------------------------------------------------------------------------------------------
12556
+  (0.1ms) ROLLBACK
12557
+  (0.1ms) BEGIN
12558
+ -------------------------------------------------------------------------------
12559
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
12560
+ -------------------------------------------------------------------------------
12561
+  (0.1ms) ROLLBACK
12562
+  (0.1ms) BEGIN
12563
+ ----------------------------------------------------------------------------------------------------------------------------------
12564
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
12565
+ ----------------------------------------------------------------------------------------------------------------------------------
12566
+  (0.2ms) ROLLBACK
12567
+  (0.1ms) BEGIN
12568
+ --------------------------------------------------------------------------
12569
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
12570
+ --------------------------------------------------------------------------
12571
+  (0.2ms) ROLLBACK
12572
+  (0.1ms) BEGIN
12573
+ -----------------------------------------------------------------------
12574
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
12575
+ -----------------------------------------------------------------------
12576
+  (0.1ms) ROLLBACK
12577
+  (0.1ms) BEGIN
12578
+ -----------------------------------------------------------------------
12579
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
12580
+ -----------------------------------------------------------------------
12581
+  (0.1ms) ROLLBACK
12582
+  (0.1ms) BEGIN
12583
+ -----------------------------------------------------------------
12584
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
12585
+ -----------------------------------------------------------------
12586
+  (0.1ms) ROLLBACK
12587
+  (0.1ms) BEGIN
12588
+ -----------------------------------------------------------------------------------------------
12589
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
12590
+ -----------------------------------------------------------------------------------------------
12591
+  (0.1ms) ROLLBACK
12592
+  (0.1ms) BEGIN
12593
+ ------------------------------------------------------------------------------------------------
12594
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
12595
+ ------------------------------------------------------------------------------------------------
12596
+  (0.1ms) SAVEPOINT active_record_1
12597
+ SQL (0.5ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-15 07:52:41.404224"], ["updated_at", "2021-06-15 07:52:41.404224"]]
12598
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12599
+  (0.1ms) SAVEPOINT active_record_1
12600
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12601
+  (0.1ms) ROLLBACK
12602
+  (0.1ms) BEGIN
12603
+ ---------------------------------------------------------------------
12604
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
12605
+ ---------------------------------------------------------------------
12606
+  (0.1ms) ROLLBACK
12607
+  (0.1ms) BEGIN
12608
+ --------------------------------------------------------------
12609
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
12610
+ --------------------------------------------------------------
12611
+  (0.1ms) SAVEPOINT active_record_1
12612
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:52:41.411993"], ["updated_at", "2021-06-15 07:52:41.411993"]]
12613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12614
+  (0.1ms) SAVEPOINT active_record_1
12615
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:52:41.413434"], ["updated_at", "2021-06-15 07:52:41.413434"]]
12616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12617
+ Processing by EmployeesController#edit as HTML
12618
+ Parameters: {"id"=>"82"}
12619
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 82], ["LIMIT", 1]]
12620
+ Rendering employees/edit.html.erb within layouts/application
12621
+ Rendered employees/_form.html.erb (14.4ms)
12622
+ Rendered employees/edit.html.erb within layouts/application (16.1ms)
12623
+ Completed 200 OK in 115ms (Views: 112.4ms | ActiveRecord: 0.4ms)
12624
+  (0.3ms) ROLLBACK
12625
+  (0.1ms) BEGIN
12626
+ -----------------------------------------------------
12627
+ EmployeesControllerTest: test_should_destroy_employee
12628
+ -----------------------------------------------------
12629
+  (0.1ms) SAVEPOINT active_record_1
12630
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:52:41.533951"], ["updated_at", "2021-06-15 07:52:41.533951"]]
12631
+  (0.2ms) RELEASE SAVEPOINT active_record_1
12632
+  (0.1ms) SAVEPOINT active_record_1
12633
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:52:41.535512"], ["updated_at", "2021-06-15 07:52:41.535512"]]
12634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12635
+  (0.2ms) SELECT COUNT(*) FROM "employees"
12636
+ Processing by EmployeesController#destroy as HTML
12637
+ Parameters: {"id"=>"84"}
12638
+ Employee Load (0.4ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 84], ["LIMIT", 1]]
12639
+  (0.2ms) SAVEPOINT active_record_1
12640
+ SQL (0.2ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 84]]
12641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12642
+ Redirected to http://test.host/employees
12643
+ Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
12644
+  (0.3ms) SELECT COUNT(*) FROM "employees"
12645
+  (0.2ms) ROLLBACK
12646
+  (0.1ms) BEGIN
12647
+ ----------------------------------------------------
12648
+ EmployeesControllerTest: test_should_create_employee
12649
+ ----------------------------------------------------
12650
+  (0.1ms) SAVEPOINT active_record_1
12651
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:52:41.547556"], ["updated_at", "2021-06-15 07:52:41.547556"]]
12652
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12653
+  (0.1ms) SAVEPOINT active_record_1
12654
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:52:41.549013"], ["updated_at", "2021-06-15 07:52:41.549013"]]
12655
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12656
+  (0.2ms) SELECT COUNT(*) FROM "employees"
12657
+ Processing by EmployeesController#create as HTML
12658
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
12659
+  (0.2ms) SAVEPOINT active_record_1
12660
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", "1965-12-31"], ["joined", "2015-03-04"], ["created_at", "2021-06-15 07:52:41.552264"], ["updated_at", "2021-06-15 07:52:41.552264"]]
12661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12662
+ Redirected to http://test.host/employees/88
12663
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
12664
+  (0.2ms) SELECT COUNT(*) FROM "employees"
12665
+  (0.2ms) SELECT COUNT(*) FROM "employees"
12666
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
12667
+  (0.1ms) ROLLBACK
12668
+  (0.1ms) BEGIN
12669
+ --------------------------------------------------
12670
+ EmployeesControllerTest: test_should_show_employee
12671
+ --------------------------------------------------
12672
+  (0.1ms) SAVEPOINT active_record_1
12673
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:52:41.556821"], ["updated_at", "2021-06-15 07:52:41.556821"]]
12674
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12675
+  (0.1ms) SAVEPOINT active_record_1
12676
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:52:41.557981"], ["updated_at", "2021-06-15 07:52:41.557981"]]
12677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12678
+ Processing by EmployeesController#show as HTML
12679
+ Parameters: {"id"=>"89"}
12680
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 89], ["LIMIT", 1]]
12681
+ Rendering employees/show.html.erb within layouts/application
12682
+ Rendered employees/show.html.erb within layouts/application (0.5ms)
12683
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.3ms)
12684
+  (0.2ms) ROLLBACK
12685
+  (0.2ms) BEGIN
12686
+ ----------------------------------------------
12687
+ EmployeesControllerTest: test_should_get_index
12688
+ ----------------------------------------------
12689
+  (0.1ms) SAVEPOINT active_record_1
12690
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:52:41.563682"], ["updated_at", "2021-06-15 07:52:41.563682"]]
12691
+  (0.2ms) RELEASE SAVEPOINT active_record_1
12692
+  (0.1ms) SAVEPOINT active_record_1
12693
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:52:41.565170"], ["updated_at", "2021-06-15 07:52:41.565170"]]
12694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12695
+ Processing by EmployeesController#index as HTML
12696
+ Rendering employees/index.html.erb within layouts/application
12697
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees"
12698
+ Rendered employees/index.html.erb within layouts/application (1.2ms)
12699
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)
12700
+  (0.1ms) ROLLBACK
12701
+  (0.1ms) BEGIN
12702
+ --------------------------------------------
12703
+ EmployeesControllerTest: test_should_get_new
12704
+ --------------------------------------------
12705
+  (0.1ms) SAVEPOINT active_record_1
12706
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:52:41.570225"], ["updated_at", "2021-06-15 07:52:41.570225"]]
12707
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12708
+  (0.1ms) SAVEPOINT active_record_1
12709
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:52:41.571364"], ["updated_at", "2021-06-15 07:52:41.571364"]]
12710
+  (0.2ms) RELEASE SAVEPOINT active_record_1
12711
+ Processing by EmployeesController#new as HTML
12712
+ Rendering employees/new.html.erb within layouts/application
12713
+ Rendered employees/_form.html.erb (2.0ms)
12714
+ Rendered employees/new.html.erb within layouts/application (2.4ms)
12715
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
12716
+  (0.1ms) ROLLBACK
12717
+  (0.1ms) BEGIN
12718
+ ---------------------------------------------
12719
+ EmployeesControllerTest: test_should_get_edit
12720
+ ---------------------------------------------
12721
+  (0.1ms) SAVEPOINT active_record_1
12722
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:52:41.578020"], ["updated_at", "2021-06-15 07:52:41.578020"]]
12723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12724
+  (0.1ms) SAVEPOINT active_record_1
12725
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:52:41.579166"], ["updated_at", "2021-06-15 07:52:41.579166"]]
12726
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12727
+ Processing by EmployeesController#edit as HTML
12728
+ Parameters: {"id"=>"95"}
12729
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 95], ["LIMIT", 1]]
12730
+ Rendering employees/edit.html.erb within layouts/application
12731
+ Rendered employees/_form.html.erb (2.0ms)
12732
+ Rendered employees/edit.html.erb within layouts/application (2.4ms)
12733
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)
12734
+  (0.2ms) ROLLBACK
12735
+  (0.1ms) BEGIN
12736
+ ----------------------------------------------------
12737
+ EmployeesControllerTest: test_should_update_employee
12738
+ ----------------------------------------------------
12739
+  (0.1ms) SAVEPOINT active_record_1
12740
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-15 07:52:41.586460"], ["updated_at", "2021-06-15 07:52:41.586460"]]
12741
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12742
+  (0.1ms) SAVEPOINT active_record_1
12743
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-15 07:52:41.587717"], ["updated_at", "2021-06-15 07:52:41.587717"]]
12744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12745
+ Processing by EmployeesController#update as HTML
12746
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"97"}
12747
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 97], ["LIMIT", 1]]
12748
+  (0.1ms) SAVEPOINT active_record_1
12749
+ SQL (0.2ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", "1981-11-01"], ["joined", "2015-10-03"], ["name", "Ioannis Kole"], ["updated_at", "2021-06-15 07:52:41.590584"], ["id", 97]]
12750
+  (0.2ms) RELEASE SAVEPOINT active_record_1
12751
+ Redirected to http://test.host/employees/97
12752
+ Completed 302 Found in 21ms (ActiveRecord: 0.6ms)
12753
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 97], ["LIMIT", 1]]
12754
+  (0.1ms) ROLLBACK
12755
+  (0.1ms) BEGIN
12756
+ -------------------------------------------------------------------------------------------------------
12757
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
12758
+ -------------------------------------------------------------------------------------------------------
12759
+  (0.1ms) ROLLBACK
12760
+  (0.1ms) BEGIN
12761
+ ------------------------------------------------------------------
12762
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
12763
+ ------------------------------------------------------------------
12764
+  (0.1ms) ROLLBACK
12765
+  (0.1ms) BEGIN
12766
+ ----------------------------------------------------------------------
12767
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
12768
+ ----------------------------------------------------------------------
12769
+  (0.1ms) ROLLBACK
12770
+  (0.1ms) BEGIN
12771
+ -------------------------------------------
12772
+ GovUkDateFieldsTest: test_date_fields_error
12773
+ -------------------------------------------
12774
+  (0.1ms) ROLLBACK
12775
+  (0.1ms) BEGIN
12776
+ ----------------------------------------------
12777
+ GovUkDateFieldsTest: test_date_fields_no_error
12778
+ ----------------------------------------------
12779
+  (0.1ms) ROLLBACK
12780
+  (0.1ms) BEGIN
12781
+ ------------------------------------------------
12782
+ GovUkDateFieldsTest: test_date_fields_no_heading
12783
+ ------------------------------------------------
12784
+  (0.1ms) ROLLBACK
12785
+  (0.1ms) BEGIN
12786
+ ----------------------------------------------------------------
12787
+ GovUkDateFieldsTest: test_date_fields_with_custom_i18n_attribute
12788
+ ----------------------------------------------------------------
12789
+  (0.1ms) ROLLBACK
12790
+  (0.1ms) BEGIN
12791
+ --------------------------------------------------------------------------
12792
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
12793
+ --------------------------------------------------------------------------
12794
+  (0.2ms) ROLLBACK
12795
+  (0.1ms) BEGIN
12796
+ --------------------------------------------------------------------------------
12797
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
12798
+ --------------------------------------------------------------------------------
12799
+  (0.1ms) ROLLBACK
12800
+  (0.1ms) BEGIN
12801
+ ----------------------------------------------------------------------
12802
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
12803
+ ----------------------------------------------------------------------
12804
+  (0.1ms) ROLLBACK
12805
+  (0.2ms) BEGIN
12806
+ ----------------------------------------------
12807
+ ReplicantTest: test_joined_date_is_same_as_dob
12808
+ ----------------------------------------------
12809
+  (0.1ms) ROLLBACK
12810
+  (0.1ms) BEGIN
12811
+ -------------------------------------------------------------------------
12812
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
12813
+ -------------------------------------------------------------------------
12814
+  (0.1ms) ROLLBACK
12815
+  (0.1ms) BEGIN
12816
+ --------------------------------------------------------------------------------------------------
12817
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
12818
+ --------------------------------------------------------------------------------------------------
12819
+  (0.1ms) ROLLBACK
12820
+  (0.1ms) BEGIN
12821
+ ---------------------------------------------------------------------
12822
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
12823
+ ---------------------------------------------------------------------
12824
+  (0.1ms) ROLLBACK
12825
+  (0.1ms) BEGIN
12826
+ -------------------------------------------------------------------------
12827
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
12828
+ -------------------------------------------------------------------------
12829
+  (0.1ms) SAVEPOINT active_record_1
12830
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-15 07:52:41.651338"], ["updated_at", "2021-06-15 07:52:41.651338"]]
12831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12832
+  (0.1ms) SAVEPOINT active_record_1
12833
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
12834
+  (0.1ms) ROLLBACK
12835
+  (0.1ms) BEGIN
12836
+ ---------------------------------------------------------------------
12837
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
12838
+ ---------------------------------------------------------------------
12839
+  (0.1ms) SAVEPOINT active_record_1
12840
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-15 07:52:41.654241"], ["updated_at", "2021-06-15 07:52:41.654241"]]
12841
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12842
+  (0.1ms) SAVEPOINT active_record_1
12843
+ SQL (0.2ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", "1965-05-17"], ["updated_at", "2021-06-15 07:52:41.655594"], ["id", 100]]
12844
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12845
+  (0.1ms) ROLLBACK
12846
+  (0.1ms) BEGIN
12847
+ ----------------------------------------------------------------------------------------------------------------
12848
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
12849
+ ----------------------------------------------------------------------------------------------------------------
12850
+  (0.1ms) ROLLBACK
12851
+  (0.1ms) BEGIN
12852
+ ---------------------------------------------------------------------
12853
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
12854
+ ---------------------------------------------------------------------
12855
+  (0.1ms) ROLLBACK
12856
+  (0.1ms) BEGIN
12857
+ ----------------------------------------------
12858
+ EmployeeTest: test_valid_dates_raise_no_errors
12859
+ ----------------------------------------------
12860
+  (0.1ms) ROLLBACK
12861
+  (0.1ms) BEGIN
12862
+ ----------------------------------------------------------------------------------------------
12863
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
12864
+ ----------------------------------------------------------------------------------------------
12865
+  (0.2ms) ROLLBACK
12866
+  (0.1ms) BEGIN
12867
+ -----------------------------------------------------------------
12868
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
12869
+ -----------------------------------------------------------------
12870
+  (0.1ms) ROLLBACK
12871
+  (0.1ms) BEGIN
12872
+ -------------------------------------------------------------------------------------------------------------------
12873
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
12874
+ -------------------------------------------------------------------------------------------------------------------
12875
+  (0.1ms) ROLLBACK
12876
+  (0.1ms) BEGIN
12877
+ ------------------------------------------------------------------------------------------
12878
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
12879
+ ------------------------------------------------------------------------------------------
12880
+  (0.1ms) ROLLBACK
12881
+  (0.1ms) BEGIN
12882
+ --------------------------------------------------------------------------
12883
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
12884
+ --------------------------------------------------------------------------
12885
+  (0.1ms) ROLLBACK
12886
+  (0.1ms) BEGIN
12887
+ -----------------------------------------------------------------------------------
12888
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
12889
+ -----------------------------------------------------------------------------------
12890
+  (0.1ms) ROLLBACK
12891
+  (0.1ms) BEGIN
12892
+ ------------------------------------------------------------------------
12893
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
12894
+ ------------------------------------------------------------------------
12895
+  (0.1ms) ROLLBACK
12896
+  (0.1ms) BEGIN
12897
+ -----------------------------------------------------------------------
12898
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
12899
+ -----------------------------------------------------------------------
12900
+  (0.1ms) ROLLBACK
12901
+  (0.1ms) BEGIN
12902
+ -------------------------------------------
12903
+ EmployeeTest: test_invalid_day_raises_error
12904
+ -------------------------------------------
12905
+  (0.1ms) ROLLBACK
12906
+  (0.1ms) BEGIN
12907
+ -----------------------------------------------------------
12908
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
12909
+ -----------------------------------------------------------
12910
+  (0.1ms) ROLLBACK
12911
+  (0.1ms) BEGIN
12912
+ ---------------------------------------------------------------------------------------------------------
12913
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
12914
+ ---------------------------------------------------------------------------------------------------------
12915
+  (0.1ms) ROLLBACK
12916
+  (0.1ms) BEGIN
12917
+ --------------------------------------------
12918
+ EmployeeTest: test_nil_dates_raise_no_errors
12919
+ --------------------------------------------
12920
+  (0.1ms) ROLLBACK
12921
+  (0.1ms) BEGIN
12922
+ -----------------------------------------------------------
12923
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
12924
+ -----------------------------------------------------------
12925
+  (0.1ms) ROLLBACK
12926
+ ActiveRecord::SchemaMigration Load (7.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
12927
+  (0.3ms) BEGIN
12928
+ ----------------------------------------------
12929
+ EmployeesControllerTest: test_should_get_index
12930
+ ----------------------------------------------
12931
+  (0.2ms) SAVEPOINT active_record_1
12932
+ SQL (2.6ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:29.995092"], ["updated_at", "2021-06-16 07:47:29.995092"]]
12933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12934
+  (0.1ms) SAVEPOINT active_record_1
12935
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:29.999427"], ["updated_at", "2021-06-16 07:47:29.999427"]]
12936
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12937
+ Processing by EmployeesController#index as HTML
12938
+ Rendering employees/index.html.erb within layouts/application
12939
+ Employee Load (0.4ms) SELECT "employees".* FROM "employees"
12940
+ Rendered employees/index.html.erb within layouts/application (7.7ms)
12941
+ Completed 200 OK in 65ms (Views: 63.3ms | ActiveRecord: 0.4ms)
12942
+  (6.1ms) ROLLBACK
12943
+  (0.1ms) BEGIN
12944
+ ----------------------------------------------------
12945
+ EmployeesControllerTest: test_should_create_employee
12946
+ ----------------------------------------------------
12947
+  (0.1ms) SAVEPOINT active_record_1
12948
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:30.077449"], ["updated_at", "2021-06-16 07:47:30.077449"]]
12949
+  (0.2ms) RELEASE SAVEPOINT active_record_1
12950
+  (0.1ms) SAVEPOINT active_record_1
12951
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:30.079929"], ["updated_at", "2021-06-16 07:47:30.079929"]]
12952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12953
+  (0.2ms) SELECT COUNT(*) FROM "employees"
12954
+ Processing by EmployeesController#create as HTML
12955
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
12956
+  (0.2ms) SAVEPOINT active_record_1
12957
+ SQL (1.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", "1965-12-31"], ["joined", "2015-03-04"], ["created_at", "2021-06-16 07:47:30.088871"], ["updated_at", "2021-06-16 07:47:30.088871"]]
12958
+  (4.3ms) RELEASE SAVEPOINT active_record_1
12959
+ Redirected to http://test.host/employees/105
12960
+ Completed 302 Found in 8ms (ActiveRecord: 5.7ms)
12961
+  (0.3ms) SELECT COUNT(*) FROM "employees"
12962
+  (0.2ms) SELECT COUNT(*) FROM "employees"
12963
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
12964
+  (0.1ms) ROLLBACK
12965
+  (0.1ms) BEGIN
12966
+ ---------------------------------------------
12967
+ EmployeesControllerTest: test_should_get_edit
12968
+ ---------------------------------------------
12969
+  (0.1ms) SAVEPOINT active_record_1
12970
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:30.099998"], ["updated_at", "2021-06-16 07:47:30.099998"]]
12971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12972
+  (0.1ms) SAVEPOINT active_record_1
12973
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:30.101171"], ["updated_at", "2021-06-16 07:47:30.101171"]]
12974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12975
+ Processing by EmployeesController#edit as HTML
12976
+ Parameters: {"id"=>"106"}
12977
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 106], ["LIMIT", 1]]
12978
+ Rendering employees/edit.html.erb within layouts/application
12979
+ Rendered employees/_form.html.erb (20.6ms)
12980
+ Rendered employees/edit.html.erb within layouts/application (22.2ms)
12981
+ Completed 200 OK in 29ms (Views: 25.4ms | ActiveRecord: 0.2ms)
12982
+  (0.2ms) ROLLBACK
12983
+  (0.1ms) BEGIN
12984
+ ----------------------------------------------------
12985
+ EmployeesControllerTest: test_should_update_employee
12986
+ ----------------------------------------------------
12987
+  (0.1ms) SAVEPOINT active_record_1
12988
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:30.133359"], ["updated_at", "2021-06-16 07:47:30.133359"]]
12989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12990
+  (0.1ms) SAVEPOINT active_record_1
12991
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:30.134738"], ["updated_at", "2021-06-16 07:47:30.134738"]]
12992
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12993
+ Processing by EmployeesController#update as HTML
12994
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"108"}
12995
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
12996
+  (0.1ms) SAVEPOINT active_record_1
12997
+ SQL (16.6ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", "1981-11-01"], ["joined", "2015-10-03"], ["name", "Ioannis Kole"], ["updated_at", "2021-06-16 07:47:30.137841"], ["id", 108]]
12998
+  (0.2ms) RELEASE SAVEPOINT active_record_1
12999
+ Redirected to http://test.host/employees/108
13000
+ Completed 302 Found in 20ms (ActiveRecord: 17.2ms)
13001
+ Employee Load (0.5ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 108], ["LIMIT", 1]]
13002
+  (0.3ms) ROLLBACK
13003
+  (0.1ms) BEGIN
13004
+ --------------------------------------------------------------
13005
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
13006
+ --------------------------------------------------------------
13007
+  (0.2ms) SAVEPOINT active_record_1
13008
+ SQL (0.4ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:30.160388"], ["updated_at", "2021-06-16 07:47:30.160388"]]
13009
+  (0.2ms) RELEASE SAVEPOINT active_record_1
13010
+  (0.1ms) SAVEPOINT active_record_1
13011
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:30.162801"], ["updated_at", "2021-06-16 07:47:30.162801"]]
13012
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13013
+ Processing by EmployeesController#edit as HTML
13014
+ Parameters: {"id"=>"110"}
13015
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 110], ["LIMIT", 1]]
13016
+ Rendering employees/edit.html.erb within layouts/application
13017
+ Rendered employees/_form.html.erb (2.1ms)
13018
+ Rendered employees/edit.html.erb within layouts/application (2.4ms)
13019
+ Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms)
13020
+  (0.3ms) ROLLBACK
13021
+  (0.2ms) BEGIN
13022
+ -----------------------------------------------------
13023
+ EmployeesControllerTest: test_should_destroy_employee
13024
+ -----------------------------------------------------
13025
+  (0.1ms) SAVEPOINT active_record_1
13026
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:30.172606"], ["updated_at", "2021-06-16 07:47:30.172606"]]
13027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13028
+  (0.1ms) SAVEPOINT active_record_1
13029
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:30.174019"], ["updated_at", "2021-06-16 07:47:30.174019"]]
13030
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13031
+  (0.2ms) SELECT COUNT(*) FROM "employees"
13032
+ Processing by EmployeesController#destroy as HTML
13033
+ Parameters: {"id"=>"112"}
13034
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 112], ["LIMIT", 1]]
13035
+  (0.1ms) SAVEPOINT active_record_1
13036
+ SQL (0.2ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 112]]
13037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13038
+ Redirected to http://test.host/employees
13039
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
13040
+  (0.2ms) SELECT COUNT(*) FROM "employees"
13041
+  (0.1ms) ROLLBACK
13042
+  (0.1ms) BEGIN
13043
+ --------------------------------------------------
13044
+ EmployeesControllerTest: test_should_show_employee
13045
+ --------------------------------------------------
13046
+  (0.1ms) SAVEPOINT active_record_1
13047
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:30.179450"], ["updated_at", "2021-06-16 07:47:30.179450"]]
13048
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13049
+  (0.1ms) SAVEPOINT active_record_1
13050
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:30.180555"], ["updated_at", "2021-06-16 07:47:30.180555"]]
13051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13052
+ Processing by EmployeesController#show as HTML
13053
+ Parameters: {"id"=>"114"}
13054
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 114], ["LIMIT", 1]]
13055
+ Rendering employees/show.html.erb within layouts/application
13056
+ Rendered employees/show.html.erb within layouts/application (0.6ms)
13057
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)
13058
+  (0.1ms) ROLLBACK
13059
+  (0.1ms) BEGIN
13060
+ --------------------------------------------
13061
+ EmployeesControllerTest: test_should_get_new
13062
+ --------------------------------------------
13063
+  (0.1ms) SAVEPOINT active_record_1
13064
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:30.186468"], ["updated_at", "2021-06-16 07:47:30.186468"]]
13065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13066
+  (0.1ms) SAVEPOINT active_record_1
13067
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:30.187759"], ["updated_at", "2021-06-16 07:47:30.187759"]]
13068
+  (0.2ms) RELEASE SAVEPOINT active_record_1
13069
+ Processing by EmployeesController#new as HTML
13070
+ Rendering employees/new.html.erb within layouts/application
13071
+ Rendered employees/_form.html.erb (3.3ms)
13072
+ Rendered employees/new.html.erb within layouts/application (3.8ms)
13073
+ Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
13074
+  (0.2ms) ROLLBACK
13075
+  (0.2ms) BEGIN
13076
+ -------------------------------------------------------------------------------------------------------
13077
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
13078
+ -------------------------------------------------------------------------------------------------------
13079
+  (0.2ms) ROLLBACK
13080
+  (0.1ms) BEGIN
13081
+ ----------------------------------------------------------------------
13082
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
13083
+ ----------------------------------------------------------------------
13084
+  (0.1ms) ROLLBACK
13085
+  (0.1ms) BEGIN
13086
+ ------------------------------------------------------------------
13087
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
13088
+ ------------------------------------------------------------------
13089
+  (0.1ms) ROLLBACK
13090
+  (0.1ms) BEGIN
13091
+ ----------------------------------------------
13092
+ ReplicantTest: test_joined_date_is_same_as_dob
13093
+ ----------------------------------------------
13094
+  (0.2ms) ROLLBACK
13095
+  (0.1ms) BEGIN
13096
+ --------------------------------------------------------------------------------
13097
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
13098
+ --------------------------------------------------------------------------------
13099
+  (0.2ms) ROLLBACK
13100
+  (0.1ms) BEGIN
13101
+ --------------------------------------------------------------------------
13102
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
13103
+ --------------------------------------------------------------------------
13104
+  (0.2ms) ROLLBACK
13105
+  (0.1ms) BEGIN
13106
+ ----------------------------------------------------------------------
13107
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
13108
+ ----------------------------------------------------------------------
13109
+  (0.2ms) ROLLBACK
13110
+  (0.1ms) BEGIN
13111
+ --------------------------------------------
13112
+ EmployeeTest: test_nil_dates_raise_no_errors
13113
+ --------------------------------------------
13114
+  (0.1ms) ROLLBACK
13115
+  (0.1ms) BEGIN
13116
+ --------------------------------------------------------------------------
13117
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
13118
+ --------------------------------------------------------------------------
13119
+  (0.1ms) ROLLBACK
13120
+  (0.1ms) BEGIN
13121
+ ---------------------------------------------------------------------
13122
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
13123
+ ---------------------------------------------------------------------
13124
+  (0.1ms) ROLLBACK
13125
+  (0.1ms) BEGIN
13126
+ -------------------------------------------
13127
+ EmployeeTest: test_invalid_day_raises_error
13128
+ -------------------------------------------
13129
+  (0.1ms) ROLLBACK
13130
+  (0.1ms) BEGIN
13131
+ -----------------------------------------------------------
13132
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
13133
+ -----------------------------------------------------------
13134
+  (0.1ms) ROLLBACK
13135
+  (0.1ms) BEGIN
13136
+ ---------------------------------------------------------------------
13137
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
13138
+ ---------------------------------------------------------------------
13139
+  (0.1ms) SAVEPOINT active_record_1
13140
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 07:47:30.235068"], ["updated_at", "2021-06-16 07:47:30.235068"]]
13141
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13142
+  (0.1ms) SAVEPOINT active_record_1
13143
+ SQL (0.4ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", "1965-05-17"], ["updated_at", "2021-06-16 07:47:30.237003"], ["id", 118]]
13144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13145
+  (0.1ms) ROLLBACK
13146
+  (0.1ms) BEGIN
13147
+ -----------------------------------------------------------
13148
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
13149
+ -----------------------------------------------------------
13150
+  (0.1ms) ROLLBACK
13151
+  (0.1ms) BEGIN
13152
+ ------------------------------------------------------------------------
13153
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
13154
+ ------------------------------------------------------------------------
13155
+  (0.1ms) ROLLBACK
13156
+  (0.1ms) BEGIN
13157
+ ---------------------------------------------------------------------------------------------------------
13158
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
13159
+ ---------------------------------------------------------------------------------------------------------
13160
+  (0.1ms) ROLLBACK
13161
+  (0.1ms) BEGIN
13162
+ ----------------------------------------------------------------------------------------------------------------
13163
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
13164
+ ----------------------------------------------------------------------------------------------------------------
13165
+  (0.1ms) ROLLBACK
13166
+  (0.1ms) BEGIN
13167
+ -------------------------------------------------------------------------------------------------------------------
13168
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
13169
+ -------------------------------------------------------------------------------------------------------------------
13170
+  (0.1ms) ROLLBACK
13171
+  (0.1ms) BEGIN
13172
+ -----------------------------------------------------------------------
13173
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
13174
+ -----------------------------------------------------------------------
13175
+  (0.1ms) ROLLBACK
13176
+  (0.1ms) BEGIN
13177
+ ----------------------------------------------------------------------------------------------
13178
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
13179
+ ----------------------------------------------------------------------------------------------
13180
+  (0.1ms) ROLLBACK
13181
+  (0.1ms) BEGIN
13182
+ ----------------------------------------------
13183
+ EmployeeTest: test_valid_dates_raise_no_errors
13184
+ ----------------------------------------------
13185
+  (0.1ms) ROLLBACK
13186
+  (0.1ms) BEGIN
13187
+ -----------------------------------------------------------------------------------
13188
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
13189
+ -----------------------------------------------------------------------------------
13190
+  (0.1ms) ROLLBACK
13191
+  (0.1ms) BEGIN
13192
+ ------------------------------------------------------------------------------------------
13193
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
13194
+ ------------------------------------------------------------------------------------------
13195
+  (0.1ms) ROLLBACK
13196
+  (0.1ms) BEGIN
13197
+ -----------------------------------------------------------------
13198
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
13199
+ -----------------------------------------------------------------
13200
+  (0.1ms) ROLLBACK
13201
+  (0.1ms) BEGIN
13202
+ -------------------------------------------------------------------------
13203
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
13204
+ -------------------------------------------------------------------------
13205
+  (0.1ms) SAVEPOINT active_record_1
13206
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 07:47:30.250451"], ["updated_at", "2021-06-16 07:47:30.250451"]]
13207
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13208
+  (0.1ms) SAVEPOINT active_record_1
13209
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
13210
+  (0.1ms) ROLLBACK
13211
+  (0.1ms) BEGIN
13212
+ --------------------------------------------------------------------------
13213
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
13214
+ --------------------------------------------------------------------------
13215
+  (0.1ms) ROLLBACK
13216
+  (0.1ms) BEGIN
13217
+ -----------------------------------------------------------------------
13218
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
13219
+ -----------------------------------------------------------------------
13220
+  (0.1ms) ROLLBACK
13221
+  (0.1ms) BEGIN
13222
+ ---------------------------------------------------------------------
13223
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
13224
+ ---------------------------------------------------------------------
13225
+  (0.1ms) ROLLBACK
13226
+  (0.1ms) BEGIN
13227
+ -----------------------------------------------------------------------------------------------
13228
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
13229
+ -----------------------------------------------------------------------------------------------
13230
+  (0.2ms) ROLLBACK
13231
+  (0.1ms) BEGIN
13232
+ -----------------------------------------------------------------
13233
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
13234
+ -----------------------------------------------------------------
13235
+  (0.2ms) ROLLBACK
13236
+  (0.2ms) BEGIN
13237
+ ------------------------------------------------------------------------------------------------
13238
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
13239
+ ------------------------------------------------------------------------------------------------
13240
+  (0.1ms) SAVEPOINT active_record_1
13241
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 07:47:30.264767"], ["updated_at", "2021-06-16 07:47:30.264767"]]
13242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13243
+  (0.1ms) SAVEPOINT active_record_1
13244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13245
+  (0.1ms) ROLLBACK
13246
+  (0.1ms) BEGIN
13247
+ -----------------------------------------------------------------------
13248
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
13249
+ -----------------------------------------------------------------------
13250
+  (0.1ms) ROLLBACK
13251
+  (0.1ms) BEGIN
13252
+ -------------------------------------------------------------------------
13253
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
13254
+ -------------------------------------------------------------------------
13255
+  (0.2ms) ROLLBACK
13256
+  (0.1ms) BEGIN
13257
+ --------------------------------------------------------------------------------------------------
13258
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
13259
+ --------------------------------------------------------------------------------------------------
13260
+  (0.1ms) ROLLBACK
13261
+  (0.1ms) BEGIN
13262
+ ---------------------------------------------------------------------
13263
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
13264
+ ---------------------------------------------------------------------
13265
+  (0.1ms) ROLLBACK
13266
+  (0.1ms) BEGIN
13267
+ -----------------------------------------------------------------------------------------
13268
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
13269
+ -----------------------------------------------------------------------------------------
13270
+  (0.1ms) ROLLBACK
13271
+  (0.1ms) BEGIN
13272
+ ----------------------------------------------------------------------------------------------------------------------------------
13273
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
13274
+ ----------------------------------------------------------------------------------------------------------------------------------
13275
+  (0.1ms) ROLLBACK
13276
+  (0.1ms) BEGIN
13277
+ -------------------------------------------------------------------------------
13278
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
13279
+ -------------------------------------------------------------------------------
13280
+  (0.2ms) ROLLBACK
13281
+  (0.1ms) BEGIN
13282
+ -----------------------------------------------------------------------------------------------
13283
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
13284
+ -----------------------------------------------------------------------------------------------
13285
+  (0.1ms) ROLLBACK
13286
+  (0.1ms) BEGIN
13287
+ ---------------------------------------------------------------------------------
13288
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
13289
+ ---------------------------------------------------------------------------------
13290
+  (0.1ms) ROLLBACK
13291
+  (0.2ms) BEGIN
13292
+ ------------------------------------------------------------------------------------------
13293
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
13294
+ ------------------------------------------------------------------------------------------
13295
+  (0.2ms) ROLLBACK
13296
+  (0.1ms) BEGIN
13297
+ ---------------------------------------------------------------------------------
13298
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
13299
+ ---------------------------------------------------------------------------------
13300
+  (0.1ms) ROLLBACK
13301
+  (0.1ms) BEGIN
13302
+ ----------------------------------------------
13303
+ GovUkDateFieldsTest: test_date_fields_no_error
13304
+ ----------------------------------------------
13305
+  (0.2ms) ROLLBACK
13306
+  (0.1ms) BEGIN
13307
+ ------------------------------------------------
13308
+ GovUkDateFieldsTest: test_date_fields_no_heading
13309
+ ------------------------------------------------
13310
+  (0.2ms) ROLLBACK
13311
+  (0.2ms) BEGIN
13312
+ -------------------------------------------
13313
+ GovUkDateFieldsTest: test_date_fields_error
13314
+ -------------------------------------------
13315
+  (0.2ms) ROLLBACK
13316
+  (0.1ms) BEGIN
13317
+ ----------------------------------------------------------------
13318
+ GovUkDateFieldsTest: test_date_fields_with_custom_i18n_attribute
13319
+ ----------------------------------------------------------------
13320
+  (0.1ms) ROLLBACK
13321
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13322
+  (0.2ms) BEGIN
13323
+ ----------------------------------------------
13324
+ GovUkDateFieldsTest: test_date_fields_no_error
13325
+ ----------------------------------------------
13326
+  (0.2ms) ROLLBACK
13327
+  (0.1ms) BEGIN
13328
+ ----------------------------------------------------------------
13329
+ GovUkDateFieldsTest: test_date_fields_with_custom_i18n_attribute
13330
+ ----------------------------------------------------------------
13331
+  (0.1ms) ROLLBACK
13332
+  (0.1ms) BEGIN
13333
+ -------------------------------------------
13334
+ GovUkDateFieldsTest: test_date_fields_error
13335
+ -------------------------------------------
13336
+  (0.2ms) ROLLBACK
13337
+  (0.2ms) BEGIN
13338
+ ------------------------------------------------
13339
+ GovUkDateFieldsTest: test_date_fields_no_heading
13340
+ ------------------------------------------------
13341
+  (0.2ms) ROLLBACK
13342
+  (0.2ms) BEGIN
13343
+ -----------------------------------------------------------------------------------------------
13344
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
13345
+ -----------------------------------------------------------------------------------------------
13346
+  (0.1ms) ROLLBACK
13347
+  (0.1ms) BEGIN
13348
+ -----------------------------------------------------------------------
13349
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
13350
+ -----------------------------------------------------------------------
13351
+  (0.2ms) ROLLBACK
13352
+  (0.1ms) BEGIN
13353
+ ------------------------------------------------------------------------------------------------
13354
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
13355
+ ------------------------------------------------------------------------------------------------
13356
+  (0.1ms) SAVEPOINT active_record_1
13357
+ SQL (0.5ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 07:47:40.922940"], ["updated_at", "2021-06-16 07:47:40.922940"]]
13358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13359
+  (0.1ms) SAVEPOINT active_record_1
13360
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13361
+  (0.1ms) ROLLBACK
13362
+  (0.1ms) BEGIN
13363
+ --------------------------------------------------------------------------
13364
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
13365
+ --------------------------------------------------------------------------
13366
+  (0.1ms) ROLLBACK
13367
+  (0.1ms) BEGIN
13368
+ -----------------------------------------------------------------
13369
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
13370
+ -----------------------------------------------------------------
13371
+  (0.1ms) ROLLBACK
13372
+  (0.1ms) BEGIN
13373
+ ---------------------------------------------------------------------
13374
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
13375
+ ---------------------------------------------------------------------
13376
+  (0.2ms) ROLLBACK
13377
+  (0.2ms) BEGIN
13378
+ -----------------------------------------------------------------------
13379
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
13380
+ -----------------------------------------------------------------------
13381
+  (0.1ms) ROLLBACK
13382
+  (0.1ms) BEGIN
13383
+ ----------------------------------------------
13384
+ ReplicantTest: test_joined_date_is_same_as_dob
13385
+ ----------------------------------------------
13386
+  (0.1ms) ROLLBACK
13387
+  (0.1ms) BEGIN
13388
+ ---------------------------------------------------------------------------------
13389
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
13390
+ ---------------------------------------------------------------------------------
13391
+  (0.1ms) ROLLBACK
13392
+  (0.1ms) BEGIN
13393
+ ------------------------------------------------------------------------------------------
13394
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
13395
+ ------------------------------------------------------------------------------------------
13396
+  (0.1ms) ROLLBACK
13397
+  (0.1ms) BEGIN
13398
+ -------------------------------------------------------------------------------
13399
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
13400
+ -------------------------------------------------------------------------------
13401
+  (0.1ms) ROLLBACK
13402
+  (0.1ms) BEGIN
13403
+ -----------------------------------------------------------------------------------------
13404
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
13405
+ -----------------------------------------------------------------------------------------
13406
+  (0.1ms) ROLLBACK
13407
+  (0.1ms) BEGIN
13408
+ -----------------------------------------------------------------------------------------------
13409
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
13410
+ -----------------------------------------------------------------------------------------------
13411
+  (0.1ms) ROLLBACK
13412
+  (0.1ms) BEGIN
13413
+ ---------------------------------------------------------------------------------
13414
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
13415
+ ---------------------------------------------------------------------------------
13416
+  (0.1ms) ROLLBACK
13417
+  (0.1ms) BEGIN
13418
+ ----------------------------------------------------------------------------------------------------------------------------------
13419
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
13420
+ ----------------------------------------------------------------------------------------------------------------------------------
13421
+  (0.1ms) ROLLBACK
13422
+  (0.1ms) BEGIN
13423
+ --------------------------------------------------------------------------------------------------
13424
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
13425
+ --------------------------------------------------------------------------------------------------
13426
+  (0.2ms) ROLLBACK
13427
+  (0.1ms) BEGIN
13428
+ ---------------------------------------------------------------------
13429
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
13430
+ ---------------------------------------------------------------------
13431
+  (0.1ms) ROLLBACK
13432
+  (0.1ms) BEGIN
13433
+ -------------------------------------------------------------------------
13434
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
13435
+ -------------------------------------------------------------------------
13436
+  (0.1ms) ROLLBACK
13437
+  (0.1ms) BEGIN
13438
+ -------------------------------------------------------------------------------------------------------
13439
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
13440
+ -------------------------------------------------------------------------------------------------------
13441
+  (0.2ms) ROLLBACK
13442
+  (0.2ms) BEGIN
13443
+ ------------------------------------------------------------------
13444
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
13445
+ ------------------------------------------------------------------
13446
+  (0.2ms) ROLLBACK
13447
+  (0.1ms) BEGIN
13448
+ ----------------------------------------------------------------------
13449
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
13450
+ ----------------------------------------------------------------------
13451
+  (0.1ms) ROLLBACK
13452
+  (0.1ms) BEGIN
13453
+ --------------------------------------------
13454
+ EmployeesControllerTest: test_should_get_new
13455
+ --------------------------------------------
13456
+  (0.2ms) SAVEPOINT active_record_1
13457
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:40.972421"], ["updated_at", "2021-06-16 07:47:40.972421"]]
13458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13459
+  (0.1ms) SAVEPOINT active_record_1
13460
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:40.973919"], ["updated_at", "2021-06-16 07:47:40.973919"]]
13461
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13462
+ Processing by EmployeesController#new as HTML
13463
+ Rendering employees/new.html.erb within layouts/application
13464
+ Rendered employees/_form.html.erb (8.6ms)
13465
+ Rendered employees/new.html.erb within layouts/application (9.5ms)
13466
+ Completed 200 OK in 28ms (Views: 26.8ms | ActiveRecord: 0.0ms)
13467
+  (0.2ms) ROLLBACK
13468
+  (0.1ms) BEGIN
13469
+ ----------------------------------------------------
13470
+ EmployeesControllerTest: test_should_create_employee
13471
+ ----------------------------------------------------
13472
+  (0.1ms) SAVEPOINT active_record_1
13473
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:41.006682"], ["updated_at", "2021-06-16 07:47:41.006682"]]
13474
+  (0.2ms) RELEASE SAVEPOINT active_record_1
13475
+  (0.2ms) SAVEPOINT active_record_1
13476
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:41.008825"], ["updated_at", "2021-06-16 07:47:41.008825"]]
13477
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13478
+  (0.3ms) SELECT COUNT(*) FROM "employees"
13479
+ Processing by EmployeesController#create as HTML
13480
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
13481
+  (0.1ms) SAVEPOINT active_record_1
13482
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", "1965-12-31"], ["joined", "2015-03-04"], ["created_at", "2021-06-16 07:47:41.016609"], ["updated_at", "2021-06-16 07:47:41.016609"]]
13483
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13484
+ Redirected to http://test.host/employees/126
13485
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
13486
+  (0.2ms) SELECT COUNT(*) FROM "employees"
13487
+  (0.2ms) SELECT COUNT(*) FROM "employees"
13488
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
13489
+  (0.2ms) ROLLBACK
13490
+  (0.1ms) BEGIN
13491
+ --------------------------------------------------
13492
+ EmployeesControllerTest: test_should_show_employee
13493
+ --------------------------------------------------
13494
+  (0.1ms) SAVEPOINT active_record_1
13495
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:41.022087"], ["updated_at", "2021-06-16 07:47:41.022087"]]
13496
+  (0.2ms) RELEASE SAVEPOINT active_record_1
13497
+  (0.1ms) SAVEPOINT active_record_1
13498
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:41.023464"], ["updated_at", "2021-06-16 07:47:41.023464"]]
13499
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13500
+ Processing by EmployeesController#show as HTML
13501
+ Parameters: {"id"=>"127"}
13502
+ Employee Load (0.4ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 127], ["LIMIT", 1]]
13503
+ Rendering employees/show.html.erb within layouts/application
13504
+ Rendered employees/show.html.erb within layouts/application (0.7ms)
13505
+ Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.4ms)
13506
+  (0.3ms) ROLLBACK
13507
+  (0.1ms) BEGIN
13508
+ -----------------------------------------------------
13509
+ EmployeesControllerTest: test_should_destroy_employee
13510
+ -----------------------------------------------------
13511
+  (0.2ms) SAVEPOINT active_record_1
13512
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:41.034980"], ["updated_at", "2021-06-16 07:47:41.034980"]]
13513
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13514
+  (0.1ms) SAVEPOINT active_record_1
13515
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:41.036670"], ["updated_at", "2021-06-16 07:47:41.036670"]]
13516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13517
+  (0.2ms) SELECT COUNT(*) FROM "employees"
13518
+ Processing by EmployeesController#destroy as HTML
13519
+ Parameters: {"id"=>"129"}
13520
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 129], ["LIMIT", 1]]
13521
+  (0.2ms) SAVEPOINT active_record_1
13522
+ SQL (0.3ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 129]]
13523
+  (0.2ms) RELEASE SAVEPOINT active_record_1
13524
+ Redirected to http://test.host/employees
13525
+ Completed 302 Found in 2ms (ActiveRecord: 0.9ms)
13526
+  (0.2ms) SELECT COUNT(*) FROM "employees"
13527
+  (0.2ms) ROLLBACK
13528
+  (0.1ms) BEGIN
13529
+ --------------------------------------------------------------
13530
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
13531
+ --------------------------------------------------------------
13532
+  (0.1ms) SAVEPOINT active_record_1
13533
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:41.043136"], ["updated_at", "2021-06-16 07:47:41.043136"]]
13534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13535
+  (0.1ms) SAVEPOINT active_record_1
13536
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:41.044331"], ["updated_at", "2021-06-16 07:47:41.044331"]]
13537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13538
+ Processing by EmployeesController#edit as HTML
13539
+ Parameters: {"id"=>"131"}
13540
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 131], ["LIMIT", 1]]
13541
+ Rendering employees/edit.html.erb within layouts/application
13542
+ Rendered employees/_form.html.erb (2.4ms)
13543
+ Rendered employees/edit.html.erb within layouts/application (2.9ms)
13544
+ Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
13545
+  (0.1ms) ROLLBACK
13546
+  (0.1ms) BEGIN
13547
+ ----------------------------------------------
13548
+ EmployeesControllerTest: test_should_get_index
13549
+ ----------------------------------------------
13550
+  (0.2ms) SAVEPOINT active_record_1
13551
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:41.053922"], ["updated_at", "2021-06-16 07:47:41.053922"]]
13552
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13553
+  (0.1ms) SAVEPOINT active_record_1
13554
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:41.055088"], ["updated_at", "2021-06-16 07:47:41.055088"]]
13555
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13556
+ Processing by EmployeesController#index as HTML
13557
+ Rendering employees/index.html.erb within layouts/application
13558
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees"
13559
+ Rendered employees/index.html.erb within layouts/application (1.9ms)
13560
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)
13561
+  (0.3ms) ROLLBACK
13562
+  (0.1ms) BEGIN
13563
+ ---------------------------------------------
13564
+ EmployeesControllerTest: test_should_get_edit
13565
+ ---------------------------------------------
13566
+  (0.1ms) SAVEPOINT active_record_1
13567
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:41.063388"], ["updated_at", "2021-06-16 07:47:41.063388"]]
13568
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13569
+  (0.1ms) SAVEPOINT active_record_1
13570
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:41.065005"], ["updated_at", "2021-06-16 07:47:41.065005"]]
13571
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13572
+ Processing by EmployeesController#edit as HTML
13573
+ Parameters: {"id"=>"135"}
13574
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 135], ["LIMIT", 1]]
13575
+ Rendering employees/edit.html.erb within layouts/application
13576
+ Rendered employees/_form.html.erb (2.2ms)
13577
+ Rendered employees/edit.html.erb within layouts/application (2.5ms)
13578
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
13579
+  (0.1ms) ROLLBACK
13580
+  (0.1ms) BEGIN
13581
+ ----------------------------------------------------
13582
+ EmployeesControllerTest: test_should_update_employee
13583
+ ----------------------------------------------------
13584
+  (0.1ms) SAVEPOINT active_record_1
13585
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 07:47:41.073120"], ["updated_at", "2021-06-16 07:47:41.073120"]]
13586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13587
+  (0.1ms) SAVEPOINT active_record_1
13588
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 07:47:41.074498"], ["updated_at", "2021-06-16 07:47:41.074498"]]
13589
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13590
+ Processing by EmployeesController#update as HTML
13591
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"137"}
13592
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 137], ["LIMIT", 1]]
13593
+  (0.1ms) SAVEPOINT active_record_1
13594
+ SQL (0.2ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", "1981-11-01"], ["joined", "2015-10-03"], ["name", "Ioannis Kole"], ["updated_at", "2021-06-16 07:47:41.077781"], ["id", 137]]
13595
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13596
+ Redirected to http://test.host/employees/137
13597
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
13598
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 137], ["LIMIT", 1]]
13599
+  (0.1ms) ROLLBACK
13600
+  (0.1ms) BEGIN
13601
+ --------------------------------------------------------------------------------
13602
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
13603
+ --------------------------------------------------------------------------------
13604
+  (0.1ms) ROLLBACK
13605
+  (0.1ms) BEGIN
13606
+ ----------------------------------------------------------------------
13607
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
13608
+ ----------------------------------------------------------------------
13609
+  (0.1ms) ROLLBACK
13610
+  (0.1ms) BEGIN
13611
+ --------------------------------------------------------------------------
13612
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
13613
+ --------------------------------------------------------------------------
13614
+  (0.1ms) ROLLBACK
13615
+  (0.1ms) BEGIN
13616
+ -------------------------------------------
13617
+ EmployeeTest: test_invalid_day_raises_error
13618
+ -------------------------------------------
13619
+  (0.1ms) ROLLBACK
13620
+  (0.1ms) BEGIN
13621
+ -----------------------------------------------------------------------------------
13622
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
13623
+ -----------------------------------------------------------------------------------
13624
+  (0.1ms) ROLLBACK
13625
+  (0.1ms) BEGIN
13626
+ -------------------------------------------------------------------------------------------------------------------
13627
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
13628
+ -------------------------------------------------------------------------------------------------------------------
13629
+  (0.1ms) ROLLBACK
13630
+  (0.1ms) BEGIN
13631
+ -----------------------------------------------------------------
13632
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
13633
+ -----------------------------------------------------------------
13634
+  (0.1ms) ROLLBACK
13635
+  (0.1ms) BEGIN
13636
+ ----------------------------------------------------------------------------------------------------------------
13637
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
13638
+ ----------------------------------------------------------------------------------------------------------------
13639
+  (0.1ms) ROLLBACK
13640
+  (0.1ms) BEGIN
13641
+ ---------------------------------------------------------------------
13642
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
13643
+ ---------------------------------------------------------------------
13644
+  (0.2ms) SAVEPOINT active_record_1
13645
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 07:47:41.094627"], ["updated_at", "2021-06-16 07:47:41.094627"]]
13646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13647
+  (0.1ms) SAVEPOINT active_record_1
13648
+ SQL (0.3ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", "1965-05-17"], ["updated_at", "2021-06-16 07:47:41.096389"], ["id", 139]]
13649
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13650
+  (0.1ms) ROLLBACK
13651
+  (0.1ms) BEGIN
13652
+ ---------------------------------------------------------------------
13653
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
13654
+ ---------------------------------------------------------------------
13655
+  (0.1ms) ROLLBACK
13656
+  (0.1ms) BEGIN
13657
+ -----------------------------------------------------------------------
13658
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
13659
+ -----------------------------------------------------------------------
13660
+  (0.1ms) ROLLBACK
13661
+  (0.1ms) BEGIN
13662
+ ------------------------------------------------------------------------------------------
13663
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
13664
+ ------------------------------------------------------------------------------------------
13665
+  (0.1ms) ROLLBACK
13666
+  (0.1ms) BEGIN
13667
+ --------------------------------------------------------------------------
13668
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
13669
+ --------------------------------------------------------------------------
13670
+  (0.1ms) ROLLBACK
13671
+  (0.1ms) BEGIN
13672
+ ------------------------------------------------------------------------
13673
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
13674
+ ------------------------------------------------------------------------
13675
+  (0.1ms) ROLLBACK
13676
+  (0.1ms) BEGIN
13677
+ -------------------------------------------------------------------------
13678
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
13679
+ -------------------------------------------------------------------------
13680
+  (0.1ms) SAVEPOINT active_record_1
13681
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 07:47:41.103002"], ["updated_at", "2021-06-16 07:47:41.103002"]]
13682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13683
+  (0.1ms) SAVEPOINT active_record_1
13684
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
13685
+  (0.1ms) ROLLBACK
13686
+  (0.1ms) BEGIN
13687
+ ----------------------------------------------
13688
+ EmployeeTest: test_valid_dates_raise_no_errors
13689
+ ----------------------------------------------
13690
+  (0.1ms) ROLLBACK
13691
+  (0.1ms) BEGIN
13692
+ -----------------------------------------------------------
13693
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
13694
+ -----------------------------------------------------------
13695
+  (0.1ms) ROLLBACK
13696
+  (0.1ms) BEGIN
13697
+ -----------------------------------------------------------
13698
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
13699
+ -----------------------------------------------------------
13700
+  (0.1ms) ROLLBACK
13701
+  (0.1ms) BEGIN
13702
+ ---------------------------------------------------------------------------------------------------------
13703
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
13704
+ ---------------------------------------------------------------------------------------------------------
13705
+  (0.1ms) ROLLBACK
13706
+  (0.1ms) BEGIN
13707
+ ----------------------------------------------------------------------------------------------
13708
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
13709
+ ----------------------------------------------------------------------------------------------
13710
+  (0.1ms) ROLLBACK
13711
+  (0.1ms) BEGIN
13712
+ --------------------------------------------
13713
+ EmployeeTest: test_nil_dates_raise_no_errors
13714
+ --------------------------------------------
13715
+  (0.1ms) ROLLBACK
13716
+  (2.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
13717
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
13718
+  (0.2ms) BEGIN
13719
+ -----------------------------------------------------------------------------------------
13720
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
13721
+ -----------------------------------------------------------------------------------------
13722
+  (0.1ms) ROLLBACK
13723
+  (0.1ms) BEGIN
13724
+ -----------------------------------------------------------------------------------------------
13725
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
13726
+ -----------------------------------------------------------------------------------------------
13727
+  (0.1ms) ROLLBACK
13728
+  (0.1ms) BEGIN
13729
+ -------------------------------------------------------------------------------
13730
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
13731
+ -------------------------------------------------------------------------------
13732
+  (0.1ms) ROLLBACK
13733
+  (0.1ms) BEGIN
13734
+ ----------------------------------------------------------------------------------------------------------------------------------
13735
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
13736
+ ----------------------------------------------------------------------------------------------------------------------------------
13737
+  (0.1ms) ROLLBACK
13738
+  (0.1ms) BEGIN
13739
+ ---------------------------------------------------------------------------------
13740
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
13741
+ ---------------------------------------------------------------------------------
13742
+  (0.1ms) ROLLBACK
13743
+  (0.1ms) BEGIN
13744
+ ---------------------------------------------------------------------------------
13745
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
13746
+ ---------------------------------------------------------------------------------
13747
+  (0.1ms) ROLLBACK
13748
+  (0.1ms) BEGIN
13749
+ ------------------------------------------------------------------------------------------
13750
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
13751
+ ------------------------------------------------------------------------------------------
13752
+  (0.2ms) ROLLBACK
13753
+  (0.1ms) BEGIN
13754
+ --------------------------------------------------------------------------
13755
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
13756
+ --------------------------------------------------------------------------
13757
+  (0.1ms) ROLLBACK
13758
+  (0.1ms) BEGIN
13759
+ --------------------------------------------------------------------------------
13760
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
13761
+ --------------------------------------------------------------------------------
13762
+  (0.1ms) ROLLBACK
13763
+  (0.1ms) BEGIN
13764
+ ----------------------------------------------------------------------
13765
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
13766
+ ----------------------------------------------------------------------
13767
+  (0.1ms) ROLLBACK
13768
+  (0.1ms) BEGIN
13769
+ -----------------------------------------------------------------
13770
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
13771
+ -----------------------------------------------------------------
13772
+  (0.1ms) ROLLBACK
13773
+  (0.1ms) BEGIN
13774
+ ----------------------------------------------------------------------------------------------------------------
13775
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
13776
+ ----------------------------------------------------------------------------------------------------------------
13777
+  (0.1ms) ROLLBACK
13778
+  (0.1ms) BEGIN
13779
+ -------------------------------------------------------------------------------------------------------------------
13780
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
13781
+ -------------------------------------------------------------------------------------------------------------------
13782
+  (0.1ms) ROLLBACK
13783
+  (0.1ms) BEGIN
13784
+ -----------------------------------------------------------
13785
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
13786
+ -----------------------------------------------------------
13787
+  (0.1ms) ROLLBACK
13788
+  (0.1ms) BEGIN
13789
+ ----------------------------------------------------------------------------------------------
13790
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
13791
+ ----------------------------------------------------------------------------------------------
13792
+  (0.1ms) ROLLBACK
13793
+  (0.1ms) BEGIN
13794
+ ---------------------------------------------------------------------------------------------------------
13795
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
13796
+ ---------------------------------------------------------------------------------------------------------
13797
+  (0.1ms) ROLLBACK
13798
+  (0.1ms) BEGIN
13799
+ -------------------------------------------------------------------------
13800
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
13801
+ -------------------------------------------------------------------------
13802
+  (0.1ms) SAVEPOINT active_record_1
13803
+ Employee Create (0.6ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 08:12:13.315245"], ["updated_at", "2021-06-16 08:12:13.315245"]]
13804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13805
+  (0.2ms) ROLLBACK
13806
+  (0.1ms) BEGIN
13807
+ ---------------------------------------------------------------------
13808
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
13809
+ ---------------------------------------------------------------------
13810
+  (0.1ms) SAVEPOINT active_record_1
13811
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 08:12:13.318678"], ["updated_at", "2021-06-16 08:12:13.318678"]]
13812
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13813
+  (0.1ms) SAVEPOINT active_record_1
13814
+ Employee Update (0.3ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", "1965-05-17"], ["updated_at", "2021-06-16 08:12:13.319846"], ["id", 142]]
13815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13816
+  (0.1ms) ROLLBACK
13817
+  (0.1ms) BEGIN
13818
+ ---------------------------------------------------------------------
13819
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
13820
+ ---------------------------------------------------------------------
13821
+  (0.1ms) ROLLBACK
13822
+  (0.1ms) BEGIN
13823
+ -----------------------------------------------------------
13824
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
13825
+ -----------------------------------------------------------
13826
+  (0.1ms) ROLLBACK
13827
+  (0.1ms) BEGIN
13828
+ --------------------------------------------------------------------------
13829
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
13830
+ --------------------------------------------------------------------------
13831
+  (0.1ms) ROLLBACK
13832
+  (0.1ms) BEGIN
13833
+ ------------------------------------------------------------------------
13834
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
13835
+ ------------------------------------------------------------------------
13836
+  (0.1ms) ROLLBACK
13837
+  (0.1ms) BEGIN
13838
+ ------------------------------------------------------------------------------------------
13839
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
13840
+ ------------------------------------------------------------------------------------------
13841
+  (0.1ms) ROLLBACK
13842
+  (0.1ms) BEGIN
13843
+ -----------------------------------------------------------------------
13844
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
13845
+ -----------------------------------------------------------------------
13846
+  (0.1ms) ROLLBACK
13847
+  (0.1ms) BEGIN
13848
+ -------------------------------------------
13849
+ EmployeeTest: test_invalid_day_raises_error
13850
+ -------------------------------------------
13851
+  (0.1ms) ROLLBACK
13852
+  (0.0ms) BEGIN
13853
+ --------------------------------------------
13854
+ EmployeeTest: test_nil_dates_raise_no_errors
13855
+ --------------------------------------------
13856
+  (0.1ms) ROLLBACK
13857
+  (0.1ms) BEGIN
13858
+ -----------------------------------------------------------------------------------
13859
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
13860
+ -----------------------------------------------------------------------------------
13861
+  (0.1ms) ROLLBACK
13862
+  (0.1ms) BEGIN
13863
+ ----------------------------------------------
13864
+ EmployeeTest: test_valid_dates_raise_no_errors
13865
+ ----------------------------------------------
13866
+  (0.0ms) ROLLBACK
13867
+  (0.0ms) BEGIN
13868
+ ----------------------------------------------
13869
+ ReplicantTest: test_joined_date_is_same_as_dob
13870
+ ----------------------------------------------
13871
+  (0.1ms) ROLLBACK
13872
+  (0.1ms) BEGIN
13873
+ ---------------------------------------------------------------------
13874
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
13875
+ ---------------------------------------------------------------------
13876
+  (0.1ms) ROLLBACK
13877
+  (0.1ms) BEGIN
13878
+ --------------------------------------------------------------------------------------------------
13879
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
13880
+ --------------------------------------------------------------------------------------------------
13881
+  (0.1ms) ROLLBACK
13882
+  (0.1ms) BEGIN
13883
+ -------------------------------------------------------------------------
13884
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
13885
+ -------------------------------------------------------------------------
13886
+  (0.1ms) ROLLBACK
13887
+  (0.1ms) BEGIN
13888
+ ----------------------------------------------------
13889
+ EmployeesControllerTest: test_should_update_employee
13890
+ ----------------------------------------------------
13891
+  (0.1ms) SAVEPOINT active_record_1
13892
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:12:13.409947"], ["updated_at", "2021-06-16 08:12:13.409947"]]
13893
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13894
+  (0.1ms) SAVEPOINT active_record_1
13895
+ Employee Create (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:12:13.411263"], ["updated_at", "2021-06-16 08:12:13.411263"]]
13896
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13897
+ Processing by EmployeesController#update as HTML
13898
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"143"}
13899
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 143], ["LIMIT", 1]]
13900
+  (0.1ms) SAVEPOINT active_record_1
13901
+ Employee Update (0.2ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", "1981-11-01"], ["joined", "2015-10-03"], ["name", "Ioannis Kole"], ["updated_at", "2021-06-16 08:12:13.422904"], ["id", 143]]
13902
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13903
+ Redirected to http://test.host/employees/143
13904
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms | Allocations: 2058)
13905
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 143], ["LIMIT", 1]]
13906
+  (0.1ms) ROLLBACK
13907
+  (0.1ms) BEGIN
13908
+ -----------------------------------------------------
13909
+ EmployeesControllerTest: test_should_destroy_employee
13910
+ -----------------------------------------------------
13911
+  (0.1ms) SAVEPOINT active_record_1
13912
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:12:13.426958"], ["updated_at", "2021-06-16 08:12:13.426958"]]
13913
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13914
+  (0.1ms) SAVEPOINT active_record_1
13915
+ Employee Create (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:12:13.427983"], ["updated_at", "2021-06-16 08:12:13.427983"]]
13916
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13917
+  (0.2ms) SELECT COUNT(*) FROM "employees"
13918
+ Processing by EmployeesController#destroy as HTML
13919
+ Parameters: {"id"=>"145"}
13920
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 145], ["LIMIT", 1]]
13921
+  (0.1ms) SAVEPOINT active_record_1
13922
+ Employee Destroy (0.2ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 145]]
13923
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13924
+ Redirected to http://test.host/employees
13925
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms | Allocations: 427)
13926
+  (0.1ms) SELECT COUNT(*) FROM "employees"
13927
+  (0.1ms) ROLLBACK
13928
+  (0.1ms) BEGIN
13929
+ --------------------------------------------------
13930
+ EmployeesControllerTest: test_should_show_employee
13931
+ --------------------------------------------------
13932
+  (0.1ms) SAVEPOINT active_record_1
13933
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:12:13.433190"], ["updated_at", "2021-06-16 08:12:13.433190"]]
13934
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13935
+  (0.1ms) SAVEPOINT active_record_1
13936
+ Employee Create (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:12:13.434143"], ["updated_at", "2021-06-16 08:12:13.434143"]]
13937
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13938
+ Processing by EmployeesController#show as HTML
13939
+ Parameters: {"id"=>"147"}
13940
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 147], ["LIMIT", 1]]
13941
+ Rendering employees/show.html.erb within layouts/application
13942
+ Rendered employees/show.html.erb within layouts/application (Duration: 1.0ms | Allocations: 428)
13943
+ Completed 200 OK in 50ms (Views: 47.6ms | ActiveRecord: 0.2ms | Allocations: 17947)
13944
+  (0.2ms) ROLLBACK
13945
+  (0.1ms) BEGIN
13946
+ ----------------------------------------------
13947
+ EmployeesControllerTest: test_should_get_index
13948
+ ----------------------------------------------
13949
+  (0.2ms) SAVEPOINT active_record_1
13950
+ Employee Create (0.5ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:12:13.487496"], ["updated_at", "2021-06-16 08:12:13.487496"]]
13951
+  (0.2ms) RELEASE SAVEPOINT active_record_1
13952
+  (0.1ms) SAVEPOINT active_record_1
13953
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:12:13.489957"], ["updated_at", "2021-06-16 08:12:13.489957"]]
13954
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13955
+ Processing by EmployeesController#index as HTML
13956
+ Rendering employees/index.html.erb within layouts/application
13957
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees"
13958
+ Rendered employees/index.html.erb within layouts/application (Duration: 2.3ms | Allocations: 739)
13959
+ Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms | Allocations: 2118)
13960
+  (1.8ms) ROLLBACK
13961
+  (0.8ms) BEGIN
13962
+ --------------------------------------------
13963
+ EmployeesControllerTest: test_should_get_new
13964
+ --------------------------------------------
13965
+  (0.3ms) SAVEPOINT active_record_1
13966
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:12:13.503932"], ["updated_at", "2021-06-16 08:12:13.503932"]]
13967
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13968
+  (0.1ms) SAVEPOINT active_record_1
13969
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:12:13.506021"], ["updated_at", "2021-06-16 08:12:13.506021"]]
13970
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13971
+ Processing by EmployeesController#new as HTML
13972
+ Rendering employees/new.html.erb within layouts/application
13973
+ Rendered employees/_form.html.erb (Duration: 3.9ms | Allocations: 2144)
13974
+ Rendered employees/new.html.erb within layouts/application (Duration: 4.6ms | Allocations: 2463)
13975
+ Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms | Allocations: 3869)
13976
+  (0.2ms) ROLLBACK
13977
+  (0.1ms) BEGIN
13978
+ ---------------------------------------------
13979
+ EmployeesControllerTest: test_should_get_edit
13980
+ ---------------------------------------------
13981
+  (0.1ms) SAVEPOINT active_record_1
13982
+ Employee Create (6.0ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:12:13.517193"], ["updated_at", "2021-06-16 08:12:13.517193"]]
13983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13984
+  (0.1ms) SAVEPOINT active_record_1
13985
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:12:13.525300"], ["updated_at", "2021-06-16 08:12:13.525300"]]
13986
+  (0.2ms) RELEASE SAVEPOINT active_record_1
13987
+ Processing by EmployeesController#edit as HTML
13988
+ Parameters: {"id"=>"153"}
13989
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 153], ["LIMIT", 1]]
13990
+ Rendering employees/edit.html.erb within layouts/application
13991
+ Rendered employees/_form.html.erb (Duration: 11.6ms | Allocations: 1320)
13992
+ Rendered employees/edit.html.erb within layouts/application (Duration: 14.5ms | Allocations: 1545)
13993
+ Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.3ms | Allocations: 3061)
13994
+  (1.0ms) ROLLBACK
13995
+  (0.1ms) BEGIN
13996
+ --------------------------------------------------------------
13997
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
13998
+ --------------------------------------------------------------
13999
+  (0.2ms) SAVEPOINT active_record_1
14000
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:12:13.550768"], ["updated_at", "2021-06-16 08:12:13.550768"]]
14001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14002
+  (0.1ms) SAVEPOINT active_record_1
14003
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:12:13.552645"], ["updated_at", "2021-06-16 08:12:13.552645"]]
14004
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14005
+ Processing by EmployeesController#edit as HTML
14006
+ Parameters: {"id"=>"155"}
14007
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 155], ["LIMIT", 1]]
14008
+ Rendering employees/edit.html.erb within layouts/application
14009
+ Rendered employees/_form.html.erb (Duration: 2.1ms | Allocations: 1290)
14010
+ Rendered employees/edit.html.erb within layouts/application (Duration: 2.5ms | Allocations: 1390)
14011
+ Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms | Allocations: 2764)
14012
+  (0.5ms) ROLLBACK
14013
+  (0.1ms) BEGIN
14014
+ ----------------------------------------------------
14015
+ EmployeesControllerTest: test_should_create_employee
14016
+ ----------------------------------------------------
14017
+  (0.1ms) SAVEPOINT active_record_1
14018
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:12:13.565556"], ["updated_at", "2021-06-16 08:12:13.565556"]]
14019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14020
+  (0.1ms) SAVEPOINT active_record_1
14021
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:12:13.567203"], ["updated_at", "2021-06-16 08:12:13.567203"]]
14022
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14023
+  (0.2ms) SELECT COUNT(*) FROM "employees"
14024
+ Processing by EmployeesController#create as HTML
14025
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
14026
+  (0.1ms) SAVEPOINT active_record_1
14027
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", "1965-12-31"], ["joined", "2015-03-04"], ["created_at", "2021-06-16 08:12:13.571674"], ["updated_at", "2021-06-16 08:12:13.571674"]]
14028
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14029
+ Redirected to http://test.host/employees/159
14030
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms | Allocations: 862)
14031
+  (0.2ms) SELECT COUNT(*) FROM "employees"
14032
+  (0.2ms) SELECT COUNT(*) FROM "employees"
14033
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
14034
+  (0.1ms) ROLLBACK
14035
+  (0.1ms) BEGIN
14036
+ ------------------------------------------------------------------
14037
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
14038
+ ------------------------------------------------------------------
14039
+  (0.2ms) ROLLBACK
14040
+  (0.1ms) BEGIN
14041
+ ----------------------------------------------------------------------
14042
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
14043
+ ----------------------------------------------------------------------
14044
+  (0.1ms) ROLLBACK
14045
+  (0.1ms) BEGIN
14046
+ -------------------------------------------------------------------------------------------------------
14047
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
14048
+ -------------------------------------------------------------------------------------------------------
14049
+  (0.1ms) ROLLBACK
14050
+  (0.1ms) BEGIN
14051
+ -------------------------------------
14052
+ GovUkDateFieldsTest: test_squash_html
14053
+ -------------------------------------
14054
+  (0.1ms) ROLLBACK
14055
+  (0.1ms) BEGIN
14056
+ -------------------------------------------------------------------------------
14057
+ GovUkDateFieldsTest: test_fieldset_with_error_class_and_supplied_error_messages
14058
+ -------------------------------------------------------------------------------
14059
+  (0.1ms) ROLLBACK
14060
+  (0.1ms) BEGIN
14061
+ ------------------------------------------------------------------------------------------------------
14062
+ GovUkDateFieldsTest: test_fieldset_without_explicit_`id`_passed_in_the_options_(will_be_autogenerated)
14063
+ ------------------------------------------------------------------------------------------------------
14064
+  (0.1ms) ROLLBACK
14065
+  (0.1ms) BEGIN
14066
+ ------------------------------------------
14067
+ GovUkDateFieldsTest: test_fieldset_with_id
14068
+ ------------------------------------------
14069
+  (0.1ms) ROLLBACK
14070
+  (0.1ms) BEGIN
14071
+ -------------------------------------------------------------
14072
+ GovUkDateFieldsTest: test_placeholder_output_without_fieldset
14073
+ -------------------------------------------------------------
14074
+  (0.1ms) ROLLBACK
14075
+  (0.1ms) BEGIN
14076
+ ---------------------------------------------------------------
14077
+ GovUkDateFieldsTest: test_fieldset_with_error_class_and_message
14078
+ ---------------------------------------------------------------
14079
+  (0.2ms) ROLLBACK
14080
+  (0.1ms) BEGIN
14081
+ ---------------------------------------------------------------
14082
+ GovUkDateFieldsTest: test_error_raised_if_invalid_options_given
14083
+ ---------------------------------------------------------------
14084
+  (0.1ms) ROLLBACK
14085
+  (0.1ms) BEGIN
14086
+ --------------------------------------------------------
14087
+ GovUkDateFieldsTest: test_fieldset_output_with_form_hint
14088
+ --------------------------------------------------------
14089
+  (0.1ms) ROLLBACK
14090
+  (0.1ms) BEGIN
14091
+ ---------------------------------------------------------------------------------------
14092
+ GovUkDateFieldsTest: test_fieldset_output_with_today_button_with_no_css_class_specified
14093
+ ---------------------------------------------------------------------------------------
14094
+  (0.1ms) ROLLBACK
14095
+  (0.1ms) BEGIN
14096
+ -------------------------------------------------------
14097
+ GovUkDateFieldsTest: test_basic_output_without_fieldset
14098
+ -------------------------------------------------------
14099
+  (0.1ms) ROLLBACK
14100
+  (0.1ms) BEGIN
14101
+ ----------------------------------------------------------------------------------
14102
+ GovUkDateFieldsTest: test_fieldset_output_with_today_button_with_css_class_applied
14103
+ ----------------------------------------------------------------------------------
14104
+  (0.1ms) ROLLBACK
14105
+  (0.1ms) BEGIN
14106
+ ----------------------------------------------------------------------------------------
14107
+ GovUkDateFieldsTest: test_fieldset_with_error_class_and_message,_with_autogenerated_`id`
14108
+ ----------------------------------------------------------------------------------------
14109
+  (0.1ms) ROLLBACK
14110
+  (0.1ms) BEGIN
14111
+ -----------------------------------------------------------
14112
+ GovUkDateFieldsTest: test_fieldset_output_with_legend_class
14113
+ -----------------------------------------------------------
14114
+  (0.1ms) ROLLBACK
14115
+  (0.1ms) BEGIN
14116
+ -----------------------------------------------------------------------------------------------
14117
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
14118
+ -----------------------------------------------------------------------------------------------
14119
+  (0.1ms) ROLLBACK
14120
+  (0.1ms) BEGIN
14121
+ -----------------------------------------------------------------------
14122
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
14123
+ -----------------------------------------------------------------------
14124
+  (0.1ms) ROLLBACK
14125
+  (0.1ms) BEGIN
14126
+ ------------------------------------------------------------------------------------------------
14127
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
14128
+ ------------------------------------------------------------------------------------------------
14129
+  (0.2ms) SAVEPOINT active_record_1
14130
+ Director Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 08:12:13.622504"], ["updated_at", "2021-06-16 08:12:13.622504"]]
14131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14132
+  (0.1ms) ROLLBACK
14133
+  (0.1ms) BEGIN
14134
+ -----------------------------------------------------------------
14135
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
14136
+ -----------------------------------------------------------------
14137
+  (0.1ms) ROLLBACK
14138
+  (0.1ms) BEGIN
14139
+ --------------------------------------------------------------------------
14140
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
14141
+ --------------------------------------------------------------------------
14142
+  (0.1ms) ROLLBACK
14143
+  (0.1ms) BEGIN
14144
+ -----------------------------------------------------------------------
14145
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
14146
+ -----------------------------------------------------------------------
14147
+  (0.1ms) ROLLBACK
14148
+  (0.1ms) BEGIN
14149
+ ---------------------------------------------------------------------
14150
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
14151
+ ---------------------------------------------------------------------
14152
+  (0.1ms) ROLLBACK
14153
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
14154
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
14155
+  (0.2ms) BEGIN
14156
+ -----------------------------------------------------------------
14157
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
14158
+ -----------------------------------------------------------------
14159
+  (0.1ms) ROLLBACK
14160
+  (0.1ms) BEGIN
14161
+ --------------------------------------------------------------------------
14162
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
14163
+ --------------------------------------------------------------------------
14164
+  (0.1ms) ROLLBACK
14165
+  (0.1ms) BEGIN
14166
+ -----------------------------------------------------------------------------------------------
14167
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
14168
+ -----------------------------------------------------------------------------------------------
14169
+  (0.1ms) ROLLBACK
14170
+  (0.1ms) BEGIN
14171
+ -----------------------------------------------------------------------
14172
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
14173
+ -----------------------------------------------------------------------
14174
+  (0.1ms) ROLLBACK
14175
+  (0.1ms) BEGIN
14176
+ ---------------------------------------------------------------------
14177
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
14178
+ ---------------------------------------------------------------------
14179
+  (0.1ms) ROLLBACK
14180
+  (0.1ms) BEGIN
14181
+ ------------------------------------------------------------------------------------------------
14182
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
14183
+ ------------------------------------------------------------------------------------------------
14184
+  (0.1ms) SAVEPOINT active_record_1
14185
+ Director Create (0.4ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 08:15:47.536542"], ["updated_at", "2021-06-16 08:15:47.536542"]]
14186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14187
+  (0.1ms) ROLLBACK
14188
+  (0.1ms) BEGIN
14189
+ -----------------------------------------------------------------------
14190
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
14191
+ -----------------------------------------------------------------------
14192
+  (0.1ms) ROLLBACK
14193
+  (0.1ms) BEGIN
14194
+ -------------------------------------------------------------------------------------------------------
14195
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
14196
+ -------------------------------------------------------------------------------------------------------
14197
+  (0.1ms) ROLLBACK
14198
+  (0.1ms) BEGIN
14199
+ ------------------------------------------------------------------
14200
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
14201
+ ------------------------------------------------------------------
14202
+  (0.1ms) ROLLBACK
14203
+  (0.1ms) BEGIN
14204
+ ----------------------------------------------------------------------
14205
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
14206
+ ----------------------------------------------------------------------
14207
+  (0.1ms) ROLLBACK
14208
+  (0.1ms) BEGIN
14209
+ -------------------------------------------------------------------------
14210
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
14211
+ -------------------------------------------------------------------------
14212
+  (0.1ms) ROLLBACK
14213
+  (0.1ms) BEGIN
14214
+ --------------------------------------------------------------------------------------------------
14215
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
14216
+ --------------------------------------------------------------------------------------------------
14217
+  (0.1ms) ROLLBACK
14218
+  (0.1ms) BEGIN
14219
+ ---------------------------------------------------------------------
14220
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
14221
+ ---------------------------------------------------------------------
14222
+  (0.1ms) ROLLBACK
14223
+  (0.1ms) BEGIN
14224
+ --------------------------------------------------------------------------------
14225
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
14226
+ --------------------------------------------------------------------------------
14227
+  (0.1ms) ROLLBACK
14228
+  (0.1ms) BEGIN
14229
+ --------------------------------------------------------------------------
14230
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
14231
+ --------------------------------------------------------------------------
14232
+  (0.1ms) ROLLBACK
14233
+  (0.1ms) BEGIN
14234
+ ----------------------------------------------------------------------
14235
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
14236
+ ----------------------------------------------------------------------
14237
+  (0.1ms) ROLLBACK
14238
+  (0.1ms) BEGIN
14239
+ ---------------------------------------------------------------------
14240
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
14241
+ ---------------------------------------------------------------------
14242
+  (0.2ms) SAVEPOINT active_record_1
14243
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 08:15:47.580557"], ["updated_at", "2021-06-16 08:15:47.580557"]]
14244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14245
+  (0.1ms) SAVEPOINT active_record_1
14246
+ Employee Update (0.6ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", "1965-05-17"], ["updated_at", "2021-06-16 08:15:47.582564"], ["id", 162]]
14247
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14248
+  (0.1ms) ROLLBACK
14249
+  (0.1ms) BEGIN
14250
+ -----------------------------------------------------------------
14251
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
14252
+ -----------------------------------------------------------------
14253
+  (0.1ms) ROLLBACK
14254
+  (0.1ms) BEGIN
14255
+ --------------------------------------------------------------------------
14256
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
14257
+ --------------------------------------------------------------------------
14258
+  (0.1ms) ROLLBACK
14259
+  (0.1ms) BEGIN
14260
+ -----------------------------------------------------------
14261
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
14262
+ -----------------------------------------------------------
14263
+  (0.1ms) ROLLBACK
14264
+  (0.1ms) BEGIN
14265
+ ------------------------------------------------------------------------
14266
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
14267
+ ------------------------------------------------------------------------
14268
+  (0.1ms) ROLLBACK
14269
+  (0.1ms) BEGIN
14270
+ -----------------------------------------------------------------------
14271
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
14272
+ -----------------------------------------------------------------------
14273
+  (0.1ms) ROLLBACK
14274
+  (0.1ms) BEGIN
14275
+ ---------------------------------------------------------------------------------------------------------
14276
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
14277
+ ---------------------------------------------------------------------------------------------------------
14278
+  (0.1ms) ROLLBACK
14279
+  (0.1ms) BEGIN
14280
+ ----------------------------------------------------------------------------------------------------------------
14281
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
14282
+ ----------------------------------------------------------------------------------------------------------------
14283
+  (0.1ms) ROLLBACK
14284
+  (0.1ms) BEGIN
14285
+ ------------------------------------------------------------------------------------------
14286
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
14287
+ ------------------------------------------------------------------------------------------
14288
+  (0.1ms) ROLLBACK
14289
+  (0.1ms) BEGIN
14290
+ -------------------------------------------
14291
+ EmployeeTest: test_invalid_day_raises_error
14292
+ -------------------------------------------
14293
+  (0.1ms) ROLLBACK
14294
+  (0.1ms) BEGIN
14295
+ -------------------------------------------------------------------------
14296
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
14297
+ -------------------------------------------------------------------------
14298
+  (0.1ms) SAVEPOINT active_record_1
14299
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 08:15:47.592568"], ["updated_at", "2021-06-16 08:15:47.592568"]]
14300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14301
+  (0.1ms) ROLLBACK
14302
+  (0.1ms) BEGIN
14303
+ -------------------------------------------------------------------------------------------------------------------
14304
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
14305
+ -------------------------------------------------------------------------------------------------------------------
14306
+  (0.1ms) ROLLBACK
14307
+  (0.1ms) BEGIN
14308
+ ----------------------------------------------
14309
+ EmployeeTest: test_valid_dates_raise_no_errors
14310
+ ----------------------------------------------
14311
+  (0.1ms) ROLLBACK
14312
+  (0.1ms) BEGIN
14313
+ ----------------------------------------------------------------------------------------------
14314
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
14315
+ ----------------------------------------------------------------------------------------------
14316
+  (0.1ms) ROLLBACK
14317
+  (0.1ms) BEGIN
14318
+ -----------------------------------------------------------
14319
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
14320
+ -----------------------------------------------------------
14321
+  (0.1ms) ROLLBACK
14322
+  (0.1ms) BEGIN
14323
+ --------------------------------------------
14324
+ EmployeeTest: test_nil_dates_raise_no_errors
14325
+ --------------------------------------------
14326
+  (0.1ms) ROLLBACK
14327
+  (0.1ms) BEGIN
14328
+ ---------------------------------------------------------------------
14329
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
14330
+ ---------------------------------------------------------------------
14331
+  (0.1ms) ROLLBACK
14332
+  (0.1ms) BEGIN
14333
+ -----------------------------------------------------------------------------------
14334
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
14335
+ -----------------------------------------------------------------------------------
14336
+  (0.1ms) ROLLBACK
14337
+  (0.1ms) BEGIN
14338
+ ----------------------------------------------
14339
+ ReplicantTest: test_joined_date_is_same_as_dob
14340
+ ----------------------------------------------
14341
+  (0.1ms) ROLLBACK
14342
+  (0.1ms) BEGIN
14343
+ ----------------------------------------------------
14344
+ EmployeesControllerTest: test_should_update_employee
14345
+ ----------------------------------------------------
14346
+  (0.2ms) SAVEPOINT active_record_1
14347
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:15:47.657141"], ["updated_at", "2021-06-16 08:15:47.657141"]]
14348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14349
+  (0.1ms) SAVEPOINT active_record_1
14350
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:15:47.658569"], ["updated_at", "2021-06-16 08:15:47.658569"]]
14351
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14352
+ Processing by EmployeesController#update as HTML
14353
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"164"}
14354
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 164], ["LIMIT", 1]]
14355
+  (0.1ms) SAVEPOINT active_record_1
14356
+ Employee Update (0.3ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", "1981-11-01"], ["joined", "2015-10-03"], ["name", "Ioannis Kole"], ["updated_at", "2021-06-16 08:15:47.669378"], ["id", 164]]
14357
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14358
+ Redirected to http://test.host/employees/164
14359
+ Completed 302 Found in 6ms (ActiveRecord: 0.9ms | Allocations: 2057)
14360
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 164], ["LIMIT", 1]]
14361
+  (0.1ms) ROLLBACK
14362
+  (0.1ms) BEGIN
14363
+ --------------------------------------------------
14364
+ EmployeesControllerTest: test_should_show_employee
14365
+ --------------------------------------------------
14366
+  (0.1ms) SAVEPOINT active_record_1
14367
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:15:47.674107"], ["updated_at", "2021-06-16 08:15:47.674107"]]
14368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14369
+  (0.1ms) SAVEPOINT active_record_1
14370
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:15:47.675389"], ["updated_at", "2021-06-16 08:15:47.675389"]]
14371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14372
+ Processing by EmployeesController#show as HTML
14373
+ Parameters: {"id"=>"166"}
14374
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 166], ["LIMIT", 1]]
14375
+ Rendering employees/show.html.erb within layouts/application
14376
+ Rendered employees/show.html.erb within layouts/application (Duration: 1.2ms | Allocations: 428)
14377
+ Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 0.2ms | Allocations: 6553)
14378
+  (0.2ms) ROLLBACK
14379
+  (0.1ms) BEGIN
14380
+ ----------------------------------------------------
14381
+ EmployeesControllerTest: test_should_create_employee
14382
+ ----------------------------------------------------
14383
+  (0.1ms) SAVEPOINT active_record_1
14384
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:15:47.692967"], ["updated_at", "2021-06-16 08:15:47.692967"]]
14385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14386
+  (0.1ms) SAVEPOINT active_record_1
14387
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:15:47.694181"], ["updated_at", "2021-06-16 08:15:47.694181"]]
14388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14389
+  (0.3ms) SELECT COUNT(*) FROM "employees"
14390
+ Processing by EmployeesController#create as HTML
14391
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
14392
+  (0.1ms) SAVEPOINT active_record_1
14393
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", "1965-12-31"], ["joined", "2015-03-04"], ["created_at", "2021-06-16 08:15:47.697234"], ["updated_at", "2021-06-16 08:15:47.697234"]]
14394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14395
+ Redirected to http://test.host/employees/170
14396
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms | Allocations: 862)
14397
+  (0.2ms) SELECT COUNT(*) FROM "employees"
14398
+  (0.1ms) SELECT COUNT(*) FROM "employees"
14399
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
14400
+  (0.1ms) ROLLBACK
14401
+  (0.1ms) BEGIN
14402
+ ---------------------------------------------
14403
+ EmployeesControllerTest: test_should_get_edit
14404
+ ---------------------------------------------
14405
+  (0.1ms) SAVEPOINT active_record_1
14406
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:15:47.701687"], ["updated_at", "2021-06-16 08:15:47.701687"]]
14407
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14408
+  (0.1ms) SAVEPOINT active_record_1
14409
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:15:47.702717"], ["updated_at", "2021-06-16 08:15:47.702717"]]
14410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14411
+ Processing by EmployeesController#edit as HTML
14412
+ Parameters: {"id"=>"171"}
14413
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 171], ["LIMIT", 1]]
14414
+ Rendering employees/edit.html.erb within layouts/application
14415
+ Rendered employees/_form.html.erb (Duration: 4.1ms | Allocations: 2190)
14416
+ Rendered employees/edit.html.erb within layouts/application (Duration: 5.0ms | Allocations: 2557)
14417
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.2ms | Allocations: 4066)
14418
+  (0.2ms) ROLLBACK
14419
+  (0.1ms) BEGIN
14420
+ --------------------------------------------
14421
+ EmployeesControllerTest: test_should_get_new
14422
+ --------------------------------------------
14423
+  (0.2ms) SAVEPOINT active_record_1
14424
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:15:47.713568"], ["updated_at", "2021-06-16 08:15:47.713568"]]
14425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14426
+  (0.1ms) SAVEPOINT active_record_1
14427
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:15:47.715646"], ["updated_at", "2021-06-16 08:15:47.715646"]]
14428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14429
+ Processing by EmployeesController#new as HTML
14430
+ Rendering employees/new.html.erb within layouts/application
14431
+ Rendered employees/_form.html.erb (Duration: 1.7ms | Allocations: 1274)
14432
+ Rendered employees/new.html.erb within layouts/application (Duration: 2.2ms | Allocations: 1452)
14433
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms | Allocations: 2858)
14434
+  (0.1ms) ROLLBACK
14435
+  (0.1ms) BEGIN
14436
+ --------------------------------------------------------------
14437
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
14438
+ --------------------------------------------------------------
14439
+  (0.1ms) SAVEPOINT active_record_1
14440
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:15:47.725590"], ["updated_at", "2021-06-16 08:15:47.725590"]]
14441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14442
+  (0.1ms) SAVEPOINT active_record_1
14443
+ Employee Create (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:15:47.726995"], ["updated_at", "2021-06-16 08:15:47.726995"]]
14444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14445
+ Processing by EmployeesController#edit as HTML
14446
+ Parameters: {"id"=>"175"}
14447
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 175], ["LIMIT", 1]]
14448
+ Rendering employees/edit.html.erb within layouts/application
14449
+ Rendered employees/_form.html.erb (Duration: 1.5ms | Allocations: 1291)
14450
+ Rendered employees/edit.html.erb within layouts/application (Duration: 1.7ms | Allocations: 1392)
14451
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms | Allocations: 2766)
14452
+  (0.1ms) ROLLBACK
14453
+  (0.1ms) BEGIN
14454
+ ----------------------------------------------
14455
+ EmployeesControllerTest: test_should_get_index
14456
+ ----------------------------------------------
14457
+  (0.1ms) SAVEPOINT active_record_1
14458
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:15:47.734830"], ["updated_at", "2021-06-16 08:15:47.734830"]]
14459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14460
+  (0.1ms) SAVEPOINT active_record_1
14461
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:15:47.736099"], ["updated_at", "2021-06-16 08:15:47.736099"]]
14462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14463
+ Processing by EmployeesController#index as HTML
14464
+ Rendering employees/index.html.erb within layouts/application
14465
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees"
14466
+ Rendered employees/index.html.erb within layouts/application (Duration: 1.4ms | Allocations: 734)
14467
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms | Allocations: 2112)
14468
+  (0.1ms) ROLLBACK
14469
+  (0.1ms) BEGIN
14470
+ -----------------------------------------------------
14471
+ EmployeesControllerTest: test_should_destroy_employee
14472
+ -----------------------------------------------------
14473
+  (0.1ms) SAVEPOINT active_record_1
14474
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:15:47.741777"], ["updated_at", "2021-06-16 08:15:47.741777"]]
14475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14476
+  (0.1ms) SAVEPOINT active_record_1
14477
+ Employee Create (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:15:47.742780"], ["updated_at", "2021-06-16 08:15:47.742780"]]
14478
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14479
+  (0.2ms) SELECT COUNT(*) FROM "employees"
14480
+ Processing by EmployeesController#destroy as HTML
14481
+ Parameters: {"id"=>"179"}
14482
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 179], ["LIMIT", 1]]
14483
+  (0.1ms) SAVEPOINT active_record_1
14484
+ Employee Destroy (0.2ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 179]]
14485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14486
+ Redirected to http://test.host/employees
14487
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms | Allocations: 427)
14488
+  (0.2ms) SELECT COUNT(*) FROM "employees"
14489
+  (0.2ms) ROLLBACK
14490
+  (0.1ms) BEGIN
14491
+ ------------------------------------------------------------------------------------------
14492
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
14493
+ ------------------------------------------------------------------------------------------
14494
+  (0.1ms) ROLLBACK
14495
+  (0.1ms) BEGIN
14496
+ -----------------------------------------------------------------------------------------------
14497
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
14498
+ -----------------------------------------------------------------------------------------------
14499
+  (0.1ms) ROLLBACK
14500
+  (0.1ms) BEGIN
14501
+ -----------------------------------------------------------------------------------------
14502
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
14503
+ -----------------------------------------------------------------------------------------
14504
+  (0.1ms) ROLLBACK
14505
+  (0.1ms) BEGIN
14506
+ ---------------------------------------------------------------------------------
14507
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
14508
+ ---------------------------------------------------------------------------------
14509
+  (0.1ms) ROLLBACK
14510
+  (0.1ms) BEGIN
14511
+ -------------------------------------------------------------------------------
14512
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
14513
+ -------------------------------------------------------------------------------
14514
+  (0.1ms) ROLLBACK
14515
+  (0.1ms) BEGIN
14516
+ ---------------------------------------------------------------------------------
14517
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
14518
+ ---------------------------------------------------------------------------------
14519
+  (0.1ms) ROLLBACK
14520
+  (0.1ms) BEGIN
14521
+ ----------------------------------------------------------------------------------------------------------------------------------
14522
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
14523
+ ----------------------------------------------------------------------------------------------------------------------------------
14524
+  (0.1ms) ROLLBACK
14525
+  (0.1ms) BEGIN
14526
+ ------------------------------------------
14527
+ GovUkDateFieldsTest: test_fieldset_with_id
14528
+ ------------------------------------------
14529
+  (0.1ms) ROLLBACK
14530
+  (0.1ms) BEGIN
14531
+ ---------------------------------------------------------------
14532
+ GovUkDateFieldsTest: test_error_raised_if_invalid_options_given
14533
+ ---------------------------------------------------------------
14534
+  (0.1ms) ROLLBACK
14535
+  (0.1ms) BEGIN
14536
+ ----------------------------------------------------------------------------------
14537
+ GovUkDateFieldsTest: test_fieldset_output_with_today_button_with_css_class_applied
14538
+ ----------------------------------------------------------------------------------
14539
+  (0.1ms) ROLLBACK
14540
+  (0.1ms) BEGIN
14541
+ ---------------------------------------------------------------------------------------
14542
+ GovUkDateFieldsTest: test_fieldset_output_with_today_button_with_no_css_class_specified
14543
+ ---------------------------------------------------------------------------------------
14544
+  (0.1ms) ROLLBACK
14545
+  (0.1ms) BEGIN
14546
+ ----------------------------------------------------------------------------------------
14547
+ GovUkDateFieldsTest: test_fieldset_with_error_class_and_message,_with_autogenerated_`id`
14548
+ ----------------------------------------------------------------------------------------
14549
+  (0.1ms) ROLLBACK
14550
+  (0.1ms) BEGIN
14551
+ -------------------------------------------------------------
14552
+ GovUkDateFieldsTest: test_placeholder_output_without_fieldset
14553
+ -------------------------------------------------------------
14554
+  (0.1ms) ROLLBACK
14555
+  (0.1ms) BEGIN
14556
+ -------------------------------------------------------
14557
+ GovUkDateFieldsTest: test_basic_output_without_fieldset
14558
+ -------------------------------------------------------
14559
+  (0.1ms) ROLLBACK
14560
+  (0.1ms) BEGIN
14561
+ ---------------------------------------------------------------
14562
+ GovUkDateFieldsTest: test_fieldset_with_error_class_and_message
14563
+ ---------------------------------------------------------------
14564
+  (0.1ms) ROLLBACK
14565
+  (0.1ms) BEGIN
14566
+ --------------------------------------------------------
14567
+ GovUkDateFieldsTest: test_fieldset_output_with_form_hint
14568
+ --------------------------------------------------------
14569
+  (0.1ms) ROLLBACK
14570
+  (0.1ms) BEGIN
14571
+ -----------------------------------------------------------
14572
+ GovUkDateFieldsTest: test_fieldset_output_with_legend_class
14573
+ -----------------------------------------------------------
14574
+  (0.1ms) ROLLBACK
14575
+  (0.1ms) BEGIN
14576
+ ------------------------------------------------------------------------------------------------------
14577
+ GovUkDateFieldsTest: test_fieldset_without_explicit_`id`_passed_in_the_options_(will_be_autogenerated)
14578
+ ------------------------------------------------------------------------------------------------------
14579
+  (0.1ms) ROLLBACK
14580
+  (0.1ms) BEGIN
14581
+ -------------------------------------------------------------------------------
14582
+ GovUkDateFieldsTest: test_fieldset_with_error_class_and_supplied_error_messages
14583
+ -------------------------------------------------------------------------------
14584
+  (0.1ms) ROLLBACK
14585
+  (0.1ms) BEGIN
14586
+ -------------------------------------
14587
+ GovUkDateFieldsTest: test_squash_html
14588
+ -------------------------------------
14589
+  (0.1ms) ROLLBACK
14590
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
14591
+  (0.2ms) BEGIN
14592
+ ----------------------------------------------
14593
+ ReplicantTest: test_joined_date_is_same_as_dob
14594
+ ----------------------------------------------
14595
+  (0.2ms) ROLLBACK
14596
+  (0.1ms) BEGIN
14597
+ --------------------------------------------------------------------------
14598
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
14599
+ --------------------------------------------------------------------------
14600
+  (0.2ms) ROLLBACK
14601
+  (0.1ms) BEGIN
14602
+ --------------------------------------------------------------------------------
14603
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
14604
+ --------------------------------------------------------------------------------
14605
+  (0.2ms) ROLLBACK
14606
+  (0.2ms) BEGIN
14607
+ ----------------------------------------------------------------------
14608
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
14609
+ ----------------------------------------------------------------------
14610
+  (0.2ms) ROLLBACK
14611
+  (0.1ms) BEGIN
14612
+ ---------------------------------------------------------------------
14613
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
14614
+ ---------------------------------------------------------------------
14615
+  (0.2ms) ROLLBACK
14616
+  (0.1ms) BEGIN
14617
+ -------------------------------------------------------------------------
14618
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
14619
+ -------------------------------------------------------------------------
14620
+  (0.1ms) ROLLBACK
14621
+  (0.1ms) BEGIN
14622
+ --------------------------------------------------------------------------------------------------
14623
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
14624
+ --------------------------------------------------------------------------------------------------
14625
+  (0.2ms) ROLLBACK
14626
+  (0.1ms) BEGIN
14627
+ ---------------------------------------------------------------------------------
14628
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
14629
+ ---------------------------------------------------------------------------------
14630
+  (0.2ms) ROLLBACK
14631
+  (0.2ms) BEGIN
14632
+ -----------------------------------------------------------------------------------------
14633
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
14634
+ -----------------------------------------------------------------------------------------
14635
+  (0.1ms) ROLLBACK
14636
+  (0.1ms) BEGIN
14637
+ ------------------------------------------------------------------------------------------
14638
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
14639
+ ------------------------------------------------------------------------------------------
14640
+  (0.1ms) ROLLBACK
14641
+  (0.1ms) BEGIN
14642
+ -------------------------------------------------------------------------------
14643
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
14644
+ -------------------------------------------------------------------------------
14645
+  (0.1ms) ROLLBACK
14646
+  (0.1ms) BEGIN
14647
+ -----------------------------------------------------------------------------------------------
14648
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
14649
+ -----------------------------------------------------------------------------------------------
14650
+  (0.1ms) ROLLBACK
14651
+  (0.1ms) BEGIN
14652
+ ---------------------------------------------------------------------------------
14653
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
14654
+ ---------------------------------------------------------------------------------
14655
+  (0.1ms) ROLLBACK
14656
+  (0.1ms) BEGIN
14657
+ ----------------------------------------------------------------------------------------------------------------------------------
14658
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
14659
+ ----------------------------------------------------------------------------------------------------------------------------------
14660
+  (0.1ms) ROLLBACK
14661
+  (0.1ms) BEGIN
14662
+ ------------------------------------------------
14663
+ GovUkDateFieldsTest: test_date_fields_no_heading
14664
+ ------------------------------------------------
14665
+  (0.2ms) ROLLBACK
14666
+  (0.1ms) BEGIN
14667
+ ----------------------------------------------
14668
+ GovUkDateFieldsTest: test_date_fields_no_error
14669
+ ----------------------------------------------
14670
+  (0.2ms) ROLLBACK
14671
+  (0.1ms) BEGIN
14672
+ -------------------------------------------
14673
+ GovUkDateFieldsTest: test_date_fields_error
14674
+ -------------------------------------------
14675
+  (0.1ms) ROLLBACK
14676
+  (0.1ms) BEGIN
14677
+ ----------------------------------------------------------------
14678
+ GovUkDateFieldsTest: test_date_fields_with_custom_i18n_attribute
14679
+ ----------------------------------------------------------------
14680
+  (0.2ms) ROLLBACK
14681
+  (0.1ms) BEGIN
14682
+ -----------------------------------------------------------------------
14683
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
14684
+ -----------------------------------------------------------------------
14685
+  (0.2ms) ROLLBACK
14686
+  (0.1ms) BEGIN
14687
+ -----------------------------------------------------------------------------------------------
14688
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
14689
+ -----------------------------------------------------------------------------------------------
14690
+  (0.1ms) ROLLBACK
14691
+  (0.1ms) BEGIN
14692
+ ------------------------------------------------------------------------------------------------
14693
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
14694
+ ------------------------------------------------------------------------------------------------
14695
+  (0.1ms) SAVEPOINT active_record_1
14696
+ Director Create (0.6ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 08:42:50.207115"], ["updated_at", "2021-06-16 08:42:50.207115"]]
14697
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14698
+  (0.1ms) SAVEPOINT active_record_1
14699
+  (0.2ms) RELEASE SAVEPOINT active_record_1
14700
+  (0.2ms) ROLLBACK
14701
+  (0.2ms) BEGIN
14702
+ -----------------------------------------------------------------
14703
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
14704
+ -----------------------------------------------------------------
14705
+  (0.2ms) ROLLBACK
14706
+  (0.1ms) BEGIN
14707
+ -----------------------------------------------------------------------
14708
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
14709
+ -----------------------------------------------------------------------
14710
+  (0.1ms) ROLLBACK
14711
+  (0.1ms) BEGIN
14712
+ --------------------------------------------------------------------------
14713
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
14714
+ --------------------------------------------------------------------------
14715
+  (0.1ms) ROLLBACK
14716
+  (0.2ms) BEGIN
14717
+ ---------------------------------------------------------------------
14718
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
14719
+ ---------------------------------------------------------------------
14720
+  (0.1ms) ROLLBACK
14721
+  (0.2ms) BEGIN
14722
+ -------------------------------------------
14723
+ EmployeeTest: test_invalid_day_raises_error
14724
+ -------------------------------------------
14725
+  (0.2ms) ROLLBACK
14726
+  (0.1ms) BEGIN
14727
+ ---------------------------------------------------------------------
14728
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
14729
+ ---------------------------------------------------------------------
14730
+  (0.2ms) ROLLBACK
14731
+  (0.1ms) BEGIN
14732
+ -------------------------------------------------------------------------------------------------------------------
14733
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
14734
+ -------------------------------------------------------------------------------------------------------------------
14735
+  (0.2ms) ROLLBACK
14736
+  (0.2ms) BEGIN
14737
+ ----------------------------------------------
14738
+ EmployeeTest: test_valid_dates_raise_no_errors
14739
+ ----------------------------------------------
14740
+  (0.2ms) ROLLBACK
14741
+  (0.1ms) BEGIN
14742
+ -----------------------------------------------------------------------------------
14743
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
14744
+ -----------------------------------------------------------------------------------
14745
+  (0.1ms) ROLLBACK
14746
+  (0.1ms) BEGIN
14747
+ --------------------------------------------
14748
+ EmployeeTest: test_nil_dates_raise_no_errors
14749
+ --------------------------------------------
14750
+  (0.1ms) ROLLBACK
14751
+  (0.1ms) BEGIN
14752
+ -----------------------------------------------------------
14753
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
14754
+ -----------------------------------------------------------
14755
+  (0.1ms) ROLLBACK
14756
+  (0.1ms) BEGIN
14757
+ ----------------------------------------------------------------------------------------------
14758
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
14759
+ ----------------------------------------------------------------------------------------------
14760
+  (0.1ms) ROLLBACK
14761
+  (0.1ms) BEGIN
14762
+ ------------------------------------------------------------------------
14763
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
14764
+ ------------------------------------------------------------------------
14765
+  (0.1ms) ROLLBACK
14766
+  (0.1ms) BEGIN
14767
+ ---------------------------------------------------------------------
14768
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
14769
+ ---------------------------------------------------------------------
14770
+  (0.1ms) SAVEPOINT active_record_1
14771
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 08:42:50.223872"], ["updated_at", "2021-06-16 08:42:50.223872"]]
14772
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14773
+  (0.1ms) SAVEPOINT active_record_1
14774
+ Employee Update (0.4ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", "1965-05-17"], ["updated_at", "2021-06-16 08:42:50.225224"], ["id", 182]]
14775
+  (0.2ms) RELEASE SAVEPOINT active_record_1
14776
+  (0.2ms) ROLLBACK
14777
+  (0.1ms) BEGIN
14778
+ -------------------------------------------------------------------------
14779
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
14780
+ -------------------------------------------------------------------------
14781
+  (0.1ms) SAVEPOINT active_record_1
14782
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2021-06-16 08:42:50.228902"], ["updated_at", "2021-06-16 08:42:50.228902"]]
14783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14784
+  (0.1ms) SAVEPOINT active_record_1
14785
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
14786
+  (0.1ms) ROLLBACK
14787
+  (0.1ms) BEGIN
14788
+ ---------------------------------------------------------------------------------------------------------
14789
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
14790
+ ---------------------------------------------------------------------------------------------------------
14791
+  (0.2ms) ROLLBACK
14792
+  (0.1ms) BEGIN
14793
+ ----------------------------------------------------------------------------------------------------------------
14794
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
14795
+ ----------------------------------------------------------------------------------------------------------------
14796
+  (0.1ms) ROLLBACK
14797
+  (0.1ms) BEGIN
14798
+ --------------------------------------------------------------------------
14799
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
14800
+ --------------------------------------------------------------------------
14801
+  (0.1ms) ROLLBACK
14802
+  (0.1ms) BEGIN
14803
+ -----------------------------------------------------------
14804
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
14805
+ -----------------------------------------------------------
14806
+  (0.2ms) ROLLBACK
14807
+  (0.1ms) BEGIN
14808
+ ------------------------------------------------------------------------------------------
14809
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
14810
+ ------------------------------------------------------------------------------------------
14811
+  (0.1ms) ROLLBACK
14812
+  (0.1ms) BEGIN
14813
+ -----------------------------------------------------------------
14814
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
14815
+ -----------------------------------------------------------------
14816
+  (0.1ms) ROLLBACK
14817
+  (0.1ms) BEGIN
14818
+ -----------------------------------------------------------------------
14819
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
14820
+ -----------------------------------------------------------------------
14821
+  (0.1ms) ROLLBACK
14822
+  (0.1ms) BEGIN
14823
+ ------------------------------------------------------------------
14824
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
14825
+ ------------------------------------------------------------------
14826
+  (0.2ms) ROLLBACK
14827
+  (0.2ms) BEGIN
14828
+ ----------------------------------------------------------------------
14829
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
14830
+ ----------------------------------------------------------------------
14831
+  (0.1ms) ROLLBACK
14832
+  (0.1ms) BEGIN
14833
+ -------------------------------------------------------------------------------------------------------
14834
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
14835
+ -------------------------------------------------------------------------------------------------------
14836
+  (0.2ms) ROLLBACK
14837
+  (0.1ms) BEGIN
14838
+ ----------------------------------------------
14839
+ EmployeesControllerTest: test_should_get_index
14840
+ ----------------------------------------------
14841
+  (0.2ms) SAVEPOINT active_record_1
14842
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:42:50.251838"], ["updated_at", "2021-06-16 08:42:50.251838"]]
14843
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14844
+  (0.2ms) SAVEPOINT active_record_1
14845
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:42:50.253273"], ["updated_at", "2021-06-16 08:42:50.253273"]]
14846
+  (0.2ms) RELEASE SAVEPOINT active_record_1
14847
+ Processing by EmployeesController#index as HTML
14848
+ Rendering employees/index.html.erb within layouts/application
14849
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees"
14850
+ Rendered employees/index.html.erb within layouts/application (2.7ms)
14851
+ Completed 200 OK in 49ms (Views: 48.3ms | ActiveRecord: 0.2ms)
14852
+  (0.3ms) ROLLBACK
14853
+  (0.1ms) BEGIN
14854
+ --------------------------------------------------
14855
+ EmployeesControllerTest: test_should_show_employee
14856
+ --------------------------------------------------
14857
+  (0.2ms) SAVEPOINT active_record_1
14858
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:42:50.307846"], ["updated_at", "2021-06-16 08:42:50.307846"]]
14859
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14860
+  (0.2ms) SAVEPOINT active_record_1
14861
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:42:50.309329"], ["updated_at", "2021-06-16 08:42:50.309329"]]
14862
+  (0.2ms) RELEASE SAVEPOINT active_record_1
14863
+ Processing by EmployeesController#show as HTML
14864
+ Parameters: {"id"=>"186"}
14865
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 186], ["LIMIT", 1]]
14866
+ Rendering employees/show.html.erb within layouts/application
14867
+ Rendered employees/show.html.erb within layouts/application (0.7ms)
14868
+ Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.4ms)
14869
+  (0.3ms) ROLLBACK
14870
+  (0.2ms) BEGIN
14871
+ ----------------------------------------------------
14872
+ EmployeesControllerTest: test_should_create_employee
14873
+ ----------------------------------------------------
14874
+  (0.2ms) SAVEPOINT active_record_1
14875
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:42:50.318820"], ["updated_at", "2021-06-16 08:42:50.318820"]]
14876
+  (0.2ms) RELEASE SAVEPOINT active_record_1
14877
+  (0.1ms) SAVEPOINT active_record_1
14878
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:42:50.320276"], ["updated_at", "2021-06-16 08:42:50.320276"]]
14879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14880
+  (0.3ms) SELECT COUNT(*) FROM "employees"
14881
+ Processing by EmployeesController#create as HTML
14882
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
14883
+  (0.1ms) SAVEPOINT active_record_1
14884
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", "1965-12-31"], ["joined", "2015-03-04"], ["created_at", "2021-06-16 08:42:50.328023"], ["updated_at", "2021-06-16 08:42:50.328023"]]
14885
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14886
+ Redirected to http://test.host/employees/190
14887
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
14888
+  (0.2ms) SELECT COUNT(*) FROM "employees"
14889
+  (0.2ms) SELECT COUNT(*) FROM "employees"
14890
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
14891
+  (0.2ms) ROLLBACK
14892
+  (0.1ms) BEGIN
14893
+ -----------------------------------------------------
14894
+ EmployeesControllerTest: test_should_destroy_employee
14895
+ -----------------------------------------------------
14896
+  (0.1ms) SAVEPOINT active_record_1
14897
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:42:50.332924"], ["updated_at", "2021-06-16 08:42:50.332924"]]
14898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14899
+  (0.1ms) SAVEPOINT active_record_1
14900
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:42:50.334049"], ["updated_at", "2021-06-16 08:42:50.334049"]]
14901
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14902
+  (0.2ms) SELECT COUNT(*) FROM "employees"
14903
+ Processing by EmployeesController#destroy as HTML
14904
+ Parameters: {"id"=>"191"}
14905
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 191], ["LIMIT", 1]]
14906
+  (0.1ms) SAVEPOINT active_record_1
14907
+ Employee Destroy (0.2ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 191]]
14908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14909
+ Redirected to http://test.host/employees
14910
+ Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
14911
+  (0.2ms) SELECT COUNT(*) FROM "employees"
14912
+  (0.1ms) ROLLBACK
14913
+  (0.2ms) BEGIN
14914
+ ----------------------------------------------------
14915
+ EmployeesControllerTest: test_should_update_employee
14916
+ ----------------------------------------------------
14917
+  (0.2ms) SAVEPOINT active_record_1
14918
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:42:50.340083"], ["updated_at", "2021-06-16 08:42:50.340083"]]
14919
+  (0.2ms) RELEASE SAVEPOINT active_record_1
14920
+  (0.1ms) SAVEPOINT active_record_1
14921
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:42:50.341819"], ["updated_at", "2021-06-16 08:42:50.341819"]]
14922
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14923
+ Processing by EmployeesController#update as HTML
14924
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"193"}
14925
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 193], ["LIMIT", 1]]
14926
+  (0.2ms) SAVEPOINT active_record_1
14927
+ Employee Update (0.6ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", "1981-11-01"], ["joined", "2015-10-03"], ["name", "Ioannis Kole"], ["updated_at", "2021-06-16 08:42:50.345557"], ["id", 193]]
14928
+  (0.2ms) RELEASE SAVEPOINT active_record_1
14929
+ Redirected to http://test.host/employees/193
14930
+ Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
14931
+ Employee Load (0.4ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 193], ["LIMIT", 1]]
14932
+  (0.2ms) ROLLBACK
14933
+  (0.1ms) BEGIN
14934
+ ---------------------------------------------
14935
+ EmployeesControllerTest: test_should_get_edit
14936
+ ---------------------------------------------
14937
+  (0.2ms) SAVEPOINT active_record_1
14938
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:42:50.351003"], ["updated_at", "2021-06-16 08:42:50.351003"]]
14939
+  (0.2ms) RELEASE SAVEPOINT active_record_1
14940
+  (0.2ms) SAVEPOINT active_record_1
14941
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:42:50.357325"], ["updated_at", "2021-06-16 08:42:50.357325"]]
14942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14943
+ Processing by EmployeesController#edit as HTML
14944
+ Parameters: {"id"=>"195"}
14945
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 195], ["LIMIT", 1]]
14946
+ Rendering employees/edit.html.erb within layouts/application
14947
+ Rendered employees/_form.html.erb (7.3ms)
14948
+ Rendered employees/edit.html.erb within layouts/application (8.3ms)
14949
+ Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.2ms)
14950
+  (0.2ms) ROLLBACK
14951
+  (0.1ms) BEGIN
14952
+ --------------------------------------------
14953
+ EmployeesControllerTest: test_should_get_new
14954
+ --------------------------------------------
14955
+  (0.1ms) SAVEPOINT active_record_1
14956
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:42:50.371683"], ["updated_at", "2021-06-16 08:42:50.371683"]]
14957
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14958
+  (0.2ms) SAVEPOINT active_record_1
14959
+ Employee Create (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:42:50.373090"], ["updated_at", "2021-06-16 08:42:50.373090"]]
14960
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14961
+ Processing by EmployeesController#new as HTML
14962
+ Rendering employees/new.html.erb within layouts/application
14963
+ Rendered employees/_form.html.erb (2.4ms)
14964
+ Rendered employees/new.html.erb within layouts/application (3.1ms)
14965
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
14966
+  (0.3ms) ROLLBACK
14967
+  (0.2ms) BEGIN
14968
+ --------------------------------------------------------------
14969
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
14970
+ --------------------------------------------------------------
14971
+  (0.2ms) SAVEPOINT active_record_1
14972
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2021-06-16 08:42:50.382433"], ["updated_at", "2021-06-16 08:42:50.382433"]]
14973
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14974
+  (0.1ms) SAVEPOINT active_record_1
14975
+ Employee Create (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2021-06-16 08:42:50.383842"], ["updated_at", "2021-06-16 08:42:50.383842"]]
14976
+  (0.2ms) RELEASE SAVEPOINT active_record_1
14977
+ Processing by EmployeesController#edit as HTML
14978
+ Parameters: {"id"=>"199"}
14979
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 199], ["LIMIT", 1]]
14980
+ Rendering employees/edit.html.erb within layouts/application
14981
+ Rendered employees/_form.html.erb (2.1ms)
14982
+ Rendered employees/edit.html.erb within layouts/application (2.3ms)
14983
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.3ms)
14984
+  (0.2ms) ROLLBACK