From 37ef87c12b6c496001d0f199e46b4ecbfac5d394 Mon Sep 17 00:00:00 2001 From: eregon Date: Tue, 27 Feb 2018 20:21:25 +0000 Subject: Update to ruby/spec@cbe855c git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/core/time/at_spec.rb | 2 +- spec/ruby/core/time/succ_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/ruby/core/time') diff --git a/spec/ruby/core/time/at_spec.rb b/spec/ruby/core/time/at_spec.rb index 6883a8d074..58cacbf8f5 100644 --- a/spec/ruby/core/time/at_spec.rb +++ b/spec/ruby/core/time/at_spec.rb @@ -48,7 +48,7 @@ describe "Time.at" do it "creates a dup time object with the value given by time" do t1 = Time.new t2 = Time.at(t1) - t1.object_id.should_not == t2.object_id + t1.should_not equal t2 end it "returns a UTC time if the argument is UTC" do diff --git a/spec/ruby/core/time/succ_spec.rb b/spec/ruby/core/time/succ_spec.rb index 6831200741..ade72165ec 100644 --- a/spec/ruby/core/time/succ_spec.rb +++ b/spec/ruby/core/time/succ_spec.rb @@ -14,6 +14,6 @@ describe "Time#succ" do -> { t2 = t1.succ }.should complain(/Time#succ is obsolete/) - t1.object_id.should_not == t2.object_id + t1.should_not equal t2 end end -- cgit v1.2.3