From 01f17c4ec947a1e1d6cc3c0056ab1faae2916878 Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Tue, 17 Jan 2023 15:14:42 +0000 Subject: [PATCH] test: change let! to let where possible in spec/models/form/lettings/questions/managing_organisation_spec.rb --- .../form/lettings/questions/managing_organisation_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/form/lettings/questions/managing_organisation_spec.rb b/spec/models/form/lettings/questions/managing_organisation_spec.rb index fcab113cb..99f19b25f 100644 --- a/spec/models/form/lettings/questions/managing_organisation_spec.rb +++ b/spec/models/form/lettings/questions/managing_organisation_spec.rb @@ -120,7 +120,7 @@ RSpec.describe Form::Lettings::Questions::ManagingOrganisation, type: :model do let(:owning_org) { create(:organisation, name: "Owning org", holds_own_stock: true) } let(:managing_org) { create(:organisation, name: "Managing org", holds_own_stock: false) } - let!(:org_rel) { create(:organisation_relationship, parent_organisation: owning_org, child_organisation: managing_org) } + let(:org_rel) { create(:organisation_relationship, parent_organisation: owning_org, child_organisation: managing_org) } let(:log) { create(:lettings_log, owning_organisation: owning_org, managing_organisation: managing_org, created_by: nil) } let(:options) do