pugin 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/pugin/constituencies/list/_list.html.haml +0 -1
- data/app/views/pugin/people/list/_list.html.haml +6 -2
- data/app/views/pugin/people/list/lord/_lord.html.haml +20 -3
- data/app/views/pugin/people/list/member/_member.html.haml +6 -8
- data/config/locales/en.yml +1 -3
- data/lib/pugin.rb +1 -1
- data/lib/pugin/feature/bandiera.rb +6 -0
- data/lib/pugin/version.rb +1 -1
- data/lib/pugin/view_helpers.rb +17 -7
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +295 -5595
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-F/-FBjq9wjLLb2wCws01q3fiSmcSTtZDaxZ0laE_HQT6A.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/04/04YI8KimWB0m50eETph8R2h9LTiRINa_Gyf0dZ9ABBg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{9T/9TjibkDb7Rx_qOlaZMKFg0Jz2_IcKvViCJR0yM_4x90.cache → 1c/1c5iHyL4hzuBHUtBzHg2qSF-BhHCQzQ6HnUNG6b7KeM.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{K7/K7yT6Gz-yWVPJb4RmMZsnjX1Qm0AuJ1k2ybSnDJh6bg.cache → 1j/1jYbxMFu6bT_GEICov4jySgDvvfHOFq3P_Jnpbow35k.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2u/2uQ5stlugC_eKZt6cXARdXb1rSSEKvzHxMuNZ27WXgY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/38/388IvEcSYh1SaleMXqfePeny38UlRBHn5TxWxCfQvf4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5G/5GjDeMgIecNi9_ift4XsV_TMHO3_VyKn7vXQGwIquGs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5Z/5ZDL5qd6q4T-njbastnXlp0BUf4zDCN3N5AWs6mhPjM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6A/6A5st-4v_dufEAf9aXhHBJ7uMO-dlIncRzr1ErrvMro.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6p/6p-1-uOPy8E-6-dsJ2WfNYAyKiNGT3AsCh3kDtGYN3U.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6p/6pP_7ppSqV2ltXZRAVA0UZ0zOogv1yzMD7NquLbrn38.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8i/8iYVJ2DuJeGTOf81fdHlZZ9gyUyY-XMWhTvxOtRABF8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8j/8j9B7fCWbSuPGTupTMIjIci0AIpP6RvkCArpNcQrOBM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9S/9SdVEiYbRM0gIBRY8El_tUyFgKWLxEdDxOx-h-W3T7o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9_/9_xvnLaWCgKslt7gqHD_ucLLDn1fM64JlmkxeTzNSgk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AP/APPT9dqGYUPSLvM44mtQVLXcj4pMBVUP8t8U_6Mu9HU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CX/CXwrACqjDD_EKo7hsuVCuAqBgIDqAORDJQM-ZaUgWVU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DI/DIl70HpALlsf83-DulJIiP7TPAjT6kK9j30OmUAaUis.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{8j/8j4o6-mT4dfE0yktixRm48zQCqzd0N0v32a0ntEuwxg.cache → Dv/DvXTrZ8sihuZQb2xOQ8aI4PRED-sudqg6BJC7lORTLM.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Eg/Eg1-Yg1a5y_SbC3P2W-SkjU0mu_osGG2qlTI_F3Fs6M.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FC/FCshRXnr940znxvgdC7XlyyYXDG0w4AlmTNqKGMKHOM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FS/FSZhzNEXL4SNOfdxVSfOD-dLTP5DFmiHPie3rSSYyPM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gk/GkbPnWpJG-p0HnpfKBD0P71cACG5wsfqfI0LI4SJS14.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{3n/3n_vB4jy-Rh6WjC6_aU0xH1rjbm5wMVd3vN5quVZ-VE.cache → I1/I1CPS1V-Dwy1p1oqqU9NxHY1jgvtRq5AWwRTMdKBkn0.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K7/K7k9MirGgRUry_ANbnsqiNll9jj_BLI8UzPklguDA4k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kl/KltJTcIgUttwrflEJkuKUJGbDdopqDzpF7ksEHWzO4U.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kz/Kzttg_xUAhnWr5modjr5uhwa7gyndqM-mvoKSTT5Zsw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ni/Ni70T61oW1ffXPo3VsqqGUgGYPbFRD8dWavpNmdyuHc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OL/OLdphdkoG9hlKr9nWumDu73EakfkaztEElD_dYpyV-w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Kt/Kt3gdos8msJbIpF9Ws1WwEuYb05yODTG_VOxmu9H5xI.cache → Ou/Ouloi5DUUK7D4j_0NeJSaGfEXc9yGwagWAuELL7WV48.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pp/PpRdqq9WMSaBaX8EuvsYeolkHfZrvK0JdrNHB9N81BM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Q9/Q9a7YHuEuB9_81NGyUDHFdYqjq2ujx0UbkHMIPbCYCA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{R1/R12Z3ZsimZ5zWT8uI8Z8AVH8rjNENhQNMx4i2h5YHH4.cache → QS/QSIGZUfANITOt5IJiZAz3bbQGRIgGIjIHgt_tTfUc34.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RD/RDaHSrA4LbNG_HDmS8vXdU-XEr26oS_M72SgIfvtvUI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RD/rDsL3WfiP3x4Fde5NfGRommcECZIYEMm8kMYWrWnJJk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/R_/R_OSWPp28zjXBNpKuYKsz7GXSmbCk_mjC6-JCtvAlcE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SJ/SJHpVzfgzaFMCoKB5ZGQ5-zwJfZtpryULSIjjHzrOB4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TG/TG6uk51xpAGw8uM5CWUmVn_hM3KHol8tDDza24gKbAE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/X4/X4059W-QMGad98sbt7eim9KW42Hgd6g3VS_IbJtssxQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/X8/X8rwOH4lQaX-nrWA_lyzLgkLnh0D3ITSpyAkCuOCQ-8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZD/ZDVW76eSJxvzGn5FXRQKW7Aotm0LDd5EdAmNkE5qIGU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZE/ZE1Nq83fFFuJYifsdGdYxifANRaoLvB73wjG8Xk0n1A.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{dY/dYE9sYKw7z5dY6zUrdv_jJrylshWFMf1GFwuXHmXlzE.cache → Zs/ZsrdG9ymZIrEd6tnxTqJNlv6rxSu_MNKhLpmKlWtLKc.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_b/_b-O7D5gtJn4FwzwGqOn64yDAUbna4bqQM-LOd4IRYc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/an/anIGJy0wwQTaxcnpHVEAcuD4y02VQ7SHFzUmNqWry14.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bD/bDOdjIGyJecsKrUoeNXTlh3_A_-Dn92Jg9dXiRcQca0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/f9/f9dlToQXrznsFzF25mqhxBRff-Ev58W0ShQMLjNlqwQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fo/foqxwMzusKkEpxOmyGUI4flUvNQorgX5qOeuKJ_b4A4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gp/gpMGH7BdQ7cppsOGk5OWQnAOw9EldvkEGi9ac2Mv5cY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ik/ikUfE-rmMsd_rsYsJdPakJA9XLktKj0i12SsY4IqzBc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{HS/HSlMqP3ZfKnneVEP6GsmpuvRs52JM9FtPrtJYbpcx2o.cache → lK/lKtPJZo8FK3c8vQ98DQGzke9VRlBjIW2gNBY6z6QYg0.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n7/n7028_wHL8l5lpiFr1Wvwl-RBog7XR3t9giIbf1Eloc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nb/nb5RG8eAHcmRPx0NBlpY-Z-bHAhcaa1KJ3S-Cg8zGN4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oN/oNy-xQDA9NwPCCIRgS1FlBEheBB8Luuog2kVaWgOmxM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uL/uLYRa8nxRo2VzqscM0BLmoTcro8gU-3i9wdqO_JrlKM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vV/vVFWIhL8-L2Z-r0aPWbEGZvMUFF6B50xC9UaPEx4hOg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yn/ynqZkIy4QhPoE3IDdwwZP3idl7_BT65NNF4K9EHmPZk.cache +1 -0
- data/spec/lib/pugin/feature/bandiera_spec.rb +2 -1
- data/spec/views/pugin/people/list/_list.html.haml +81 -0
- data/spec/views/pugin/people/list/lord/_lord.html.haml +110 -0
- data/spec/views/pugin/people/list/member/_member.html.haml +118 -0
- metadata +123 -305
- data/app/views/pugin/people/list/lord/current/_current_lord.html.haml +0 -12
- data/app/views/pugin/people/list/lord/former/_former_lord.html.haml +0 -4
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -188
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-B/-BarCDwZx1XMD5_7t8boZyKBI7oXG1UDfsF42IhEF_A.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-G/-GyAYJjar0g5CPnFCUhwOOfXQe2IqnrWh1aONZ0nmA0.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-O/-ORYsfuI6rMcvbATG61L5nNf3wQpIU3feLAZSJ3VLYA.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-h/-hJnTi9-PvZ8jH8d7rELtQUT2NYS5mzryuQTOHeg8fI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0R/0R-MHkLMDkeVOzLHuPxcV7RRuYJnv5P9IFRr1j5Cv1Q.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/10/10dSQLkbAJiDMgUt19dMYelhEoVg8J_iBI4jN91XzuI.cache +0 -4
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2D/2DNink9R7wYO1SZWx4KQaBbs5y5GmpXDTCvz2UWh4Lk.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2b/2bEeIJ1QkKMzspw4NhUawDTlMj3yn0Ssa1GPCZuMQ-M.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2u/2uJqLfb-VrSQT7pESA_rCZjvujI93s4tEHxULEDbltk.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3I/3I4d164bFPDGOYfPD4jWX_3Aa53q_RvhONSjaFRkMeg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/40/40nhJiELTyR97DHGs6M0qpi7z3TY2gmlJSyMIa7LN7c.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4G/4GGeHCylPM6iDbtK68ezJS3F0AFQcU8CoD4SnH95veM.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4I/4Iyuu6jSarNZ_GM0_xn-zz7e6b9xH65pAy18fMzqcZ4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4W/4WHTyjRbgkuWZSfAMqGfUvFeH6e6lluBpfUWtee7Kz4.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4_/4_JQn8ulT9tB_tca1taRk-JejZarO7CMYd6plYIMEpo.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4z/4zORIlwLT6as3voof3l_OcD2-veguQEslZIuzhrl2cU.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/56/56-T-hZRNMgNk4Uh3WzZ1eWLTqvROiRwjq_aOdzqs0g.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5a/5a5wEAyFzyfsBAfrRNTGO3ltfh3N5eLiJYjFbUubBYI.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5j/5jHCod8lw0AgBjLvlo9ZxTHpQnwOD_xvTDVsS-9TUbM.cache +0 -4
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5v/5vQY7dtUL8XwgiDsAoKrGI-unFjrB8HDPwvIIy6Cosg.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6L/6LRCEnxg0Mg0xaCUE7KuERr1q8Ah3UVv0pmxHcQ0Sj0.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6Y/6YEnsAO6Xqqgf8FQ-2tcs68ciDQqFSfktgRqKlSw3KI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/70/70oMe6SEiLAUMXkzZ23xlifIHTWJG9htwGdFsYithcQ.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7i/7iR31wtrulm0eo7cSNPA9COqJPl6zVTJshqGJlg8TMM.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8B/8B170f80fWaj51prKfRHQK177YiX0pHq7g8u9ogQPTQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8K/8KeNT9CH70IFUEzXaAd_Wz_gJNPTd1MENc_-H--pR7Y.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8K/8k_3IapnSYnz4gAafI4HShCKYib1vvfH3OO1oFTbbL8.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/95/95zm39LWnSmXoeDSf11a3yOxxWxJL1O0EGL2tgpc2N0.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9H/9H8vBTix9diMBKXu1rDOqCJFG5ZBICxq8xmwmor6Dn0.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9P/9PuC6T_9m5erL83YluOyZQAYoi36aJ4Cywf_rR_eQsM.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9o/9ocUMVHpXdjkMlzBGTL6zFD-K8lTYUXN4BQAkg5leAw.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Aj/Ajhzban6LAuwUeeyPtZRjqXAN27D6NfRjpz09379JL0.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Au/AuLNkB4-30q8DGD9qgsc6NRZ61iuib9xRdBxoXpsZLE.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BE/BEmFTQeJOB3GaKCtisaFBRA9JJdFh7m6DG4bVYOb30I.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BH/BHBYwQdQfDvieK4MyBEg0S9soOB3VhLlMJp8pEr1IVQ.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BZ/BZFTbx2WKr1emX9HD42u92tJZ5ZcPOPTaZAuFRfaZds.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cf/CfYdsmbCmN533oNRgPEiRwSomjkOjrGbfhwEpnIDyqs.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cf/cflb8FVFMu9am4L6oe5WC3Jjfwy6NqWgTmZFjkDy720.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cv/Cv5cM-jeUBxIAKVDsdA0NXtHOwVEGSMhsQ37QFmVtnw.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/D-/D-eJm83S3EWv-7o6bGMK8yKkhMU1qiNrZWRJT7oLdig.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EG/EGW7-ozSDimJM_SIntQD0JgigxSRI_RO_jcv7rhl1_g.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Em/EmQ7HkZU7BaxXzS_ZmZYeIN4HM5AWPfv6Ie1igDWm_g.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GE/GEgXmh_Ipr0Q4v4xxgXBAj1IqaC6Pk5OxPeWKRfeHys.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HS/hSZcshGnmj55GMcv9Kqw-oAYuKn2FVCXUS7uBljSI-E.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/He/HeQIaVqaejJYeTy2pmi6Ju-FkAIpz3_Vk7oz_lqDPZc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/He/Heq7EGWLLe21xaFlL4xwO-blqIvbWdq1oxvFEBqe45s.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jy/JyvnDIQaRZ5MPQA8iwNwKbUTz4Ar7cLU6zeYvm_yCF0.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K4/K4Nd6EuZZW3__Lfo5TwJRoNxeUUFhTNr-btFbdTJ2fM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/KP/KPR0xKatVjFQHusG_huKLzzwU6ThazLuooLCVKkC4cU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ko/Ko3UpeL6dOD8WZyTs9CvbJiSAIBuomBJbPPxBbB_H3Y.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ko/kOTAKNxe4uZm7buU5GOP7Y7y9p8bGIv7uld5BsmAmr8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kx/Kxy9f9-UFgP4svFbT5RqwDaHBjX37h1kUf0ea0EqgYo.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LV/LVOXeEBGnMGbBMoRisFAncAbZgdrWLGv7RZMWMLfMXo.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ls/LsdKkIXTT7AKjO7GuKonm0jYf7wjRcbah6PDhQhni5w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/M9/M9CSo4oVvn0pVzjAcajrbSUSYMduZHz4c88kQmlyDPw.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NE/NEyAxSiarQ14KsdEQXto1ZiWKMNs25h2zn3eaC9Mpks.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NE/nEfC4Fw74DIeDlvbjcDI-DRdTaSgccdzpM5lxggEhh4.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Nv/Nv6rIsKzBVeohA50lFJN197MeSZwR0ofTV7yV1Qfolc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P5/P5cXqDbBZdXhw9auXDbnE0c9gvl0Wy3Urv2ie56VPrI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P9/P9u9WZ8VQzWuP7QHfdJg9SB4woiE42OJLZpt9dJQ0oI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PQ/PQ64nNEWICOVjSLLK3IcbSLEIYIh6FFSskJ9gxEoX6o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PQ/PQhjFnHKO54lkCrGiPig70PYmuOUmCAchEDXsOqsZKk.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QK/QK13QPRFpbmGMoRr_H6ohTSYQJpun2YU6BfoGEvwgYM.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QS/QS5UAs29OwnGr9YxEvyHaDbTcIX8l0TJEgoPlEd1Yw8.cache +0 -4
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Rp/RpSaOx-iNikD9PEgEWQl1JNr4FUXBSacjWKFztE_UHE.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Sh/Shgu3scj8zwHhIDTZIQnqvpN_KB-6-0PPe-LMOgnK-o.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/T1/T1CWqKT92Y7N2DJ0fWdOHmdWwOM_I5avygk_J_zp8jE.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/T8/T8uhUTs3wHA1_oBmYr2gYuO48kqIrc-laTP4fM6huro.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/T8/t8Ootbl3_8yELdvGpR_tldZr6r7Na_9votxNnE_rSzU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TG/TGktiKZi3-JOKXoaR4ij33RAbUk4JkZIjmedBCCwiLI.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TH/THy8omBn1UK7XIeTAqF9vof4rHt_29hN1c47oOtV1pg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TM/TMym8kpkprzXzQlJ_75parHf8xTayS17_BL1f6ZNcrY.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TW/TWPrCwyOnXGFLNUBmLQkXD2EUcanAiFU0cggzRmf1k4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/U3/U3J8VIOqOsxd4mz_QE7do7lwjgaOs17WuXHHB_U7JX4.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VK/VKBDqBK2QhBWjz0oWHoIKvlHcDviz7YtRDZuaIoQwds.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VL/VLM3xPfFt-Tt9oMJMFz_zrX-MP0HK90_-YXmfURvCAw.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VQ/VQOPLQhd-oOHDHPcXHXEx7AKb9_QMqgMHP-sa-QCG1E.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wm/WmrSBqNUcqcq-yDWZHnfTRUHUwxl7uf0w6M3xQVEFYQ.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wm/WmrXHSRkn1EieY9IAHwmbDviO7dz5CgovJPzgasfwWU.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wt/WtYRsRMB_DrVV_Gi4_5IkyqDfhyzzkUcdiUTrvHRvkU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yh/YhZLl6J6fkftbGsVIMTSbPSb__trlGCI4fXlstUdSzg.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yu/Yu7bGBfcSxasDPdLGC_2Um0047MLgwpOgG3qu4k8IuI.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Z9/Z98OlWQ5yjVk3HyW31BKb0htp-JZuXhQob92lbYzamM.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZV/ZV09r_IOeXLQ297xQZFjI7h2bcHrB2Hdj29s7daojxM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_4/_41bZMlQ06TQQbNiiItBFrfs88rDSVO8leJ0uM3GSvo.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_J/_JtbBiIeaSTrLweialnFRASDaA7ogDa9e3WP4MZxQgg.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_s/_s5Fduhay-KZweDpLAREAU96Ftk0HDnr2I8_1WwFX5U.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aS/aScajB7oBE012xDn9_gd9edb4K1Ddlk8LsdASxtQGvc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bL/bLL9uo9ZOT6-Q7wX3Vv74wTzkGSNKZ8MfHJfJrmokIc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cb/cbZWx00ZHhFf-WssvAJsikDn8QbHrAqblCfY70Js0wk.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cd/cdzOcklPNdKBoW6cnzpmlq5UdUYrpXaCvlncIxIAa-I.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cg/cglBpnkDLMVSUwS4au_VuW8Sej86DM6t1HYFSAGbJK4.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ck/ckoOZxkYgA5OrM5q4GUfCzajBAA3x3zleIGLdum4uss.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dO/dOql9xhr4Lgkyjq8ZwHhoDqBACeRU4QfnTl-SO6jCeQ.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dY/dYKLDblkJ75KeT2bBp4wDhouf_GNUEib6H5fK2oerYc.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eb/ebkmmikvKhG_r6DRQcl9_5zL7fStuai39k57irsXdbo.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fZ/fZYNZx6pFZsBv2Bh8NEWuIRs07H0GZiwnL5wQN95H3A.cache +0 -4
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ff/ff8fyIQQpv2xwAW_3lG73XAkXspcWB3pAYQoIK2N3_U.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fj/fjJ2E5O-02yNbRNQJfFjvbkM3XlECYmIkiP9k8mbiV8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fm/fmrt_4gl_uXIMahegXZJLrGtL4fCcp0d8nRjDkfk_M4.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gX/gXLPmgpkjBAIKV-uU164g4rTmprLZFYDJBp8VdaBEwc.cache +0 -5
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/g_/g_PE6B0npZ_BLO1zmkdAryZ3d6iWJSjmgjXdB0ZzxJo.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ib/ibcTM9h6eJ8yD_joHHcw8vyzHfXpnLPitU0s2AYgAMo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j3/j32PoOiJV8KwBubew_gO9e1gM3lQSjdbN4ORb28GbbI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kn/knvX2TzIphHlz5tl5mKN4OfxdU92z9yPxnO6Zy1W_HQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lO/lO4Jea3KjDVygu7YA1rx84i4YIPqgyNZSTQNvvvE0SM.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mP/mPRZ0rsOWPPSubhy-tV8SCx5p4HjgPkD7li5PaLkLD0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/m_/m_-cycBioej_3M8O9AMeqqZNWK9AoGiiPuaGBe9q1Tk.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nN/nNQT24hXl1Uau_WCBNOXWEJxTaC0RHZ14MDKasd3Z9I.cache +0 -4
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nU/nUWLj4QE-iX2K2yxPN7FwlQY3gGCeJIRH44-Ramp-Mw.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_QFFqMVg8Jea3-S_HHIw8cWfBRHJH9zc7-ZsuaB74Q.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nt/ntomlOvoaQ4fU0GAkqjoFPQH1NJ61IatgAr_h5cVnLA.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/on/onNQKni5MvrvW-DmS0NO4G9oNQsf-4q0HdYKBOH1hiY.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pA/pAjgsxbmtSdRX3Y5qbG9GS1Nlrpb8PtDHnCFAVR1i-Q.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pB/pBznT4fsulOc5jXDZqdUyVZfkA2oGNkUBqlqjOSsR1o.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qD/Qdyo6BYiRTijCZGqjSBq3JItniOo20TM2fAA4n6O-YE.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qD/qDRSCLaHcvxLwISHmPrafnvHcm6L-eoNDm12Bp3q0Us.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/r3/r3qtcnigoyejsNKbLDSwuGLWtmuFr7I7J5CgVRxw0F0.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sD/sDCGBPwV6noJmb0tQF8pLiXE9fL_5aazD7f7QdY0OY4.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sj/sjteVBlXgHg81qlSz7RRjeezBmfhr-mWBZca8J-wlms.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/t6/t62Kmswg7sdQR7O8V51OICUZgGZs620L542Cmes09Ro.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/td/tdM4lJuPiMMWmPw53ppvaWgz-xrvbx34t_wkfk4Zoa4.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tl/tlBv3MYJiVXQzday1XNB-r4kMfHOAdfdqFqNIp-JRFs.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/u5/u5DlcffGA6QZ9iYe3eC_kPpuYdbSw754SbJM-8GSaYA.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/u6/u6w_GBTD5gGXrW7KFso2KK8rrxTutEveddQ3Va8ovsI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/u8/u8A-6cdL8MRr7-2-Xgm21Mi4qahkM-qgsI4mq4qWS98.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uv/uv_qUJhvQT4Fsu_qA0M36MV0N9LWIqJ12j3CEiuRMlA.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vi/viPp12F8U4LcbUm_qUga87pk_xpubFbuyC7Ut_CPPo0.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wJ/wJ1JVo4EyfbsPxwicM_Q2WSVjo_sSq_12JV0LhBw04E.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x9/x92Hs-x3qSBWnMbRCfZ3moYHlB8BN6l6bH5NMH1N-TM.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xQ/xQfWQEAcrLJRlqus7Z7ijD4cdQQGUGGviJnk-DERW6U.cache +0 -4
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xQ/xqAkG70fG6ZwaKoEFukhWq5vmSkE0qqwhtUm6J3if2c.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xQ/xqZ-eoq9eoAn2ZSThyKvxOBZn8X8DQe61k2rp0RDGsU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yO/yOZ2Ba7Jpotgr3YdWqfI3Cn0RYGwu5JyUNBQgzzwuNs.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/z2/z2UBDqCp2Md5BQvvfpsfKJatSRe3R7NCNvRBa4c6LrE.cache +0 -1
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-F/-FBjq9wjLLb2wCws01q3fiSmcSTtZDaxZ0laE_HQT6A.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/pugin.css?type=text/css&id=afd14e62216a3f2d965f80e0467ee72ea1ff81b50415f0573f6f8e41ccf68649:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/04/04YI8KimWB0m50eETph8R2h9LTiRINa_Gyf0dZ9ABBg.cache
ADDED
Binary file
|
File without changes
|
File without changes
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2u/2uQ5stlugC_eKZt6cXARdXb1rSSEKvzHxMuNZ27WXgY.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/javascripts/pugin/compiled/main.js?type=application/javascript&pipeline=self&id=6e4260ec7aaacc8e16a23f698973e75d0e7804084637f6ad3bd82d0c9e422c44:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/38/388IvEcSYh1SaleMXqfePeny38UlRBHn5TxWxCfQvf4.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/pugin.css?type=text/css&pipeline=self&id=eb9999955ebf6114c423c6971e3de60e279735a5fba8c3f89572f2044d7a7d37:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5G/5GjDeMgIecNi9_ift4XsV_TMHO3_VyKn7vXQGwIquGs.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/overrides/asset_overrides.css.erb?type=text/css&pipeline=self&id=c4f86d3ebabab2e90972725206977bcf63da3e3115720c52191a17b887493ac0:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5Z/5ZDL5qd6q4T-njbastnXlp0BUf4zDCN3N5AWs6mhPjM.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6A/6A5st-4v_dufEAf9aXhHBJ7uMO-dlIncRzr1ErrvMro.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6p/6p-1-uOPy8E-6-dsJ2WfNYAyKiNGT3AsCh3kDtGYN3U.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6p/6pP_7ppSqV2ltXZRAVA0UZ0zOogv1yzMD7NquLbrn38.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/pugin.css?type=text/css&pipeline=self&id=60d4949776f682bf1be1582c02cfee06b69f7a0d1be2af1de32e73227e6cb4ed:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8i/8iYVJ2DuJeGTOf81fdHlZZ9gyUyY-XMWhTvxOtRABF8.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/javascripts/pugin/pugin.js?type=application/javascript&id=d3c244f6157d1b6a1dc778e940685f87427c4dc653c8d9d9e7ffd706804bb52d:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8j/8j9B7fCWbSuPGTupTMIjIci0AIpP6RvkCArpNcQrOBM.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/pugin.css?type=text/css&id=7cb220bec7e43bb30a0cbe1d67f2940227f13df7e024029510a340941fe7bf2b:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9S/9SdVEiYbRM0gIBRY8El_tUyFgKWLxEdDxOx-h-W3T7o.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9_/9_xvnLaWCgKslt7gqHD_ucLLDn1fM64JlmkxeTzNSgk.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AP/APPT9dqGYUPSLvM44mtQVLXcj4pMBVUP8t8U_6Mu9HU.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CX/CXwrACqjDD_EKo7hsuVCuAqBgIDqAORDJQM-ZaUgWVU.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DI/DIl70HpALlsf83-DulJIiP7TPAjT6kK9j30OmUAaUis.cache
ADDED
Binary file
|
File without changes
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Eg/Eg1-Yg1a5y_SbC3P2W-SkjU0mu_osGG2qlTI_F3Fs6M.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FC/FCshRXnr940znxvgdC7XlyyYXDG0w4AlmTNqKGMKHOM.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FS/FSZhzNEXL4SNOfdxVSfOD-dLTP5DFmiHPie3rSSYyPM.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/compiled/main.css?type=text/css&pipeline=self&id=a4090291665250cb74e5438d64b541ba6575746e12d81b6859462d241c1a62fb:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gk/GkbPnWpJG-p0HnpfKBD0P71cACG5wsfqfI0LI4SJS14.cache
ADDED
Binary file
|
File without changes
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K7/K7k9MirGgRUry_ANbnsqiNll9jj_BLI8UzPklguDA4k.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kl/KltJTcIgUttwrflEJkuKUJGbDdopqDzpF7ksEHWzO4U.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kz/Kzttg_xUAhnWr5modjr5uhwa7gyndqM-mvoKSTT5Zsw.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ni/Ni70T61oW1ffXPo3VsqqGUgGYPbFRD8dWavpNmdyuHc.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OL/OLdphdkoG9hlKr9nWumDu73EakfkaztEElD_dYpyV-w.cache
ADDED
Binary file
|
File without changes
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pp/PpRdqq9WMSaBaX8EuvsYeolkHfZrvK0JdrNHB9N81BM.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/compiled/main.css?type=text/css&pipeline=self&id=a50fc24df3dba8259bfb639c9be079eb86686bc85e1f29fceefc438044a974fa:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Q9/Q9a7YHuEuB9_81NGyUDHFdYqjq2ujx0UbkHMIPbCYCA.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/compiled/main.css?type=text/css&pipeline=self&id=052e75ddc4349419ed493c4d62e92d9394f32a7aa7ade3b26016f9a1d233d026:ET
|
File without changes
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RD/RDaHSrA4LbNG_HDmS8vXdU-XEr26oS_M72SgIfvtvUI.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RD/rDsL3WfiP3x4Fde5NfGRommcECZIYEMm8kMYWrWnJJk.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/javascripts/pugin/compiled/main.js?type=application/javascript&pipeline=self&id=15f5d9cc374df7d9bf00069bc5e2d72acbe9535d909ae378d313650c3b70f51f:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/R_/R_OSWPp28zjXBNpKuYKsz7GXSmbCk_mjC6-JCtvAlcE.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SJ/SJHpVzfgzaFMCoKB5ZGQ5-zwJfZtpryULSIjjHzrOB4.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/pugin.css?type=text/css&pipeline=self&id=cfffc73ffd870095d6a7e993ac2e35b6c6d725c610aefd4fb44d603f217ff136:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TG/TG6uk51xpAGw8uM5CWUmVn_hM3KHol8tDDza24gKbAE.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/javascripts/pugin/pugin.js?type=application/javascript&pipeline=self&id=a61c7d2a5690a29e1adc72e57bdb5971f23f6b835c8e2b2e77cf40b863f53446:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/X4/X4059W-QMGad98sbt7eim9KW42Hgd6g3VS_IbJtssxQ.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/X8/X8rwOH4lQaX-nrWA_lyzLgkLnh0D3ITSpyAkCuOCQ-8.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZD/ZDVW76eSJxvzGn5FXRQKW7Aotm0LDd5EdAmNkE5qIGU.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZE/ZE1Nq83fFFuJYifsdGdYxifANRaoLvB73wjG8Xk0n1A.cache
ADDED
Binary file
|
File without changes
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_b/_b-O7D5gtJn4FwzwGqOn64yDAUbna4bqQM-LOd4IRYc.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/javascripts/pugin/pugin.js?type=application/javascript&pipeline=self&id=088d653b3ec1f6f25a6bc9a0b18b2b15402df6409df348eb55c5d4f1fce34e91:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/an/anIGJy0wwQTaxcnpHVEAcuD4y02VQ7SHFzUmNqWry14.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bD/bDOdjIGyJecsKrUoeNXTlh3_A_-Dn92Jg9dXiRcQca0.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/f9/f9dlToQXrznsFzF25mqhxBRff-Ev58W0ShQMLjNlqwQ.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/pugin.css?type=text/css&id=06a3ddb48567bd7818ccdd2bce004af2de6a6ea7dac32a53c3256f583d273a41:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fo/foqxwMzusKkEpxOmyGUI4flUvNQorgX5qOeuKJ_b4A4.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gp/gpMGH7BdQ7cppsOGk5OWQnAOw9EldvkEGi9ac2Mv5cY.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ik/ikUfE-rmMsd_rsYsJdPakJA9XLktKj0i12SsY4IqzBc.cache
ADDED
Binary file
|
File without changes
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n7/n7028_wHL8l5lpiFr1Wvwl-RBog7XR3t9giIbf1Eloc.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/javascripts/pugin/pugin.js?type=application/javascript&id=aa9a557dbbb4885f4505ac657347b984c725b4ee872981faa1cbbfcf5b6d2978:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nb/nb5RG8eAHcmRPx0NBlpY-Z-bHAhcaa1KJ3S-Cg8zGN4.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/javascripts/pugin/compiled/main.js?type=application/javascript&pipeline=self&id=a71933f58cf0a66ee7db7d1f65a590aa68dfffe7c2737b6a104e01c8693781fd:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oN/oNy-xQDA9NwPCCIRgS1FlBEheBB8Luuog2kVaWgOmxM.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/javascripts/pugin/pugin.js?type=application/javascript&id=c0adcd7d507b866e0464ee49699452630630b593416adb157053d2b17bda3499:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uL/uLYRa8nxRo2VzqscM0BLmoTcro8gU-3i9wdqO_JrlKM.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/overrides/asset_overrides.css.erb?type=text/css&pipeline=self&id=f01e71303e8da6112509e52d7b3f79ec9c469cf403998dc68d00b92c54df6d35:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vV/vVFWIhL8-L2Z-r0aPWbEGZvMUFF6B50xC9UaPEx4hOg.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/javascripts/pugin/pugin.js?type=application/javascript&pipeline=self&id=0634e18bdad1b42a0aa8e28300ab182e2183b21101a825b5bf2b40babcb86b52:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yn/ynqZkIy4QhPoE3IDdwwZP3idl7_BT65NNF4K9EHmPZk.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/raynerm/projects/parliament.uk-pugin-components-rails/app/assets/stylesheets/pugin/overrides/asset_overrides.css.erb?type=text/css&pipeline=self&id=f291eed52ff850606555d39ff3ecbe81d616d1e4fb08fad2080dcc638d88030c:ET
|
@@ -7,7 +7,8 @@ describe 'The bandiera client feature set' do
|
|
7
7
|
'show-dissolution': :dissolution?,
|
8
8
|
'show-register': :register_to_vote?,
|
9
9
|
'show-election': :election?,
|
10
|
-
'show-post-election': :post_election
|
10
|
+
'show-post-election': :post_election?,
|
11
|
+
'show-list-images': :show_list_images?
|
11
12
|
}
|
12
13
|
|
13
14
|
method_hash.each do |flag_name, method_name|
|
@@ -0,0 +1,81 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'haml'
|
3
|
+
|
4
|
+
describe 'pugin/people/list/_list.html.haml', type: :view do
|
5
|
+
|
6
|
+
context 'with a MP data set' do
|
7
|
+
|
8
|
+
let(:mp_data_set) { Class.new }
|
9
|
+
let(:mp_seat_incumbency) { Class.new }
|
10
|
+
let(:mp_constituency) { Class.new }
|
11
|
+
let(:mp_party) { Class.new }
|
12
|
+
let(:mp_party_memberships) { Class.new }
|
13
|
+
|
14
|
+
before :each do
|
15
|
+
allow(mp_constituency).to receive(:name).and_return('constituency1')
|
16
|
+
|
17
|
+
allow(mp_seat_incumbency).to receive(:current?).and_return(true)
|
18
|
+
allow(mp_seat_incumbency).to receive(:constituency).and_return(mp_constituency)
|
19
|
+
|
20
|
+
allow(mp_party).to receive(:name).and_return('Labour')
|
21
|
+
|
22
|
+
allow(mp_party_memberships).to receive(:current?).and_return(true)
|
23
|
+
allow(mp_party_memberships).to receive(:party).and_return(mp_party)
|
24
|
+
|
25
|
+
allow(mp_data_set).to receive(:house_incumbencies).and_return([])
|
26
|
+
allow(mp_data_set).to receive(:seat_incumbencies).and_return([mp_seat_incumbency])
|
27
|
+
allow(mp_data_set).to receive(:constituencies).and_return([mp_constituency])
|
28
|
+
allow(mp_data_set).to receive(:parties).and_return([1,2,3])
|
29
|
+
allow(mp_data_set).to receive(:party_memberships).and_return([mp_party_memberships])
|
30
|
+
|
31
|
+
allow(mp_data_set).to receive(:graph_id).and_return('123')
|
32
|
+
allow(mp_data_set).to receive(:display_name).and_return('mp1')
|
33
|
+
|
34
|
+
@people = [mp_data_set]
|
35
|
+
end
|
36
|
+
|
37
|
+
it "renders the member partial" do
|
38
|
+
render partial: "pugin/people/list/list", collection: @people, as: "people".to_sym
|
39
|
+
expect(response).to include("<a href='/people/123'>mp1</a>")
|
40
|
+
expect(response).to include("<p>Current MP for constituency1</p>")
|
41
|
+
expect(response).to include("<p>Labour</p>")
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
context 'with a Lord data set' do
|
46
|
+
|
47
|
+
let(:lord_data_set) { Class.new }
|
48
|
+
let(:lord_house_incumbency) { Class.new }
|
49
|
+
let(:lord_party) { Class.new }
|
50
|
+
let(:lord_party_memberships) { Class.new }
|
51
|
+
let(:lord_statuses) { Class.new }
|
52
|
+
|
53
|
+
before :each do
|
54
|
+
|
55
|
+
allow(lord_house_incumbency).to receive(:current?).and_return(true)
|
56
|
+
allow(lord_house_incumbency).to receive(:start_date).and_return('123')
|
57
|
+
|
58
|
+
allow(lord_party).to receive(:name).and_return('Labour')
|
59
|
+
|
60
|
+
allow(lord_party_memberships).to receive(:current?).and_return(true)
|
61
|
+
allow(lord_party_memberships).to receive(:party).and_return(lord_party)
|
62
|
+
|
63
|
+
allow(lord_data_set).to receive(:parties).and_return([1,2,3])
|
64
|
+
allow(lord_data_set).to receive(:house_incumbencies).and_return([lord_house_incumbency])
|
65
|
+
allow(lord_data_set).to receive(:statuses).and_return({house_membership_status: ['Member of the House of Lords']})
|
66
|
+
allow(lord_data_set).to receive(:party_memberships).and_return([lord_party_memberships])
|
67
|
+
|
68
|
+
allow(lord_data_set).to receive(:graph_id).and_return('123')
|
69
|
+
allow(lord_data_set).to receive(:display_name).and_return('lord1')
|
70
|
+
|
71
|
+
@people = [lord_data_set]
|
72
|
+
end
|
73
|
+
|
74
|
+
it "renders the lord partial" do
|
75
|
+
render partial: "pugin/people/list/list", collection: @people, as: "people".to_sym
|
76
|
+
expect(response).to include("<a href='/people/123'>lord1</a>")
|
77
|
+
expect(response).to include("<p>Member of the House of Lords</p>")
|
78
|
+
expect(response).to include("<p>Labour</p>")
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'haml'
|
3
|
+
|
4
|
+
describe 'pugin/people/list/member/_member.html.haml', type: :view do
|
5
|
+
|
6
|
+
context 'with a current lord data set' do
|
7
|
+
|
8
|
+
let(:current_lord_data_set) { Class.new }
|
9
|
+
let(:current_lord_house_incumbency) { Class.new }
|
10
|
+
let(:current_lord_party) { Class.new }
|
11
|
+
let(:current_lord_party_memberships) { Class.new }
|
12
|
+
let(:current_lord_statuses) { Class.new }
|
13
|
+
|
14
|
+
before :each do
|
15
|
+
|
16
|
+
allow(current_lord_house_incumbency).to receive(:current?).and_return(true)
|
17
|
+
allow(current_lord_house_incumbency).to receive(:start_date).and_return('123')
|
18
|
+
|
19
|
+
allow(current_lord_party).to receive(:name).and_return('Labour')
|
20
|
+
|
21
|
+
allow(current_lord_party_memberships).to receive(:current?).and_return(true)
|
22
|
+
allow(current_lord_party_memberships).to receive(:party).and_return(current_lord_party)
|
23
|
+
|
24
|
+
allow(current_lord_data_set).to receive(:parties).and_return([1,2,3])
|
25
|
+
allow(current_lord_data_set).to receive(:house_incumbencies).and_return([current_lord_house_incumbency])
|
26
|
+
allow(current_lord_data_set).to receive(:statuses).and_return({house_membership_status: ['Member of the House of Lords']})
|
27
|
+
allow(current_lord_data_set).to receive(:party_memberships).and_return([current_lord_party_memberships])
|
28
|
+
|
29
|
+
allow(current_lord_data_set).to receive(:graph_id).and_return('123')
|
30
|
+
allow(current_lord_data_set).to receive(:display_name).and_return('currentlord1')
|
31
|
+
|
32
|
+
@people = [current_lord_data_set]
|
33
|
+
end
|
34
|
+
|
35
|
+
it "renders the current lord data" do
|
36
|
+
render partial: "pugin/people/list/list", collection: @people, as: "people".to_sym
|
37
|
+
expect(response).to include("<a href='/people/123'>currentlord1</a>")
|
38
|
+
expect(response).to include("<p>Member of the House of Lords</p>")
|
39
|
+
expect(response).to include("<p>Labour</p>")
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
context 'with a former lord data set' do
|
44
|
+
|
45
|
+
let(:former_lord_data_set) { Class.new }
|
46
|
+
let(:former_lord_house_incumbency) { Class.new }
|
47
|
+
let(:former_lord_party) { Class.new }
|
48
|
+
let(:former_lord_party_memberships) { Class.new }
|
49
|
+
let(:former_lord_statuses) { Class.new }
|
50
|
+
|
51
|
+
before :each do
|
52
|
+
|
53
|
+
allow(former_lord_house_incumbency).to receive(:current?).and_return(false)
|
54
|
+
allow(former_lord_house_incumbency).to receive(:start_date).and_return('123')
|
55
|
+
|
56
|
+
allow(former_lord_data_set).to receive(:house_incumbencies).and_return([former_lord_house_incumbency])
|
57
|
+
allow(former_lord_data_set).to receive(:statuses).and_return({house_membership_status: ['Former Member of the House of Lords']})
|
58
|
+
allow(former_lord_data_set).to receive(:party_memberships).and_return([former_lord_party_memberships])
|
59
|
+
|
60
|
+
allow(former_lord_data_set).to receive(:graph_id).and_return('123')
|
61
|
+
allow(former_lord_data_set).to receive(:display_name).and_return('formerlord1')
|
62
|
+
|
63
|
+
@people = [former_lord_data_set]
|
64
|
+
end
|
65
|
+
|
66
|
+
it "renders the former lord data" do
|
67
|
+
render partial: "pugin/people/list/list", collection: @people, as: "people".to_sym
|
68
|
+
expect(response).to include("<a href='/people/123'>formerlord1</a>")
|
69
|
+
expect(response).to include("<p>Former Member of the House of Lords</p>")
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
context 'with a parliament lord data set' do
|
74
|
+
|
75
|
+
let(:parliament_lord_data_set) { Class.new }
|
76
|
+
let(:parliament_lord_house_incumbency) { Class.new }
|
77
|
+
let(:parliament_lord_party) { Class.new }
|
78
|
+
let(:parliament_lord_party_memberships) { Class.new }
|
79
|
+
let(:parliament_lord_statuses) { Class.new }
|
80
|
+
|
81
|
+
before :each do
|
82
|
+
@parliament = [1,2,3]
|
83
|
+
|
84
|
+
allow(parliament_lord_house_incumbency).to receive(:current?).and_return(true)
|
85
|
+
allow(parliament_lord_house_incumbency).to receive(:start_date).and_return('123')
|
86
|
+
|
87
|
+
allow(parliament_lord_party).to receive(:name).and_return('Labour')
|
88
|
+
|
89
|
+
allow(parliament_lord_party_memberships).to receive(:current?).and_return(true)
|
90
|
+
allow(parliament_lord_party_memberships).to receive(:party).and_return(parliament_lord_party)
|
91
|
+
|
92
|
+
allow(parliament_lord_data_set).to receive(:parties).and_return([1,2,3])
|
93
|
+
allow(parliament_lord_data_set).to receive(:house_incumbencies).and_return([parliament_lord_house_incumbency])
|
94
|
+
allow(parliament_lord_data_set).to receive(:statuses).and_return({house_membership_status: ['Member of the House of Lords']})
|
95
|
+
allow(parliament_lord_data_set).to receive(:party_memberships).and_return([parliament_lord_party_memberships])
|
96
|
+
|
97
|
+
allow(parliament_lord_data_set).to receive(:graph_id).and_return('123')
|
98
|
+
allow(parliament_lord_data_set).to receive(:display_name).and_return('currentlord1')
|
99
|
+
|
100
|
+
@people = [parliament_lord_data_set]
|
101
|
+
|
102
|
+
end
|
103
|
+
|
104
|
+
it "renders the parliament lord data" do
|
105
|
+
pending("Lord parliament data set not finalised")
|
106
|
+
this_should_not_get_executed
|
107
|
+
end
|
108
|
+
|
109
|
+
end
|
110
|
+
end
|
@@ -0,0 +1,118 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'haml'
|
3
|
+
|
4
|
+
describe 'pugin/people/list/member/_member.html.haml', type: :view do
|
5
|
+
|
6
|
+
context 'with a current MP data set' do
|
7
|
+
|
8
|
+
let(:current_mp_data_set) { Class.new }
|
9
|
+
let(:current_mp_seat_incumbency) { Class.new }
|
10
|
+
let(:current_mp_constituency) { Class.new }
|
11
|
+
let(:current_mp_party) { Class.new }
|
12
|
+
let(:current_mp_party_memberships) { Class.new }
|
13
|
+
|
14
|
+
before :each do
|
15
|
+
allow(current_mp_constituency).to receive(:name).and_return('constituency1')
|
16
|
+
|
17
|
+
allow(current_mp_seat_incumbency).to receive(:current?).and_return(true)
|
18
|
+
allow(current_mp_seat_incumbency).to receive(:constituency).and_return(current_mp_constituency)
|
19
|
+
|
20
|
+
allow(current_mp_party).to receive(:name).and_return('Labour')
|
21
|
+
|
22
|
+
allow(current_mp_party_memberships).to receive(:current?).and_return(true)
|
23
|
+
allow(current_mp_party_memberships).to receive(:party).and_return(current_mp_party)
|
24
|
+
|
25
|
+
allow(current_mp_data_set).to receive(:house_incumbencies).and_return([])
|
26
|
+
allow(current_mp_data_set).to receive(:seat_incumbencies).and_return([current_mp_seat_incumbency])
|
27
|
+
allow(current_mp_data_set).to receive(:constituencies).and_return([current_mp_constituency])
|
28
|
+
allow(current_mp_data_set).to receive(:parties).and_return([1,2,3])
|
29
|
+
allow(current_mp_data_set).to receive(:party_memberships).and_return([current_mp_party_memberships])
|
30
|
+
|
31
|
+
allow(current_mp_data_set).to receive(:graph_id).and_return('123')
|
32
|
+
allow(current_mp_data_set).to receive(:display_name).and_return('currentmp1')
|
33
|
+
|
34
|
+
@people = [current_mp_data_set]
|
35
|
+
end
|
36
|
+
|
37
|
+
it "renders the current MP data" do
|
38
|
+
render partial: "pugin/people/list/list", collection: @people, as: "people".to_sym
|
39
|
+
expect(response).to include("<a href='/people/123'>currentmp1</a>")
|
40
|
+
expect(response).to include("<p>Current MP for constituency1</p>")
|
41
|
+
expect(response).to include("<p>Labour</p>")
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
context 'with a former MP data set' do
|
46
|
+
|
47
|
+
let(:former_mp_data_set) { Class.new }
|
48
|
+
let(:former_mp_seat_incumbency) { Class.new }
|
49
|
+
let(:former_mp_constituency) { Class.new }
|
50
|
+
|
51
|
+
before :each do
|
52
|
+
|
53
|
+
allow(former_mp_constituency).to receive(:name).and_return('constituency1')
|
54
|
+
|
55
|
+
allow(former_mp_seat_incumbency).to receive(:current?).and_return(false)
|
56
|
+
allow(former_mp_seat_incumbency).to receive(:constituency).and_return(former_mp_constituency)
|
57
|
+
|
58
|
+
allow(former_mp_data_set).to receive(:house_incumbencies).and_return([])
|
59
|
+
allow(former_mp_data_set).to receive(:seat_incumbencies).and_return([former_mp_seat_incumbency])
|
60
|
+
allow(former_mp_data_set).to receive(:graph_id).and_return('123')
|
61
|
+
allow(former_mp_data_set).to receive(:display_name).and_return('formermp1')
|
62
|
+
allow(former_mp_data_set).to receive(:statuses).and_return({house_membership_status: ['Former MP']})
|
63
|
+
|
64
|
+
|
65
|
+
@people = [former_mp_data_set]
|
66
|
+
end
|
67
|
+
|
68
|
+
it "renders the former MP data" do
|
69
|
+
render partial: "pugin/people/list/list", collection: @people, as: "people".to_sym
|
70
|
+
expect(response).to include("<a href='/people/123'>formermp1</a>")
|
71
|
+
expect(response).to include("<p>Former MP</p>")
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
context 'with a parliament MP data set' do
|
76
|
+
|
77
|
+
let(:parliament_mp_data_set) { Class.new }
|
78
|
+
let(:parliament_mp_seat_incumbency) { Class.new }
|
79
|
+
let(:parliament_mp_constituency) { Class.new }
|
80
|
+
let(:parliament_mp_party) { Class.new }
|
81
|
+
let(:parliament_mp_party_memberships) { Class.new }
|
82
|
+
|
83
|
+
before :each do
|
84
|
+
@parliament = [1,2,3]
|
85
|
+
|
86
|
+
allow(parliament_mp_constituency).to receive(:name).and_return('constituency1')
|
87
|
+
|
88
|
+
allow(parliament_mp_seat_incumbency).to receive(:current?).and_return(true)
|
89
|
+
allow(parliament_mp_seat_incumbency).to receive(:start_date).and_return(DateTime.new(2017,2,3,4,5,6))
|
90
|
+
allow(parliament_mp_seat_incumbency).to receive(:end_date).and_return(DateTime.new(2017,2,3,4,5,6))
|
91
|
+
allow(parliament_mp_seat_incumbency).to receive(:constituency).and_return(parliament_mp_constituency)
|
92
|
+
|
93
|
+
allow(parliament_mp_party).to receive(:name).and_return('Labour')
|
94
|
+
|
95
|
+
allow(parliament_mp_party_memberships).to receive(:current?).and_return(true)
|
96
|
+
allow(parliament_mp_party_memberships).to receive(:party).and_return(parliament_mp_party)
|
97
|
+
|
98
|
+
allow(parliament_mp_data_set).to receive(:house_incumbencies).and_return([])
|
99
|
+
allow(parliament_mp_data_set).to receive(:seat_incumbencies).and_return([parliament_mp_seat_incumbency])
|
100
|
+
allow(parliament_mp_data_set).to receive(:constituencies).and_return([parliament_mp_constituency])
|
101
|
+
allow(parliament_mp_data_set).to receive(:parties).and_return([1,2,3])
|
102
|
+
allow(parliament_mp_data_set).to receive(:party_memberships).and_return([parliament_mp_party_memberships])
|
103
|
+
|
104
|
+
allow(parliament_mp_data_set).to receive(:graph_id).and_return('123')
|
105
|
+
allow(parliament_mp_data_set).to receive(:display_name).and_return('parliamentmp1')
|
106
|
+
|
107
|
+
@people = [parliament_mp_data_set]
|
108
|
+
end
|
109
|
+
|
110
|
+
it "renders the parliament MP data" do
|
111
|
+
render partial: "pugin/people/list/list", collection: @people, as: "people".to_sym
|
112
|
+
expect(response).to include("<a href='/people/123'>parliamentmp1</a>")
|
113
|
+
expect(response).to include("<p>constituency1 from Fri, 03 Feb 2017 04:05:06 +0000 - Fri, 03 Feb 2017 04:05:06 +0000</p>")
|
114
|
+
expect(response).to include("<p>Labour</p>")
|
115
|
+
end
|
116
|
+
|
117
|
+
end
|
118
|
+
end
|