gov_uk_date_fields 3.2.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/gov_uk_date_fields/acts_as_gov_uk_date.rb +3 -3
- data/lib/gov_uk_date_fields/form_fields.rb +116 -175
- data/lib/gov_uk_date_fields/version.rb +1 -2
- data/test/dummy/app/models/override_error_clash_employee.rb +1 -1
- data/test/dummy/app/views/employees/_form.html.erb +1 -1
- data/test/dummy/config/locales/en.yml +18 -1
- data/test/dummy/log/development.log +16 -75
- data/test/dummy/log/test.log +9698 -9985
- data/test/dummy/test/controllers/employees_controller_test.rb +2 -7
- data/test/dummy/test/fixtures/files/date_fields_error.html +37 -0
- data/test/dummy/test/fixtures/files/date_fields_no_error.html +36 -0
- data/test/dummy/test/fixtures/files/date_fields_no_heading.html +34 -0
- data/test/dummy/test/models/default_error_clash_employee_test.rb +2 -2
- data/test/dummy/test/models/director_test.rb +1 -1
- data/test/dummy/test/models/employee_test.rb +2 -2
- data/test/dummy/test/models/form_date_test.rb +1 -1
- data/test/dummy/test/models/form_fields_test.rb +16 -311
- data/test/dummy/test/models/omit_error_clash_employee_test.rb +2 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/0Y/0YE2mdL29epdwLbTYeYKNxQcs-QnX0Sm1c1d7S336dY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{yT/yT_nRLqIDQ28z08hN_-NTT9eiloDu_eUYRjpyCiXoc0.cache → 10/108c5KoSTkUfLo934Fi9JkHzMOx_lJkVMPG1ct1Hj1Y.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1D/1DSJep8RvpL0bKekcrPoTlfiAWzMx253hI6CPzgd_Yo.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Jv/JvuVcEPJ2dfgqEpjVq5ORGNHaZZTAj79xvYOvLRmlaE.cache → 8M/8MByLANOkxnxtwqWuaeLzh_J4rurtoIBeW03ek6Y08w.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/AX/AX3L2fGpRF9VevxsOcMT3K8MFiRGjRX81JBxvrH7IIc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{nF/nFU_cKPtM_LAeD5k50FwO2haSeFfU28zLVq9ACyLoc4.cache → AY/AY9AvC57Rkn-jl_1CbQHaLLJu187OaKJ_Xa1boNAQ9Q.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Dw → DW}/DWiSprTdmJSiF4eYqRLDfLfWLyF-m0Mk3TOoLQXKKW0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/En/EnEfvwgFKP1AahR6eTP-u0TeHcVpHV2cuOYmDrfoDec.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{zF/zFkhrrravmeW44GBd3ZlMtqo96To6Zso0hWQ_7NIgU4.cache → GW/GWPTgNDuFCS8p0ARIL21FLMCy42vfx4PSInNAm8hmyw.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/I4/I4zyVgaaEAo-RxZorzwj10dfMJ9z4yjkfkCrJJMiEYs.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{zZ/zZtt48vCgYQCNsRIgT0I7gm6ibVcw21dTHF-Smx_zyo.cache → Jz/Jzjppg8cll3TxA_gcD3cXEbcs2K5YsKR0bxKd9vOVuM.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{bE/bEgoYkpGjiyAWAaXBvA_-Aya6FVRKq3XugvZkD08uXQ.cache → Ke/KeDHuzXMfGj06rzGw-wM0tr5j4viSTDtJ3tRD3-9jRI.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{S3/S3JvZKFiEugwAnmXkwwIHiCCZRjyZ6IaYNLYrxKc8Bs.cache → M2/M2O1kCLdiZHeElbkOPVkvow3BKa026ayrJI6fMMFyRY.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Dw/Dw55FjtHl3tZdotlQ-Qc_p6g_xU8_jN0RvAo4x6Iodw.cache → N2/N2SgsVGMNSkhPUm1NueQzvaGoGg97WYxU0bJ6jAsE1E.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/OA/OAq0JC69RB8688u80nj0uZUjqoy07Gdk-Ix9DVkq-P8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/QA/QA32z-4v8KU7eagra1ogcpOZOh5qLTIKxsr-0mmUYOk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{nP/nPNMfuYlHJYq2PChYn-dJcrv2a_jlRXt70OIDOC2f3A.cache → WG/WGiwsdOFJDQRfkEQ_J28GODJYTENHaNDez1hrVfCI-M.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{0o/0oInIs02FOPPbxkc52rj0mlKSxvUWiQroHIAdK1-thg.cache → WR/WRD9H9nclKzl7WRqg40Cv0Aiah_8cxYk9fHbzo288CA.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{23/23OcjleyoUnN5T0v_oEwEEVK7l5HEyIO_KGRr2Makg0.cache → Zv/ZvIP7azgTxQl6lCLJ5_4GMA9X2jdo5qkqWyhCkvLY-c.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{xW/xWcOh5MVCm281jFhvp-yEspa_fKBR-hNjukgcR5BcQc.cache → _J/_JuLBi_RjcFhLlHO-CAH2DseU3sebABcazh2bG2D3iE.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{9q/9qLwpIJTX-7ZoyIq9cKaupiX3ryroIs-QPEHs4sVkp4.cache → _Q/_Qox8K7DFagL2Xu68DQ1sa5-OLdgLiJhqxzT5yrQ_Ls.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/aD/aDGWuTF47JbhohmDBQPQ88olIS3GLQnTWjXucFfudqI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/c2/c2eylaGC7M-UaIFspLdQSOwF2xwaBfh_KkxXy7ipAKI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{4e/4egQqgxJf8J649hF2A1Bnp_GKg9LM-RknYoLKE-UZ2A.cache → c4/c4yH_5hfuj7Unapfm2iHiMs3H3niA7Drv9ah10lFUE4.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{qq/qq-Xil9Ea0LYUOTmL8PNvbctRk9UmvSoTXVqb6UrfZs.cache → fy/fyxgGmo8LCAXwjpG0tmrssI0QrjfoeWZSgYMshvJZTQ.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hi/hivuiGt4E4n9IsL7iMnPPAzK1vMRiG38tocXbUiQDuc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/nh/nhnGmySVxVMqADIhTEbaTI5gjYNjSl7RvBYwc9KcHU8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{fY/fY99QjTR_SaHBL2SbemIQsYsDwFOQU7PGhKJ0Vt1-jQ.cache → oC/oCyHm9DrBpNyFSoBvDDZxU4QbPwynEtk3yQzV2nQb_0.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{7R/7RgBc5W-iWfwB4Q_7rhG6u6D7DjSzD7xvQWOlIqpszA.cache → rn/rnK-Quxkoezp5SGMIvmt45BYCiDE2GwhrBa2tXj3PdM.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{NX/NXDQ1sgEQGILdcxYFFO4lKZxlGGRl9T4jcCVdn3rGQo.cache → u7/u7zQSbx5qekH_wKj_w_ndn9Vbq4-BhdG06LSP9oRFaI.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{CO/CO2YyvOgffmUqAQ2EkHLZE0ntm5FnnvmToIDHk1LF5U.cache → v7/v7au9Ddbn0MF5xg-9xK1EhakJRPBxWGSrNZYDHTtj3A.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vU/vU-zjPdBQL_wrwTTQHVcfWW_-JiPpwkOnTQtNpMPsVk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vm/vmwrjDz0X5DTjfi9Br7uufd9E3BPYuSQbjXtJ4GV0JA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{HZ/HZsUO4HcK5s_HmEujlrVcvarYsEvhX1dkYtU_dAaXi4.cache → vr/vrkJjzYKa-iijpfapYYxHasVH4KeSWLJgnxnrMyYato.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{G7/G7Mv62B1x3utAxPJdSSIdrvwZHJXX9FJ0Ok8f2_Xcas.cache → xB/xBfk4KXnrZkmM4gCrFY2XALXn0zTVcIZ9sE05MjD-Ao.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yH/yH-LUVpCFC8cqvwFp8v4VzRkwWrnAqBNViBRvhjiu3I.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/z-/z-w7acMcxl_DltdfBY7fxs7s2a2voVrIPjj_uF2T8Ds.cache +1 -0
- metadata +139 -480
- data/test/dummy/app/assets/config/manifest.js +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/0C/0C2zg6Fz4ZDKb2SJoMeKCyuiEkK3VLTLoXTk6XtsYnk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1q/1qTKTELCNcaTGecih6WmU5XbelY0-n9ECxNFb7B3NDY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2v/2vYH0-57Ot7PCLWkuyRiVWFoDqDAisPuU54eB1XCuZs.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6q/6qN0wbOkRQNgPkTlDcpknhkOthof-6RiGp49001MFl8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/87/87lBrKaac9bxHnrcDd3_kuqKV7Cn2kb3-9Yh1xDySjo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/8V/8VyG_G4BEfk8MIRu6oRCTSH6mqACVltW1mpcxFN3OFg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cf/CfeJbgkSxTK0XPCiwgQgWyrRiyrF6cN7hFf-r_6I01U.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Eu/EuA76ODujuCnlBhSte6qr-SmyKhVkUxSuclVqgApzE4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/GC/GC81PWXaKC3ajKLxjzpoH51pU4pMHhnIVz0qDaR-ji8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gr/GrEOyJqOi5t6YEVvLLjKeGeh011ho1EsAt40oQPwCig.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/HI/HIDJJczke7ZLFWGLXu83cK3amyy_NL9S9QIHGU0Mo2k.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/HZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pt/Pt3EirvAHSujxeOX1Lj29qw0MpynJZ6DBFZjFfuEsik.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/cB/cBujZqjQkDn9qy_o8TBwBmxz4MdHTRohOR4u2dApFMI.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/cS/cSydv5hX7yDiR067i_nXkPN_k2Z-c5fV-Qcd3uBIiEw.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/dj/dj1XrYy5f-virD2Zxdwb3IGvTmPt6OolJhNuRLyyiYE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gK/gK1XyCNNJN2snmep1wX9X6imlJWEM0zbgBefUO__N-4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/h8/h8KQnVqXMBM04d4llsrbfN7Eij0y78tMo6c5i8wH8bY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/jZ/jZPtKns7VtCBuExt0ccCSvvH5kTxP3vEqd1W00U_3Vc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kB/kBO5u1GYzp_3At4KdTa7gu6M-8iJYzXwK7awXVhfdqQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kX/kXHzil5_zI2pGnuGyZDJXFY_rhdpZjAbOhADTVcnOG4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/lm/lmLdQ9YYUNBpTGdPEpu9Jg8U72UBOztolRY2JGn69PQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mA/mA18PsmXNFA3Y035kDJ_LZaf5PvfUZJrjX1BNstNcM8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/oR/oREyRPrhTN2nImWV9UIIivSk5CeZ7vpcmwFg6CMNoGQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/qK/qKwRM7szJUtdx-IcB_777nsCap0rkqBzoVO9zNTaLsY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/tZ/tZXykf9r0-2TBfW8kYENSOSCiGgumN-qg_iTonTBlmQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vK/vKX6ctQVu9JvSI-2SMltdyExiRitTeQ9QNMAUkOsG0E.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xo/xo0vwho1GEXuJPGLrvAxM5Ag7xiZme4jPtTrZL2wSGY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yG/yGhSuZRuCtgZCBYZtGTzP3HHN73lpDEh0ZSY9fXMr74.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-Z/-Z_h_4Unpc88mowLyAvBGnzVU0Q1YGutE_Axwda6E-k.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0F/0FBvTP5GR23sqfKQqc3ndsfMXyIceqNSEMDGdeKx-iw.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0H/0H-x3YNdtFXB94YeI8x7aR8S_ip-ncjUMtQcHWrxmYU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0I/0I0SJYh6xyz2kJ-P0dZ1c8kq_lc0wkRDY1ZEeAombQo.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0a/0a16TXIS237lMaBIne5Nr5Zz_LkXQroGtjhqyUhCOYQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0o/0oInIs02FOPPbxkc52rj0mlKSxvUWiQroHIAdK1-thg.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0x/0xhJ8L6OMV5vcaHsJhFkB86iwdpcvaYz_fkAT-Taid4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/11/11ovRdbo434VRd2K0Sat3eZTuQn6hLBSz69i01_fDZ8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1L/1LKKfhEshJn3Vkh_w-e1-kWlTcLxCX9Ko-A5bHs8IJk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1q/1qiSFQz632X5e9WPVfylDJEbBQNybZ_B8Sv9Z6QYmBE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1q/1qj0QOwYJDQe1Z013CtPeEPNXG1OMChaEtHpXydsNLU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2U/2UTPo9bZtE2VMmv3ozQT5LpfnndJo1TaQ6VAOY0dAFQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2Y/2Y_bnBFrkUg5jfWaE8JqdFpTlpaph3M9TnbVbheAnVE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2d/2dhiBTjBCH6rUfCJGoAp3fXgrDHxLIrybhE4TAS2su8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2e/2eaZjL8VZkwBDj6_Ro4Inm_MiiL-Vo4EA2N_YXXqIbE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3L/3LLbLA5KeaIOLhIv_Gd4Ke0QwKOR60UpxDygSUPKvcw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3V/3Vp6Vz-4zhrPldj3YOSh5HPvQ1z9WvydvQHQtIP6bXQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4e/4eJoHAAJ4SF9Yw_4r61OtLTF9pK28G2ESTXYTkgT0qQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4e/4egQqgxJf8J649hF2A1Bnp_GKg9LM-RknYoLKE-UZ2A.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4g/4gt5Zf3XYLpssAYW6ANTaUFYel_6yWgzo9gI0M-lR6E.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/52/5248EdGUC74D1uVXiRxivkYvXF6xizQCiiKneqnfik4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5q/5qu4rDjlcYQsPiQ6LBaCgbGvyYcbelAMWMNC5u80hWc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5y/5Y9YnqLJJcIPyOyVcyWfDDb-U8nRpHueM2YGPtYmZm4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5y/5y-aQ4cIum-_A2jTKUwbHTzo6AL99_jhiXTAcxlc5Ss.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6H/6H4HGvZ3o4Pj8QMLBN3igwFMMODcAyz8U2Ap0ACQqok.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7H/7Hh93d3G281lD_G4MM-K7YL0RtvfF3osZ3tK86p8Psk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7Z/7Z60_jhGYjjOBTk3r8Aa2ZV4DwTHuXc4JsqT13bCljc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7_/7_AwiCYgfhRrM7cCMv0hHNDLbBHjBAefE6DGXZMmR_Y.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7y/7y6I3anJ9tl14HZnadomQ7cELiD8gCH-7ZzTu_1EdHE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8W/8W7Id0h5U77_eVkkCY4ROJBUKABLRHsr5yo_vzBNoA4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/92/92DncEpOSowpziX2RSXmGIKXaJo7h2rr9Hh6wyVOsRM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/AO/AOY_58Ai8y4zMJ13jdYBdoBNJHwlX4gtzflhfP2nl6k.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/AX/AX3L2fGpRF9VevxsOcMT3K8MFiRGjRX81JBxvrH7IIc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ae/Ae8TT4CWvaYiU9htKxMdEGvyqei1BwzmBv1Nx1P9nJk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/C-/C-dw0M8QOQN8DjROlM-aUteggu3d6KaQD-rBmHAQ4dU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/CM/CMeCT2T7Nd7PUPEtbK1YCarmzltllbcbsHI892df9Uo.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Cx/CxFaDQ7eiev2TscT8JVGXaGPk3cp5G570swmMTHgQ_c.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Cy/Cy7ukAcjEzA3MRcdnk_b2Er6WEcQp6H-JgHK_Ynp_f0.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/DL/DLx6X060Ro6If4wo58zNFkatwuSqI7v70Q7gLspwlbc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Da/DahTrnxxMFavj3bHuCvhl03IXIb5XRXdj6PLUtMwVoI.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Dw/DWiSprTdmJSiF4eYqRLDfLfWLyF-m0Mk3TOoLQXKKW0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Dw/Dw55FjtHl3tZdotlQ-Qc_p6g_xU8_jN0RvAo4x6Iodw.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/EA/EAMGb3LcvsJYsKCvU0FH3cFXQBqTmDHdm68CRcGGkxs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/E_/E_W6iw-BuQe5s-mYc0KGLeDnlPKpjb5WwDWmfvoFQfY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ec/Ec_ZzE-v25zNdUcq_c89RG18zjL-WlDjm8BtuWkEDQY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Eh/Eh9QKhmMiFjURoKhfRdV-ENTcf2aCkBwn7fZdcwWbJI.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/G7/G7Mv62B1x3utAxPJdSSIdrvwZHJXX9FJ0Ok8f2_Xcas.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/HZ/HZsUO4HcK5s_HmEujlrVcvarYsEvhX1dkYtU_dAaXi4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/HZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Hu/HuxqAoY_FoJq94YbRhmLRcXiA6K7xPXT3ViyV8vtr38.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/LI/LIOeD2c3MYj4K4LebnGYcpb1F-G7eHCqyVcF3fLmivk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Lw/Lw7tUkUABT5dQ0eElpmhiEbK8h6ChHhEEb3iIP_q6As.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/MS/MSGM4EbafpLcAwntIK3SbxCpe4HOgb1PsFb6kixYpQc.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/My/Myq6rgVMKFWObJUsyisfudlI1fWDVaFHdJtx_YNWgkE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/NQ/NQPKdzMo_-Y7Z1g71ze4cGMunsXI7GLsMv9aPxZoL0c.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/NX/NXDQ1sgEQGILdcxYFFO4lKZxlGGRl9T4jcCVdn3rGQo.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/O6/O6PjkGTcXaO89C6AbuadQ3tNJM7JAUPl22JkjSlGYT0.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OC/OCgWDw6AmW2ndZhYQJCovAT3MrQ1FUcjKcIVnicQFWs.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OI/OIcpSS_toFEgHpKqLUFT_EO_KEIHJ2ti8VepxMz0ROk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ok/OkjwT_Bg1Ete5QvfmAGVm-YuMHrlbTH5VOI8aDtyDbg.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/P2/P2eaoG_3TI887exxv_G88ZYFhwOs5UOqKB7If9FLtHE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/PF/PFD-K2z1IpxItwCxGEIxoq56ay6rKDrBA1wUNEYxOOc.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Pb/Pb2Wc_FYaxn6JgXTJbW_unn8UhGBuRirp7PEBynJFyA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Pw/PwV1n0VInOtXSi2kWiNdBHG44NAKqGfQx4OijtmIk5I.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Q1/Q1XF7k1XjotY1C9SUWw3RaOuqBTZ3AygKU0FsKSGe8U.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Qz/Qzp8W2_UkKOjz2zFiW_NU9F5muj_NWe_SNfQTFuAwJg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Rj/RjAAT5Yz0-DLD_Mqk0plvo2ZJETWi6OfE7OwrgDgV0Y.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/SQ/SQ4FInw8GhP0CbMt5j--cYVTmJ9J4vnGrdOQO9Xtqrk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/SQ/sqjUewwkSA_8EHVdu1FMHhYrbE5PsizV8_cA8hfGmnA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/T6/T6J4CcKu5C6mgeOQxg5nNc-lRwowH_UgZWmD_GWtKTE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/US/USEnPg2AGtX0pVqQNI_iGrLtB9t-r253_6DzFzhoY9Q.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ur/Urp_A9iMXa-_IL_490LwlCZf_uSsJ0vEzOstbw1eYcA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/V2/V20OShSf4KQuR_tjMKpClFMr_EWUbxFeXbOhvvz9QM4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/V8/V8ZewWLrocSiIOMQMOeIrIXDgvktN939nWcA_wnBszs.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/V9/V9L43CeQ_CnU-AN9UFWq6CfGzyBeqnDTVYoi-6kzWzw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/VJ/VJmxbsC4FaMPXS6W4YvIWsY3QmFCEsPt4GwQE7WL45g.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/VQ/VQD_HVLaDTBoPGbAKzzV-_A-w_pjFujFXcYW1T5yVJ4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Vk/Vk0wJE8hvbtGSNnzIW3-Evd7_M-Bc7emek0GFZQPapI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Vl/VlG6ELRInPv9ky3FCSBeoqEjLjSMt4vpS2DwNFVXb8A.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Vx/Vxe4Sf0sQWMmEy1EUXOju_d85vr8NQz9whVR2xh9x5Q.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/WG/WG5dYP-ckKzAMi5OcUWS50k31lbRPXJ-ipfPbVB_xlY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/WS/WS9KAWOQyTIZFYuurzD9AsqGHCu_ZwSrmIuze6mNNUs.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/YS/YSAUVr5d_wbRSzz2BleSmYfkMZPYTbL3ftCUchYei3I.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ye/YeFXSjqtQ1-x5ug53cQhZ8f3xpmzEl8h1ptuTDv6_t4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ye/Ye_ONiDRDCf5YZOULWxLUfsr-IjJryfMOA6FoDugNJA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_v/_vqgTSCbx97kLKrll6zsn9s4qsUIFzwBUcV35brxnos.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/aS/aSw2fAfFJBikdJOTGE7_86zOLdFTCWV_lkKX3TwOkb8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/am/amRg1jRK_9HgOnXuuV62V764wMrZPSQjCZ2VNBT-F28.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/bD/bDtRIDP0s9tKUSyIAH31D5jroSMXZV0K7TynjIx3-8o.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/bn/bnXRQyRSltQCM8FUXL8lpo4y5YaBLea1PIvciJFDf9Y.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/br/bruJcqITayQQfuI_0x5dUW7M9DzJdRPNh8Igf0jpniY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cj/cjnpc-ByYZiJFv2-sjRS1AxvpxtM3S6sE2VB7NxZe80.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cu/cuFUNLq4kuBeMs4w5fUvIkk-MFPMl2OnmsssjJMyPK8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dQ/dQNgP6iCVaJSFxAgjuLrbfAA0kOVoijPWxufXg3sQ80.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/e7/e7BUqMzL_1E7BBnoV_nbJLoQu_SGqKtKJWOsQsZQUjU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/fa/faTijp_rKjBEvLHMOJ2DtpixNdcS8LpJgk_kSFfXa7I.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/fr/frUgcOzhQ4xG8NrIPsHt5faxwN3DI9pBwpcB4Deo718.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/fw/fw2dnM-Zin9ZBBJhNioscKpdlWpopWpm1B26LnqPTSE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gi/giWii-X-VsDvwePRQMaFtYN2UuGkvXJPNqQy-EvqLwg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/h1/h15PNCXJX_-OPVZKbRaziTUZc1foI06y_uGGyyz6-xM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/h7/h7v7o7cL0fhwaXP--KRjZx-IJquSBMd9adBWyDuIKlc.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ha/haHWe08YRGJbggH2CNvz1thlCwwvBo6Kbgv4omHOiek.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hi/HIwfqm8aLEFNNe1kRosjv97hgxdWZtZR4SUmIwPD_L4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hi/hiFBimGwAOvBF1-JUCilP_clVRrmCczvGqfDDAARsrM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hr/hr3vgmohlHUPBxg_1SkwssAeKMG4IeMmyHmsdaGxJXo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hx/hxaDKsXJi-m5nKlmbR1hk4a4Xg2YfFwmrW_TtmS7jlE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/i6/i6MnwGOTb-6wI1QoaMbUG6_si7ex6qJIq-6BD8a0atQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/iz/iz5m4fAhk3_Gw6yfaa9x8QcCNl_jT5_Bw6exWV0H3WM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/j9/j9NuAbkuchwJ3PaVdDMser7cKwXsMV2UMVxljTHy2BU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/jK/jKCDlDZ12PC1eaEDHptvlwe3Zqo6Oyk6ghh0uIJyDzY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/jf/jfyB4_hKx91oYrg3Uz8kejw-1HKvL3WNzfXHySfnrjg.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/jr/jrhg63vKri996YfYxadgGPKa0s0Z0QeRBvv78nSjZd8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/k2/k230zg3KWZuQ9up5IruYh082tu4CAmgAheZJN-w5_pE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/k9/k9czmo4FEiAIwA9VBgJzkuaEIzFHi4ncQa6QcilA4Hs.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kw/kwNFhW24nxXy_HfVKYdXJyRqhu7ljgl9wR2DcJUo-nA.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/l2/l2kRUfGOavyI9m_fh5Po6aCsWqcXA-N1alZsislQsyQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ld/ld2mFks0UpcjdEcFSZaEyDSV95LmLDYFQTA85BnPk-M.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lo/lop19Wm1uQZfGd6HfEAEdB1zDu5eWXraq_C7CfdepFI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/m7/M74bdzSYi7Dt522cDdBL3cfCik79h5YPNJfBk5Y_KMs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/m7/m7zZtDfOpfg4A2T8djXPwZ9bzt8QYGlaD7_1BmZ_XYI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/mi/miiM-1l9QmRQoANAZqPp_6A57T705rj8pky_76LulIY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/n2/N2_K6qzJc5zcpT7Ifc4wlk638Fw6mnEdDJVc0Cwyn14.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/n2/n2gslWMjh8_LZNIou4-Nb_IPASBgDDCIO0WytW-qa6M.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/nP/nPH6PJfvmhOKN1Qdlpq2Bt3EC4CtDkakJaxArCJuU3w.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ni/niAF-ZHA-7ZG8YIl_0SKlusqTE3nJcvEM-MPxo6-W3E.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oJ/oJKRGhhgBjGeWu2RFyKiAPxUwVjQFrCKKhvwsrPc5ok.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oU/oUcXXxKagL4rpV2nZ9mguSwRZuRJ4amZlMbYJjZ0MNA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pr/prQPg8mGVONBTk9Fg0dBPPW0jFaWR2sduO876XIDzwI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ps/psBBNOAKRh8YioHXsWx2sTo_Nhf1SB1nRF73bYh6szg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/py/pyGAJrY1mgvF3JKeIGd7oSFKe34ZIyP04fOnInQI9Pc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/qh/qhcFpLxR_Q-MR3fQHOsfLnsd999iPY3-MULVjw5IyTo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/r8/r8qaOPzDQIIFvksWxSN29Av0XGbhyNqno7uCQaa2rxk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/r9/r9EqVDhnX2xtdKYUJJ9TnrUnvcnVpFqzDp0_X9mRZAs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rV/rVIqk5blVIvnPB5_UOcU5Kb2jaOoDLVJJP-3cTJ-O58.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rf/rfLkA5p4BXXJJ74YR8FbQbDV4Bb0WHxNwzsgAp1OLTs.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rn/rnj4ojHPm849EWhYYTjqd8qmY8w1qZwjAPRjt_9pg7k.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rw/rw8M5HjRdOkK11GRvZ9ZVZN_cy6Gic_F1ZMmggsa3o8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/sD/sDAsuJtgLiV-QkQe-cSdXfiUOjOOa0Y26yKETGY4I5Q.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uf/ufhKc2bX_OCnWPA1CIAmeHU8VxWbdA5qUlSdEScnkeY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uh/uhyjgIntx0ROlUReN-lOokLm-C_h3Qc0Tb55Ng5SNuM.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vn/vn7lYOlRkviVw-Vzcqh_177fD7W0zFVhbqByW5NjiGY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wN/WnG-tLWvfYaiK9GlHONheAINtcktwQW3RGqbY7XjaJk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wN/wNw4kAG0E_RrvLeFAizMmTp_0jh-HGw1ONLtRyw92z0.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wX/wXqpuaP5B32TnHsCqCG8T8yFYTeC12ot6B3CZXVwZs4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xY/xYwuUZks6Apchm69F0RMY1VhCiOkTc0vnd0gdEdujIA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xe/xe3EifBbex87sLZ6povpqFEf1sT4u0sJ2ytm1c_sioo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xz/xzt9-xebMB-HhzrGOZ-ybRzxoje_BYreHI6qS4ZdqXk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yX/yX4FWx00r4Ktdk56ieu0rpZC0oTTAJM5a8D7o9m4Gb4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/z9/z9sop_5Fsj3dppixvAQ6tts4MmhlyxvWiGi_YXnOvxc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/zZ/zZtt48vCgYQCNsRIgT0I7gm6ibVcw21dTHF-Smx_zyo.cache +0 -1
- data/test/sample.html +0 -25
- data/vendor/assets/javascripts/govuk_date_fields.js +0 -57
- data/vendor/assets/stylesheets/_govuk_date_fields.scss +0 -32
@@ -74,13 +74,8 @@ class EmployeesControllerTest < ActionController::TestCase
|
|
74
74
|
get :edit, params: { id: @employee }
|
75
75
|
|
76
76
|
assert_select 'input#employee_dob_dd' do
|
77
|
-
assert_select '[
|
78
|
-
assert_select '[
|
79
|
-
assert_select '[size=?]','2'
|
80
|
-
end
|
81
|
-
|
82
|
-
assert_select 'input#employee_joined_dd' do
|
83
|
-
assert_select '[placeholder]',false
|
77
|
+
assert_select '[type=?]','number'
|
78
|
+
assert_select '[pattern=?]','[0-9]*'
|
84
79
|
end
|
85
80
|
end
|
86
81
|
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<div class="govuk-form-group govuk-form-group--error">
|
2
|
+
<fieldset class="govuk-fieldset" role="group" aria-describedby="employee_dob_hint employee_dob_error">
|
3
|
+
<legend class="govuk-fieldset__legend govuk-fieldset__legend--xl">
|
4
|
+
<h1 class="govuk-fieldset__heading">
|
5
|
+
Date of birth
|
6
|
+
</h1>
|
7
|
+
</legend>
|
8
|
+
<span class="govuk-hint" id="employee_dob_hint">For example, 12 11 2007</span>
|
9
|
+
<span class="govuk-error-message" id="employee_dob_error">Enter the date of birth</span>
|
10
|
+
<div class="govuk-date-input" id="employee_dob">
|
11
|
+
<div class="govuk-date-input__item">
|
12
|
+
<div class="govuk-form-group">
|
13
|
+
<label class="govuk-label govuk-date-input__label" for="employee_dob_dd">
|
14
|
+
Day
|
15
|
+
</label>
|
16
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--error" id="employee_dob_dd" name="employee[dob_dd]" value="" type="number" pattern="[0-9]*">
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
<div class="govuk-date-input__item">
|
20
|
+
<div class="govuk-form-group">
|
21
|
+
<label class="govuk-label govuk-date-input__label" for="employee_dob_mm">
|
22
|
+
Month
|
23
|
+
</label>
|
24
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--error" id="employee_dob_mm" name="employee[dob_mm]" value="" type="number" pattern="[0-9]*">
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
<div class="govuk-date-input__item">
|
28
|
+
<div class="govuk-form-group">
|
29
|
+
<label class="govuk-label govuk-date-input__label" for="employee_dob_yyyy">
|
30
|
+
Year
|
31
|
+
</label>
|
32
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--error" id="employee_dob_yyyy" name="employee[dob_yyyy]" value="" type="number" pattern="[0-9]*">
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</fieldset>
|
37
|
+
</div>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<div class="govuk-form-group">
|
2
|
+
<fieldset class="govuk-fieldset" role="group" aria-describedby="employee_dob_hint">
|
3
|
+
<legend class="govuk-fieldset__legend govuk-fieldset__legend--xl">
|
4
|
+
<h1 class="govuk-fieldset__heading">
|
5
|
+
Date of birth
|
6
|
+
</h1>
|
7
|
+
</legend>
|
8
|
+
<span class="govuk-hint" id="employee_dob_hint">For example, 12 11 2007</span>
|
9
|
+
<div class="govuk-date-input" id="employee_dob">
|
10
|
+
<div class="govuk-date-input__item">
|
11
|
+
<div class="govuk-form-group">
|
12
|
+
<label class="govuk-label govuk-date-input__label" for="employee_dob_dd">
|
13
|
+
Day
|
14
|
+
</label>
|
15
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="employee_dob_dd" name="employee[dob_dd]" value="7" type="number" pattern="[0-9]*">
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<div class="govuk-date-input__item">
|
19
|
+
<div class="govuk-form-group">
|
20
|
+
<label class="govuk-label govuk-date-input__label" for="employee_dob_mm">
|
21
|
+
Month
|
22
|
+
</label>
|
23
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="employee_dob_mm" name="employee[dob_mm]" value="12" type="number" pattern="[0-9]*">
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<div class="govuk-date-input__item">
|
27
|
+
<div class="govuk-form-group">
|
28
|
+
<label class="govuk-label govuk-date-input__label" for="employee_dob_yyyy">
|
29
|
+
Year
|
30
|
+
</label>
|
31
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-4" id="employee_dob_yyyy" name="employee[dob_yyyy]" value="1963" type="number" pattern="[0-9]*">
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</fieldset>
|
36
|
+
</div>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<div class="govuk-form-group">
|
2
|
+
<fieldset class="govuk-fieldset" role="group" aria-describedby="employee_dob_hint">
|
3
|
+
<legend class="govuk-fieldset__legend govuk-fieldset__legend--xl govuk-visually-hidden">
|
4
|
+
Date of birth
|
5
|
+
</legend>
|
6
|
+
<span class="govuk-hint" id="employee_dob_hint">For example, 12 11 2007</span>
|
7
|
+
<div class="govuk-date-input" id="employee_dob">
|
8
|
+
<div class="govuk-date-input__item">
|
9
|
+
<div class="govuk-form-group">
|
10
|
+
<label class="govuk-label govuk-date-input__label" for="employee_dob_dd">
|
11
|
+
Day
|
12
|
+
</label>
|
13
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="employee_dob_dd" name="employee[dob_dd]" value="7" type="number" pattern="[0-9]*">
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
<div class="govuk-date-input__item">
|
17
|
+
<div class="govuk-form-group">
|
18
|
+
<label class="govuk-label govuk-date-input__label" for="employee_dob_mm">
|
19
|
+
Month
|
20
|
+
</label>
|
21
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="employee_dob_mm" name="employee[dob_mm]" value="12" type="number" pattern="[0-9]*">
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
<div class="govuk-date-input__item">
|
25
|
+
<div class="govuk-form-group">
|
26
|
+
<label class="govuk-label govuk-date-input__label" for="employee_dob_yyyy">
|
27
|
+
Year
|
28
|
+
</label>
|
29
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-4" id="employee_dob_yyyy" name="employee[dob_yyyy]" value="1963" type="number" pattern="[0-9]*">
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
</fieldset>
|
34
|
+
</div>
|
@@ -12,14 +12,14 @@ class DefaultErrorClashEmployeeTest < ActiveSupport::TestCase
|
|
12
12
|
|
13
13
|
def test_presence_error_messages_generated
|
14
14
|
@employee.valid?
|
15
|
-
assert_equal ["
|
15
|
+
assert_equal ["Enter the date of birth"], @employee.errors[:dob]
|
16
16
|
assert_equal ["can't be blank"], @employee.errors[:joined]
|
17
17
|
end
|
18
18
|
|
19
19
|
def test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
|
20
20
|
@employee.dob_dd = '32'
|
21
21
|
assert_false @employee.valid?
|
22
|
-
assert_equal ['Invalid date', "
|
22
|
+
assert_equal ['Invalid date', "Enter the date of birth"], @employee.errors[:dob]
|
23
23
|
assert_equal ["can't be blank"], @employee.errors[:joined]
|
24
24
|
end
|
25
25
|
|
@@ -34,7 +34,7 @@ class DirectorTest < ActiveSupport::TestCase
|
|
34
34
|
|
35
35
|
def test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
|
36
36
|
e = Director.new(name: 'Stephen', dob_dd: '13', dob_mm: 'XXX', dob_yyyy: '1963')
|
37
|
-
|
37
|
+
assert_equal nil, e.dob
|
38
38
|
assert_true e.valid?
|
39
39
|
end
|
40
40
|
|
@@ -53,7 +53,7 @@ class EmployeeTest < ActiveSupport::TestCase
|
|
53
53
|
|
54
54
|
def test_that_nil_can_be_assigned_to_a_date_field
|
55
55
|
@employee.dob = nil
|
56
|
-
|
56
|
+
assert_equal nil, @employee.dob
|
57
57
|
assert_equal '', @employee.dob_dd
|
58
58
|
assert_equal '', @employee.dob_mm
|
59
59
|
assert_equal '', @employee.dob_yyyy
|
@@ -118,7 +118,7 @@ class EmployeeTest < ActiveSupport::TestCase
|
|
118
118
|
|
119
119
|
def test_creating_a_new_employee_with_invalid_dates_is_invalid
|
120
120
|
e = Employee.new(name: 'Stephen', dob_dd: '13', dob_mm: 'XXX', dob_yyyy: '1963')
|
121
|
-
|
121
|
+
assert_equal nil, e.dob
|
122
122
|
assert_false e.valid?
|
123
123
|
end
|
124
124
|
|
@@ -20,325 +20,30 @@ class GovUkDateFieldsTest < ActiveSupport::TestCase
|
|
20
20
|
@form_builder = ActionView::Helpers::FormBuilder.new(:employee, @employee, @template, {} )
|
21
21
|
end
|
22
22
|
|
23
|
+
test 'date_fields_no_error' do
|
24
|
+
fixture = file_fixture('date_fields_no_error.html').read
|
23
25
|
|
24
|
-
test "error raised if invalid options given" do
|
25
|
-
err = assert_raise do
|
26
|
-
GovUkDateFields::FormFields.new(@form_builder, :employee, :dob, rubbish: 'some_value')
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
|
31
|
-
test "basic_output_without_fieldset" do
|
32
26
|
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :dob)
|
33
|
-
assert_html_equal(date_fields.raw_output,
|
34
|
-
end
|
35
|
-
|
36
|
-
test 'placeholder_output_without_fieldset' do
|
37
|
-
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :dob, {placeholders: { day: 'DAY', month: 'MTH', year: 'YEAR' } })
|
38
|
-
assert_html_equal(date_fields.raw_output, expected_placeholder_output_without_fieldset)
|
39
|
-
end
|
40
|
-
|
41
|
-
test 'fieldset_output_with_form_hint' do
|
42
|
-
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :dob, {legend_text: 'Date of birth', legend_class: 'govuk_legend_class', form_hint_text: 'In the form: dd mm yyyy'})
|
43
|
-
assert_html_equal(date_fields.raw_output, expected_fieldset_output_with_form_hint)
|
44
|
-
end
|
45
|
-
|
46
|
-
test 'fieldset output with legend class' do
|
47
|
-
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :joined, {legend_text: 'Joining date', legend_class: 'date-legend-class', form_hint_text: 'For example, 31 3 1980'})
|
48
|
-
assert_html_equal(date_fields.raw_output, expected_fieldset_output_with_legend_class)
|
49
|
-
end
|
50
|
-
|
51
|
-
test 'fieldset with id' do
|
52
|
-
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :joined, {legend_text: 'Joining date', id: 'employee_date_joined'})
|
53
|
-
assert_html_equal(date_fields.raw_output, expected_fieldset_output_with_id)
|
54
|
-
end
|
55
|
-
|
56
|
-
test 'fieldset without explicit `id` passed in the options (will be autogenerated)' do
|
57
|
-
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :joined, {legend_text: 'Joining date'})
|
58
|
-
assert_html_equal(date_fields.raw_output, expected_fieldset_output_without_id)
|
59
|
-
end
|
60
|
-
|
61
|
-
test 'fieldset output with today button with no css class specified' do
|
62
|
-
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :joined, {legend_text: 'Joining date', id: 'employee_date_joined', today_button: true})
|
63
|
-
assert_html_equal(date_fields.raw_output, expected_fieldset_output_with_unstyled_today_button)
|
64
|
-
end
|
65
|
-
|
66
|
-
test 'fieldset output with today button with css class applied' do
|
67
|
-
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :joined, {legend_text: 'Joining date', id: 'employee_date_joined', today_button: {class: 'today-button-class'} } )
|
68
|
-
assert_html_equal(date_fields.raw_output, expected_fieldset_output_with_syled_today_button)
|
69
|
-
end
|
70
|
-
|
71
|
-
test 'fieldset with error_class and message' do
|
72
|
-
@employee.errors.add(:joined, "Invalid joining date")
|
73
|
-
@employee.errors.add(:joined, "Joining date must be in the past")
|
74
|
-
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :joined, {legend_text: 'Joining date', id: 'employee_date_joined'})
|
75
|
-
assert_html_equal(date_fields.raw_output, expected_fieldset_output_with_error_class_and_message)
|
76
|
-
end
|
77
|
-
|
78
|
-
test 'fieldset with error_class and message, with autogenerated `id`' do
|
79
|
-
@employee.errors.add(:joined, "Invalid joining date")
|
80
|
-
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :joined, {legend_text: 'Joining date'})
|
81
|
-
assert_html_equal(date_fields.raw_output, expected_fieldset_output_with_error_class_and_message_without_id)
|
27
|
+
assert_html_equal(date_fields.raw_output, fixture)
|
82
28
|
end
|
83
29
|
|
84
|
-
test '
|
85
|
-
|
86
|
-
@employee.errors.add(:joined, "must_be_in_past")
|
87
|
-
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :joined, {legend_text: 'Joining date', id: 'employee_date_joined', error_messages: ['Invalid joining date', 'Joining date must be in the past']})
|
88
|
-
assert_html_equal(date_fields.raw_output, expected_fieldset_output_with_error_class_and_message)
|
89
|
-
end
|
90
|
-
|
91
|
-
test "squash_html" do
|
92
|
-
html = " <html> This is some text \n <tr> \n <td> <%= dfkhdfh %> </td> </tr>\n</html> "
|
93
|
-
expected_result = "<html>This is some text<tr><td><%= dfkhdfh %></td></tr></html>"
|
94
|
-
assert_html_equal(html, expected_result)
|
95
|
-
end
|
96
|
-
|
97
|
-
|
98
|
-
def expected_basic_output_without_fieldset
|
99
|
-
%Q{
|
100
|
-
<input value="7" id="employee_dob_dd" name="employee[dob_dd]" size="2" type="text" />
|
101
|
-
<input value="12" id="employee_dob_mm" name="employee[dob_mm]" size="3" type="text" />
|
102
|
-
<input value="1963" id="employee_dob_yyyy" name="employee[dob_yyyy]" size="4" type="text" />
|
103
|
-
}
|
104
|
-
end
|
30
|
+
test 'date_fields_error' do
|
31
|
+
fixture = file_fixture('date_fields_error.html').read
|
105
32
|
|
33
|
+
@employee.dob = nil
|
34
|
+
@employee.errors.add(:dob, :blank)
|
106
35
|
|
107
|
-
|
108
|
-
|
109
|
-
<input value="7" id="employee_dob_dd" name="employee[dob_dd]" placeholder="DAY" size="2" type="text" />
|
110
|
-
<input value="12" id="employee_dob_mm" name="employee[dob_mm]" placeholder="MTH" size="3" type="text" />
|
111
|
-
<input value="1963" id="employee_dob_yyyy" name="employee[dob_yyyy]" placeholder="YEAR" size="4" type="text" />
|
112
|
-
}
|
113
|
-
end
|
114
|
-
|
115
|
-
def expected_fieldset_output_with_error_class_and_message
|
116
|
-
%Q{
|
117
|
-
<div class="form-group gov_uk_date form-group-error" id="employee_date_joined">
|
118
|
-
<fieldset>
|
119
|
-
<legend>
|
120
|
-
<span class="form-label-bold">Joining date</span>
|
121
|
-
<span class="form-hint" id="employee_date_joined-hint">
|
122
|
-
For example, 31 3 1980
|
123
|
-
</span>
|
124
|
-
<ul>
|
125
|
-
<li><span class="error-message">Invalid joining date</span></li>
|
126
|
-
<li><span class="error-message">Joining date must be in the past</span></li>
|
127
|
-
</ul>
|
128
|
-
</legend>
|
129
|
-
<div class="form-date">
|
130
|
-
<div class="form-group form-group-day">
|
131
|
-
<label for="employee_joined_dd">Day</label>
|
132
|
-
<input class="form-control form-control-error" id="employee_joined_dd" name="employee[joined_dd]" type="number" min="0" max="31" aria-describedby="employee_date_joined-hint" value="1">
|
133
|
-
</div>
|
134
|
-
<div class="form-group form-group-month">
|
135
|
-
<label for="employee_joined_mm">Month</label>
|
136
|
-
<input class="form-control form-control-error" id="employee_joined_mm" name="employee[joined_mm]" type="number" min="0" max="12" value="4">
|
137
|
-
</div>
|
138
|
-
<div class="form-group form-group-year">
|
139
|
-
<label for="employee_joined_yyyy">Year</label>
|
140
|
-
<input class="form-control form-control-error" id="employee_joined_yyyy" name="employee[joined_yyyy]" type="number" min="0" max="2100" value="2015">
|
141
|
-
</div>
|
142
|
-
</div>
|
143
|
-
</fieldset>
|
144
|
-
</div>
|
145
|
-
}
|
146
|
-
end
|
147
|
-
|
148
|
-
def expected_fieldset_output_with_error_class_and_message_without_id
|
149
|
-
%Q{
|
150
|
-
<div class="form-group gov_uk_date form-group-error" id="error_employee_joined">
|
151
|
-
<fieldset>
|
152
|
-
<legend>
|
153
|
-
<span class="form-label-bold">Joining date</span>
|
154
|
-
<span class="form-hint" id="employee_joined-hint">
|
155
|
-
For example, 31 3 1980
|
156
|
-
</span>
|
157
|
-
<ul>
|
158
|
-
<li><span class="error-message">Invalid joining date</span></li>
|
159
|
-
</ul>
|
160
|
-
</legend>
|
161
|
-
<div class="form-date">
|
162
|
-
<div class="form-group form-group-day">
|
163
|
-
<label for="employee_joined_dd">Day</label>
|
164
|
-
<input class="form-control form-control-error" id="employee_joined_dd" name="employee[joined_dd]" type="number" min="0" max="31" aria-describedby="employee_joined-hint" value="1">
|
165
|
-
</div>
|
166
|
-
<div class="form-group form-group-month">
|
167
|
-
<label for="employee_joined_mm">Month</label>
|
168
|
-
<input class="form-control form-control-error" id="employee_joined_mm" name="employee[joined_mm]" type="number" min="0" max="12" value="4">
|
169
|
-
</div>
|
170
|
-
<div class="form-group form-group-year">
|
171
|
-
<label for="employee_joined_yyyy">Year</label>
|
172
|
-
<input class="form-control form-control-error" id="employee_joined_yyyy" name="employee[joined_yyyy]" type="number" min="0" max="2100" value="2015">
|
173
|
-
</div>
|
174
|
-
</div>
|
175
|
-
</fieldset>
|
176
|
-
</div>
|
177
|
-
}
|
178
|
-
end
|
179
|
-
|
180
|
-
def expected_fieldset_output_with_id
|
181
|
-
%Q{
|
182
|
-
<div class="form-group gov_uk_date" id="employee_date_joined">
|
183
|
-
<fieldset>
|
184
|
-
<legend>
|
185
|
-
<span class="form-label-bold">Joining date</span>
|
186
|
-
<span class="form-hint" id="employee_date_joined-hint">For example, 31 3 1980</span>
|
187
|
-
</legend>
|
188
|
-
<div class="form-date">
|
189
|
-
<div class="form-group form-group-day">
|
190
|
-
<label for="employee_joined_dd">Day</label>
|
191
|
-
<input class="form-control" id="employee_joined_dd" name="employee[joined_dd]" type="number" min="0" max="31" aria-describedby="employee_date_joined-hint" value="1">
|
192
|
-
</div>
|
193
|
-
<div class="form-group form-group-month">
|
194
|
-
<label for="employee_joined_mm">Month</label>
|
195
|
-
<input class="form-control" id="employee_joined_mm" name="employee[joined_mm]" type="number" min="0" max="12" value="4">
|
196
|
-
</div>
|
197
|
-
<div class="form-group form-group-year">
|
198
|
-
<label for="employee_joined_yyyy">Year</label>
|
199
|
-
<input class="form-control" id="employee_joined_yyyy" name="employee[joined_yyyy]" type="number" min="0" max="2100" value="2015">
|
200
|
-
</div>
|
201
|
-
</div>
|
202
|
-
</fieldset>
|
203
|
-
</div>
|
204
|
-
}
|
205
|
-
end
|
206
|
-
|
207
|
-
def expected_fieldset_output_without_id
|
208
|
-
%Q{
|
209
|
-
<div class="form-group gov_uk_date" id="employee_joined">
|
210
|
-
<fieldset>
|
211
|
-
<legend>
|
212
|
-
<span class="form-label-bold">Joining date</span>
|
213
|
-
<span class="form-hint" id="employee_joined-hint">For example, 31 3 1980</span>
|
214
|
-
</legend>
|
215
|
-
<div class="form-date">
|
216
|
-
<div class="form-group form-group-day">
|
217
|
-
<label for="employee_joined_dd">Day</label>
|
218
|
-
<input class="form-control" id="employee_joined_dd" name="employee[joined_dd]" type="number" min="0" max="31" aria-describedby="employee_joined-hint" value="1">
|
219
|
-
</div>
|
220
|
-
<div class="form-group form-group-month">
|
221
|
-
<label for="employee_joined_mm">Month</label>
|
222
|
-
<input class="form-control" id="employee_joined_mm" name="employee[joined_mm]" type="number" min="0" max="12" value="4">
|
223
|
-
</div>
|
224
|
-
<div class="form-group form-group-year">
|
225
|
-
<label for="employee_joined_yyyy">Year</label>
|
226
|
-
<input class="form-control" id="employee_joined_yyyy" name="employee[joined_yyyy]" type="number" min="0" max="2100" value="2015">
|
227
|
-
</div>
|
228
|
-
</div>
|
229
|
-
</fieldset>
|
230
|
-
</div>
|
231
|
-
}
|
232
|
-
end
|
233
|
-
|
234
|
-
def expected_fieldset_output_with_form_hint
|
235
|
-
%Q{
|
236
|
-
<div class="form-group gov_uk_date" id="employee_dob">
|
237
|
-
<fieldset>
|
238
|
-
<legend class="govuk_legend_class">
|
239
|
-
<span class="form-label-bold">Date of birth</span>
|
240
|
-
<span class="form-hint" id="employee_dob-hint">In the form: dd mm yyyy</span>
|
241
|
-
</legend>
|
242
|
-
<div class="form-date">
|
243
|
-
<div class="form-group form-group-day">
|
244
|
-
<label for="employee_dob_dd">Day</label>
|
245
|
-
<input class="form-control" id="employee_dob_dd" name="employee[dob_dd]" type="number" min="0" max="31" aria-describedby="employee_dob-hint" value="7">
|
246
|
-
</div>
|
247
|
-
<div class="form-group form-group-month">
|
248
|
-
<label for="employee_dob_mm">Month</label>
|
249
|
-
<input class="form-control" id="employee_dob_mm" name="employee[dob_mm]" type="number" min="0" max="12" value="12">
|
250
|
-
</div>
|
251
|
-
<div class="form-group form-group-year">
|
252
|
-
<label for="employee_dob_yyyy">Year</label>
|
253
|
-
<input class="form-control" id="employee_dob_yyyy" name="employee[dob_yyyy]" type="number" min="0" max="2100" value="1963">
|
254
|
-
</div>
|
255
|
-
</div>
|
256
|
-
</fieldset>
|
257
|
-
</div>
|
258
|
-
}
|
36
|
+
date_fields = GovUkDateFields::FormFields.new(@form_builder, :employee, :dob)
|
37
|
+
assert_html_equal(date_fields.raw_output, fixture)
|
259
38
|
end
|
260
39
|
|
261
|
-
|
262
|
-
|
263
|
-
<div class="form-group gov_uk_date" id="employee_joined">
|
264
|
-
<fieldset>
|
265
|
-
<legend class="date-legend-class">
|
266
|
-
<span class="form-label-bold">Joining date</span>
|
267
|
-
<span class="form-hint" id="employee_joined-hint">For example, 31 3 1980</span>
|
268
|
-
</legend>
|
269
|
-
<div class="form-date">
|
270
|
-
<div class="form-group form-group-day">
|
271
|
-
<label for="employee_joined_dd">Day</label>
|
272
|
-
<input class="form-control" id="employee_joined_dd" name="employee[joined_dd]" type="number" min="0" max="31" aria-describedby="employee_joined-hint" value="1">
|
273
|
-
</div>
|
274
|
-
<div class="form-group form-group-month">
|
275
|
-
<label for="employee_joined_mm">Month</label>
|
276
|
-
<input class="form-control" id="employee_joined_mm" name="employee[joined_mm]" type="number" min="0" max="12" value="4">
|
277
|
-
</div>
|
278
|
-
<div class="form-group form-group-year">
|
279
|
-
<label for="employee_joined_yyyy">Year</label>
|
280
|
-
<input class="form-control" id="employee_joined_yyyy" name="employee[joined_yyyy]" type="number" min="0" max="2100" value="2015">
|
281
|
-
</div>
|
282
|
-
</div>
|
283
|
-
</fieldset>
|
284
|
-
</div>
|
285
|
-
}
|
286
|
-
end
|
40
|
+
test 'date_fields_no_heading' do
|
41
|
+
fixture = file_fixture('date_fields_no_heading.html').read
|
287
42
|
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
<span class="form-label-bold">Joining date</span>
|
294
|
-
<span class="form-hint" id="employee_date_joined-hint">For example, 31 3 1980</span>
|
295
|
-
</legend>
|
296
|
-
<div class="form-date">
|
297
|
-
<a class="button" role="button" href="#">Today</a>
|
298
|
-
<div class="form-group form-group-day">
|
299
|
-
<label for="employee_joined_dd">Day</label>
|
300
|
-
<input class="form-control" id="employee_joined_dd" name="employee[joined_dd]" type="number" min="0" max="31" aria-describedby="employee_date_joined-hint" value="1">
|
301
|
-
</div>
|
302
|
-
<div class="form-group form-group-month">
|
303
|
-
<label for="employee_joined_mm">Month</label>
|
304
|
-
<input class="form-control" id="employee_joined_mm" name="employee[joined_mm]" type="number" min="0" max="12" value="4">
|
305
|
-
</div>
|
306
|
-
<div class="form-group form-group-year">
|
307
|
-
<label for="employee_joined_yyyy">Year</label>
|
308
|
-
<input class="form-control" id="employee_joined_yyyy" name="employee[joined_yyyy]" type="number" min="0" max="2100" value="2015">
|
309
|
-
</div>
|
310
|
-
</div>
|
311
|
-
</fieldset>
|
312
|
-
</div>
|
313
|
-
}
|
43
|
+
date_fields = GovUkDateFields::FormFields.new(
|
44
|
+
@form_builder, :employee, :dob,
|
45
|
+
legend_options: { page_heading: false, visually_hidden: true }
|
46
|
+
)
|
47
|
+
assert_html_equal(date_fields.raw_output, fixture)
|
314
48
|
end
|
315
|
-
|
316
|
-
def expected_fieldset_output_with_syled_today_button
|
317
|
-
%Q{
|
318
|
-
<div class="form-group gov_uk_date" id="employee_date_joined">
|
319
|
-
<fieldset>
|
320
|
-
<legend>
|
321
|
-
<span class="form-label-bold">Joining date</span>
|
322
|
-
<span class="form-hint" id="employee_date_joined-hint">For example, 31 3 1980</span>
|
323
|
-
</legend>
|
324
|
-
<div class="form-date">
|
325
|
-
<a class="today-button-class" role="button" href="#">Today</a>
|
326
|
-
<div class="form-group form-group-day">
|
327
|
-
<label for="employee_joined_dd">Day</label>
|
328
|
-
<input class="form-control" id="employee_joined_dd" name="employee[joined_dd]" type="number" min="0" max="31" aria-describedby="employee_date_joined-hint" value="1">
|
329
|
-
</div>
|
330
|
-
<div class="form-group form-group-month">
|
331
|
-
<label for="employee_joined_mm">Month</label>
|
332
|
-
<input class="form-control" id="employee_joined_mm" name="employee[joined_mm]" type="number" min="0" max="12" value="4">
|
333
|
-
</div>
|
334
|
-
<div class="form-group form-group-year">
|
335
|
-
<label for="employee_joined_yyyy">Year</label>
|
336
|
-
<input class="form-control" id="employee_joined_yyyy" name="employee[joined_yyyy]" type="number" min="0" max="2100" value="2015">
|
337
|
-
</div>
|
338
|
-
</div>
|
339
|
-
</fieldset>
|
340
|
-
</div>
|
341
|
-
}
|
342
|
-
end
|
343
|
-
|
344
49
|
end
|
@@ -12,7 +12,7 @@ class OmitErrorClashEmployeeTest < ActiveSupport::TestCase
|
|
12
12
|
|
13
13
|
def test_presence_error_messages_generated
|
14
14
|
@employee.valid?
|
15
|
-
assert_equal ["
|
15
|
+
assert_equal ["Enter the date of birth"], @employee.errors[:dob]
|
16
16
|
assert_equal ["can't be blank"], @employee.errors[:joined]
|
17
17
|
end
|
18
18
|
|
@@ -20,7 +20,7 @@ class OmitErrorClashEmployeeTest < ActiveSupport::TestCase
|
|
20
20
|
@employee.dob_dd = '32'
|
21
21
|
@employee.joined_mm = '77'
|
22
22
|
assert_false @employee.valid?
|
23
|
-
assert_equal ["
|
23
|
+
assert_equal ["Enter the date of birth"], @employee.errors[:dob]
|
24
24
|
assert_equal ["can't be blank"], @employee.errors[:joined]
|
25
25
|
end
|
26
26
|
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/0Y/0YE2mdL29epdwLbTYeYKNxQcs-QnX0Sm1c1d7S336dY.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=7bd3b94b619c32e46bba5ec8f5e5904105ff1bc647a08230142bcc98bc046dbf:ET
|
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/1D/1DSJep8RvpL0bKekcrPoTlfiAWzMx253hI6CPzgd_Yo.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/stylesheets/employees.css?type=text/css&pipeline=self&id=3a4f3735119e790948e7d6a02bca24454a3ba8330022f22503eafe4489624d20:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
CHANGED
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/AX/AX3L2fGpRF9VevxsOcMT3K8MFiRGjRX81JBxvrH7IIc.cache
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/En/EnEfvwgFKP1AahR6eTP-u0TeHcVpHV2cuOYmDrfoDec.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"}app/assets/stylesheets/application.css?type=text/css&id=bfce3975043a7f48a9cd25c3ae30e985449996c6c962851bace8ebdce0339b3f:ET
|
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/I4/I4zyVgaaEAo-RxZorzwj10dfMJ9z4yjkfkCrJJMiEYs.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=d2b5d5b7b683fadf408a79bd70415e7933abc131aa483fd8bc5b67713842a564:ET
|
File without changes
|
Binary file
|
Binary file
|
File without changes
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/OA/OAq0JC69RB8688u80nj0uZUjqoy07Gdk-Ix9DVkq-P8.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/employees.js?type=application/javascript&pipeline=self&id=69f73a6b1f1294b436a8952e5bd39c53591b0c024320c83b1799f7bf84b7e70b:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/QA/QA32z-4v8KU7eagra1ogcpOZOh5qLTIKxsr-0mmUYOk.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/stylesheets/scaffold.css?type=text/css&pipeline=self&id=7962f78eb9ca07d5adf31621a86f929775b29def245673061c7c8343902a5668:ET
|
Binary file
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/aD/aDGWuTF47JbhohmDBQPQ88olIS3GLQnTWjXucFfudqI.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=f4d3fb75921bc2b80906b9ac16c06598a759ae5f493af485b8c1d9556e7fa594:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/c2/c2eylaGC7M-UaIFspLdQSOwF2xwaBfh_KkxXy7ipAKI.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&id=c1b9ae779dca8c14a5cd2889d4d09abbb4a8061c3e6d357258548837beca879c:ET
|
File without changes
|
Binary file
|