From 4012783fdd58316f1acaee3eb3075220ebb4b908 Mon Sep 17 00:00:00 2001 From: Thomas Walpole Date: Sat, 3 Aug 2019 12:29:37 -0700 Subject: [PATCH] Code style fix --- lib/capybara/registrations/servers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capybara/registrations/servers.rb b/lib/capybara/registrations/servers.rb index aaafbf35..aff35ac6 100644 --- a/lib/capybara/registrations/servers.rb +++ b/lib/capybara/registrations/servers.rb @@ -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)