gov_uk_date_fields 4.0.1 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gov_uk_date_fields/form_fields.rb +1 -1
  3. data/lib/gov_uk_date_fields/version.rb +1 -1
  4. data/test/dummy/log/test.log +1729 -0
  5. data/test/dummy/test/controllers/employees_controller_test.rb +2 -1
  6. data/test/dummy/test/fixtures/files/date_fields_error.html +3 -3
  7. data/test/dummy/test/fixtures/files/date_fields_no_error.html +3 -3
  8. data/test/dummy/test/fixtures/files/date_fields_no_heading.html +3 -3
  9. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0_/0_KGqW-lVlWZcXQN1LWgPLAHDM5xlDV08HbzDgVOy20.cache +1 -0
  10. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1H/1HPQ14RJlTTuTTW8Jt8V--k0FHAO7JVNSxiCW_BlkI4.cache +0 -0
  11. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5D/5DKPLUHmqKZsLfFE5nAE4w0qQLkT9i66E1oG8RHEp6Y.cache +1 -0
  12. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5N/5NbU53vKSTz1IyL4a_BuDGo1je8sAU8tdcl-61HD5wU.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5Q/5QZFrEOWFc73m7uo3BclG5CtkomRnAgRLCJYal2Mjlg.cache +1 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AX/AX3L2fGpRF9VevxsOcMT3K8MFiRGjRX81JBxvrH7IIc.cache +0 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DW/DWiSprTdmJSiF4eYqRLDfLfWLyF-m0Mk3TOoLQXKKW0.cache +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FW/FWsr4fESSJEW5qOGkepixMf2mUXUTrmSjY8z0ySkF8I.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Hk/HkRgExU0xdcvLWwr840m-VvV78lhnyoIW30-yHVLgWQ.cache +0 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OD/ODpjb6V7lYb48jb5DR5f6oCXXgKzueP-KrKgeOhsu5Q.cache +1 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UQ/UQdrSW2a8N4uY86t0uVCmq5efEvZxruTQxXujll5RS4.cache +1 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Y_/Y_6nhqhifE8-y1MsdkxhNvjk5ft1AQGJrbVAwixdesU.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fU/fULlRV8Iu3A-1eKSHAggiy9rQHEG2VbG6rlIEnk1CkE.cache +0 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hJ/hJU84pQFpWWahRxePTphSkkhHn1iLuA9cJ0rjXqkOHU.cache +0 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/j1/j10wgQs121mo73xhaELJIiDCf7txfnU1WnYYS8o1uVU.cache +1 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ng/ngT0rpTBjj5LCyc3GoWJt6ourQbSPeDrYS76aztq2No.cache +1 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
  30. metadata +32 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01a032ae9dee500653aa6c8ac8c77251d56968b1
4
- data.tar.gz: 000d47a21131bea8079265990f3a33f2b3a13ae4
3
+ metadata.gz: 0b33daec31456e74f630240e74cbd598606ee39f
4
+ data.tar.gz: 100721d1d624a2953de657c7c0c05e3825035ca1
5
5
  SHA512:
6
- metadata.gz: 3da6d494bf28c0d7b3c3bf4401e2a5f6d9d956c93b4c73b4bf62b609d64f6f3ae0ec83752043ba0d76cd4f27f1e17c888006f17835dc306adccec97f23b6e46a
7
- data.tar.gz: 558508f343e2973185a59a6fd12d372befc77c9d517df2c9cb058dbd2029dfd793cee9c699e909d2d3558532395dbd46e9fdbae345d1936d11d522f7f5d859bc
6
+ metadata.gz: f8efb4c823b888a75d74a53b3fc22816ae50a7761906328a25da09bf1db0f94f1edfec4ad0430a14325793476b4a1b7203a99d4bd03d678ef08ccc8addd389e7
7
+ data.tar.gz: cc767f5e5834808ee53a494a1823e20cede9f9447ada9d1dcd6476b47a8c3d831d0d1a5945e78294cb496f19e9dc08db6ed600f33fbfd24e6f9ae773e81e0959
@@ -51,7 +51,7 @@ module GovUkDateFields
51
51
  content_tag(:div, class: 'govuk-form-group') do
52
52
  %Q|
53
53
  <label class="govuk-label govuk-date-input__label" for="#{html_id(name)}">#{localized_label(name)}</label>
54
- <input class="#{css_class}" id="#{html_id(name)}" name="#{html_name(name)}" value="#{value}" type="number" pattern="[0-9]*">
54
+ <input class="#{css_class}" id="#{html_id(name)}" name="#{html_name(name)}" value="#{value}" type="text" inputmode="numeric" pattern="[0-9]*">
55
55
  |.html_safe
56
56
  end
57
57
  end
@@ -1,3 +1,3 @@
1
1
  module GovUkDateFields
2
- VERSION = "4.0.1"
2
+ VERSION = "4.1.0"
3
3
  end
@@ -29803,3 +29803,1732 @@ EmployeeTest: test_new_dates_can_be_populated_from_the_form
29803
29803
  EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
29804
29804
  ---------------------------------------------------------------------
29805
29805
   (0.1ms) ROLLBACK
