summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-05-03 15:16:09 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-05-03 15:24:36 +0200
commit8e27afa7fe673dd2bcc6ca7f48b544c99f4f09b8 (patch)
treec67d4b01dcbd647e1c35797124ed914a74222cd3
parent158b424f9aec0e4ce439f56cb193e369b36e0e46 (diff)
downloadgitlab-shell-test-socket-path.tar.gz
Use a shorter socket path during testingtest-socket-path
-rw-r--r--spec/httpunix_spec.rb2
1 files changed, 1 insertions, 1 deletions
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