From 67247086f01e0527b02eab13c0261d22548b96ff Mon Sep 17 00:00:00 2001 From: Christophe Bliard Date: Tue, 5 Apr 2022 16:17:08 +0200 Subject: [PATCH] remove useless before block --- spec/models/query_spec.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spec/models/query_spec.rb b/spec/models/query_spec.rb index c90fb1583a..d6be03438d 100644 --- a/spec/models/query_spec.rb +++ b/spec/models/query_spec.rb @@ -651,12 +651,6 @@ describe Query, type: :model do describe '#filter_for' do context 'for a status_id filter' do - before do - allow(Status) - .to receive(:exists?) - .and_return(true) - end - subject { query.filter_for('status_id') } it 'exists' do