Browse Source

typo

CLDC-20-more-ac-fixes3
Jack S 2 years ago
parent
commit
0fd557646a
  1. 2
      spec/models/form/lettings/questions/housing_provider_spec.rb
  2. 2
      spec/models/form/lettings/questions/managing_organisation_spec.rb

2
spec/models/form/lettings/questions/housing_provider_spec.rb

@ -86,7 +86,7 @@ RSpec.describe Form::Lettings::Questions::HousingProvider, type: :model do
context "when support" do context "when support" do
let(:user) { create(:user, :support) } let(:user) { create(:user, :support) }
it "is not hiddes in check answers" do it "is not hidden in check answers" do
expect(question.hidden_in_check_answers?(nil, user)).to be false expect(question.hidden_in_check_answers?(nil, user)).to be false
end end
end end

2
spec/models/form/lettings/questions/managing_organisation_spec.rb

@ -153,7 +153,7 @@ RSpec.describe Form::Lettings::Questions::ManagingOrganisation, type: :model do
context "when user not provided" do context "when user not provided" do
let(:user) { create(:user, :support) } let(:user) { create(:user, :support) }
it "is not hiddes in check answers" do it "is not hidden in check answers" do
expect(question.hidden_in_check_answers?(nil)).to be true expect(question.hidden_in_check_answers?(nil)).to be true
end end
end end

Loading…
Cancel
Save