From 8e27afa7fe673dd2bcc6ca7f48b544c99f4f09b8 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Wed, 3 May 2017 15:16:09 +0200 Subject: Use a shorter socket path during testing --- spec/httpunix_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/httpunix_spec.rb') diff --git a/spec/httpunix_spec.rb b/spec/httpunix_spec.rb index 0fcff4a..77235e8 100644 --- a/spec/httpunix_spec.rb +++ b/spec/httpunix_spec.rb @@ -44,7 +44,7 @@ class HTTPUNIXServer < WEBrick::HTTPServer end def tmp_socket_path - File.join(ROOT_PATH, 'tmp', 'socket') + 'tmp/test-socket' end describe Net::HTTPUNIX do -- cgit v1.2.1