Skip to content

Commit

Permalink
Silence log messages from the capybara server
Browse files Browse the repository at this point in the history
Puma is taken as the default rack server, but until
rspec/rspec-rails#1897 is solved we should
stick to the proposed workaround.
  • Loading branch information
elia committed Jan 23, 2020
1 parent e759105 commit 05bd9df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/lib/spree/testing_support/capybara_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,6 @@ def wait_for_ajax
RSpec.configure do |c|
c.include Spree::TestingSupport::CapybaraExt
end

# A workaround for https://github.com/rspec/rspec-rails/issues/1897
Capybara.server = :puma, { Silent: true }

0 comments on commit 05bd9df

Please sign in to comment.