Skip to content

Commit 8431e7b

Browse files
committed
Do no stick patch to 5.1
Close: #2011 (comment)
1 parent 8f80027 commit 8431e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/rails/example/system_example_group.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def app
8181

8282
attr_reader :driver
8383

84-
if ::Rails.version.to_f == 5.1
84+
if ActionDispatch::SystemTesting::Server.respond_to?(:silence_puma=)
8585
ActionDispatch::SystemTesting::Server.silence_puma = true
8686
end
8787

0 commit comments

Comments
 (0)