|
|
@ -282,6 +282,7 @@ RSpec.describe "Lettings Log Features" do |
|
|
|
click_button("Save and continue") |
|
|
|
click_button("Save and continue") |
|
|
|
visit("lettings-logs/#{log_id}/setup/check-answers") |
|
|
|
visit("lettings-logs/#{log_id}/setup/check-answers") |
|
|
|
expect(page).to have_content("Managing agent User org") |
|
|
|
expect(page).to have_content("Managing agent User org") |
|
|
|
|
|
|
|
expect(user.organisation.stock_owners).to eq([org_rel1.parent_organisation, org_rel2.parent_organisation]) |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|