spec/spec_helper.rb in percy-capybara-2.4.1 vs spec/spec_helper.rb in percy-capybara-2.4.2

- old
+ new

@@ -60,12 +60,14 @@ Capybara.app_host = "http://localhost:#{port}" Capybara.run_server = false # Note: using this form of popen to keep stdout and stderr silent and captured. dir = File.expand_path('../lib/percy/capybara/client/testdata/', __FILE__) - @process = IO.popen([ - 'ruby', '-run', '-e', 'httpd', dir, '-p', port.to_s, err: [:child, :out] - ].flatten) + @process = IO.popen( + [ + 'ruby', '-run', '-e', 'httpd', dir, '-p', port.to_s, err: [:child, :out], + ].flatten, + ) # Block until the server is up. WebMock.disable_net_connect!(allow_localhost: true) verify_server_up(Capybara.app_host) end