Skip to content

Commit

Permalink
Do no stick patch to 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
benoittgt authored and JonRowe committed Mar 24, 2020
1 parent 267616e commit b22480c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec/rails/example/system_example_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def app

attr_reader :driver

if ::Rails.version.to_f == 5.1
if ActionDispatch::SystemTesting::Server.respond_to?(:silence_puma=)
ActionDispatch::SystemTesting::Server.silence_puma = true
end

Expand Down

0 comments on commit b22480c

Please sign in to comment.