summaryrefslogtreecommitdiff
path: root/spec/ruby/core/env/clear_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/env/clear_spec.rb')
-rw-r--r--spec/ruby/core/env/clear_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/env/clear_spec.rb b/spec/ruby/core/env/clear_spec.rb
index 48b034ba1d..c0d20193ad 100644
--- a/spec/ruby/core/env/clear_spec.rb
+++ b/spec/ruby/core/env/clear_spec.rb
@@ -4,7 +4,7 @@ describe "ENV.clear" do
it "deletes all environment variables" do
orig = ENV.to_hash
begin
- ENV.clear.should equal(ENV)
+ ENV.clear.should.equal?(ENV)
# This used 'env' the helper before. That shells out to 'env' which
# itself sets up certain environment variables before it runs, because