summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/shared
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/shared')
-rw-r--r--spec/ruby/core/array/shared/clone.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/ruby/core/array/shared/clone.rb b/spec/ruby/core/array/shared/clone.rb
index f6f581b17c..3c17b1f10f 100644
--- a/spec/ruby/core/array/shared/clone.rb
+++ b/spec/ruby/core/array/shared/clone.rb
@@ -26,8 +26,8 @@ describe :array_clone, shared: true do
aa = a.send @method
bb = b.send @method
- aa.tainted?.should == true
- bb.tainted?.should == false
+ aa.should.tainted?
+ bb.should_not.tainted?
end
it "copies untrusted status from the original" do
@@ -37,8 +37,8 @@ describe :array_clone, shared: true do
aa = a.send @method
bb = b.send @method
- aa.untrusted?.should == true
- bb.untrusted?.should == false
+ aa.should.untrusted?
+ bb.should_not.untrusted?
end
end
end