aboutsummaryrefslogtreecommitdiffstats
path: root/test/rss/test_maker_0.9.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rss/test_maker_0.9.rb')
-rw-r--r--test/rss/test_maker_0.9.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rss/test_maker_0.9.rb b/test/rss/test_maker_0.9.rb
index 64d04bcd10..d07a724ab1 100644
--- a/test/rss/test_maker_0.9.rb
+++ b/test/rss/test_maker_0.9.rb
@@ -315,6 +315,7 @@ module RSS
assert_equal(link, item.link)
assert_nil(item.description)
+ pubDate = Time.now
item_size = 5
rss = RSS::Maker.make("0.91") do |maker|
@@ -325,6 +326,7 @@ module RSS
_item.title = "#{title}#{i}"
_item.link = "#{link}#{i}"
_item.description = "#{description}#{i}"
+ _item.date = pubDate - i
end
end
maker.items.do_sort = true