1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Revert "ensure puma gets fully required"

This was fixed in puma
This commit is contained in:
Thomas Walpole 2018-03-22 09:35:02 -07:00
parent 1fac1460b2
commit 452b12792c

View file

@ -438,7 +438,6 @@ Capybara.register_server :webrick do |app, port, host, **options|
end end
Capybara.register_server :puma do |app, port, host, **options| Capybara.register_server :puma do |app, port, host, **options|
require 'puma'
require 'rack/handler/puma' require 'rack/handler/puma'
Rack::Handler::Puma.run(app, { Host: host, Port: port, Threads: "0:4", workers: 0, daemon: false }.merge(options)) Rack::Handler::Puma.run(app, { Host: host, Port: port, Threads: "0:4", workers: 0, daemon: false }.merge(options))
end end