diff options
Diffstat (limited to 'spec/ruby/core/env/shared/to_hash.rb')
-rw-r--r-- | spec/ruby/core/env/shared/to_hash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/env/shared/to_hash.rb b/spec/ruby/core/env/shared/to_hash.rb index 3bfbc415f7..254054c14d 100644 --- a/spec/ruby/core/env/shared/to_hash.rb +++ b/spec/ruby/core/env/shared/to_hash.rb @@ -17,6 +17,6 @@ describe :env_to_hash, shared: true do it "duplicates the ENV when converting to a Hash" do h = ENV.send(@method) - h.object_id.should_not == ENV.object_id + h.should_not equal ENV end end |