diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-13 14:21:21 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-13 14:21:21 +0000 |
commit | cb375567f6fcb7682ac86a467a9de37e5d73155e (patch) | |
tree | 25c068b4a748034ce329db7fc777e706fb703962 /test/rss/test_maker_0.9.rb | |
parent | 2847325f99ccc35a2c94785fb12be3726be6983f (diff) |
* 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
Diffstat (limited to 'test/rss/test_maker_0.9.rb')
-rw-r--r-- | test/rss/test_maker_0.9.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rss/test_maker_0.9.rb b/test/rss/test_maker_0.9.rb index 50c311ad94..8fdd5f2d68 100644 --- a/test/rss/test_maker_0.9.rb +++ b/test/rss/test_maker_0.9.rb @@ -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| |