Browse Source

And again...

pull/2672/head
Rachael Booth 9 months ago
parent
commit
b48f5ab422
  1. 10
      spec/models/form/sales/questions/number_joint_buyers_spec.rb

10
spec/models/form/sales/questions/number_joint_buyers_spec.rb

@ -36,14 +36,4 @@ RSpec.describe Form::Sales::Questions::NumberJointBuyers, type: :model do
"3" => { "value" => "Don’t know" },
})
end
context "with 2024 form" do
before do
allow(subsection).to receive(:form).and_return(instance_double(Form, start_year_after_2024?: true, start_date: Time.zone.local(2024, 4, 1)))
end
it "has no hint_text" do
expect(question.hint_text).to be_nil
end
end
end

Loading…
Cancel
Save