summaryrefslogtreecommitdiff
path: root/test/rss/rss-assertions.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-17 09:01:22 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-17 09:01:22 +0000
commit02c5d7e79a79b6fc09c31c90931c599b817eadba (patch)
tree5623af540ba5ec4725bc9abb0d7427d2223a4b32 /test/rss/rss-assertions.rb
parentfb1d1a917d25a1e79282f269e6f70fdbe3ac76ac (diff)
* lib/rss/1.0.rb: added convenience method 'resources'.
* lib/rss/taxonomy.rb: ditto. * test/rss/rss-assertions.rb: added test for 'resources'. * test/rss/test_taxonomy.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss/rss-assertions.rb')
-rw-r--r--test/rss/rss-assertions.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rss/rss-assertions.rb b/test/rss/rss-assertions.rb
index 2636062519..f5e8c5ccaa 100644
--- a/test/rss/rss-assertions.rb
+++ b/test/rss/rss-assertions.rb
@@ -193,6 +193,7 @@ module RSS
def assert_channel10_items(attrs, items)
_wrap_assertion do
+ assert_equal(items.resources, items.Seq.lis.collect {|x| x.resource})
items.Seq.lis.each_with_index do |li, i|
assert_attributes(attrs[i], %w(resource), li)
end