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

Make sure to unblock requests before each test

Christophe Bliard982dc9afc9a7
diff --git a/spec/support/capybara/block_requests_made_outside_of_test.rb b/spec/support/capybara/block_requests_made_outside_of_test.rb
index 21c7c09da65..4be0a364844 100644
--- a/spec/support/capybara/block_requests_made_outside_of_test.rb
+++ b/spec/support/capybara/block_requests_made_outside_of_test.rb
@@ -49,7 +49,7 @@ end
RSpec.configure do |config|
Capybara.app = RequestsBlocker.new(Capybara.app)
- config.before(:each, type: :feature) do
+ config.before do
Capybara.app.unblock_requests!
end