summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/kernel/equal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/shared/kernel/equal.rb')
-rw-r--r--spec/ruby/shared/kernel/equal.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/shared/kernel/equal.rb b/spec/ruby/shared/kernel/equal.rb
index 0a70aec639..3b74232922 100644
--- a/spec/ruby/shared/kernel/equal.rb
+++ b/spec/ruby/shared/kernel/equal.rb
@@ -2,13 +2,13 @@
describe :object_equal, shared: true do
it "returns true if other is identical to self" do
obj = Object.new
- obj.__send__(@method, obj).should be_true
+ obj.__send__(@method, obj).should == true
end
it "returns false if other is not identical to self" do
a = Object.new
b = Object.new
- a.__send__(@method, b).should be_false
+ a.__send__(@method, b).should == false
end
it "returns true only if self and other are the same object" do