Browse Source

Fix tests

pull/1488/head
Kat 3 years ago
parent
commit
074d54a7d4
  1. 2
      db/seeds.rb
  2. 9
      spec/models/form/lettings/questions/la_spec.rb
  3. 9
      spec/models/form/lettings/questions/prevloc_spec.rb
  4. 18
      spec/models/form/sales/questions/prevloc_spec.rb
  5. 18
      spec/models/form/sales/questions/property_local_authority_spec.rb
  6. 18
      spec/models/location_spec.rb

2
db/seeds.rb

@ -316,7 +316,7 @@ unless Rails.env.test?
end end
if (Rails.env.development? || Rails.env.review?) && LocalAuthorityLink.count.zero? if (Rails.env.development? || Rails.env.review?) && LocalAuthorityLink.count.zero?
links_data_paths = ["config/local_authorities_data/local_authority_links_2023.csv","config/local_authorities_data/local_authority_links_2022.csv"] links_data_paths = ["config/local_authorities_data/local_authority_links_2023.csv", "config/local_authorities_data/local_authority_links_2022.csv"]
links_data_paths.each do |path| links_data_paths.each do |path|
service = Imports::LocalAuthorityLinksService.new(path:) service = Imports::LocalAuthorityLinksService.new(path:)
service.call service.call

9
spec/models/form/lettings/questions/la_spec.rb

@ -175,13 +175,8 @@ RSpec.describe Form::Lettings::Questions::La, type: :model do
"E07000147" => "North Norfolk", "E07000147" => "North Norfolk",
"E07000148" => "Norwich", "E07000148" => "Norwich",
"E07000149" => "South Norfolk", "E07000149" => "South Norfolk",
"E07000150" => "Corby", "E06000061" => "North Northamptonshire",
"E07000151" => "Daventry", "E06000062" => "West Northamptonshire",
"E07000152" => "East Northamptonshire",
"E07000153" => "Kettering",
"E07000154" => "Northampton",
"E07000155" => "South Northamptonshire",
"E07000156" => "Wellingborough",
"E07000170" => "Ashfield", "E07000170" => "Ashfield",
"E07000171" => "Bassetlaw", "E07000171" => "Bassetlaw",
"E07000172" => "Broxtowe", "E07000172" => "Broxtowe",

9
spec/models/form/lettings/questions/prevloc_spec.rb

