Browse Source

CLDC-2882 Update void date routing test

pull/1982/head
David May-Miller 3 years ago
parent
commit
86426db067
  1. 2
      spec/models/form/lettings/pages/void_date_spec.rb

2
spec/models/form/lettings/pages/void_date_spec.rb

@ -28,6 +28,6 @@ RSpec.describe Form::Lettings::Pages::VoidDate, type: :model do
end end
it "has the correct depends_on" do it "has the correct depends_on" do
expect(page.depends_on).to eq([{ "is_renewal?" => false, "vacancy_reason_not_renewal_or_first_let?" => true }, { "has_first_let_vacancy_reason?" => true, "is_renewal?" => false }]) expect(page.depends_on).to eq([{ "is_renewal?" => false }])
end end
end end

Loading…
Cancel
Save