Browse Source

content changes

pull/372/head
MadeTech Dushan 3 years ago committed by baarkerlounger
parent
commit
d4507c1e55
  1. 2
      config/forms/2021_2022.json
  2. 2
      spec/features/form/validations_spec.rb
  3. 2
      spec/fixtures/forms/2021_2022.json

2
config/forms/2021_2022.json

@ -4578,7 +4578,7 @@
},
"net_income_value_check": {
"depends_on": [{ "net_income_soft_validation_triggered?": true }],
"title_text": "Net income is higher than expected based on the main tenant’s working situation",
"title_text": "Net income is outside the expected range based on the main tenant’s working situation",
"informative_text": {
"translation": "soft_validations.net_income.hint_text",
"argument": ["ecstat1", "earnings"]

2
spec/features/form/validations_spec.rb

@ -130,7 +130,7 @@ RSpec.describe "validations" do
choose("case-log-incfreq-0-field", allow_label_click: true)
click_button("Save and continue")
expect(page).to have_current_path("/logs/#{case_log.id}/net-income-value-check")
expect(page).to have_content("Net income is higher than expected based on the main tenant’s working situation")
expect(page).to have_content("Net income is outside the expected range based on the main tenant’s working situation")
expect(page).to have_content("This is based on the tenant’s work situation: Full-time – 30 hours or more")
expect(page).to have_content("The household income you have entered is £750.00 every week")
choose("case-log-net-income-value-check-0-field", allow_label_click: true)

2
spec/fixtures/forms/2021_2022.json vendored

@ -539,7 +539,7 @@
},
"net_income_value_check": {
"depends_on": [{ "net_income_soft_validation_triggered?": true }],
"title_text": "Net income is higher than expected based on the main tenant’s working situation",
"title_text": "Net income is outside the expected range based on the main tenant’s working situation",
"informative_text": {
"translation": "soft_validations.net_income.hint_text",
"argument": ["ecstat1", "earnings"]

Loading…
Cancel
Save