@ -87,7 +87,6 @@ RSpec.describe Form::Lettings::Questions::Prevloc, type: :model do
"S12000005" => "Clackmannanshire", "S12000005" => "Clackmannanshire",
"E07000071" => "Colchester", "E07000071" => "Colchester",
"W06000003" => "Conwy", "W06000003" => "Conwy",
"E07000150" => "Corby",
"E06000052" => "Cornwall", "E06000052" => "Cornwall",
"E07000079" => "Cotswold", "E07000079" => "Cotswold",
"E06000047" => "County Durham", "E06000047" => "County Durham",
@ -98,7 +97,6 @@ RSpec.describe Form::Lettings::Questions::Prevloc, type: :model do
"E07000096" => "Dacorum", "E07000096" => "Dacorum",
"E06000005" => "Darlington", "E06000005" => "Darlington",
"E07000107" => "Dartford", "E07000107" => "Dartford",
"E07000151" => "Daventry",
"W06000004" => "Denbighshire", "W06000004" => "Denbighshire",
"E06000015" => "Derby", "E06000015" => "Derby",
"E07000035" => "Derbyshire Dales", "E07000035" => "Derbyshire Dales",
@ -118,7 +116,6 @@ RSpec.describe Form::Lettings::Questions::Prevloc, type: :model do
"E07000242" => "East Hertfordshire", "E07000242" => "East Hertfordshire",
"E07000137" => "East Lindsey", "E07000137" => "East Lindsey",
"S12000010" => "East Lothian", "S12000010" => "East Lothian",
"E07000152" => "East Northamptonshire",
"S12000011" => "East Renfrewshire", "S12000011" => "East Renfrewshire",
"E06000011" => "East Riding of Yorkshire", "E06000011" => "East Riding of Yorkshire",
"E07000193" => "East Staffordshire", "E07000193" => "East Staffordshire",
@ -179,7 +176,6 @@ RSpec.describe Form::Lettings::Questions::Prevloc, type: :model do
"E06000053" => "Isles of Scilly", "E06000053" => "Isles of Scilly",
"E09000019" => "Islington", "E09000019" => "Islington",
"E09000020" => "Kensington and Chelsea", "E09000020" => "Kensington and Chelsea",
"E07000153" => "Kettering",
"E07000146" => "King’s Lynn and West Norfolk", "E07000146" => "King’s Lynn and West Norfolk",
"E06000010" => "Kingston upon Hull, City of", "E06000010" => "Kingston upon Hull, City of",
"E09000021" => "Kingston upon Thames", "E09000021" => "Kingston upon Thames",
@ -234,12 +230,12 @@ RSpec.describe Form::Lettings::Questions::Prevloc, type: :model do
"S12000050" => "North Lanarkshire", "S12000050" => "North Lanarkshire",
"E06000013" => "North Lincolnshire", "E06000013" => "North Lincolnshire",
"E07000147" => "North Norfolk", "E07000147" => "North Norfolk",
"E06000061" => "North Northamptonshire",
"E06000024" => "North Somerset", "E06000024" => "North Somerset",
"E08000022" => "North Tyneside", "E08000022" => "North Tyneside",
"E07000218" => "North Warwickshire", "E07000218" => "North Warwickshire",
"E06000065" => "North Yorkshire", "E06000065" => "North Yorkshire",
"E07000134" => "North West Leicestershire", "E07000134" => "North West Leicestershire",
"E07000154" => "Northampton",
"E06000057" => "Northumberland", "E06000057" => "Northumberland",
"E07000148" => "Norwich", "E07000148" => "Norwich",
"E06000018" => "Nottingham", "E06000018" => "Nottingham",
@ -295,7 +291,6 @@ RSpec.describe Form::Lettings::Questions::Prevloc, type: :model do
"E07000141" => "South Kesteven", "E07000141" => "South Kesteven",
"S12000029" => "South Lanarkshire", "S12000029" => "South Lanarkshire",
"E07000149" => "South Norfolk", "E07000149" => "South Norfolk",
"E07000155" => "South Northamptonshire",
"E07000179" => "South Oxfordshire", "E07000179" => "South Oxfordshire",
"E07000126" => "South Ribble", "E07000126" => "South Ribble",
"E07000196" => "South Staffordshire", "E07000196" => "South Staffordshire",
@ -351,7 +346,6 @@ RSpec.describe Form::Lettings::Questions::Prevloc, type: :model do
"E07000103" => "Watford", "E07000103" => "Watford",
"E07000216" => "Waverley", "E07000216" => "Waverley",
"E07000065" => "Wealden", "E07000065" => "Wealden",
"E07000156" => "Wellingborough",
"E07000241" => "Welwyn Hatfield", "E07000241" => "Welwyn Hatfield",
"E06000037" => "West Berkshire", "E06000037" => "West Berkshire",
"E07000047" => "West Devon", "E07000047" => "West Devon",
@ -359,6 +353,7 @@ RSpec.describe Form::Lettings::Questions::Prevloc, type: :model do
"E07000127" => "West Lancashire", "E07000127" => "West Lancashire",
"E07000142" => "West Lindsey", "E07000142" => "West Lindsey",
"S12000040" => "West Lothian", "S12000040" => "West Lothian",
"E06000062" => "West Northamptonshire",
"E07000181" => "West Oxfordshire", "E07000181" => "West Oxfordshire",
"E07000245" => "West Suffolk", "E07000245" => "West Suffolk",
"E09000033" => "Westminster", "E09000033" => "Westminster",

18
spec/models/form/sales/questions/prevloc_spec.rb

