Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix AS tests due to builder change with nil values / empty strings

Check 0180e09 for more reasoning about
that.
  • Loading branch information...
commit 146eaf381822f3d908809111621bf6242c510668 1 parent 77dd3be
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/test/core_ext/hash_ext_test.rb
View
4 activesupport/test/core_ext/hash_ext_test.rb
@@ -614,7 +614,7 @@ def test_one_level_with_nils
assert_equal "<person>", xml.first(8)
assert xml.include?(%(<street>Paulina</street>))
assert xml.include?(%(<name>David</name>))
- assert xml.include?(%(<age nil="true"></age>))
+ assert xml.include?(%(<age nil="true"/>))
end
def test_one_level_with_skipping_types
@@ -622,7 +622,7 @@ def test_one_level_with_skipping_types
assert_equal "<person>", xml.first(8)
assert xml.include?(%(<street>Paulina</street>))
assert xml.include?(%(<name>David</name>))
- assert xml.include?(%(<age nil="true"></age>))
+ assert xml.include?(%(<age nil="true"/>))
end
def test_one_level_with_yielding
Please sign in to comment.
Something went wrong with that request. Please try again.