diff --git a/spec/models/form/lettings/questions/address_search_spec.rb b/spec/models/form/lettings/questions/address_search_spec.rb index df3f03807..1daddefee 100644 --- a/spec/models/form/lettings/questions/address_search_spec.rb +++ b/spec/models/form/lettings/questions/address_search_spec.rb @@ -79,7 +79,7 @@ RSpec.describe Form::Lettings::Questions::AddressSearch, type: :model do end it "does not return an answer option when uprn is not present" do - expect(question.answer_options(log_without_uprn)).to eq({nil => {"value" => " ()"}}) + expect(question.answer_options(log_without_uprn)).to eq({ nil => { "value" => " ()" } }) end end diff --git a/spec/models/form/sales/questions/address_search_spec.rb b/spec/models/form/sales/questions/address_search_spec.rb index ff4350186..1808ff835 100644 --- a/spec/models/form/sales/questions/address_search_spec.rb +++ b/spec/models/form/sales/questions/address_search_spec.rb @@ -79,7 +79,7 @@ RSpec.describe Form::Sales::Questions::AddressSearch, type: :model do end it "does not return an answer option when uprn is not present" do - expect(question.answer_options(log_without_uprn)).to eq({nil => {"value" => " ()"}}) + expect(question.answer_options(log_without_uprn)).to eq({ nil => { "value" => " ()" } }) end end