@ -118,7 +118,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E07000071" => "Colchester", "E07000071" => "Colchester",
"W06000003" => "Conwy", "W06000003" => "Conwy",
"E07000029" => "Copeland", "E07000029" => "Copeland",
"E07000150" => "Corby",
"E06000052" => "Cornwall", "E06000052" => "Cornwall",
"E07000079" => "Cotswold", "E07000079" => "Cotswold",
"E06000047" => "County Durham", "E06000047" => "County Durham",
@ -129,7 +128,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E07000096" => "Dacorum", "E07000096" => "Dacorum",
"E06000005" => "Darlington", "E06000005" => "Darlington",
"E07000107" => "Dartford", "E07000107" => "Dartford",
"E07000151" => "Daventry",
"W06000004" => "Denbighshire", "W06000004" => "Denbighshire",
"E06000015" => "Derby", "E06000015" => "Derby",
"E07000035" => "Derbyshire Dales", "E07000035" => "Derbyshire Dales",
@ -149,7 +147,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E07000242" => "East Hertfordshire", "E07000242" => "East Hertfordshire",
"E07000137" => "East Lindsey", "E07000137" => "East Lindsey",
"S12000010" => "East Lothian", "S12000010" => "East Lothian",
"E07000152" => "East Northamptonshire",
"S12000011" => "East Renfrewshire", "S12000011" => "East Renfrewshire",
"E06000011" => "East Riding of Yorkshire", "E06000011" => "East Riding of Yorkshire",
"E07000193" => "East Staffordshire", "E07000193" => "East Staffordshire",
@ -213,7 +210,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E06000053" => "Isles of Scilly", "E06000053" => "Isles of Scilly",
"E09000019" => "Islington", "E09000019" => "Islington",
"E09000020" => "Kensington and Chelsea", "E09000020" => "Kensington and Chelsea",
"E07000153" => "Kettering",
"E07000146" => "King’s Lynn and West Norfolk", "E07000146" => "King’s Lynn and West Norfolk",
"E06000010" => "Kingston upon Hull, City of", "E06000010" => "Kingston upon Hull, City of",
"E09000021" => "Kingston upon Thames", "E09000021" => "Kingston upon Thames",
@ -269,11 +265,11 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"S12000050" => "North Lanarkshire", "S12000050" => "North Lanarkshire",
"E06000013" => "North Lincolnshire", "E06000013" => "North Lincolnshire",
"E07000147" => "North Norfolk", "E07000147" => "North Norfolk",
"E06000061" => "North Northamptonshire",
"E06000024" => "North Somerset", "E06000024" => "North Somerset",
"E08000022" => "North Tyneside", "E08000022" => "North Tyneside",
"E07000218" => "North Warwickshire", "E07000218" => "North Warwickshire",
"E07000134" => "North West Leicestershire", "E07000134" => "North West Leicestershire",
"E07000154" => "Northampton",
"E06000057" => "Northumberland", "E06000057" => "Northumberland",
"E07000148" => "Norwich", "E07000148" => "Norwich",
"E06000018" => "Nottingham", "E06000018" => "Nottingham",
@ -335,7 +331,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E07000031" => "South Lakeland", "E07000031" => "South Lakeland",
"S12000029" => "South Lanarkshire", "S12000029" => "South Lanarkshire",
"E07000149" => "South Norfolk", "E07000149" => "South Norfolk",
"E07000155" => "South Northamptonshire",
"E07000179" => "South Oxfordshire", "E07000179" => "South Oxfordshire",
"E07000126" => "South Ribble", "E07000126" => "South Ribble",
"E07000189" => "South Somerset", "E07000189" => "South Somerset",
@ -392,7 +387,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E07000103" => "Watford", "E07000103" => "Watford",
"E07000216" => "Waverley", "E07000216" => "Waverley",
"E07000065" => "Wealden", "E07000065" => "Wealden",
"E07000156" => "Wellingborough",
"E07000241" => "Welwyn Hatfield", "E07000241" => "Welwyn Hatfield",
"E06000037" => "West Berkshire", "E06000037" => "West Berkshire",
"E07000047" => "West Devon", "E07000047" => "West Devon",
@ -400,6 +394,7 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E07000127" => "West Lancashire", "E07000127" => "West Lancashire",
"E07000142" => "West Lindsey", "E07000142" => "West Lindsey",
"S12000040" => "West Lothian", "S12000040" => "West Lothian",
"E06000062" => "West Northamptonshire",
"E07000181" => "West Oxfordshire", "E07000181" => "West Oxfordshire",
"E07000245" => "West Suffolk", "E07000245" => "West Suffolk",
"E09000033" => "Westminster", "E09000033" => "Westminster",
@ -507,7 +502,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"S12000005" => "Clackmannanshire", "S12000005" => "Clackmannanshire",
"E07000071" => "Colchester", "E07000071" => "Colchester",
"W06000003" => "Conwy", "W06000003" => "Conwy",
"E07000150" => "Corby",
"E06000052" => "Cornwall", "E06000052" => "Cornwall",
"E07000079" => "Cotswold", "E07000079" => "Cotswold",
"E06000047" => "County Durham", "E06000047" => "County Durham",
@ -518,7 +512,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E07000096" => "Dacorum", "E07000096" => "Dacorum",
"E06000005" => "Darlington", "E06000005" => "Darlington",
"E07000107" => "Dartford", "E07000107" => "Dartford",
"E07000151" => "Daventry",
"W06000004" => "Denbighshire", "W06000004" => "Denbighshire",
"E06000015" => "Derby", "E06000015" => "Derby",
"E07000035" => "Derbyshire Dales", "E07000035" => "Derbyshire Dales",
@ -538,7 +531,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E07000242" => "East Hertfordshire", "E07000242" => "East Hertfordshire",
"E07000137" => "East Lindsey", "E07000137" => "East Lindsey",
"S12000010" => "East Lothian", "S12000010" => "East Lothian",
"E07000152" => "East Northamptonshire",
"S12000011" => "East Renfrewshire", "S12000011" => "East Renfrewshire",
"E06000011" => "East Riding of Yorkshire", "E06000011" => "East Riding of Yorkshire",
"E07000193" => "East Staffordshire", "E07000193" => "East Staffordshire",
@ -599,7 +591,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E06000053" => "Isles of Scilly", "E06000053" => "Isles of Scilly",
"E09000019" => "Islington", "E09000019" => "Islington",
"E09000020" => "Kensington and Chelsea", "E09000020" => "Kensington and Chelsea",
"E07000153" => "Kettering",
"E07000146" => "King’s Lynn and West Norfolk", "E07000146" => "King’s Lynn and West Norfolk",
"E06000010" => "Kingston upon Hull, City of", "E06000010" => "Kingston upon Hull, City of",
"E09000021" => "Kingston upon Thames", "E09000021" => "Kingston upon Thames",
@ -654,12 +645,12 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"S12000050" => "North Lanarkshire", "S12000050" => "North Lanarkshire",
"E06000013" => "North Lincolnshire", "E06000013" => "North Lincolnshire",
"E07000147" => "North Norfolk", "E07000147" => "North Norfolk",
"E06000061" => "North Northamptonshire",
"E06000024" => "North Somerset", "E06000024" => "North Somerset",
"E08000022" => "North Tyneside", "E08000022" => "North Tyneside",
"E07000218" => "North Warwickshire", "E07000218" => "North Warwickshire",
"E06000065" => "North Yorkshire", "E06000065" => "North Yorkshire",
"E07000134" => "North West Leicestershire", "E07000134" => "North West Leicestershire",
"E07000154" => "Northampton",
"E06000057" => "Northumberland", "E06000057" => "Northumberland",
"E07000148" => "Norwich", "E07000148" => "Norwich",
"E06000018" => "Nottingham", "E06000018" => "Nottingham",
@ -715,7 +706,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E07000141" => "South Kesteven", "E07000141" => "South Kesteven",
"S12000029" => "South Lanarkshire", "S12000029" => "South Lanarkshire",
"E07000149" => "South Norfolk", "E07000149" => "South Norfolk",
"E07000155" => "South Northamptonshire",
"E07000179" => "South Oxfordshire", "E07000179" => "South Oxfordshire",
"E07000126" => "South Ribble", "E07000126" => "South Ribble",
"E07000196" => "South Staffordshire", "E07000196" => "South Staffordshire",
@ -771,7 +761,6 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E07000103" => "Watford", "E07000103" => "Watford",
"E07000216" => "Waverley", "E07000216" => "Waverley",
"E07000065" => "Wealden", "E07000065" => "Wealden",
"E07000156" => "Wellingborough",
"E07000241" => "Welwyn Hatfield", "E07000241" => "Welwyn Hatfield",
"E06000037" => "West Berkshire", "E06000037" => "West Berkshire",
"E07000047" => "West Devon", "E07000047" => "West Devon",
@ -779,6 +768,7 @@ RSpec.describe Form::Sales::Questions::Prevloc, type: :model do
"E07000127" => "West Lancashire", "E07000127" => "West Lancashire",
"E07000142" => "West Lindsey", "E07000142" => "West Lindsey",
"S12000040" => "West Lothian", "S12000040" => "West Lothian",
"E06000062" => "West Northamptonshire",
"E07000181" => "West Oxfordshire", "E07000181" => "West Oxfordshire",
"E07000245" => "West Suffolk", "E07000245" => "West Suffolk",
"E09000033" => "Westminster", "E09000033" => "Westminster",

