Browse Source

CLDC-1507: guidance partial test added

pull/1699/head
Aaron Spencer 3 years ago
parent
commit
041fafbb8a
  1. 4
      spec/models/form/lettings/questions/rent_type_spec.rb

4
spec/models/form/lettings/questions/rent_type_spec.rb

@ -49,4 +49,8 @@ RSpec.describe Form::Lettings::Questions::RentType, type: :model do
it "is not marked as derived" do it "is not marked as derived" do
expect(question.derived?).to be false expect(question.derived?).to be false
end end
it "has the guidance partial" do
expect(question.guidance_partial).to eq("rent_type_definitions")
end
end end

Loading…
Cancel
Save