summaryrefslogtreecommitdiff
path: root/spec/ruby/core/integer/integer_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/integer/integer_spec.rb')
-rw-r--r--spec/ruby/core/integer/integer_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/integer/integer_spec.rb b/spec/ruby/core/integer/integer_spec.rb
index 2d5d2e3e92..19a962d548 100644
--- a/spec/ruby/core/integer/integer_spec.rb
+++ b/spec/ruby/core/integer/integer_spec.rb
@@ -6,8 +6,8 @@ describe "Integer" do
end
it "is the class of both small and large integers" do
- 42.class.should equal(Integer)
- bignum_value.class.should equal(Integer)
+ 42.class.should.equal?(Integer)
+ bignum_value.class.should.equal?(Integer)
end
end