Browse Source
* copy change for net income known question * add minimal testing for questionpull/1395/head
Phil Lee
2 years ago
committed by
GitHub
2 changed files with 18 additions and 1 deletions
@ -0,0 +1,17 @@ |
|||||||
|
require "rails_helper" |
||||||
|
|
||||||
|
RSpec.describe Form::Lettings::Questions::NetIncomeKnown do |
||||||
|
subject(:question) { described_class.new(nil, {}, nil) } |
||||||
|
|
||||||
|
describe "#id" do |
||||||
|
it "is net_income_known" do |
||||||
|
expect(question.id).to eql("net_income_known") |
||||||
|
end |
||||||
|
end |
||||||
|
|
||||||
|
describe "#type" do |
||||||
|
it "is radio" do |
||||||
|
expect(question.type).to eql("radio") |
||||||
|
end |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue