aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/array_ext_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-04-21 14:12:05 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-04-21 14:12:05 +0000
commit178880ef7c4953470453c258abccf99b98c92bb9 (patch)
treee8b6ba2b3a8ce903b9ccdf37d113d69136efe237 /activesupport/test/core_ext/array_ext_test.rb
parenteb7a3045e3035d7de35a43297a4f36255e4f178d (diff)
downloadrails-178880ef7c4953470453c258abccf99b98c92bb9.tar.gz
rails-178880ef7c4953470453c258abccf99b98c92bb9.tar.bz2
rails-178880ef7c4953470453c258abccf99b98c92bb9.zip
Use XSD-compatible type names for Hash#to_xml and make the converters extendable #8047 [Tim Pope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6546 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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/array_ext_test.rb b/activesupport/test/core_ext/array_ext_test.rb
index 5a273b83d6..26bc232b81 100644
--- a/activesupport/test/core_ext/array_ext_test.rb
+++ b/activesupport/test/core_ext/array_ext_test.rb
@@ -126,7 +126,7 @@ class ArrayToXmlTests < Test::Unit::TestCase
assert xml.include?(%(<age-in-millis type="integer">820497600000</age-in-millis>)), xml
assert xml.include?(%(<name>David</name>)), xml
assert xml.include?(%(<age type="integer">31</age>)), xml
- assert xml.include?(%(<age-in-millis type="numeric">1.0</age-in-millis>)), xml
+ assert xml.include?(%(<age-in-millis type="decimal">1.0</age-in-millis>)), xml
assert xml.include?(%(<name>Jason</name>)), xml
end