From f75fe5b3d7137bf2b7f572c4915f1e1940a5c142 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Mon, 20 Jun 2022 10:46:01 +0100 Subject: [PATCH] Specs --- spec/models/form/setup/pages/tenant_code_spec.rb | 2 +- spec/models/form/setup/questions/tenant_code_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/form/setup/pages/tenant_code_spec.rb b/spec/models/form/setup/pages/tenant_code_spec.rb index d544a4cec..882bbc51a 100644 --- a/spec/models/form/setup/pages/tenant_code_spec.rb +++ b/spec/models/form/setup/pages/tenant_code_spec.rb @@ -12,7 +12,7 @@ RSpec.describe Form::Setup::Pages::TenantCode, type: :model do end it "has correct questions" do - expect(page.questions.map(&:id)).to eq(%w[tenant_code]) + expect(page.questions.map(&:id)).to eq(%w[tenancy_code]) end it "has the correct id" do diff --git a/spec/models/form/setup/questions/tenant_code_spec.rb b/spec/models/form/setup/questions/tenant_code_spec.rb index 3e9538cae..ed277b844 100644 --- a/spec/models/form/setup/questions/tenant_code_spec.rb +++ b/spec/models/form/setup/questions/tenant_code_spec.rb @@ -12,7 +12,7 @@ RSpec.describe Form::Setup::Questions::TenantCode, type: :model do end it "has the correct id" do - expect(question.id).to eq("tenant_code") + expect(question.id).to eq("tenancy_code") end it "has the correct header" do