diff options
author | Edward Tsech <edtsech@gmail.com> | 2012-05-11 11:11:41 +0200 |
---|---|---|
committer | Edward Tsech <edtsech@gmail.com> | 2012-05-11 11:11:41 +0200 |
commit | 1065ef8fd3ad499feec01b39292ee435c1f71c13 (patch) | |
tree | 901832e1c59f42b1a31c0a366669170389076fc0 /activesupport/test/core_ext | |
parent | c8f5a216df7d14463027425b53968d7f7023bf85 (diff) | |
download | rails-1065ef8fd3ad499feec01b39292ee435c1f71c13.tar.gz rails-1065ef8fd3ad499feec01b39292ee435c1f71c13.tar.bz2 rails-1065ef8fd3ad499feec01b39292ee435c1f71c13.zip |
Fix copypaste. [ci skip]
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r-- | activesupport/test/core_ext/hash_ext_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb index 1cd10eb6e2..822fcbc53e 100644 --- a/activesupport/test/core_ext/hash_ext_test.rb +++ b/activesupport/test/core_ext/hash_ext_test.rb @@ -491,11 +491,11 @@ class HashExtTest < ActiveSupport::TestCase 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 |