diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-07-13 00:44:09 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-07-13 00:44:09 +0000 |
commit | 1ec9f8d049eda0c52a3045752ed447f371462676 (patch) | |
tree | 1b6294b8bd99df02229a79cc55855908c851a85a /activesupport/test/core_ext | |
parent | 35f7cc23badaf51eca7d27b72613ab220d6936a6 (diff) | |
download | rails-1ec9f8d049eda0c52a3045752ed447f371462676.tar.gz rails-1ec9f8d049eda0c52a3045752ed447f371462676.tar.bz2 rails-1ec9f8d049eda0c52a3045752ed447f371462676.zip |
Correctly convert <foo nil=true> to nil when using Hash.create_from_xml. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r-- | activesupport/test/core_ext/hash_ext_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb index 2afdf95c4d..bcb4b43af0 100644 --- a/activesupport/test/core_ext/hash_ext_test.rb +++ b/activesupport/test/core_ext/hash_ext_test.rb @@ -352,7 +352,7 @@ class HashToXmlTest < Test::Unit::TestCase <viewed-at type="datetime">2003-07-16T09:28:00+0000</viewed-at> <content>Have a nice day</content> <author-email-address>david@loudthinking.com</author-email-address> - <parent-id></parent-id> + <parent-id nil="true"></parent-id> </topic> <topic> <title>The Second Topic</title> |