From c681a5d453a285df2533cb219f5aa1dab52f26cc Mon Sep 17 00:00:00 2001 From: Jeremy Friesen Date: Thu, 21 Dec 2023 13:27:08 -0500 Subject: [PATCH] Cleaning a spec that should start clean --- spec/jobs/create_default_admin_set_job_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/jobs/create_default_admin_set_job_spec.rb b/spec/jobs/create_default_admin_set_job_spec.rb index 92f7c172e..493a2ede1 100644 --- a/spec/jobs/create_default_admin_set_job_spec.rb +++ b/spec/jobs/create_default_admin_set_job_spec.rb @@ -4,7 +4,7 @@ let!(:account) { FactoryBot.create(:account) } describe '#perform' do - it 'creates a new admin set for an account' do + it 'creates a new admin set for an account', clean: true do expect { described_class.perform_now(account) }.to change(AdminSet, :count).by(1) end end