summaryrefslogtreecommitdiff
path: root/test/rss/test_parser_1.0.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-07 13:42:22 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-07 13:42:22 +0000
commit3465feb90b0d8401ad9b101929dbed11707a2eca (patch)
tree5b8645e7ce4792c37eb1e52a7a67037402156899 /test/rss/test_parser_1.0.rb
parentb07ff6ba89e5183e433d1bfb12ef415298e5ae45 (diff)
* test/rss/test_taxonomy.rb, test/rss/test_parser_1.0.rb,
test/rss/test_image.rb, test/rss/rss-testcase.rb: ensured declaring XML namespaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss/test_parser_1.0.rb')
-rw-r--r--test/rss/test_parser_1.0.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rss/test_parser_1.0.rb b/test/rss/test_parser_1.0.rb
index 1c4e53c1da..216881b767 100644
--- a/test/rss/test_parser_1.0.rb
+++ b/test/rss/test_parser_1.0.rb
@@ -500,7 +500,8 @@ EOR
end
def test_unknown_duplicated_element
- assert_parse(make_RDF(<<-EOR), :nothing_raised)
+ xmlns = {"test" => "http://localhost/test"}
+ assert_parse(make_RDF(<<-EOR, xmlns), :nothing_raised)
#{make_channel("<test:string/>")}
#{make_item}
#{make_image}