summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringio/fsync_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/stringio/fsync_spec.rb')
-rw-r--r--spec/ruby/library/stringio/fsync_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/stringio/fsync_spec.rb b/spec/ruby/library/stringio/fsync_spec.rb
index 85053cb2e5..30fae15c8e 100644
--- a/spec/ruby/library/stringio/fsync_spec.rb
+++ b/spec/ruby/library/stringio/fsync_spec.rb
@@ -4,6 +4,6 @@ require_relative 'fixtures/classes'
describe "StringIO#fsync" do
it "returns zero" do
io = StringIO.new(+"fsync")
- io.fsync.should eql(0)
+ io.fsync.should.eql?(0)
end
end