diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-18 09:23:59 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-18 09:23:59 +0000 |
commit | a88ae9078c18694b24e329333439d7c3dead5104 (patch) | |
tree | 244c7cdbc12be4f71b88af1964210cae61963e66 /test | |
parent | c849d2692ba964baabf536024a24b164ca622510 (diff) |
* test/rss/test_image.rb: shared name space configuration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/rss/test_image.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rss/test_image.rb b/test/rss/test_image.rb index 0fb9fce276..241fdafb7d 100644 --- a/test/rss/test_image.rb +++ b/test/rss/test_image.rb @@ -52,11 +52,11 @@ module RSS items << make_item(image_item) end - ns = { + @ns = { @prefix => @uri, DC_PREFIX => DC_URI, } - @rss_source = make_RDF(<<-EOR, ns) + @rss_source = make_RDF(<<-EOR, @ns) #{make_channel(@channel_nodes)} #{make_image} #{items} @@ -70,9 +70,9 @@ EOR assert_nothing_raised do Parser.parse(@rss_source) end - + assert_too_much_tag("favicon", "channel") do - Parser.parse(make_RDF(<<-EOR, {@prefix => @uri})) + Parser.parse(make_RDF(<<-EOR, @ns)) #{make_channel(@channel_nodes * 2)} #{make_item} EOR |