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:
parent
95aaa99f37
commit
395ea8dcc3
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue