]> git.openstreetmap.org Git - rails.git/commitdiff
Silence puma startup messages when running tests
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 28 Mar 2018 05:30:31 +0000 (13:30 +0800)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 28 Mar 2018 05:30:31 +0000 (13:30 +0800)
test/application_system_test_case.rb

index 18d5ec2f7dc41c9a010b43757042e524e6796c4d..9abc7aa708861fff56257afbde1ba3017c38a33f 100644 (file)
@@ -4,6 +4,8 @@ require "capybara/poltergeist"
 WebMock.disable_net_connect!(:allow_localhost => true)
 
 class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
+  ActionDispatch::SystemTesting::Server.silence_puma = true
+
   driven_by :poltergeist, :screen_size => [1400, 1400]
 
   def initialize(*args)