summaryrefslogtreecommitdiff
path: root/test/rss/test_maker_1.0.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rss/test_maker_1.0.rb')
-rw-r--r--test/rss/test_maker_1.0.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rss/test_maker_1.0.rb b/test/rss/test_maker_1.0.rb
index 91ba29d711..8f80f6e2fe 100644
--- a/test/rss/test_maker_1.0.rb
+++ b/test/rss/test_maker_1.0.rb
@@ -220,7 +220,7 @@ module RSS
item.link = "#{link}#{i}"
item.description = "#{description}#{i}"
end
- maker.items.sort = true
+ maker.items.do_sort = true
end
assert_equal(item_size, rss.items.size)
rss.items.each_with_index do |item, i|
@@ -239,7 +239,7 @@ module RSS
item.link = "#{link}#{i}"
item.description = "#{description}#{i}"
end
- maker.items.sort = Proc.new do |x, y|
+ maker.items.do_sort = Proc.new do |x, y|
y.title[-1] <=> x.title[-1]
end
end