From 00ed23a535a6309bca2e801b8413748170e9d2b1 Mon Sep 17 00:00:00 2001 From: Kat Date: Mon, 8 Jul 2024 10:12:05 +0100 Subject: [PATCH] Fix tests --- spec/requests/organisations_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/organisations_controller_spec.rb b/spec/requests/organisations_controller_spec.rb index 11c7fbd84..68f69d9f2 100644 --- a/spec/requests/organisations_controller_spec.rb +++ b/spec/requests/organisations_controller_spec.rb @@ -1757,7 +1757,7 @@ RSpec.describe OrganisationsController, type: :request do end describe "#delete-confirmation" do - let(:organisation) { create(:organisation) } + let(:organisation) { create(:organisation, active: false) } before do get "/organisations/#{organisation.id}/delete-confirmation"