Permalink
Browse files

Fix copypaste. [ci skip]

  • Loading branch information...
edtsech committed May 11, 2012
1 parent c8f5a21 commit 1065ef8fd3ad499feec01b39292ee435c1f71c13
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit 1065ef8

Please sign in to comment.