From 642fa79854b5184f4b7a3d71b7d8a09fab3c34ee Mon Sep 17 00:00:00 2001 From: Kat Date: Mon, 26 Sep 2022 16:01:55 +0100 Subject: [PATCH] =?UTF-8?q?testy=20=F0=9F=92=81=E2=80=8D=E2=99=80=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/models/form_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/form_spec.rb b/spec/models/form_spec.rb index 82d83de49..fef3be5d7 100644 --- a/spec/models/form_spec.rb +++ b/spec/models/form_spec.rb @@ -227,12 +227,12 @@ RSpec.describe Form, type: :model do end it "can correctly define sections in the sales form" do - sections = [Form::Sales::Property::Sections::PropertyInformation] + sections = [Form::Sales::Sections::PropertyInformation] form = described_class.new(nil, 2022, sections, "sales") expect(form.type).to eq("sales") expect(form.name).to eq("2022_2023_sales") expect(form.sections.count).to eq(2) - expect(form.sections[1].class).to eq(Form::Sales::Property::Sections::PropertyInformation) + expect(form.sections[1].class).to eq(Form::Sales::Sections::PropertyInformation) end end end