We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b31c582 commit 54b29eaCopy full SHA for 54b29ea
library/socket/unixsocket/initialize_spec.rb
@@ -5,6 +5,7 @@
5
describe 'UNIXSocket#initialize' do
6
describe 'using a non existing path' do
7
it 'raises Errno::ENOENT' do
8
+ File.delete(SocketSpecs.socket_path) if File.exist?(SocketSpecs.socket_path)
9
-> { UNIXSocket.new(SocketSpecs.socket_path) }.should raise_error(Errno::ENOENT)
10
end
11
0 commit comments