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

Fix constant case in test

This commit is contained in:
Nate Berkopec 2020-03-07 07:37:05 -06:00
parent 95aaa99f37
commit 395ea8dcc3
No known key found for this signature in database
GPG key ID: BDD7A4B8E43906A6

View file

@ -6,12 +6,12 @@ class TestPumaUnixSocket < Minitest::Test
App = lambda { |env| [200, {}, ["Works"]] }
Path = "test/puma.sock"
PATH = "test/puma.sock"
def setup
return unless UNIX_SKT_EXIST
@server = Puma::Server.new App
@server.add_unix_listener Path
@server.add_unix_listener PATH
@server.run
end
@ -22,7 +22,7 @@ class TestPumaUnixSocket < Minitest::Test
def test_server
skip UNIX_SKT_MSG unless UNIX_SKT_EXIST
sock = UNIXSocket.new Path
sock = UNIXSocket.new PATH
sock << "GET / HTTP/1.0\r\nHost: blah.com\r\n\r\n"