Browse Source

tests

cldc-875-sales-validations-shared-ownership-cash-deposit-amount
Kat 2 years ago committed by Sam Seed
parent
commit
c940b04925
  1. 4
      spec/models/form_handler_spec.rb

4
spec/models/form_handler_spec.rb

@ -52,14 +52,14 @@ RSpec.describe FormHandler do
it "is able to load a current sales form" do
form = form_handler.get_form("current_sales")
expect(form).to be_a(Form)
expect(form.pages.count).to eq(183)
expect(form.pages.count).to eq(186)
expect(form.name).to eq("2022_2023_sales")
end
it "is able to load a previous sales form" do
form = form_handler.get_form("previous_sales")
expect(form).to be_a(Form)
expect(form.pages.count).to eq(183)
expect(form.pages.count).to eq(186)
expect(form.name).to eq("2021_2022_sales")
end
end

Loading…
Cancel
Save