Browse Source

test: explicitly reference org rels in "coordinator user's org doesn't hold stock" managing org test

pull/1140/head
Sam Seed 4 years ago
parent
commit
9262555149
  1. 1
      spec/features/lettings_log_spec.rb

1
spec/features/lettings_log_spec.rb

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

Loading…
Cancel
Save