diff options
Diffstat (limited to 'spec/ruby/core/integer/dup_spec.rb')
| -rw-r--r-- | spec/ruby/core/integer/dup_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/integer/dup_spec.rb b/spec/ruby/core/integer/dup_spec.rb index 7f4d512465..3e5739ad37 100644 --- a/spec/ruby/core/integer/dup_spec.rb +++ b/spec/ruby/core/integer/dup_spec.rb @@ -3,11 +3,11 @@ require_relative '../../spec_helper' describe "Integer#dup" do it "returns self for small integers" do integer = 1_000 - integer.dup.should equal(integer) + integer.dup.should.equal?(integer) end it "returns self for large integers" do integer = 4_611_686_018_427_387_905 - integer.dup.should equal(integer) + integer.dup.should.equal?(integer) end end |
