summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-05-03 14:55:01 +0000
committerRobert Speicher <robert@gitlab.com>2017-05-03 14:55:01 +0000
commit1cf14770f3bf5c3255f4c3a8f69ccfab74317fcd (patch)
treec67d4b01dcbd647e1c35797124ed914a74222cd3
parent158b424f9aec0e4ce439f56cb193e369b36e0e46 (diff)
parent8e27afa7fe673dd2bcc6ca7f48b544c99f4f09b8 (diff)
downloadgitlab-shell-1cf14770f3bf5c3255f4c3a8f69ccfab74317fcd.tar.gz
Merge branch 'test-socket-path' into 'master'
Use a shorter socket path during testing See merge request !131
-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