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

Code style fix

This commit is contained in:
Thomas Walpole 2019-08-03 12:29:37 -07:00
parent 3fa4dc04a9
commit 4012783fdd

View file

@ -24,7 +24,7 @@ Capybara.register_server :puma do |app, port, host, **options|
# If we just run the Puma Rack handler it installs signal handlers which prevent us from being able to interrupt tests.
# Therefore construct and run the Server instance ourselves.
# Rack::Handler::Puma.run(app, { Host: host, Port: port, Threads: "0:4", workers: 0, daemon: false }.merge(options))
default_options = { Host: host, Port: port, Threads: '0:4', workers: 0, daemon: false}
default_options = { Host: host, Port: port, Threads: '0:4', workers: 0, daemon: false }
options = default_options.merge(options)
conf = Rack::Handler::Puma.config(app, options)