diff options
Diffstat (limited to 'spec/rubyspec/library/socket/unixsocket/partially_closable_spec.rb')
-rw-r--r-- | spec/rubyspec/library/socket/unixsocket/partially_closable_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/rubyspec/library/socket/unixsocket/partially_closable_spec.rb b/spec/rubyspec/library/socket/unixsocket/partially_closable_spec.rb index 1123a23541..f43274db2e 100644 --- a/spec/rubyspec/library/socket/unixsocket/partially_closable_spec.rb +++ b/spec/rubyspec/library/socket/unixsocket/partially_closable_spec.rb @@ -7,7 +7,6 @@ platform_is_not :windows do before :each do @path = SocketSpecs.socket_path - rm_r @path @server = UNIXServer.open(@path) @s1 = UNIXSocket.new(@path) @s2 = @server.accept @@ -17,7 +16,7 @@ platform_is_not :windows do @server.close @s1.close @s2.close - rm_r @path + SocketSpecs.rm_socket @path end it_should_behave_like "partially closable sockets" |