Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Silence Puma's startup messages in JS specs
When Capybara starts the first JavaScript spec of a run, it starts Puma and prints out the Puma startup messages: Capybara starting Puma... * Version 3.12.1 , codename: Llamas in Pajamas * Min threads: 0, max threads: 4 * Listening on tcp://127.0.0.1:62516 By setting `Silent: true`, we can prevent those messages from being printed. A bit of background: rspec/rspec-rails#1897 Proof that Capybara uses Puma as its default server: https://github.com/teamcapybara/capybara/blob/3.24.0/lib/capybara.rb#L247-L249
- Loading branch information