Browse Source

CLDC-3245: Fix test and build issues

pull/2271/head
Robert Sullivan 2 years ago
parent
commit
93c5362366
  1. 4
      spec/models/form/sales/questions/buyers_organisations_spec.rb

4
spec/models/form/sales/questions/buyers_organisations_spec.rb

@ -52,12 +52,12 @@ RSpec.describe Form::Sales::Questions::BuyersOrganisations, type: :model do
end end
it "has the correct displayed answer_options" do it "has the correct displayed answer_options" do
expect(question.answer_options).to eq( expect(question.displayed_answer_options(FactoryBot.create(:sales_log))).to eq(
{ {
"pregyrha" => { "value" => "Their private registered provider (PRP) - housing association" }, "pregyrha" => { "value" => "Their private registered provider (PRP) - housing association" },
"pregother" => { "value" => "Other private registered provider (PRP) - housing association" }, "pregother" => { "value" => "Other private registered provider (PRP) - housing association" },
"pregla" => { "value" => "Local Authority" }, "pregla" => { "value" => "Local Authority" },
"pregghb" => { "value" => "Help to Buy Agent" } "pregghb" => { "value" => "Help to Buy Agent" },
}, },
) )
end end

Loading…
Cancel
Save