Skip to content

Commit

Permalink
Test that HWIA.with_indifferent_access does not return self
Browse files Browse the repository at this point in the history
  • Loading branch information
dlee committed May 18, 2011
1 parent fb3ea8b commit 96acdfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activesupport/test/core_ext/hash_ext_test.rb
Expand Up @@ -974,6 +974,7 @@ def test_should_nil_if_no_default_value_is_supplied
def test_should_return_dup_for_with_indifferent_access
hash_wia = HashWithIndifferentAccess.new
assert_equal hash_wia, hash_wia.with_indifferent_access
assert_not_same hash_wia, hash_wia.with_indifferent_access
end

def test_should_copy_the_default_value_when_converting_to_hash_with_indifferent_access
Expand Down

0 comments on commit 96acdfb

Please sign in to comment.