18
spec/models/form/sales/questions/property_local_authority_spec.rb

@ -208,13 +208,8 @@ RSpec.describe Form::Sales::Questions::PropertyLocalAuthority, type: :model do
"E07000147" => "North Norfolk", "E07000147" => "North Norfolk",
"E07000148" => "Norwich", "E07000148" => "Norwich",
"E07000149" => "South Norfolk", "E07000149" => "South Norfolk",
"E07000150" => "Corby", "E06000061" => "North Northamptonshire",
"E07000151" => "Daventry", "E06000062" => "West Northamptonshire",
"E07000152" => "East Northamptonshire",
"E07000153" => "Kettering",
"E07000154" => "Northampton",
"E07000155" => "South Northamptonshire",
"E07000156" => "Wellingborough",
"E07000163" => "Craven", "E07000163" => "Craven",
"E07000164" => "Hambleton", "E07000164" => "Hambleton",
"E07000165" => "Harrogate", "E07000165" => "Harrogate",
@ -526,13 +521,8 @@ RSpec.describe Form::Sales::Questions::PropertyLocalAuthority, type: :model do
"E07000147" => "North Norfolk", "E07000147" => "North Norfolk",
"E07000148" => "Norwich", "E07000148" => "Norwich",
"E07000149" => "South Norfolk", "E07000149" => "South Norfolk",
"E07000150" => "Corby", "E06000061" => "North Northamptonshire",
"E07000151" => "Daventry", "E06000062" => "West Northamptonshire",
"E07000152" => "East Northamptonshire",
"E07000153" => "Kettering",
"E07000154" => "Northampton",
"E07000155" => "South Northamptonshire",
"E07000156" => "Wellingborough",
"E07000170" => "Ashfield", "E07000170" => "Ashfield",
"E07000171" => "Bassetlaw", "E07000171" => "Bassetlaw",
"E07000172" => "Broxtowe", "E07000172" => "Broxtowe",

