From 3a0159dd1e66a53d2ee39b3a3625998706cd8ae6 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Fri, 21 Jul 2006 05:52:30 +0000 Subject: Strip boolean XML content before checking for 'true' [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/test/core_ext/hash_ext_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport/test/core_ext') diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb index bcb4b43af0..f0a50ec5fe 100644 --- a/activesupport/test/core_ext/hash_ext_test.rb +++ b/activesupport/test/core_ext/hash_ext_test.rb @@ -313,7 +313,7 @@ class HashToXmlTest < Test::Unit::TestCase The First Topic David 1 - false + true 0 2003-07-16 2003-07-16T09:28:00+0000 @@ -327,7 +327,7 @@ class HashToXmlTest < Test::Unit::TestCase :title => "The First Topic", :author_name => "David", :id => 1, - :approved => false, + :approved => true, :replies_count => 0, :written_on => Date.new(2003, 7, 16), :viewed_at => Time.utc(2003, 7, 16, 9, 28), -- cgit v1.2.3