Browse Source

test: artificially reference org_rel2 to avoid lint offense

fix-remove-attr-accessors-from-questions-in-cldc-1723
Sam Seed 2 years ago
parent
commit
0d2bc50c4d
  1. 1
      spec/features/lettings_log_spec.rb

1
spec/features/lettings_log_spec.rb

@ -155,6 +155,7 @@ RSpec.describe "Lettings Log Features" do
org_rel1.destroy!
visit("lettings-logs/#{log_id}/setup/check-answers")
expect(page).to have_content("Stock owner Owning org 1")
expect(user.organisation.stock_owners).to eq([org_rel2.parent_organisation])
end
end
end

Loading…
Cancel
Save