summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/unixsocket/shared/new.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/socket/unixsocket/shared/new.rb')
-rw-r--r--spec/ruby/library/socket/unixsocket/shared/new.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/socket/unixsocket/shared/new.rb b/spec/ruby/library/socket/unixsocket/shared/new.rb
index 76a4e1701e..bfb7ed3886 100644
--- a/spec/ruby/library/socket/unixsocket/shared/new.rb
+++ b/spec/ruby/library/socket/unixsocket/shared/new.rb
@@ -18,7 +18,7 @@ describe :unixsocket_new, shared: true do
@client = UNIXSocket.send(@method, @path)
@client.addr[0].should == "AF_UNIX"
- @client.closed?.should == false
+ @client.should_not.closed?
end
end
end