We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6add0bd commit 197c40eCopy full SHA for 197c40e
2 files changed
config/puma.rb
@@ -34,6 +34,12 @@
34
pidfile ENV["PIDFILE"] if ENV["PIDFILE"]
35
worker_timeout 3600 if ENV.fetch("RAILS_ENV", "development") == "development"
36
environment ENV.fetch("RAILS_ENV") { "development" }
37
+
38
+# Silence Puma output in test environment
39
+if ENV.fetch("RAILS_ENV", "development") == "test"
40
+ quiet
41
+end
42
43
preload_app!
44
# "worker" is the Puma term, not a background job.
45
on_worker_boot do
spec/support/capybara.rb
@@ -16,3 +16,6 @@
16
17
Capybara.javascript_driver = :chrome
18
Capybara.default_max_wait_time = 5
19
20
+# Silence Capybara server output
21
+Capybara.server = :puma, { Silent: true }
0 commit comments