|
|
|
@ -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) |
|
|
|
|