18
spec/models/location_spec.rb

@ -154,7 +154,6 @@ RSpec.describe Location, type: :model do
"E09000001" => "City of London", "E09000001" => "City of London",
"E07000071" => "Colchester", "E07000071" => "Colchester",
"E07000029" => "Copeland", "E07000029" => "Copeland",
"E07000150" => "Corby",
"E06000052" => "Cornwall", "E06000052" => "Cornwall",
"E07000079" => "Cotswold", "E07000079" => "Cotswold",
"E06000047" => "County Durham", "E06000047" => "County Durham",
@ -165,7 +164,6 @@ RSpec.describe Location, type: :model do
"E07000096" => "Dacorum", "E07000096" => "Dacorum",
"E06000005" => "Darlington", "E06000005" => "Darlington",
"E07000107" => "Dartford", "E07000107" => "Dartford",
"E07000151" => "Daventry",
"E06000015" => "Derby", "E06000015" => "Derby",
"E07000035" => "Derbyshire Dales", "E07000035" => "Derbyshire Dales",
"E08000017" => "Doncaster", "E08000017" => "Doncaster",
@ -178,7 +176,6 @@ RSpec.describe Location, type: :model do
"E07000085" => "East Hampshire", "E07000085" => "East Hampshire",
"E07000242" => "East Hertfordshire", "E07000242" => "East Hertfordshire",
"E07000137" => "East Lindsey", "E07000137" => "East Lindsey",
"E07000152" => "East Northamptonshire",
"E06000011" => "East Riding of Yorkshire", "E06000011" => "East Riding of Yorkshire",
"E07000193" => "East Staffordshire", "E07000193" => "East Staffordshire",
"E07000244" => "East Suffolk", "E07000244" => "East Suffolk",
@ -232,7 +229,6 @@ RSpec.describe Location, type: :model do
"E06000053" => "Isles of Scilly", "E06000053" => "Isles of Scilly",
"E09000019" => "Islington", "E09000019" => "Islington",
"E09000020" => "Kensington and Chelsea", "E09000020" => "Kensington and Chelsea",
"E07000153" => "Kettering",
"E07000146" => "King’s Lynn and West Norfolk", "E07000146" => "King’s Lynn and West Norfolk",
"E06000010" => "Kingston upon Hull, City of", "E06000010" => "Kingston upon Hull, City of",
"E09000021" => "Kingston upon Thames", "E09000021" => "Kingston upon Thames",
@ -275,11 +271,11 @@ RSpec.describe Location, type: :model do
"E07000139" => "North Kesteven", "E07000139" => "North Kesteven",
"E06000013" => "North Lincolnshire", "E06000013" => "North Lincolnshire",
"E07000147" => "North Norfolk", "E07000147" => "North Norfolk",
"E06000061" => "North Northamptonshire",
"E06000024" => "North Somerset", "E06000024" => "North Somerset",
"E08000022" => "North Tyneside", "E08000022" => "North Tyneside",
"E07000218" => "North Warwickshire", "E07000218" => "North Warwickshire",
"E07000134" => "North West Leicestershire", "E07000134" => "North West Leicestershire",
"E07000154" => "Northampton",
"E06000057" => "Northumberland", "E06000057" => "Northumberland",
"E07000148" => "Norwich", "E07000148" => "Norwich",
"E06000018" => "Nottingham", "E06000018" => "Nottingham",
@ -331,7 +327,6 @@ RSpec.describe Location, type: :model do
"E07000141" => "South Kesteven", "E07000141" => "South Kesteven",
"E07000031" => "South Lakeland", "E07000031" => "South Lakeland",
"E07000149" => "South Norfolk", "E07000149" => "South Norfolk",
"E07000155" => "South Northamptonshire",
"E07000179" => "South Oxfordshire", "E07000179" => "South Oxfordshire",
"E07000126" => "South Ribble", "E07000126" => "South Ribble",
"E07000189" => "South Somerset", "E07000189" => "South Somerset",
@ -384,12 +379,12 @@ RSpec.describe Location, type: :model do
"E07000103" => "Watford", "E07000103" => "Watford",
"E07000216" => "Waverley", "E07000216" => "Waverley",
"E07000065" => "Wealden", "E07000065" => "Wealden",
"E07000156" => "Wellingborough",
"E07000241" => "Welwyn Hatfield", "E07000241" => "Welwyn Hatfield",
"E06000037" => "West Berkshire", "E06000037" => "West Berkshire",
"E07000047" => "West Devon", "E07000047" => "West Devon",
"E07000127" => "West Lancashire", "E07000127" => "West Lancashire",
"E07000142" => "West Lindsey", "E07000142" => "West Lindsey",
"E06000062" => "West Northamptonshire",
"E07000181" => "West Oxfordshire", "E07000181" => "West Oxfordshire",
"E07000245" => "West Suffolk", "E07000245" => "West Suffolk",
"E09000033" => "Westminster", "E09000033" => "Westminster",
@ -481,7 +476,6 @@ RSpec.describe Location, type: :model do
"E07000118" => "Chorley", "E07000118" => "Chorley",
"E09000001" => "City of London", "E09000001" => "City of London",
"E07000071" => "Colchester", "E07000071" => "Colchester",
"E07000150" => "Corby",
"E06000052" => "Cornwall", "E06000052" => "Cornwall",
"E07000079" => "Cotswold", "E07000079" => "Cotswold",
"E06000047" => "County Durham", "E06000047" => "County Durham",
@ -492,7 +486,6 @@ RSpec.describe Location, type: :model do
"E07000096" => "Dacorum", "E07000096" => "Dacorum",
"E06000005" => "Darlington", "E06000005" => "Darlington",
"E07000107" => "Dartford", "E07000107" => "Dartford",
"E07000151" => "Daventry",
"E06000015" => "Derby", "E06000015" => "Derby",
"E07000035" => "Derbyshire Dales", "E07000035" => "Derbyshire Dales",
"E08000017" => "Doncaster", "E08000017" => "Doncaster",
@ -505,7 +498,6 @@ RSpec.describe Location, type: :model do
"E07000085" => "East Hampshire", "E07000085" => "East Hampshire",
"E07000242" => "East Hertfordshire", "E07000242" => "East Hertfordshire",
"E07000137" => "East Lindsey", "E07000137" => "East Lindsey",
"E07000152" => "East Northamptonshire",
"E06000011" => "East Riding of Yorkshire", "E06000011" => "East Riding of Yorkshire",
"E07000193" => "East Staffordshire", "E07000193" => "East Staffordshire",
"E07000244" => "East Suffolk", "E07000244" => "East Suffolk",
@ -556,7 +548,6 @@ RSpec.describe Location, type: :model do
"E06000053" => "Isles of Scilly", "E06000053" => "Isles of Scilly",
"E09000019" => "Islington", "E09000019" => "Islington",
"E09000020" => "Kensington and Chelsea", "E09000020" => "Kensington and Chelsea",
"E07000153" => "Kettering",
"E07000146" => "King’s Lynn and West Norfolk", "E07000146" => "King’s Lynn and West Norfolk",
"E06000010" => "Kingston upon Hull, City of", "E06000010" => "Kingston upon Hull, City of",
"E09000021" => "Kingston upon Thames", "E09000021" => "Kingston upon Thames",
@ -598,12 +589,12 @@ RSpec.describe Location, type: :model do
"E07000139" => "North Kesteven", "E07000139" => "North Kesteven",
"E06000013" => "North Lincolnshire", "E06000013" => "North Lincolnshire",
"E07000147" => "North Norfolk", "E07000147" => "North Norfolk",
"E06000061" => "North Northamptonshire",
"E06000024" => "North Somerset", "E06000024" => "North Somerset",
"E08000022" => "North Tyneside", "E08000022" => "North Tyneside",
"E07000218" => "North Warwickshire", "E07000218" => "North Warwickshire",
"E07000134" => "North West Leicestershire", "E07000134" => "North West Leicestershire",
"E06000065" => "North Yorkshire", "E06000065" => "North Yorkshire",
"E07000154" => "Northampton",
"E06000057" => "Northumberland", "E06000057" => "Northumberland",
"E07000148" => "Norwich", "E07000148" => "Norwich",
"E06000018" => "Nottingham", "E06000018" => "Nottingham",
@ -649,7 +640,6 @@ RSpec.describe Location, type: :model do
"E07000140" => "South Holland", "E07000140" => "South Holland",
"E07000141" => "South Kesteven", "E07000141" => "South Kesteven",
"E07000149" => "South Norfolk", "E07000149" => "South Norfolk",
"E07000155" => "South Northamptonshire",
"E07000179" => "South Oxfordshire", "E07000179" => "South Oxfordshire",
"E07000126" => "South Ribble", "E07000126" => "South Ribble",
"E07000196" => "South Staffordshire", "E07000196" => "South Staffordshire",
@ -701,12 +691,12 @@ RSpec.describe Location, type: :model do
"E07000103" => "Watford", "E07000103" => "Watford",
"E07000216" => "Waverley", "E07000216" => "Waverley",
"E07000065" => "Wealden", "E07000065" => "Wealden",
"E07000156" => "Wellingborough",
"E07000241" => "Welwyn Hatfield", "E07000241" => "Welwyn Hatfield",
"E06000037" => "West Berkshire", "E06000037" => "West Berkshire",
"E07000047" => "West Devon", "E07000047" => "West Devon",
"E07000127" => "West Lancashire", "E07000127" => "West Lancashire",
"E07000142" => "West Lindsey", "E07000142" => "West Lindsey",
"E06000062" => "West Northamptonshire",
"E07000181" => "West Oxfordshire", "E07000181" => "West Oxfordshire",
"E07000245" => "West Suffolk", "E07000245" => "West Suffolk",
"E09000033" => "Westminster", "E09000033" => "Westminster",

Loading…
Cancel
Save