summaryrefslogtreecommitdiff
path: root/spec/rubyspec/library/socket/unixsocket/shared/new.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/library/socket/unixsocket/shared/new.rb')
-rw-r--r--spec/rubyspec/library/socket/unixsocket/shared/new.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rubyspec/library/socket/unixsocket/shared/new.rb b/spec/rubyspec/library/socket/unixsocket/shared/new.rb
index 9d8fb809d2..76c0d07b83 100644
--- a/spec/rubyspec/library/socket/unixsocket/shared/new.rb
+++ b/spec/rubyspec/library/socket/unixsocket/shared/new.rb
@@ -11,7 +11,7 @@ describe :unixsocket_new, shared: true do
after :each do
@client.close if @client
@server.close
- rm_r @path
+ SocketSpecs.rm_socket @path
end
it "opens a unix socket on the specified file" do