From 4522a2007660ae0cb425e66daf7d2b46d133954e Mon Sep 17 00:00:00 2001 From: JG Date: Fri, 27 May 2022 06:52:54 +0100 Subject: [PATCH] redundant tennacy code settings --- spec/features/log_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/features/log_spec.rb b/spec/features/log_spec.rb index 56f783059..76f5f1b09 100644 --- a/spec/features/log_spec.rb +++ b/spec/features/log_spec.rb @@ -4,9 +4,9 @@ RSpec.describe "Log Features" do context "when searching for specific logs" do context "when I am logged in and there are logs in the database" do let(:user) { FactoryBot.create(:user, last_sign_in_at: Time.zone.now) } - let!(:log_to_search) { FactoryBot.create(:case_log, owning_organisation: user.organisation, tenancy_code: "111") } - let!(:same_organisation_log) { FactoryBot.create(:case_log, owning_organisation: user.organisation, tenancy_code: "222") } - let!(:another_organisation_log) { FactoryBot.create(:case_log, tenancy_code: "333") } + let!(:log_to_search) { FactoryBot.create(:case_log, owning_organisation: user.organisation) } + let!(:same_organisation_log) { FactoryBot.create(:case_log, owning_organisation: user.organisation) } + let!(:another_organisation_log) { FactoryBot.create(:case_log) } before do visit("/logs")