|
|
|
|
@ -46,18 +46,6 @@ RSpec.describe Form::Lettings::Pages::PersonOverRetirementValueCheck, type: :mod
|
|
|
|
|
it "has the correct informative_text" do |
|
|
|
|
expect(page.informative_text).to eq({ |
|
|
|
|
"translation" => "soft_validations.retirement.max.hint_text", |
|
|
|
|
"arguments" => [ |
|
|
|
|
{ |
|
|
|
|
"key" => "plural_gender_for_person_2", |
|
|
|
|
"label" => false, |
|
|
|
|
"i18n_template" => "gender", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"key" => "retirement_age_for_person_2", |
|
|
|
|
"label" => false, |
|
|
|
|
"i18n_template" => "age", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}) |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
@ -87,18 +75,6 @@ RSpec.describe Form::Lettings::Pages::PersonOverRetirementValueCheck, type: :mod
|
|
|
|
|
it "has the correct informative_text" do |
|
|
|
|
expect(page.informative_text).to eq({ |
|
|
|
|
"translation" => "soft_validations.retirement.max.hint_text", |
|
|
|
|
"arguments" => [ |
|
|
|
|
{ |
|
|
|
|
"key" => "plural_gender_for_person_3", |
|
|
|
|
"label" => false, |
|
|
|
|
"i18n_template" => "gender", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
"key" => "retirement_age_for_person_3", |
|
|
|
|
"label" => false, |
|
|
|
|
"i18n_template" => "age", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}) |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|