Skip to content

Commit 54b29ea

Browse files
committed
?
1 parent b31c582 commit 54b29ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/socket/unixsocket/initialize_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
describe 'UNIXSocket#initialize' do
66
describe 'using a non existing path' do
77
it 'raises Errno::ENOENT' do
8+
File.delete(SocketSpecs.socket_path) if File.exist?(SocketSpecs.socket_path)
89
-> { UNIXSocket.new(SocketSpecs.socket_path) }.should raise_error(Errno::ENOENT)
910
end
1011
end

0 commit comments

Comments
 (0)