Browse Source

Fix lint

pull/2977/head
Manny Dinssa 2 months ago
parent
commit
8f7f1b0ac5
  1. 2
      spec/models/form/lettings/questions/address_search_spec.rb
  2. 2
      spec/models/form/sales/questions/address_search_spec.rb

2
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

2
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

Loading…
Cancel
Save