Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix copypaste. [ci skip]

  • Loading branch information...
commit 1065ef8fd3ad499feec01b39292ee435c1f71c13 1 parent c8f5a21
@edtsech edtsech authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/test/core_ext/hash_ext_test.rb
View
4 activesupport/test/core_ext/hash_ext_test.rb
@@ -491,11 +491,11 @@ def test_except
original = { :a => 'x', :b => 'y', :c => 10 }
expected = { :a => 'x', :b => 'y' }
- # Should return a new hash with only the given keys.
+ # Should return a new hash without the given keys.
assert_equal expected, original.except(:c)
assert_not_equal expected, original
- # Should replace the hash with only the given keys.
+ # Should replace the hash without the given keys.
assert_equal expected, original.except!(:c)
assert_equal expected, original
end
Please sign in to comment.
Something went wrong with that request. Please try again.