From 0d2bc50c4d766727dedece3ac63719138de3ec81 Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Wed, 11 Jan 2023 12:26:03 +0000 Subject: [PATCH] test: artificially reference org_rel2 to avoid lint offense --- spec/features/lettings_log_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/features/lettings_log_spec.rb b/spec/features/lettings_log_spec.rb index 963ce1f1f..f5e6d6377 100644 --- a/spec/features/lettings_log_spec.rb +++ b/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