Test that HWIA.with_indifferent_access does not return self

This commit is contained in:
David Lee 2011-05-17 22:56:28 -07:00
parent fb3ea8b8cb
commit 96acdfbf2a

@ -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