From 146eaf381822f3d908809111621bf6242c510668 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Fri, 7 Sep 2012 13:37:04 -0300 Subject: Fix AS tests due to builder change with nil values / empty strings Check 0180e090ab6cbe66f7b521a0c03e278a0463accd for more reasoning about that. --- activesupport/test/core_ext/hash_ext_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport/test/core_ext') diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb index 56dfeb68cc..b5eb049ad4 100644 --- a/activesupport/test/core_ext/hash_ext_test.rb +++ b/activesupport/test/core_ext/hash_ext_test.rb @@ -614,7 +614,7 @@ class HashToXmlTest < Test::Unit::TestCase assert_equal "", xml.first(8) assert xml.include?(%(Paulina)) assert xml.include?(%(David)) - assert xml.include?(%()) + assert xml.include?(%()) end def test_one_level_with_skipping_types @@ -622,7 +622,7 @@ class HashToXmlTest < Test::Unit::TestCase assert_equal "", xml.first(8) assert xml.include?(%(Paulina)) assert xml.include?(%(David)) - assert xml.include?(%()) + assert xml.include?(%()) end def test_one_level_with_yielding -- cgit v1.2.3