You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
367 B
12 lines
367 B
1 year ago
|
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
|