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:
parent
4f555a18c1
commit
a9940688a4
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue