aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/array_ext_test.rb
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2007-06-05 14:09:15 +0000
committerRick Olson <technoweenie@gmail.com>2007-06-05 14:09:15 +0000
commited1ed9ed97f7d30ba8221079365634aa9c4bf24c (patch)
tree4564504ab18ee63adf2191595513141833430245 /activesupport/test/core_ext/array_ext_test.rb
parent319107ae40bc00772f4eaf91ab9531097bc537cb (diff)
downloadrails-ed1ed9ed97f7d30ba8221079365634aa9c4bf24c.tar.gz
rails-ed1ed9ed97f7d30ba8221079365634aa9c4bf24c.tar.bz2
rails-ed1ed9ed97f7d30ba8221079365634aa9c4bf24c.zip
revert [6924]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/core_ext/array_ext_test.rb')
-rw-r--r--activesupport/test/core_ext/array_ext_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/array_ext_test.rb b/activesupport/test/core_ext/array_ext_test.rb
index 8c5356ac78..e5ca4c424f 100644
--- a/activesupport/test/core_ext/array_ext_test.rb
+++ b/activesupport/test/core_ext/array_ext_test.rb
@@ -121,7 +121,7 @@ class ArrayToXmlTests < Test::Unit::TestCase
{ :name => "Jason", :age => 31, :age_in_millis => BigDecimal.new('1.0') }
].to_xml(:skip_instruct => true, :indent => 0)
- assert_equal '<records type="array"><record>', xml.first(30)
+ assert_equal "<records><record>", xml.first(17), xml
assert xml.include?(%(<age type="integer">26</age>)), xml
assert xml.include?(%(<age-in-millis type="integer">820497600000</age-in-millis>)), xml
assert xml.include?(%(<name>David</name>)), xml
@@ -135,7 +135,7 @@ class ArrayToXmlTests < Test::Unit::TestCase
{ :name => "David", :age => 26, :age_in_millis => 820497600000 }, { :name => "Jason", :age => 31 }
].to_xml(:skip_instruct => true, :indent => 0, :root => "people")
- assert_equal '<people type="array"><person>', xml.first(29)
+ assert_equal "<people><person>", xml.first(16)
end
def test_to_xml_with_options