summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/unixsocket/send_io_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/socket/unixsocket/send_io_spec.rb')
-rw-r--r--spec/ruby/library/socket/unixsocket/send_io_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/socket/unixsocket/send_io_spec.rb b/spec/ruby/library/socket/unixsocket/send_io_spec.rb
index 80f3550c6d..0063fc7d3f 100644
--- a/spec/ruby/library/socket/unixsocket/send_io_spec.rb
+++ b/spec/ruby/library/socket/unixsocket/send_io_spec.rb
@@ -1,7 +1,7 @@
require_relative '../spec_helper'
require_relative '../fixtures/classes'
-with_feature :unix_socket do
+platform_is_not :windows do
describe "UNIXSocket#send_io" do
before :each do
@path = SocketSpecs.socket_path
@@ -49,7 +49,7 @@ with_feature :unix_socket do
@client.send_io(@file)
@io = @server.recv_io
- @io.should be_an_instance_of(IO)
+ @io.should.instance_of?(IO)
end
end
end