Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

remove useless before block

Christophe Bliard67247086f01e
diff --git a/spec/models/query_spec.rb b/spec/models/query_spec.rb
index c90fb1583a7..d6be03438dd 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