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