Browse Source

Specs

pull/682/head
baarkerlounger 3 years ago
parent
commit
f75fe5b3d7
  1. 2
      spec/models/form/setup/pages/tenant_code_spec.rb
  2. 2
      spec/models/form/setup/questions/tenant_code_spec.rb

2
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

2
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

Loading…
Cancel
Save