Browse Source

Cldc 1522 buyer 2 relationship (#921)

* feat: add buyer 2-1 relationship question and page (migration and schema to come in next commit)

* feat: add buyer 2-1 migration and schema

* feat: update schema

* feat: add depends_on and tests

* feat: add hint text

* tests: add new tests

* refactor: lint appeasing

* test: update no. of pages
pull/923/head
natdeanlewissoftwire 2 years ago committed by GitHub
parent
commit
4e2d204289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      spec/models/form_handler_spec.rb

4
spec/models/form_handler_spec.rb

@ -61,14 +61,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(18)
expect(form.pages.count).to eq(19)
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(18)
expect(form.pages.count).to eq(19)
expect(form.name).to eq("2021_2022_sales")
end
end

Loading…
Cancel
Save