summaryrefslogtreecommitdiffstats
path: root/test/rss/rss-assertions.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-17 00:17:32 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-17 00:17:32 +0000
commita79f93a4731ec59d11137d5265b38cac48fa39f4 (patch)
tree92f4dd2d450c0c7573834b76607ce71264ee2f85 /test/rss/rss-assertions.rb
parent089af4800ad73c202a82af46d15a5a9060c759af (diff)
downloadruby-a79f93a4731ec59d11137d5265b38cac48fa39f4.tar.gz
ruby-a79f93a4731ec59d11137d5265b38cac48fa39f4.tar.xz
ruby-a79f93a4731ec59d11137d5265b38cac48fa39f4.zip
* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)
* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10289 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 263606251..f5e8c5cca 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