Browse Source

test

pull/1780/head
Kat 3 years ago
parent
commit
d987bd5f76
  1. 11
      spec/models/form/lettings/questions/period_spec.rb

11
spec/models/form/lettings/questions/period_spec.rb

@ -0,0 +1,11 @@
require "rails_helper"
RSpec.describe Form::Lettings::Questions::Period, type: :model do
subject(:question) { described_class.new(nil, nil, page) }
let(:page) { instance_double(Form::Page) }
it "has the correct hint" do
expect(question.hint_text).to eq("Select how often the household is charged. This may be different to how often they pay.")
end
end
Loading…
Cancel
Save