mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix AS tests due to builder change with nil values / empty strings
Check 0180e090ab
for more reasoning about
that.
This commit is contained in:
parent
ba4a6c296e
commit
f24a5517e9
1 changed files with 2 additions and 2 deletions
|
@ -848,7 +848,7 @@ class HashToXmlTest < ActiveSupport::TestCase
|
|||
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
|
||||
|
@ -856,7 +856,7 @@ class HashToXmlTest < ActiveSupport::TestCase
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue