From 4e2d2042896c0eed23f3314433b3532a3b71583e Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com> Date: Fri, 30 Sep 2022 10:46:44 +0100 Subject: [PATCH] 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 --- spec/models/form_handler_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/form_handler_spec.rb b/spec/models/form_handler_spec.rb index 51dcc3d0e..b991a0278 100644 --- a/spec/models/form_handler_spec.rb +++ b/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