1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rss/dublincore.rb (RSS::DublicCoreModel#date{,=}): added

convenient methods.
* lib/rss/0.9.rb (RSS::Rss::Channel#date{,=}): ditto.
* lib/rss/2.0.rb (RSS::Rss::Channel::Item#date{,=}): ditto.
* test/rss/: added tests for the convenient methods.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kou 2005-02-13 14:21:21 +00:00
parent 2847325f99
commit cb375567f6
7 changed files with 26 additions and 0 deletions

View file

@ -102,6 +102,7 @@ module RSS
assert_equal(rating, channel.rating)
assert_equal(docs, channel.docs)
assert_equal(pubDate, channel.pubDate)
assert_equal(pubDate, channel.date)
assert_equal(lastBuildDate, channel.lastBuildDate)
skipDays.each_with_index do |day, i|