1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Suppress Rack deprecation warning in specs (#2161)

This commit is contained in:
Andrew Konchin 2020-03-09 05:08:06 +02:00 committed by GitHub
parent 4f555a18c1
commit a9940688a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,11 @@ class TestConfigFile < TestConfigFileBase
end
conf.load
conf.app
# suppress deprecation warning of Rack (>= 2.2.0)
# > Parsing options from the first comment line is deprecated!\n
assert_output(nil, nil) do
conf.app
end
assert_equal ["tcp://127.0.0.1:9292"], conf.options[:binds]
end