summaryrefslogtreecommitdiff
path: root/spec/httpunix_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/httpunix_spec.rb')
-rw-r--r--spec/httpunix_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/httpunix_spec.rb b/spec/httpunix_spec.rb
index 4c59340..b49bc0a 100644
--- a/spec/httpunix_spec.rb
+++ b/spec/httpunix_spec.rb
@@ -15,7 +15,9 @@ end
describe Net::HTTPUNIX do
def tmp_socket_path
- File.join(ROOT_PATH, 'tmp/test-socket')
+ # This has to be a relative path shorter than 100 bytes due to
+ # limitations in how Unix sockets work.
+ 'tmp/test-socket'
end
before(:all) do