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 18d5ec2..9abc7aa 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)