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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Don't raise eventemitter warnings after specs using puffing-billy
Oliver Günther465789255358
diff --git a/spec/support/puffing_billy_proxy.rb b/spec/support/puffing_billy_proxy.rbindex 3fc3eb0febc..d9afc25278e 100644--- a/spec/support/puffing_billy_proxy.rb+++ b/spec/support/puffing_billy_proxy.rb@@ -40,6 +40,21 @@ require 'billy/capybara/rspec'require 'table_print' # Add this dependency to your gemfile++##+# Patch `puffing-billy`'s proxy so that it doesn't try to stop+# eventmachine's reactor if it's not running.+# https://github.com/oesmith/puffing-billy/issues/253+module BillyProxyPatch+ def stop+ return unless EM.reactor_running?++ super+ end+end++::Billy::Proxy.prepend(BillyProxyPatch)+### To debug stubbed and proxied connections# uncomment this line