summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/core/io/select_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/io/select_spec.rb b/spec/ruby/core/io/select_spec.rb
index eba8519e5b..7e51cd37d4 100644
--- a/spec/ruby/core/io/select_spec.rb
+++ b/spec/ruby/core/io/select_spec.rb
@@ -15,7 +15,7 @@ describe "IO.select" do
end
it "returns immediately all objects that are ready for I/O when timeout is 0" do
- @wr.write("be ready")
+ @wr.syswrite("be ready")
result = IO.select [@rd], [@wr], nil, 0
result.should == [[@rd], [@wr], []]
end