29806
+ ActiveRecord::SchemaMigration Load (23.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
29807
+  (0.1ms) BEGIN
29808
+ ------------------------------------------------------------------
29809
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
29810
+ ------------------------------------------------------------------
29811
+  (0.2ms) ROLLBACK
29812
+  (0.1ms) BEGIN
29813
+ -------------------------------------------------------------------------------------------------------
29814
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
29815
+ -------------------------------------------------------------------------------------------------------
29816
+  (0.1ms) ROLLBACK
29817
+  (0.1ms) BEGIN
29818
+ ----------------------------------------------------------------------
29819
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
29820
+ ----------------------------------------------------------------------
29821
+  (0.1ms) ROLLBACK
29822
+  (0.1ms) BEGIN
29823
+ --------------------------------------------------------------------------------
29824
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
29825
+ --------------------------------------------------------------------------------
29826
+  (0.1ms) ROLLBACK
29827
+  (0.1ms) BEGIN
29828
+ --------------------------------------------------------------------------
29829
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
29830
+ --------------------------------------------------------------------------
29831
+  (0.1ms) ROLLBACK
29832
+  (0.1ms) BEGIN
29833
+ ----------------------------------------------------------------------
29834
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
29835
+ ----------------------------------------------------------------------
29836
+  (0.1ms) ROLLBACK
29837
+  (0.1ms) BEGIN
29838
+ --------------------------------------------------------------------------------------------------
29839
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
29840
+ --------------------------------------------------------------------------------------------------
29841
+  (0.1ms) ROLLBACK
29842
+  (0.1ms) BEGIN
29843
+ -------------------------------------------------------------------------
29844
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
29845
+ -------------------------------------------------------------------------
29846
+  (0.1ms) ROLLBACK
29847
+  (0.1ms) BEGIN
29848
+ ---------------------------------------------------------------------
29849
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
29850
+ ---------------------------------------------------------------------
29851
+  (0.1ms) ROLLBACK
29852
+  (0.1ms) BEGIN
29853
+ -----------------------------------------------------------------------------------------------
29854
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
29855
+ -----------------------------------------------------------------------------------------------
29856
+  (0.1ms) ROLLBACK
29857
+  (0.0ms) BEGIN
29858
+ --------------------------------------------------------------------------
29859
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
29860
+ --------------------------------------------------------------------------
29861
+  (0.1ms) ROLLBACK
29862
+  (0.0ms) BEGIN
29863
+ -----------------------------------------------------------------------
29864
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
29865
+ -----------------------------------------------------------------------
29866
+  (0.1ms) ROLLBACK
29867
+  (0.1ms) BEGIN
29868
+ -----------------------------------------------------------------
29869
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
29870
+ -----------------------------------------------------------------
29871
+  (0.1ms) ROLLBACK
29872
+  (0.1ms) BEGIN
29873
+ ------------------------------------------------------------------------------------------------
29874
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
29875
+ ------------------------------------------------------------------------------------------------
29876
+  (6.1ms) SAVEPOINT active_record_1
29877
+ SQL (12.9ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
29878
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29879
+  (0.1ms) SAVEPOINT active_record_1
29880
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29881
+  (0.1ms) ROLLBACK
29882
+  (0.1ms) BEGIN
29883
+ ---------------------------------------------------------------------
29884
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
29885
+ ---------------------------------------------------------------------
29886
+  (0.1ms) ROLLBACK
29887
+  (0.1ms) BEGIN
29888
+ -----------------------------------------------------------------------
29889
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
29890
+ -----------------------------------------------------------------------
29891
+  (0.1ms) ROLLBACK
29892
+  (0.1ms) BEGIN
29893
+ ---------------------------------------------------------------------------------
29894
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
29895
+ ---------------------------------------------------------------------------------
29896
+  (0.1ms) ROLLBACK
29897
+  (0.1ms) BEGIN
29898
+ ----------------------------------------------------------------------------------------------------------------------------------
29899
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
29900
+ ----------------------------------------------------------------------------------------------------------------------------------
29901
+  (0.1ms) ROLLBACK
29902
+  (0.1ms) BEGIN
29903
+ -------------------------------------------------------------------------------
29904
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
29905
+ -------------------------------------------------------------------------------
29906
+  (0.1ms) ROLLBACK
29907
+  (0.0ms) BEGIN
29908
+ ---------------------------------------------------------------------------------
29909
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
29910
+ ---------------------------------------------------------------------------------
29911
+  (0.1ms) ROLLBACK
29912
+  (0.1ms) BEGIN
29913
+ -----------------------------------------------------------------------------------------------
29914
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
29915
+ -----------------------------------------------------------------------------------------------
29916
+  (0.1ms) ROLLBACK
29917
+  (0.1ms) BEGIN
29918
+ ------------------------------------------------------------------------------------------
29919
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
29920
+ ------------------------------------------------------------------------------------------
29921
+  (0.1ms) ROLLBACK
29922
+  (0.1ms) BEGIN
29923
+ -----------------------------------------------------------------------------------------
29924
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
29925
+ -----------------------------------------------------------------------------------------
29926
+  (0.1ms) ROLLBACK
29927
+  (0.1ms) BEGIN
29928
+ ----------------------------------------------------------------
29929
+ GovUkDateFieldsTest: test_date_fields_with_custom_i18n_attribute
29930
+ ----------------------------------------------------------------
29931
+  (0.1ms) ROLLBACK
29932
+  (0.1ms) BEGIN
29933
+ ------------------------------------------------
29934
+ GovUkDateFieldsTest: test_date_fields_no_heading
29935
+ ------------------------------------------------
29936
+  (0.2ms) ROLLBACK
29937
+  (0.1ms) BEGIN
29938
+ -------------------------------------------
29939
+ GovUkDateFieldsTest: test_date_fields_error
29940
+ -------------------------------------------
29941
+  (0.1ms) ROLLBACK
29942
+  (0.1ms) BEGIN
29943
+ ----------------------------------------------
29944
+ GovUkDateFieldsTest: test_date_fields_no_error
29945
+ ----------------------------------------------
29946
+  (0.1ms) ROLLBACK
29947
+  (0.1ms) BEGIN
29948
+ ----------------------------------------------
29949
+ EmployeesControllerTest: test_should_get_index
29950
+ ----------------------------------------------
29951
+  (0.1ms) SAVEPOINT active_record_1
29952
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
29953
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29954
+  (0.1ms) SAVEPOINT active_record_1
29955
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
29956
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29957
+ Processing by EmployeesController#index as HTML
29958
+ Rendering employees/index.html.erb within layouts/application
29959
+ Employee Load (6.3ms) SELECT "employees".* FROM "employees"
29960
+ Rendered employees/index.html.erb within layouts/application (9.2ms)
29961
+ Completed 200 OK in 200ms (Views: 192.1ms | ActiveRecord: 6.3ms)
29962
+  (0.2ms) ROLLBACK
29963
+  (0.1ms) BEGIN
29964
+ ----------------------------------------------------
29965
+ EmployeesControllerTest: test_should_update_employee
29966
+ ----------------------------------------------------
29967
+  (0.1ms) SAVEPOINT active_record_1
29968
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
29969
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29970
+  (0.1ms) SAVEPOINT active_record_1
29971
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
29972
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29973
+ Processing by EmployeesController#update as HTML
29974
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"1057"}
29975
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1057], ["LIMIT", 1]]
29976
+  (0.1ms) SAVEPOINT active_record_1
29977
+ SQL (6.5ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", Sun, 01 Nov 1981], ["joined", Sat, 03 Oct 2015], ["name", "Ioannis Kole"], ["updated_at", 2019-08-28 10:50:24 UTC], ["id", 1057]]
29978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29979
+ Redirected to http://test.host/employees/1057
29980
+ Completed 302 Found in 13ms (ActiveRecord: 7.0ms)
29981
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1057], ["LIMIT", 1]]
29982
+  (0.1ms) ROLLBACK
29983
+  (0.1ms) BEGIN
29984
+ --------------------------------------------
29985
+ EmployeesControllerTest: test_should_get_new
29986
+ --------------------------------------------
29987
+  (0.1ms) SAVEPOINT active_record_1
29988
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
29989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29990
+  (0.1ms) SAVEPOINT active_record_1
29991
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
29992
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29993
+ Processing by EmployeesController#new as HTML
29994
+ Rendering employees/new.html.erb within layouts/application
29995
+ Rendered employees/_form.html.erb (9.9ms)
29996
+ Rendered employees/new.html.erb within layouts/application (11.9ms)
29997
+ Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 0.0ms)
29998
+  (0.1ms) ROLLBACK
29999
+  (0.1ms) BEGIN
30000
+ ----------------------------------------------------
30001
+ EmployeesControllerTest: test_should_create_employee
30002
+ ----------------------------------------------------
30003
+  (0.1ms) SAVEPOINT active_record_1
30004
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30005
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30006
+  (0.1ms) SAVEPOINT active_record_1
30007
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30008
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30009
+  (0.2ms) SELECT COUNT(*) FROM "employees"
30010
+ Processing by EmployeesController#create as HTML
30011
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
30012
+  (0.1ms) SAVEPOINT active_record_1
30013
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", Fri, 31 Dec 1965], ["joined", Wed, 04 Mar 2015], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30014
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30015
+ Redirected to http://test.host/employees/1063
30016
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
30017
+  (0.1ms) SELECT COUNT(*) FROM "employees"
30018
+  (0.1ms) SELECT COUNT(*) FROM "employees"
30019
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
30020
+  (0.1ms) ROLLBACK
30021
+  (0.1ms) BEGIN
30022
+ -----------------------------------------------------
30023
+ EmployeesControllerTest: test_should_destroy_employee
30024
+ -----------------------------------------------------
30025
+  (0.1ms) SAVEPOINT active_record_1
30026
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30028
+  (0.1ms) SAVEPOINT active_record_1
30029
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30030
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30031
+  (0.1ms) SELECT COUNT(*) FROM "employees"
30032
+ Processing by EmployeesController#destroy as HTML
30033
+ Parameters: {"id"=>"1064"}
30034
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1064], ["LIMIT", 1]]
30035
+  (0.1ms) SAVEPOINT active_record_1
30036
+ SQL (0.1ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 1064]]
30037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30038
+ Redirected to http://test.host/employees
30039
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
30040
+  (0.1ms) SELECT COUNT(*) FROM "employees"
30041
+  (0.1ms) ROLLBACK
30042
+  (0.1ms) BEGIN
30043
+ --------------------------------------------------------------
30044
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
30045
+ --------------------------------------------------------------
30046
+  (0.1ms) SAVEPOINT active_record_1
30047
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30048
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30049
+  (0.1ms) SAVEPOINT active_record_1
30050
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30052
+ Processing by EmployeesController#edit as HTML
30053
+ Parameters: {"id"=>"1066"}
30054
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1066], ["LIMIT", 1]]
30055
+ Rendering employees/edit.html.erb within layouts/application
30056
+ Rendered employees/_form.html.erb (2.0ms)
30057
+ Rendered employees/edit.html.erb within layouts/application (2.5ms)
30058
+ Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.1ms)
30059
+  (0.2ms) ROLLBACK
30060
+  (0.1ms) BEGIN
30061
+ ---------------------------------------------
30062
+ EmployeesControllerTest: test_should_get_edit
30063
+ ---------------------------------------------
30064
+  (0.1ms) SAVEPOINT active_record_1
30065
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30066
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30067
+  (0.1ms) SAVEPOINT active_record_1
30068
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30069
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30070
+ Processing by EmployeesController#edit as HTML
30071
+ Parameters: {"id"=>"1068"}
30072
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1068], ["LIMIT", 1]]
30073
+ Rendering employees/edit.html.erb within layouts/application
30074
+ Rendered employees/_form.html.erb (2.1ms)
30075
+ Rendered employees/edit.html.erb within layouts/application (2.3ms)
30076
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
30077
+  (0.1ms) ROLLBACK
30078
+  (0.1ms) BEGIN
30079
+ --------------------------------------------------
30080
+ EmployeesControllerTest: test_should_show_employee
30081
+ --------------------------------------------------
30082
+  (0.1ms) SAVEPOINT active_record_1
30083
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30084
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30085
+  (0.1ms) SAVEPOINT active_record_1
30086
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30087
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30088
+ Processing by EmployeesController#show as HTML
30089
+ Parameters: {"id"=>"1070"}
30090
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1070], ["LIMIT", 1]]
30091
+ Rendering employees/show.html.erb within layouts/application
30092
+ Rendered employees/show.html.erb within layouts/application (0.6ms)
30093
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)
30094
+  (0.1ms) ROLLBACK
30095
+  (0.1ms) BEGIN
30096
+ ----------------------------------------------
30097
+ ReplicantTest: test_joined_date_is_same_as_dob
30098
+ ----------------------------------------------
30099
+  (0.1ms) ROLLBACK
30100
+  (0.1ms) BEGIN
30101
+ ------------------------------------------------------------------------------------------
30102
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
30103
+ ------------------------------------------------------------------------------------------
30104
+  (0.1ms) ROLLBACK
30105
+  (0.0ms) BEGIN
30106
+ -----------------------------------------------------------------------------------
30107
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
30108
+ -----------------------------------------------------------------------------------
30109
+  (0.1ms) ROLLBACK
30110
+  (0.0ms) BEGIN
30111
+ ----------------------------------------------
30112
+ EmployeeTest: test_valid_dates_raise_no_errors
30113
+ ----------------------------------------------
30114
+  (0.1ms) ROLLBACK
30115
+  (0.1ms) BEGIN
30116
+ ---------------------------------------------------------------------------------------------------------
30117
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
30118
+ ---------------------------------------------------------------------------------------------------------
30119
+  (0.1ms) ROLLBACK
30120
+  (0.1ms) BEGIN
30121
+ --------------------------------------------------------------------------
30122
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
30123
+ --------------------------------------------------------------------------
30124
+  (0.1ms) ROLLBACK
30125
+  (0.1ms) BEGIN
30126
+ --------------------------------------------
30127
+ EmployeeTest: test_nil_dates_raise_no_errors
30128
+ --------------------------------------------
30129
+  (0.1ms) ROLLBACK
30130
+  (0.1ms) BEGIN
30131
+ ---------------------------------------------------------------------
30132
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
30133
+ ---------------------------------------------------------------------
30134
+  (0.1ms) ROLLBACK
30135
+  (0.1ms) BEGIN
30136
+ -----------------------------------------------------------
30137
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
30138
+ -----------------------------------------------------------
30139
+  (0.1ms) ROLLBACK
30140
+  (0.1ms) BEGIN
30141
+ -----------------------------------------------------------------------
30142
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
30143
+ -----------------------------------------------------------------------
30144
+  (0.1ms) ROLLBACK
30145
+  (0.1ms) BEGIN
30146
+ -----------------------------------------------------------
30147
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
30148
+ -----------------------------------------------------------
30149
+  (0.1ms) ROLLBACK
30150
+  (0.0ms) BEGIN
30151
+ ---------------------------------------------------------------------
30152
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
30153
+ ---------------------------------------------------------------------
30154
+  (0.1ms) SAVEPOINT active_record_1
30155
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30157
+  (0.1ms) SAVEPOINT active_record_1
30158
+ SQL (0.2ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", Mon, 17 May 1965], ["updated_at", 2019-08-28 10:50:24 UTC], ["id", 1072]]
30159
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30160
+  (0.1ms) ROLLBACK
30161
+  (0.1ms) BEGIN
30162
+ ----------------------------------------------------------------------------------------------
30163
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
30164
+ ----------------------------------------------------------------------------------------------
30165
+  (0.1ms) ROLLBACK
30166
+  (0.0ms) BEGIN
30167
+ -------------------------------------------------------------------------------------------------------------------
30168
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
30169
+ -------------------------------------------------------------------------------------------------------------------
30170
+  (0.1ms) ROLLBACK
30171
+  (0.1ms) BEGIN
30172
+ -------------------------------------------------------------------------
30173
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
30174
+ -------------------------------------------------------------------------
30175
+  (0.1ms) SAVEPOINT active_record_1
30176
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2019-08-28 10:50:24 UTC], ["updated_at", 2019-08-28 10:50:24 UTC]]
30177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30178
+  (0.1ms) SAVEPOINT active_record_1
30179
+  (5.3ms) ROLLBACK TO SAVEPOINT active_record_1
30180
+  (0.1ms) ROLLBACK
30181
+  (0.1ms) BEGIN
30182
+ ------------------------------------------------------------------------
30183
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
30184
+ ------------------------------------------------------------------------
30185
+  (0.1ms) ROLLBACK
30186
+  (0.1ms) BEGIN
30187
+ -------------------------------------------
30188
+ EmployeeTest: test_invalid_day_raises_error
30189
+ -------------------------------------------
30190
+  (0.1ms) ROLLBACK
30191
+  (0.1ms) BEGIN
30192
+ -----------------------------------------------------------------
30193
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
30194
+ -----------------------------------------------------------------
30195
+  (0.1ms) ROLLBACK
30196
+  (0.1ms) BEGIN
30197
+ ----------------------------------------------------------------------------------------------------------------
30198
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
30199
+ ----------------------------------------------------------------------------------------------------------------
30200
+  (0.1ms) ROLLBACK
30201
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
30202
+  (0.1ms) BEGIN
30203
+ ---------------------------------------------------------------------
30204
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
30205
+ ---------------------------------------------------------------------
30206
+  (0.2ms) ROLLBACK
30207
+  (0.1ms) BEGIN
30208
+ -------------------------------------------------------------------------
30209
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
30210
+ -------------------------------------------------------------------------
30211
+  (0.1ms) ROLLBACK
30212
+  (0.1ms) BEGIN
30213
+ --------------------------------------------------------------------------------------------------
30214
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
30215
+ --------------------------------------------------------------------------------------------------
30216
+  (0.1ms) ROLLBACK
30217
+  (0.1ms) BEGIN
30218
+ --------------------------------------------------------------
30219
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
30220
+ --------------------------------------------------------------
30221
+  (0.2ms) SAVEPOINT active_record_1
30222
+ SQL (0.5ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30224
+  (0.1ms) SAVEPOINT active_record_1
30225
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30227
+ Processing by EmployeesController#edit as HTML
30228
+ Parameters: {"id"=>"1074"}
30229
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1074], ["LIMIT", 1]]
30230
+ Rendering employees/edit.html.erb within layouts/application
30231
+ Rendered employees/_form.html.erb (14.4ms)
30232
+ Rendered employees/edit.html.erb within layouts/application (17.9ms)
30233
+ Completed 200 OK in 199ms (Views: 195.0ms | ActiveRecord: 0.3ms)
30234
+  (0.2ms) ROLLBACK
30235
+  (0.1ms) BEGIN
30236
+ ---------------------------------------------
30237
+ EmployeesControllerTest: test_should_get_edit
30238
+ ---------------------------------------------
30239
+  (0.1ms) SAVEPOINT active_record_1
30240
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30242
+  (0.1ms) SAVEPOINT active_record_1
30243
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30245
+ Processing by EmployeesController#edit as HTML
30246
+ Parameters: {"id"=>"1076"}
30247
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1076], ["LIMIT", 1]]
30248
+ Rendering employees/edit.html.erb within layouts/application
30249
+ Rendered employees/_form.html.erb (2.1ms)
30250
+ Rendered employees/edit.html.erb within layouts/application (2.3ms)
30251
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
30252
+  (0.1ms) ROLLBACK
30253
+  (0.1ms) BEGIN
30254
+ -----------------------------------------------------
30255
+ EmployeesControllerTest: test_should_destroy_employee
30256
+ -----------------------------------------------------
30257
+  (0.1ms) SAVEPOINT active_record_1
30258
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30260
+  (0.1ms) SAVEPOINT active_record_1
30261
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30263
+  (0.1ms) SELECT COUNT(*) FROM "employees"
30264
+ Processing by EmployeesController#destroy as HTML
30265
+ Parameters: {"id"=>"1078"}
30266
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1078], ["LIMIT", 1]]
30267
+  (0.1ms) SAVEPOINT active_record_1
30268
+ SQL (0.2ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 1078]]
30269
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30270
+ Redirected to http://test.host/employees
30271
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
30272
+  (0.2ms) SELECT COUNT(*) FROM "employees"
30273
+  (0.1ms) ROLLBACK
30274
+  (0.1ms) BEGIN
30275
+ --------------------------------------------
30276
+ EmployeesControllerTest: test_should_get_new
30277
+ --------------------------------------------
30278
+  (0.1ms) SAVEPOINT active_record_1
30279
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30281
+  (0.1ms) SAVEPOINT active_record_1
30282
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30284
+ Processing by EmployeesController#new as HTML
30285
+ Rendering employees/new.html.erb within layouts/application
30286
+ Rendered employees/_form.html.erb (2.4ms)
30287
+ Rendered employees/new.html.erb within layouts/application (3.0ms)
30288
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
30289
+  (0.1ms) ROLLBACK
30290
+  (0.1ms) BEGIN
30291
+ ----------------------------------------------------
30292
+ EmployeesControllerTest: test_should_create_employee
30293
+ ----------------------------------------------------
30294
+  (0.1ms) SAVEPOINT active_record_1
30295
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30296
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30297
+  (0.1ms) SAVEPOINT active_record_1
30298
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30300
+  (0.2ms) SELECT COUNT(*) FROM "employees"
30301
+ Processing by EmployeesController#create as HTML
30302
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
30303
+  (0.1ms) SAVEPOINT active_record_1
30304
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", Fri, 31 Dec 1965], ["joined", Wed, 04 Mar 2015], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30306
+ Redirected to http://test.host/employees/1084
30307
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
30308
+  (0.2ms) SELECT COUNT(*) FROM "employees"
30309
+  (0.1ms) SELECT COUNT(*) FROM "employees"
30310
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
30311
+  (0.1ms) ROLLBACK
30312
+  (0.1ms) BEGIN
30313
+ ----------------------------------------------
30314
+ EmployeesControllerTest: test_should_get_index
30315
+ ----------------------------------------------
30316
+  (0.1ms) SAVEPOINT active_record_1
30317
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30318
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30319
+  (0.1ms) SAVEPOINT active_record_1
30320
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30321
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30322
+ Processing by EmployeesController#index as HTML
30323
+ Rendering employees/index.html.erb within layouts/application
30324
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees"
30325
+ Rendered employees/index.html.erb within layouts/application (1.3ms)
30326
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
30327
+  (0.1ms) ROLLBACK
30328
+  (0.1ms) BEGIN
30329
+ --------------------------------------------------
30330
+ EmployeesControllerTest: test_should_show_employee
30331
+ --------------------------------------------------
30332
+  (0.1ms) SAVEPOINT active_record_1
30333
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30334
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30335
+  (0.1ms) SAVEPOINT active_record_1
30336
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30337
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30338
+ Processing by EmployeesController#show as HTML
30339
+ Parameters: {"id"=>"1087"}
30340
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1087], ["LIMIT", 1]]
30341
+ Rendering employees/show.html.erb within layouts/application
30342
+ Rendered employees/show.html.erb within layouts/application (0.6ms)
30343
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
30344
+  (0.1ms) ROLLBACK
30345
+  (0.1ms) BEGIN
30346
+ ----------------------------------------------------
30347
+ EmployeesControllerTest: test_should_update_employee
30348
+ ----------------------------------------------------
30349
+  (0.1ms) SAVEPOINT active_record_1
30350
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30351
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30352
+  (0.1ms) SAVEPOINT active_record_1
30353
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30355
+ Processing by EmployeesController#update as HTML
30356
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"1089"}
30357
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1089], ["LIMIT", 1]]
30358
+  (0.1ms) SAVEPOINT active_record_1
30359
+ SQL (0.2ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", Sun, 01 Nov 1981], ["joined", Sat, 03 Oct 2015], ["name", "Ioannis Kole"], ["updated_at", 2019-08-28 11:17:56 UTC], ["id", 1089]]
30360
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30361
+ Redirected to http://test.host/employees/1089
30362
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
30363
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1089], ["LIMIT", 1]]
30364
+  (0.1ms) ROLLBACK
30365
+  (0.1ms) BEGIN
30366
+ ----------------------------------------------
30367
+ ReplicantTest: test_joined_date_is_same_as_dob
30368
+ ----------------------------------------------
30369
+  (0.1ms) ROLLBACK
30370
+  (0.1ms) BEGIN
30371
+ ----------------------------------------------
30372
+ GovUkDateFieldsTest: test_date_fields_no_error
30373
+ ----------------------------------------------
30374
+  (0.1ms) ROLLBACK
30375
+  (0.1ms) BEGIN
30376
+ ------------------------------------------------
30377
+ GovUkDateFieldsTest: test_date_fields_no_heading
30378
+ ------------------------------------------------
30379
+  (0.1ms) ROLLBACK
30380
+  (0.1ms) BEGIN
30381
+ ----------------------------------------------------------------
30382
+ GovUkDateFieldsTest: test_date_fields_with_custom_i18n_attribute
30383
+ ----------------------------------------------------------------
30384
+  (0.1ms) ROLLBACK
30385
+  (0.1ms) BEGIN
30386
+ -------------------------------------------
30387
+ GovUkDateFieldsTest: test_date_fields_error
30388
+ -------------------------------------------
30389
+  (0.1ms) ROLLBACK
30390
+  (0.1ms) BEGIN
30391
+ --------------------------------------------------------------------------------
30392
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
30393
+ --------------------------------------------------------------------------------
30394
+  (0.1ms) ROLLBACK
30395
+  (0.1ms) BEGIN
30396
+ --------------------------------------------------------------------------
30397
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
30398
+ --------------------------------------------------------------------------
30399
+  (0.1ms) ROLLBACK
30400
+  (0.1ms) BEGIN
30401
+ ----------------------------------------------------------------------
30402
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
30403
+ ----------------------------------------------------------------------
30404
+  (0.1ms) ROLLBACK
30405
+  (0.1ms) BEGIN
30406
+ -----------------------------------------------------------
30407
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
30408
+ -----------------------------------------------------------
30409
+  (0.1ms) ROLLBACK
30410
+  (0.1ms) BEGIN
30411
+ ------------------------------------------------------------------------------------------
30412
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
30413
+ ------------------------------------------------------------------------------------------
30414
+  (0.1ms) ROLLBACK
30415
+  (0.1ms) BEGIN
30416
+ ---------------------------------------------------------------------
30417
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
30418
+ ---------------------------------------------------------------------
30419
+  (0.1ms) SAVEPOINT active_record_1
30420
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30422
+  (0.1ms) SAVEPOINT active_record_1
30423
+ SQL (0.2ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", Mon, 17 May 1965], ["updated_at", 2019-08-28 11:17:56 UTC], ["id", 1091]]
30424
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30425
+  (0.1ms) ROLLBACK
30426
+  (0.1ms) BEGIN
30427
+ --------------------------------------------
30428
+ EmployeeTest: test_nil_dates_raise_no_errors
30429
+ --------------------------------------------
30430
+  (0.1ms) ROLLBACK
30431
+  (0.1ms) BEGIN
30432
+ ----------------------------------------------
30433
+ EmployeeTest: test_valid_dates_raise_no_errors
30434
+ ----------------------------------------------
30435
+  (0.1ms) ROLLBACK
30436
+  (0.1ms) BEGIN
30437
+ -------------------------------------------------------------------------------------------------------------------
30438
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
30439
+ -------------------------------------------------------------------------------------------------------------------
30440
+  (0.1ms) ROLLBACK
30441
+  (0.0ms) BEGIN
30442
+ -----------------------------------------------------------
30443
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
30444
+ -----------------------------------------------------------
30445
+  (0.1ms) ROLLBACK
30446
+  (0.1ms) BEGIN
30447
+ -----------------------------------------------------------------------
30448
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
30449
+ -----------------------------------------------------------------------
30450
+  (0.1ms) ROLLBACK
30451
+  (0.1ms) BEGIN
30452
+ -------------------------------------------
30453
+ EmployeeTest: test_invalid_day_raises_error
30454
+ -------------------------------------------
30455
+  (0.1ms) ROLLBACK
30456
+  (0.1ms) BEGIN
30457
+ ---------------------------------------------------------------------------------------------------------
30458
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
30459
+ ---------------------------------------------------------------------------------------------------------
30460
+  (0.1ms) ROLLBACK
30461
+  (0.1ms) BEGIN
30462
+ ---------------------------------------------------------------------
30463
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
30464
+ ---------------------------------------------------------------------
30465
+  (0.1ms) ROLLBACK
30466
+  (0.1ms) BEGIN
30467
+ ------------------------------------------------------------------------
30468
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
30469
+ ------------------------------------------------------------------------
30470
+  (0.1ms) ROLLBACK
30471
+  (0.1ms) BEGIN
30472
+ --------------------------------------------------------------------------
30473
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
30474
+ --------------------------------------------------------------------------
30475
+  (0.1ms) ROLLBACK
30476
+  (0.0ms) BEGIN
30477
+ -----------------------------------------------------------------
30478
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
30479
+ -----------------------------------------------------------------
30480
+  (0.1ms) ROLLBACK
30481
+  (0.1ms) BEGIN
30482
+ -----------------------------------------------------------------------------------
30483
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
30484
+ -----------------------------------------------------------------------------------
30485
+  (0.1ms) ROLLBACK
30486
+  (0.1ms) BEGIN
30487
+ ----------------------------------------------------------------------------------------------------------------
30488
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
30489
+ ----------------------------------------------------------------------------------------------------------------
30490
+  (0.1ms) ROLLBACK
30491
+  (0.0ms) BEGIN
30492
+ -------------------------------------------------------------------------
30493
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
30494
+ -------------------------------------------------------------------------
30495
+  (0.1ms) SAVEPOINT active_record_1
30496
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30497
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30498
+  (0.0ms) SAVEPOINT active_record_1
30499
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
30500
+  (0.1ms) ROLLBACK
30501
+  (0.1ms) BEGIN
30502
+ ----------------------------------------------------------------------------------------------
30503
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
30504
+ ----------------------------------------------------------------------------------------------
30505
+  (0.1ms) ROLLBACK
30506
+  (0.1ms) BEGIN
30507
+ ------------------------------------------------------------------------------------------------
30508
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
30509
+ ------------------------------------------------------------------------------------------------
30510
+  (0.1ms) SAVEPOINT active_record_1
30511
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2019-08-28 11:17:56 UTC], ["updated_at", 2019-08-28 11:17:56 UTC]]
30512
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30513
+  (0.1ms) SAVEPOINT active_record_1
30514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30515
+  (0.1ms) ROLLBACK
30516
+  (0.1ms) BEGIN
30517
+ --------------------------------------------------------------------------
30518
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
30519
+ --------------------------------------------------------------------------
30520
+  (0.1ms) ROLLBACK
30521
+  (0.1ms) BEGIN
30522
+ -----------------------------------------------------------------------
30523
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
30524
+ -----------------------------------------------------------------------
30525
+  (0.0ms) ROLLBACK
30526
+  (0.1ms) BEGIN
30527
+ -----------------------------------------------------------------------
30528
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
30529
+ -----------------------------------------------------------------------
30530
+  (0.1ms) ROLLBACK
30531
+  (0.1ms) BEGIN
30532
+ -----------------------------------------------------------------
30533
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
30534
+ -----------------------------------------------------------------
30535
+  (0.1ms) ROLLBACK
30536
+  (0.1ms) BEGIN
30537
+ ---------------------------------------------------------------------
30538
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
30539
+ ---------------------------------------------------------------------
30540
+  (0.1ms) ROLLBACK
30541
+  (0.1ms) BEGIN
30542
+ -----------------------------------------------------------------------------------------------
30543
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
30544
+ -----------------------------------------------------------------------------------------------
30545
+  (0.1ms) ROLLBACK
30546
+  (0.1ms) BEGIN
30547
+ ------------------------------------------------------------------
30548
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
30549
+ ------------------------------------------------------------------
30550
+  (0.1ms) ROLLBACK
30551
+  (0.1ms) BEGIN
30552
+ ----------------------------------------------------------------------
30553
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
30554
+ ----------------------------------------------------------------------
30555
+  (0.1ms) ROLLBACK
30556
+  (0.0ms) BEGIN
30557
+ -------------------------------------------------------------------------------------------------------
30558
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
30559
+ -------------------------------------------------------------------------------------------------------
30560
+  (0.1ms) ROLLBACK
30561
+  (0.1ms) BEGIN
30562
+ -----------------------------------------------------------------------------------------
30563
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
30564
+ -----------------------------------------------------------------------------------------
30565
+  (0.1ms) ROLLBACK
30566
+  (0.1ms) BEGIN
30567
+ ------------------------------------------------------------------------------------------
30568
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
30569
+ ------------------------------------------------------------------------------------------
30570
+  (0.1ms) ROLLBACK
30571
+  (0.1ms) BEGIN
30572
+ ---------------------------------------------------------------------------------
30573
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
30574
+ ---------------------------------------------------------------------------------
30575
+  (0.1ms) ROLLBACK
30576
+  (0.1ms) BEGIN
30577
+ -----------------------------------------------------------------------------------------------
30578
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
30579
+ -----------------------------------------------------------------------------------------------
30580
+  (0.1ms) ROLLBACK
30581
+  (0.0ms) BEGIN
30582
+ ----------------------------------------------------------------------------------------------------------------------------------
30583
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
30584
+ ----------------------------------------------------------------------------------------------------------------------------------
30585
+  (0.1ms) ROLLBACK
30586
+  (0.1ms) BEGIN
30587
+ -------------------------------------------------------------------------------
30588
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
30589
+ -------------------------------------------------------------------------------
30590
+  (0.1ms) ROLLBACK
30591
+  (0.1ms) BEGIN
30592
+ ---------------------------------------------------------------------------------
30593
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
30594
+ ---------------------------------------------------------------------------------
30595
+  (0.1ms) ROLLBACK
30596
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
30597
+  (0.2ms) BEGIN
30598
+ ----------------------------------------------------
30599
+ EmployeesControllerTest: test_should_update_employee
30600
+ ----------------------------------------------------
30601
+  (0.1ms) SAVEPOINT active_record_1
30602
+ SQL (0.4ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30603
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30604
+  (0.1ms) SAVEPOINT active_record_1
30605
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30606
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30607
+ Processing by EmployeesController#update as HTML
30608
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"1094"}
30609
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1094], ["LIMIT", 1]]
30610
+  (0.1ms) SAVEPOINT active_record_1
30611
+ SQL (0.2ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", Sun, 01 Nov 1981], ["joined", Sat, 03 Oct 2015], ["name", "Ioannis Kole"], ["updated_at", 2019-08-28 11:18:13 UTC], ["id", 1094]]
30612
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30613
+ Redirected to http://test.host/employees/1094
30614
+ Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
30615
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1094], ["LIMIT", 1]]
30616
+  (0.1ms) ROLLBACK
30617
+  (0.1ms) BEGIN
30618
+ --------------------------------------------------------------
30619
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
30620
+ --------------------------------------------------------------
30621
+  (0.1ms) SAVEPOINT active_record_1
30622
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30623
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30624
+  (0.1ms) SAVEPOINT active_record_1
30625
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30627
+ Processing by EmployeesController#edit as HTML
30628
+ Parameters: {"id"=>"1096"}
30629
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1096], ["LIMIT", 1]]
30630
+ Rendering employees/edit.html.erb within layouts/application
30631
+ Rendered employees/_form.html.erb (9.4ms)
30632
+ Rendered employees/edit.html.erb within layouts/application (11.2ms)
30633
+ Completed 200 OK in 188ms (Views: 186.4ms | ActiveRecord: 0.1ms)
30634
+  (0.2ms) ROLLBACK
30635
+  (0.1ms) BEGIN
30636
+ -----------------------------------------------------
30637
+ EmployeesControllerTest: test_should_destroy_employee
30638
+ -----------------------------------------------------
30639
+  (0.1ms) SAVEPOINT active_record_1
30640
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30642
+  (0.1ms) SAVEPOINT active_record_1
30643
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30645
+  (0.2ms) SELECT COUNT(*) FROM "employees"
30646
+ Processing by EmployeesController#destroy as HTML
30647
+ Parameters: {"id"=>"1098"}
30648
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1098], ["LIMIT", 1]]
30649
+  (0.1ms) SAVEPOINT active_record_1
30650
+ SQL (0.2ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 1098]]
30651
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30652
+ Redirected to http://test.host/employees
30653
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
30654
+  (0.2ms) SELECT COUNT(*) FROM "employees"
30655
+  (0.1ms) ROLLBACK
30656
+  (0.1ms) BEGIN
30657
+ ---------------------------------------------
30658
+ EmployeesControllerTest: test_should_get_edit
30659
+ ---------------------------------------------
30660
+  (0.1ms) SAVEPOINT active_record_1
30661
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30662
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30663
+  (0.1ms) SAVEPOINT active_record_1
30664
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30666
+ Processing by EmployeesController#edit as HTML
30667
+ Parameters: {"id"=>"1100"}
30668
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1100], ["LIMIT", 1]]
30669
+ Rendering employees/edit.html.erb within layouts/application
30670
+ Rendered employees/_form.html.erb (2.0ms)
30671
+ Rendered employees/edit.html.erb within layouts/application (2.2ms)
30672
+ Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
30673
+  (0.1ms) ROLLBACK
30674
+  (0.1ms) BEGIN
30675
+ --------------------------------------------
30676
+ EmployeesControllerTest: test_should_get_new
30677
+ --------------------------------------------
30678
+  (0.1ms) SAVEPOINT active_record_1
30679
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30681
+  (0.1ms) SAVEPOINT active_record_1
30682
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30683
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30684
+ Processing by EmployeesController#new as HTML
30685
+ Rendering employees/new.html.erb within layouts/application
30686
+ Rendered employees/_form.html.erb (2.2ms)
30687
+ Rendered employees/new.html.erb within layouts/application (2.7ms)
30688
+ Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms)
30689
+  (0.1ms) ROLLBACK
30690
+  (0.1ms) BEGIN
30691
+ ----------------------------------------------------
30692
+ EmployeesControllerTest: test_should_create_employee
30693
+ ----------------------------------------------------
30694
+  (0.1ms) SAVEPOINT active_record_1
30695
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30696
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30697
+  (0.1ms) SAVEPOINT active_record_1
30698
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30700
+  (0.2ms) SELECT COUNT(*) FROM "employees"
30701
+ Processing by EmployeesController#create as HTML
30702
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
30703
+  (0.1ms) SAVEPOINT active_record_1
30704
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", Fri, 31 Dec 1965], ["joined", Wed, 04 Mar 2015], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30706
+ Redirected to http://test.host/employees/1106
30707
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
30708
+  (0.2ms) SELECT COUNT(*) FROM "employees"
30709
+  (0.1ms) SELECT COUNT(*) FROM "employees"
30710
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
30711
+  (0.1ms) ROLLBACK
30712
+  (0.1ms) BEGIN
30713
+ --------------------------------------------------
30714
+ EmployeesControllerTest: test_should_show_employee
30715
+ --------------------------------------------------
30716
+  (0.1ms) SAVEPOINT active_record_1
30717
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30718
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30719
+  (0.1ms) SAVEPOINT active_record_1
30720
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30721
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30722
+ Processing by EmployeesController#show as HTML
30723
+ Parameters: {"id"=>"1107"}
30724
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1107], ["LIMIT", 1]]
30725
+ Rendering employees/show.html.erb within layouts/application
30726
+ Rendered employees/show.html.erb within layouts/application (0.6ms)
30727
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
30728
+  (0.1ms) ROLLBACK
30729
+  (0.1ms) BEGIN
30730
+ ----------------------------------------------
30731
+ EmployeesControllerTest: test_should_get_index
30732
+ ----------------------------------------------
30733
+  (0.1ms) SAVEPOINT active_record_1
30734
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30735
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30736
+  (0.1ms) SAVEPOINT active_record_1
30737
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:13 UTC], ["updated_at", 2019-08-28 11:18:13 UTC]]
30738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30739
+ Processing by EmployeesController#index as HTML
30740
+ Rendering employees/index.html.erb within layouts/application
30741
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees"
30742
+ Rendered employees/index.html.erb within layouts/application (1.4ms)
30743
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)
30744
+  (0.1ms) ROLLBACK
30745
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
30746
+  (0.2ms) BEGIN
30747
+ ----------------------------------------------
30748
+ EmployeesControllerTest: test_should_get_index
30749
+ ----------------------------------------------
30750
+  (0.1ms) SAVEPOINT active_record_1
30751
+ SQL (0.4ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30753
+  (0.1ms) SAVEPOINT active_record_1
30754
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30755
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30756
+ Processing by EmployeesController#index as HTML
30757
+ Rendering employees/index.html.erb within layouts/application
30758
+ Employee Load (0.3ms) SELECT "employees".* FROM "employees"
30759
+ Rendered employees/index.html.erb within layouts/application (4.5ms)
30760
+ Completed 200 OK in 168ms (Views: 166.9ms | ActiveRecord: 0.3ms)
30761
+  (0.2ms) ROLLBACK
30762
+  (0.1ms) BEGIN
30763
+ --------------------------------------------------
30764
+ EmployeesControllerTest: test_should_show_employee
30765
+ --------------------------------------------------
30766
+  (0.1ms) SAVEPOINT active_record_1
30767
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30768
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30769
+  (0.1ms) SAVEPOINT active_record_1
30770
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30772
+ Processing by EmployeesController#show as HTML
30773
+ Parameters: {"id"=>"1113"}
30774
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1113], ["LIMIT", 1]]
30775
+ Rendering employees/show.html.erb within layouts/application
30776
+ Rendered employees/show.html.erb within layouts/application (0.6ms)
30777
+ Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.4ms)
30778
+  (0.2ms) ROLLBACK
30779
+  (0.1ms) BEGIN
30780
+ --------------------------------------------
30781
+ EmployeesControllerTest: test_should_get_new
30782
+ --------------------------------------------
30783
+  (0.1ms) SAVEPOINT active_record_1
30784
+ SQL (0.3ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30785
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30786
+  (0.1ms) SAVEPOINT active_record_1
30787
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30788
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30789
+ Processing by EmployeesController#new as HTML
30790
+ Rendering employees/new.html.erb within layouts/application
30791
+ Rendered employees/_form.html.erb (9.4ms)
30792
+ Rendered employees/new.html.erb within layouts/application (10.8ms)
30793
+ Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms)
30794
+  (0.1ms) ROLLBACK
30795
+  (0.1ms) BEGIN
30796
+ ----------------------------------------------------
30797
+ EmployeesControllerTest: test_should_create_employee
30798
+ ----------------------------------------------------
30799
+  (0.1ms) SAVEPOINT active_record_1
30800
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30802
+  (0.1ms) SAVEPOINT active_record_1
30803
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30805
+  (0.2ms) SELECT COUNT(*) FROM "employees"
30806
+ Processing by EmployeesController#create as HTML
30807
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
30808
+  (0.1ms) SAVEPOINT active_record_1
30809
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", Fri, 31 Dec 1965], ["joined", Wed, 04 Mar 2015], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30810
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30811
+ Redirected to http://test.host/employees/1119
30812
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
30813
+  (0.2ms) SELECT COUNT(*) FROM "employees"
30814
+  (0.3ms) SELECT COUNT(*) FROM "employees"
30815
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
30816
+  (0.1ms) ROLLBACK
30817
+  (0.1ms) BEGIN
30818
+ --------------------------------------------------------------
30819
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
30820
+ --------------------------------------------------------------
30821
+  (0.1ms) SAVEPOINT active_record_1
30822
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30824
+  (0.1ms) SAVEPOINT active_record_1
30825
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30826
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30827
+ Processing by EmployeesController#edit as HTML
30828
+ Parameters: {"id"=>"1120"}
30829
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1120], ["LIMIT", 1]]
30830
+ Rendering employees/edit.html.erb within layouts/application
30831
+ Rendered employees/_form.html.erb (2.2ms)
30832
+ Rendered employees/edit.html.erb within layouts/application (2.8ms)
30833
+ Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms)
30834
+  (0.1ms) ROLLBACK
30835
+  (0.1ms) BEGIN
30836
+ ----------------------------------------------------
30837
+ EmployeesControllerTest: test_should_update_employee
30838
+ ----------------------------------------------------
30839
+  (0.1ms) SAVEPOINT active_record_1
30840
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30841
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30842
+  (0.1ms) SAVEPOINT active_record_1
30843
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30844
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30845
+ Processing by EmployeesController#update as HTML
30846
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"1122"}
30847
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1122], ["LIMIT", 1]]
30848
+  (0.1ms) SAVEPOINT active_record_1
30849
+ SQL (0.2ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", Sun, 01 Nov 1981], ["joined", Sat, 03 Oct 2015], ["name", "Ioannis Kole"], ["updated_at", 2019-08-28 11:18:50 UTC], ["id", 1122]]
30850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30851
+ Redirected to http://test.host/employees/1122
30852
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
30853
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1122], ["LIMIT", 1]]
30854
+  (0.1ms) ROLLBACK
30855
+  (0.1ms) BEGIN
30856
+ ---------------------------------------------
30857
+ EmployeesControllerTest: test_should_get_edit
30858
+ ---------------------------------------------
30859
+  (0.1ms) SAVEPOINT active_record_1
30860
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30862
+  (0.1ms) SAVEPOINT active_record_1
30863
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30864
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30865
+ Processing by EmployeesController#edit as HTML
30866
+ Parameters: {"id"=>"1124"}
30867
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1124], ["LIMIT", 1]]
30868
+ Rendering employees/edit.html.erb within layouts/application
30869
+ Rendered employees/_form.html.erb (1.9ms)
30870
+ Rendered employees/edit.html.erb within layouts/application (2.1ms)
30871
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
30872
+  (0.1ms) ROLLBACK
30873
+  (0.1ms) BEGIN
30874
+ -----------------------------------------------------
30875
+ EmployeesControllerTest: test_should_destroy_employee
30876
+ -----------------------------------------------------
30877
+  (0.1ms) SAVEPOINT active_record_1
30878
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", Tue, 13 Aug 1963], ["joined", Tue, 01 Apr 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30880
+  (0.1ms) SAVEPOINT active_record_1
30881
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", Mon, 17 May 1965], ["joined", Wed, 21 May 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30883
+  (0.1ms) SELECT COUNT(*) FROM "employees"
30884
+ Processing by EmployeesController#destroy as HTML
30885
+ Parameters: {"id"=>"1126"}
30886
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1126], ["LIMIT", 1]]
30887
+  (0.1ms) SAVEPOINT active_record_1
30888
+ SQL (0.1ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 1126]]
30889
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30890
+ Redirected to http://test.host/employees
30891
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
30892
+  (0.1ms) SELECT COUNT(*) FROM "employees"
30893
+  (0.1ms) ROLLBACK
30894
+  (0.1ms) BEGIN
30895
+ ----------------------------------------------
30896
+ GovUkDateFieldsTest: test_date_fields_no_error
30897
+ ----------------------------------------------
30898
+  (0.1ms) ROLLBACK
30899
+  (0.1ms) BEGIN
30900
+ ----------------------------------------------------------------
30901
+ GovUkDateFieldsTest: test_date_fields_with_custom_i18n_attribute
30902
+ ----------------------------------------------------------------
30903
+  (0.1ms) ROLLBACK
30904
+  (0.1ms) BEGIN
30905
+ ------------------------------------------------
30906
+ GovUkDateFieldsTest: test_date_fields_no_heading
30907
+ ------------------------------------------------
30908
+  (0.1ms) ROLLBACK
30909
+  (0.1ms) BEGIN
30910
+ -------------------------------------------
30911
+ GovUkDateFieldsTest: test_date_fields_error
30912
+ -------------------------------------------
30913
+  (0.1ms) ROLLBACK
30914
+  (0.1ms) BEGIN
30915
+ -----------------------------------------------------------------------------------------------
30916
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
30917
+ -----------------------------------------------------------------------------------------------
30918
+  (0.1ms) ROLLBACK
30919
+  (0.1ms) BEGIN
30920
+ --------------------------------------------------------------------------
30921
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
30922
+ --------------------------------------------------------------------------
30923
+  (0.1ms) ROLLBACK
30924
+  (0.1ms) BEGIN
30925
+ -----------------------------------------------------------------
30926
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
30927
+ -----------------------------------------------------------------
30928
+  (0.1ms) ROLLBACK
30929
+  (0.1ms) BEGIN
30930
+ -----------------------------------------------------------------------
30931
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
30932
+ -----------------------------------------------------------------------
30933
+  (0.1ms) ROLLBACK
30934
+  (0.1ms) BEGIN
30935
+ ------------------------------------------------------------------------------------------------
30936
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
30937
+ ------------------------------------------------------------------------------------------------
30938
+  (0.1ms) SAVEPOINT active_record_1
30939
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30940
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30941
+  (0.1ms) SAVEPOINT active_record_1
30942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30943
+  (0.1ms) ROLLBACK
30944
+  (0.1ms) BEGIN
30945
+ ---------------------------------------------------------------------
30946
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
30947
+ ---------------------------------------------------------------------
30948
+  (0.1ms) ROLLBACK
30949
+  (0.1ms) BEGIN
30950
+ -----------------------------------------------------------------------
30951
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
30952
+ -----------------------------------------------------------------------
30953
+  (0.1ms) ROLLBACK
30954
+  (0.1ms) BEGIN
30955
+ ---------------------------------------------------------------------
30956
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
30957
+ ---------------------------------------------------------------------
30958
+  (0.1ms) ROLLBACK
30959
+  (0.1ms) BEGIN
30960
+ --------------------------------------------------------------------------------------------------
30961
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
30962
+ --------------------------------------------------------------------------------------------------
30963
+  (0.1ms) ROLLBACK
30964
+  (0.1ms) BEGIN
30965
+ -------------------------------------------------------------------------
30966
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
30967
+ -------------------------------------------------------------------------
30968
+  (0.1ms) ROLLBACK
30969
+  (0.0ms) BEGIN
30970
+ -------------------------------------------
30971
+ EmployeeTest: test_invalid_day_raises_error
30972
+ -------------------------------------------
30973
+  (0.1ms) ROLLBACK
30974
+  (0.1ms) BEGIN
30975
+ ---------------------------------------------------------------------------------------------------------
30976
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
30977
+ ---------------------------------------------------------------------------------------------------------
30978
+  (0.1ms) ROLLBACK
30979
+  (0.1ms) BEGIN
30980
+ --------------------------------------------------------------------------
30981
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
30982
+ --------------------------------------------------------------------------
30983
+  (0.1ms) ROLLBACK
30984
+  (0.1ms) BEGIN
30985
+ ---------------------------------------------------------------------
30986
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
30987
+ ---------------------------------------------------------------------
30988
+  (0.1ms) SAVEPOINT active_record_1
30989
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
30990
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30991
+  (0.0ms) SAVEPOINT active_record_1
30992
+ SQL (0.2ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", Mon, 17 May 1965], ["updated_at", 2019-08-28 11:18:50 UTC], ["id", 1129]]
30993
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30994
+  (0.1ms) ROLLBACK
30995
+  (0.1ms) BEGIN
30996
+ -------------------------------------------------------------------------------------------------------------------
30997
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
30998
+ -------------------------------------------------------------------------------------------------------------------
30999
+  (0.1ms) ROLLBACK
31000
+  (0.0ms) BEGIN
31001
+ ---------------------------------------------------------------------
31002
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
31003
+ ---------------------------------------------------------------------
31004
+  (0.1ms) ROLLBACK
31005
+  (0.1ms) BEGIN
31006
+ -----------------------------------------------------------
31007
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
31008
+ -----------------------------------------------------------
31009
+  (0.0ms) ROLLBACK
31010
+  (0.1ms) BEGIN
31011
+ -----------------------------------------------------------------------------------
31012
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
31013
+ -----------------------------------------------------------------------------------
31014
+  (0.1ms) ROLLBACK
31015
+  (0.1ms) BEGIN
31016
+ -----------------------------------------------------------------
31017
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
31018
+ -----------------------------------------------------------------
31019
+  (0.1ms) ROLLBACK
31020
+  (0.1ms) BEGIN
31021
+ -------------------------------------------------------------------------
31022
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
31023
+ -------------------------------------------------------------------------
31024
+  (0.1ms) SAVEPOINT active_record_1
31025
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", Tue, 13 Aug 1963], ["joined", Mon, 21 Apr 2014], ["created_at", 2019-08-28 11:18:50 UTC], ["updated_at", 2019-08-28 11:18:50 UTC]]
31026
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31027
+  (0.1ms) SAVEPOINT active_record_1
31028
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31029
+  (0.1ms) ROLLBACK
31030
+  (0.1ms) BEGIN
31031
+ ----------------------------------------------------------------------------------------------
31032
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
31033
+ ----------------------------------------------------------------------------------------------
31034
+  (0.1ms) ROLLBACK
31035
+  (0.1ms) BEGIN
31036
+ -----------------------------------------------------------
31037
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
31038
+ -----------------------------------------------------------
31039
+  (0.1ms) ROLLBACK
31040
+  (0.1ms) BEGIN
31041
+ ----------------------------------------------------------------------------------------------------------------
31042
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
31043
+ ----------------------------------------------------------------------------------------------------------------
31044
+  (0.1ms) ROLLBACK
31045
+  (0.1ms) BEGIN
31046
+ -----------------------------------------------------------------------
31047
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
31048
+ -----------------------------------------------------------------------
31049
+  (0.1ms) ROLLBACK
31050
+  (0.0ms) BEGIN
31051
+ ------------------------------------------------------------------------------------------
31052
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
31053
+ ------------------------------------------------------------------------------------------
31054
+  (0.1ms) ROLLBACK
31055
+  (0.1ms) BEGIN
31056
+ ------------------------------------------------------------------------
31057
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
31058
+ ------------------------------------------------------------------------
31059
+  (0.1ms) ROLLBACK
31060
+  (0.1ms) BEGIN
31061
+ ----------------------------------------------
31062
+ EmployeeTest: test_valid_dates_raise_no_errors
31063
+ ----------------------------------------------
31064
+  (0.0ms) ROLLBACK
31065
+  (0.0ms) BEGIN
31066
+ --------------------------------------------
31067
+ EmployeeTest: test_nil_dates_raise_no_errors
31068
+ --------------------------------------------
31069
+  (0.0ms) ROLLBACK
31070
+  (0.1ms) BEGIN
31071
+ -------------------------------------------------------------------------------
31072
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
31073
+ -------------------------------------------------------------------------------
31074
+  (0.1ms) ROLLBACK
31075
+  (0.1ms) BEGIN
31076
+ ---------------------------------------------------------------------------------
31077
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
31078
+ ---------------------------------------------------------------------------------
31079
+  (0.1ms) ROLLBACK
31080
+  (0.1ms) BEGIN
31081
+ ------------------------------------------------------------------------------------------
31082
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
31083
+ ------------------------------------------------------------------------------------------
31084
+  (0.1ms) ROLLBACK
31085
+  (0.1ms) BEGIN
31086
+ -----------------------------------------------------------------------------------------
31087
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
31088
+ -----------------------------------------------------------------------------------------
31089
+  (0.1ms) ROLLBACK
31090
+  (0.1ms) BEGIN
31091
+ -----------------------------------------------------------------------------------------------
31092
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
31093
+ -----------------------------------------------------------------------------------------------
31094
+  (0.1ms) ROLLBACK
31095
+  (0.1ms) BEGIN
31096
+ ---------------------------------------------------------------------------------
31097
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
31098
+ ---------------------------------------------------------------------------------
31099
+  (0.1ms) ROLLBACK
31100
+  (0.0ms) BEGIN
31101
+ ----------------------------------------------------------------------------------------------------------------------------------
31102
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
31103
+ ----------------------------------------------------------------------------------------------------------------------------------
31104
+  (0.1ms) ROLLBACK
31105
+  (0.0ms) BEGIN
31106
+ -------------------------------------------------------------------------------------------------------
31107
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
31108
+ -------------------------------------------------------------------------------------------------------
31109
+  (0.1ms) ROLLBACK
31110
+  (0.1ms) BEGIN
31111
+ ------------------------------------------------------------------
31112
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
31113
+ ------------------------------------------------------------------
31114
+  (0.1ms) ROLLBACK
31115
+  (0.1ms) BEGIN
31116
+ ----------------------------------------------------------------------
31117
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
31118
+ ----------------------------------------------------------------------
31119
+  (0.1ms) ROLLBACK
31120
+  (0.1ms) BEGIN
31121
+ ----------------------------------------------
31122
+ ReplicantTest: test_joined_date_is_same_as_dob
31123
+ ----------------------------------------------
31124
+  (0.1ms) ROLLBACK
31125
+  (0.1ms) BEGIN
31126
+ --------------------------------------------------------------------------------
31127
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
31128
+ --------------------------------------------------------------------------------
31129
+  (0.1ms) ROLLBACK
31130
+  (0.1ms) BEGIN
31131
+ --------------------------------------------------------------------------
31132
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
31133
+ --------------------------------------------------------------------------
31134
+  (0.1ms) ROLLBACK
31135
+  (0.1ms) BEGIN
31136
+ ----------------------------------------------------------------------
31137
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
31138
+ ----------------------------------------------------------------------
31139
+  (0.1ms) ROLLBACK
31140
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
31141
+  (0.2ms) BEGIN
31142
+ -----------------------------------------------------------------------
31143
+ DirectorTest: test_valid_dates_raise_no_errors_when_validation_disabled
31144
+ -----------------------------------------------------------------------
31145
+  (0.2ms) ROLLBACK
31146
+  (0.1ms) BEGIN
31147
+ ------------------------------------------------------------------------------------------------
31148
+ DirectorTest: test_updating_existing_record_with_invalid_dates_is_valid_when_validation_disabled
31149
+ ------------------------------------------------------------------------------------------------
31150
+  (0.1ms) SAVEPOINT active_record_1
31151
+ SQL (0.7ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2019-08-28 12:42:36.583686"], ["updated_at", "2019-08-28 12:42:36.583686"]]
31152
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31153
+  (0.1ms) SAVEPOINT active_record_1
31154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31155
+  (0.1ms) ROLLBACK
31156
+  (0.1ms) BEGIN
31157
+ -----------------------------------------------------------------
31158
+ DirectorTest: test_director_class_responds_to_acts_as_gov_uk_date
31159
+ -----------------------------------------------------------------
31160
+  (0.1ms) ROLLBACK
31161
+  (0.1ms) BEGIN
31162
+ --------------------------------------------------------------------------
31163
+ DirectorTest: test_director_has_class_variable_describing_all_gov_uk_dates
31164
+ --------------------------------------------------------------------------
31165
+  (0.1ms) ROLLBACK
31166
+  (0.1ms) BEGIN
31167
+ ---------------------------------------------------------------------
31168
+ DirectorTest: test_nil_dates_raise_no_errors_when_validation_disabled
31169
+ ---------------------------------------------------------------------
31170
+  (0.1ms) ROLLBACK
31171
+  (0.1ms) BEGIN
31172
+ -----------------------------------------------------------------------------------------------
31173
+ DirectorTest: test_creating_a_new_director_with_invalid_dates_is_valid_when_validation_disabled
31174
+ -----------------------------------------------------------------------------------------------
31175
+  (0.1ms) ROLLBACK
31176
+  (0.1ms) BEGIN
31177
+ -----------------------------------------------------------------------
31178
+ DirectorTest: test_invalid_day_raises_no_error_when_validation_disabled
31179
+ -----------------------------------------------------------------------
31180
+  (0.1ms) ROLLBACK
31181
+  (0.1ms) BEGIN
31182
+ ----------------------------------------------
31183
+ ReplicantTest: test_joined_date_is_same_as_dob
31184
+ ----------------------------------------------
31185
+  (0.1ms) ROLLBACK
31186
+  (0.1ms) BEGIN
31187
+ -------------------------------------------------------------------------
31188
+ DefaultErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
31189
+ -------------------------------------------------------------------------
31190
+  (0.1ms) ROLLBACK
31191
+  (0.1ms) BEGIN
31192
+ --------------------------------------------------------------------------------------------------
31193
+ DefaultErrorClashEmployeeTest: test_invalid_day_adds_invalid_date_message_to_cant_be_blank_message
31194
+ --------------------------------------------------------------------------------------------------
31195
+  (0.1ms) ROLLBACK
31196
+  (0.1ms) BEGIN
31197
+ ---------------------------------------------------------------------
31198
+ DefaultErrorClashEmployeeTest: test_presence_error_messages_generated
31199
+ ---------------------------------------------------------------------
31200
+  (0.1ms) ROLLBACK
31201
+  (0.0ms) BEGIN
31202
+ ----------------------------------------------------
31203
+ EmployeesControllerTest: test_should_create_employee
31204
+ ----------------------------------------------------
31205
+  (0.1ms) SAVEPOINT active_record_1
31206
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2019-08-28 12:42:36.614828"], ["updated_at", "2019-08-28 12:42:36.614828"]]
31207
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31208
+  (0.1ms) SAVEPOINT active_record_1
31209
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2019-08-28 12:42:36.616265"], ["updated_at", "2019-08-28 12:42:36.616265"]]
31210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31211
+  (0.3ms) SELECT COUNT(*) FROM "employees"
31212
+ Processing by EmployeesController#create as HTML
31213
+ Parameters: {"employee"=>{"dob_dd"=>"31", "dob_mm"=>"12", "dob_yyyy"=>"1965", "joined_dd"=>"4", "joined_mm"=>"mar", "joined_yyyy"=>"2015", "name"=>"Joe Blow"}}
31214
+  (0.1ms) SAVEPOINT active_record_1
31215
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Joe Blow"], ["dob", "1965-12-31"], ["joined", "2015-03-04"], ["created_at", "2019-08-28 12:42:36.625881"], ["updated_at", "2019-08-28 12:42:36.625881"]]
31216
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31217
+ Redirected to http://test.host/employees/1134
31218
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
31219
+  (0.2ms) SELECT COUNT(*) FROM "employees"
31220
+  (0.1ms) SELECT COUNT(*) FROM "employees"
31221
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" ORDER BY "employees"."id" DESC LIMIT $1 [["LIMIT", 1]]
31222
+  (0.1ms) ROLLBACK
31223
+  (0.1ms) BEGIN
31224
+ ----------------------------------------------
31225
+ EmployeesControllerTest: test_should_get_index
31226
+ ----------------------------------------------
31227
+  (0.1ms) SAVEPOINT active_record_1
31228
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2019-08-28 12:42:36.639005"], ["updated_at", "2019-08-28 12:42:36.639005"]]
31229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31230
+  (0.0ms) SAVEPOINT active_record_1
31231
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2019-08-28 12:42:36.640217"], ["updated_at", "2019-08-28 12:42:36.640217"]]
31232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31233
+ Processing by EmployeesController#index as HTML
31234
+ Rendering employees/index.html.erb within layouts/application
31235
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees"
31236
+ Rendered employees/index.html.erb within layouts/application (2.4ms)
31237
+ Completed 200 OK in 180ms (Views: 178.6ms | ActiveRecord: 0.2ms)
31238
+  (0.1ms) ROLLBACK
31239
+  (0.1ms) BEGIN
31240
+ --------------------------------------------
31241
+ EmployeesControllerTest: test_should_get_new
31242
+ --------------------------------------------
31243
+  (0.1ms) SAVEPOINT active_record_1
31244
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2019-08-28 12:42:36.823705"], ["updated_at", "2019-08-28 12:42:36.823705"]]
31245
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31246
+  (0.1ms) SAVEPOINT active_record_1
31247
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2019-08-28 12:42:36.825010"], ["updated_at", "2019-08-28 12:42:36.825010"]]
31248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31249
+ Processing by EmployeesController#new as HTML
31250
+ Rendering employees/new.html.erb within layouts/application
31251
+ Rendered employees/_form.html.erb (7.3ms)
31252
+ Rendered employees/new.html.erb within layouts/application (9.1ms)
31253
+ Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
31254
+  (0.1ms) ROLLBACK
31255
+  (0.1ms) BEGIN
31256
+ ---------------------------------------------
31257
+ EmployeesControllerTest: test_should_get_edit
31258
+ ---------------------------------------------
31259
+  (0.1ms) SAVEPOINT active_record_1
31260
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2019-08-28 12:42:36.839077"], ["updated_at", "2019-08-28 12:42:36.839077"]]
31261
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31262
+  (0.1ms) SAVEPOINT active_record_1
31263
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2019-08-28 12:42:36.840402"], ["updated_at", "2019-08-28 12:42:36.840402"]]
31264
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31265
+ Processing by EmployeesController#edit as HTML
31266
+ Parameters: {"id"=>"1139"}
31267
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1139], ["LIMIT", 1]]
31268
+ Rendering employees/edit.html.erb within layouts/application
31269
+ Rendered employees/_form.html.erb (3.5ms)
31270
+ Rendered employees/edit.html.erb within layouts/application (4.1ms)
31271
+ Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.1ms)
31272
+  (0.1ms) ROLLBACK
31273
+  (0.1ms) BEGIN
31274
+ --------------------------------------------------------------
31275
+ EmployeesControllerTest: test_should_render_gov_uk_date_fields
31276
+ --------------------------------------------------------------
31277
+  (0.1ms) SAVEPOINT active_record_1
31278
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2019-08-28 12:42:36.851854"], ["updated_at", "2019-08-28 12:42:36.851854"]]
31279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31280
+  (0.1ms) SAVEPOINT active_record_1
31281
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2019-08-28 12:42:36.853140"], ["updated_at", "2019-08-28 12:42:36.853140"]]
31282
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31283
+ Processing by EmployeesController#edit as HTML
31284
+ Parameters: {"id"=>"1141"}
31285
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1141], ["LIMIT", 1]]
31286
+ Rendering employees/edit.html.erb within layouts/application
31287
+ Rendered employees/_form.html.erb (2.3ms)
31288
+ Rendered employees/edit.html.erb within layouts/application (2.6ms)
31289
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)
31290
+  (0.1ms) ROLLBACK
31291
+  (0.1ms) BEGIN
31292
+ ----------------------------------------------------
31293
+ EmployeesControllerTest: test_should_update_employee
31294
+ ----------------------------------------------------
31295
+  (0.1ms) SAVEPOINT active_record_1
31296
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2019-08-28 12:42:36.862087"], ["updated_at", "2019-08-28 12:42:36.862087"]]
31297
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31298
+  (0.1ms) SAVEPOINT active_record_1
31299
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2019-08-28 12:42:36.863322"], ["updated_at", "2019-08-28 12:42:36.863322"]]
31300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31301
+ Processing by EmployeesController#update as HTML
31302
+ Parameters: {"employee"=>{"dob_dd"=>"1", "dob_mm"=>"11", "dob_yyyy"=>"1981", "joined_dd"=>"3", "joined_mm"=>"oct", "joined_yyyy"=>"2015", "name"=>"Ioannis Kole"}, "id"=>"1143"}
31303
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1143], ["LIMIT", 1]]
31304
+  (0.1ms) SAVEPOINT active_record_1
31305
+ SQL (0.2ms) UPDATE "employees" SET "dob" = $1, "joined" = $2, "name" = $3, "updated_at" = $4 WHERE "employees"."id" = $5 [["dob", "1981-11-01"], ["joined", "2015-10-03"], ["name", "Ioannis Kole"], ["updated_at", "2019-08-28 12:42:36.866491"], ["id", 1143]]
31306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31307
+ Redirected to http://test.host/employees/1143
31308
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
31309
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1143], ["LIMIT", 1]]
31310
+  (0.1ms) ROLLBACK
31311
+  (0.1ms) BEGIN
31312
+ --------------------------------------------------
31313
+ EmployeesControllerTest: test_should_show_employee
31314
+ --------------------------------------------------
31315
+  (0.1ms) SAVEPOINT active_record_1
31316
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2019-08-28 12:42:36.870163"], ["updated_at", "2019-08-28 12:42:36.870163"]]
31317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31318
+  (0.1ms) SAVEPOINT active_record_1
31319
+ SQL (1.0ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2019-08-28 12:42:36.871242"], ["updated_at", "2019-08-28 12:42:36.871242"]]
31320
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31321
+ Processing by EmployeesController#show as HTML
31322
+ Parameters: {"id"=>"1145"}
31323
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1145], ["LIMIT", 1]]
31324
+ Rendering employees/show.html.erb within layouts/application
31325
+ Rendered employees/show.html.erb within layouts/application (0.6ms)
31326
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)
31327
+  (0.1ms) ROLLBACK
31328
+  (0.1ms) BEGIN
31329
+ -----------------------------------------------------
31330
+ EmployeesControllerTest: test_should_destroy_employee
31331
+ -----------------------------------------------------
31332
+  (0.1ms) SAVEPOINT active_record_1
31333
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Stephen"], ["dob", "1963-08-13"], ["joined", "2014-04-01"], ["created_at", "2019-08-28 12:42:36.877765"], ["updated_at", "2019-08-28 12:42:36.877765"]]
31334
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31335
+  (0.1ms) SAVEPOINT active_record_1
31336
+ SQL (0.1ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Tony"], ["dob", "1965-05-17"], ["joined", "2014-05-21"], ["created_at", "2019-08-28 12:42:36.878814"], ["updated_at", "2019-08-28 12:42:36.878814"]]
31337
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31338
+  (0.3ms) SELECT COUNT(*) FROM "employees"
31339
+ Processing by EmployeesController#destroy as HTML
31340
+ Parameters: {"id"=>"1147"}
31341
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT $2 [["id", 1147], ["LIMIT", 1]]
31342
+  (0.1ms) SAVEPOINT active_record_1
31343
+ SQL (0.1ms) DELETE FROM "employees" WHERE "employees"."id" = $1 [["id", 1147]]
31344
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31345
+ Redirected to http://test.host/employees
31346
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
31347
+  (0.2ms) SELECT COUNT(*) FROM "employees"
31348
+  (0.2ms) ROLLBACK
31349
+  (0.1ms) BEGIN
31350
+ ------------------------------------------------------------------------------------------
31351
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_a_nil_object_if_date_is_nil
31352
+ ------------------------------------------------------------------------------------------
31353
+  (0.1ms) ROLLBACK
31354
+  (0.1ms) BEGIN
31355
+ ---------------------------------------------------------------------------------
31356
+ GovUkDateFields::FormDateTest: test_new_raises_error_if_called_from_outside_class
31357
+ ---------------------------------------------------------------------------------
31358
+  (0.1ms) ROLLBACK
31359
+  (0.1ms) BEGIN
31360
+ -----------------------------------------------------------------------------------------
31361
+ GovUkDateFields::FormDateTest: test_set_from_date_instantiates_the_attribute_and_is_valid
31362
+ -----------------------------------------------------------------------------------------
31363
+  (0.1ms) ROLLBACK
31364
+  (0.1ms) BEGIN
31365
+ ----------------------------------------------------------------------------------------------------------------------------------
31366
+ GovUkDateFields::FormDateTest: test_setting_date_parts_with_invalid_values_marks_date_as_invalid_and_leaves_date_variable_the_same
31367
+ ----------------------------------------------------------------------------------------------------------------------------------
31368
+  (0.1ms) ROLLBACK
31369
+  (0.1ms) BEGIN
31370
+ -----------------------------------------------------------------------------------------------
31371
+ GovUkDateFields::FormDateTest: test_setting_all_date_parts_to_nil_sets_date_to_nil_and_is_valid
31372
+ -----------------------------------------------------------------------------------------------
31373
+  (0.1ms) ROLLBACK
31374
+  (0.1ms) BEGIN
31375
+ ---------------------------------------------------------------------------------
31376
+ GovUkDateFields::FormDateTest: test_setting_all_three_date_parts_changes_the_date
31377
+ ---------------------------------------------------------------------------------
31378
+  (0.1ms) ROLLBACK
31379
+  (0.1ms) BEGIN
31380
+ -------------------------------------------------------------------------------
31381
+ GovUkDateFields::FormDateTest: test_set_one_date_part_leaves_the_rest_unchanged
31382
+ -------------------------------------------------------------------------------
31383
+  (0.1ms) ROLLBACK
31384
+  (0.0ms) BEGIN
31385
+ ----------------------------------------------
31386
+ GovUkDateFieldsTest: test_date_fields_no_error
31387
+ ----------------------------------------------
31388
+  (0.1ms) ROLLBACK
31389
+  (0.1ms) BEGIN
31390
+ ----------------------------------------------------------------
31391
+ GovUkDateFieldsTest: test_date_fields_with_custom_i18n_attribute
31392
+ ----------------------------------------------------------------
31393
+  (0.1ms) ROLLBACK
31394
+  (0.1ms) BEGIN
31395
+ -------------------------------------------
31396
+ GovUkDateFieldsTest: test_date_fields_error
31397
+ -------------------------------------------
31398
+  (0.1ms) ROLLBACK
31399
+  (0.1ms) BEGIN
31400
+ ------------------------------------------------
31401
+ GovUkDateFieldsTest: test_date_fields_no_heading
31402
+ ------------------------------------------------
31403
+  (0.1ms) ROLLBACK
31404
+  (0.0ms) BEGIN
31405
+ ------------------------------------------------------------------------------------------
31406
+ EmployeeTest: test_employee_instance_has_form_date_instance_variables_for_each_gov_uk_date
31407
+ ------------------------------------------------------------------------------------------
31408
+  (0.1ms) ROLLBACK
31409
+  (0.1ms) BEGIN
31410
+ -----------------------------------------------------------
31411
+ EmployeeTest: test_that_nil_can_be_assigned_to_a_date_field
31412
+ -----------------------------------------------------------
31413
+  (0.1ms) ROLLBACK
31414
+  (0.1ms) BEGIN
31415
+ -----------------------------------------------------------
31416
+ EmployeeTest: test_new_dates_can_be_populated_from_the_form
31417
+ -----------------------------------------------------------
31418
+  (0.1ms) ROLLBACK
31419
+  (0.1ms) BEGIN
31420
+ -------------------------------------------
31421
+ EmployeeTest: test_invalid_day_raises_error
31422
+ -------------------------------------------
31423
+  (0.1ms) ROLLBACK
31424
+  (0.1ms) BEGIN
31425
+ ----------------------------------------------
31426
+ EmployeeTest: test_valid_dates_raise_no_errors
31427
+ ----------------------------------------------
31428
+  (0.1ms) ROLLBACK
31429
+  (0.0ms) BEGIN
31430
+ ----------------------------------------------------------------------------------------------
31431
+ EmployeeTest: test_no_argument_error_is_raised_if_parseable_string_is_assigned_to_a_date_field
31432
+ ----------------------------------------------------------------------------------------------
31433
+  (0.1ms) ROLLBACK
31434
+  (0.1ms) BEGIN
31435
+ -------------------------------------------------------------------------
31436
+ EmployeeTest: test_updating_existing_record_with_invalid_dates_is_invalid
31437
+ -------------------------------------------------------------------------
31438
+  (0.1ms) SAVEPOINT active_record_1
31439
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2019-08-28 12:42:36.904289"], ["updated_at", "2019-08-28 12:42:36.904289"]]
31440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31441
+  (0.1ms) SAVEPOINT active_record_1
31442
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
31443
+  (0.1ms) ROLLBACK
31444
+  (0.1ms) BEGIN
31445
+ --------------------------------------------------------------------------
31446
+ EmployeeTest: test_employee_has_class_variable_describing_all_gov_uk_dates
31447
+ --------------------------------------------------------------------------
31448
+  (0.1ms) ROLLBACK
31449
+  (0.1ms) BEGIN
31450
+ ----------------------------------------------------------------------------------------------------------------
31451
+ EmployeeTest: test_that_the_calling_the_field_name_on_employee_will_return_the_date_part_of_the_form_date_object
31452
+ ----------------------------------------------------------------------------------------------------------------
31453
+  (0.1ms) ROLLBACK
31454
+  (0.1ms) BEGIN
31455
+ ------------------------------------------------------------------------
31456
+ EmployeeTest: test_creating_a_new_employee_with_invalid_dates_is_invalid
31457
+ ------------------------------------------------------------------------
31458
+  (0.1ms) ROLLBACK
31459
+  (0.1ms) BEGIN
31460
+ ---------------------------------------------------------------------------------------------------------
31461
+ EmployeeTest: test_that_argument_error_is_raised_if_unparseable_string_object_is_assigned_to_a_date_field
31462
+ ---------------------------------------------------------------------------------------------------------
31463
+  (0.1ms) ROLLBACK
31464
+  (0.1ms) BEGIN
31465
+ -----------------------------------------------------------------------------------
31466
+ EmployeeTest: test_that_form_population_values_can_be_extracted_from_the_date_field
31467
+ -----------------------------------------------------------------------------------
31468
+  (0.1ms) ROLLBACK
31469
+  (0.0ms) BEGIN
31470
+ ---------------------------------------------------------------------
31471
+ EmployeeTest: test_createing_a_new_employee_with_valid_dates_is_valid
31472
+ ---------------------------------------------------------------------
31473
+  (0.1ms) ROLLBACK
31474
+  (0.1ms) BEGIN
31475
+ -----------------------------------------------------------------------
31476
+ EmployeeTest: test_that_we_can_assign_new_dates_to_the_form_date_object
31477
+ -----------------------------------------------------------------------
31478
+  (0.1ms) ROLLBACK
31479
+  (0.1ms) BEGIN
31480
+ -----------------------------------------------------------------
31481
+ EmployeeTest: test_employee_class_responds_to_acts_as_gov_uk_date
31482
+ -----------------------------------------------------------------
31483
+  (0.1ms) ROLLBACK
31484
+  (0.1ms) BEGIN
31485
+ -------------------------------------------------------------------------------------------------------------------
31486
+ EmployeeTest: test_argument_error_is_raised_if_an_object_that_doesnt_respond_to_to_date_is_assigned_to_a_date_field
31487
+ -------------------------------------------------------------------------------------------------------------------
31488
+  (0.1ms) ROLLBACK
31489
+  (0.1ms) BEGIN
31490
+ --------------------------------------------
31491
+ EmployeeTest: test_nil_dates_raise_no_errors
31492
+ --------------------------------------------
31493
+  (0.1ms) ROLLBACK
31494
+  (0.1ms) BEGIN
31495
+ ---------------------------------------------------------------------
31496
+ EmployeeTest: test_updating_existing_record_with_valid_dates_is_valid
31497
+ ---------------------------------------------------------------------
31498
+  (0.1ms) SAVEPOINT active_record_1
31499
+ SQL (0.2ms) INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "John"], ["dob", "1963-08-13"], ["joined", "2014-04-21"], ["created_at", "2019-08-28 12:42:36.913360"], ["updated_at", "2019-08-28 12:42:36.913360"]]
31500
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31501
+  (0.1ms) SAVEPOINT active_record_1
31502
+ SQL (0.2ms) UPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3 [["dob", "1965-05-17"], ["updated_at", "2019-08-28 12:42:36.914690"], ["id", 1150]]
31503
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31504
+  (0.1ms) ROLLBACK
31505
+  (0.1ms) BEGIN
31506
+ --------------------------------------------------------------------------
31507
+ OverrideErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
31508
+ --------------------------------------------------------------------------
31509
+  (0.1ms) ROLLBACK
31510
+  (0.1ms) BEGIN
31511
+ --------------------------------------------------------------------------------
31512
+ OverrideErrorClashEmployeeTest: test_invalid_day_overrides_cant_be_blank_message
31513
+ --------------------------------------------------------------------------------
31514
+  (0.1ms) ROLLBACK
31515
+  (0.1ms) BEGIN
31516
+ ----------------------------------------------------------------------
31517
+ OverrideErrorClashEmployeeTest: test_presence_error_messages_generated
31518
+ ----------------------------------------------------------------------
31519
+  (0.1ms) ROLLBACK
31520
+  (0.1ms) BEGIN
31521
+ ------------------------------------------------------------------
31522
+ OmitErrorClashEmployeeTest: test_presence_error_messages_generated
31523
+ ------------------------------------------------------------------
31524
+  (0.1ms) ROLLBACK
31525
+  (0.1ms) BEGIN
31526
+ ----------------------------------------------------------------------
31527
+ OmitErrorClashEmployeeTest: test_valid_dates_generate_no_errors_at_all
31528
+ ----------------------------------------------------------------------
31529
+  (0.1ms) ROLLBACK
31530
+  (0.1ms) BEGIN
31531
+ -------------------------------------------------------------------------------------------------------
31532
+ OmitErrorClashEmployeeTest: test_invalid_day_does_not_add_invalid_date_message_to_cant_be_blank_message
31533
+ -------------------------------------------------------------------------------------------------------
31534
+  (0.1ms) ROLLBACK