From 873bf2fc0f64f8d234a5a132493103b15b44123f Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Mon, 8 Oct 2018 18:43:40 +0200 Subject: [PATCH] Tell puma to STFU --- spec/spec_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7056b9f81..7c9d40bcc 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -48,6 +48,9 @@ Capybara.register_driver :headless_chrome do |app| desired_capabilities: capabilities end +# FIXME: remove this line when https://github.com/rspec/rspec-rails/issues/1897 has been fixed +Capybara.server = :puma, { Silent: true } + Capybara.default_max_wait_time = 2 # Save a snapshot of the HTML page when an integration test fails