summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringio/sync_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/stringio/sync_spec.rb')
-rw-r--r--spec/ruby/library/stringio/sync_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/stringio/sync_spec.rb b/spec/ruby/library/stringio/sync_spec.rb
index e717a5697b..d7d1209047 100644
--- a/spec/ruby/library/stringio/sync_spec.rb
+++ b/spec/ruby/library/stringio/sync_spec.rb
@@ -3,7 +3,7 @@ require_relative 'fixtures/classes'
describe "StringIO#sync" do
it "returns true" do
- StringIO.new('').sync.should be_true
+ StringIO.new('').sync.should == true
end
end
@@ -14,6 +14,6 @@ describe "StringIO#sync=" do
it "does not change 'sync' status" do
@io.sync = false
- @io.sync.should be_true
+ @io.sync.should == true
end
end