Skip to content

Commit a587501

Browse files
committed
fixup! Make puma log silence completely
1 parent cd5931e commit a587501

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/rspec/rails/example/system_example_group.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ def app
7575

7676
attr_reader :driver
7777

78+
if ::Rails.version.to_f == 5.1
79+
ActionDispatch::SystemTesting::Server.silence_puma = true
80+
end
81+
7882
def initialize(*args, &blk)
7983
super(*args, &blk)
8084
@driver = nil

0 commit comments

Comments
 (0)