@ -1,7 +1,7 @@
class Form::Setup::Questions::TenantCode < ::Form::Question
def initialize(id, hsh, page)
super
@id = "tenancy_code"
@id = "tenancycode"
@check_answer_label = "Tenant code"
@header = "What is the tenant code?"
@hint_text = "This is how you usually refer to this tenancy on your own systems."
@ -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[tenancy_code])
expect(page.questions.map(&:id)).to eq(%w[tenancycode])
it "has the correct id" do
@ -12,7 +12,7 @@ RSpec.describe Form::Setup::Questions::TenantCode, type: :model do
expect(question.id).to eq("tenancy_code")
expect(question.id).to eq("tenancycode")
it "has the correct header" do