mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Test that HWIA.with_indifferent_access does not return self
This commit is contained in:
@@ -974,6 +974,7 @@ class HashToXmlTest < Test::Unit::TestCase
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user