summaryrefslogtreecommitdiff
path: root/test/rss/test_maker_atom_feed.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rss/test_maker_atom_feed.rb')
-rw-r--r--test/rss/test_maker_atom_feed.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rss/test_maker_atom_feed.rb b/test/rss/test_maker_atom_feed.rb
index 724763b..58a55c4 100644
--- a/test/rss/test_maker_atom_feed.rb
+++ b/test/rss/test_maker_atom_feed.rb
@@ -422,7 +422,7 @@ module RSS
end
end
assert_equal(date, feed.items[0].updated.content)
- assert_equal([date], feed.items[0].dc_dates.collect {|date| date.value})
+ assert_equal([date], feed.items[0].dc_dates.collect {|_date| _date.value})
end
def test_channel_dc_date
@@ -434,7 +434,7 @@ module RSS
setup_dummy_item_atom(maker)
end
assert_equal(date, feed.updated.content)
- assert_equal([date], feed.dc_dates.collect {|date| date.value})
+ assert_equal([date], feed.dc_dates.collect {|_date| _date.value})
end
def test_item_dc_date
@@ -448,7 +448,7 @@ module RSS
end
end
assert_equal(date, feed.items[0].updated.content)
- assert_equal([date], feed.items[0].dc_dates.collect {|date| date.value})
+ assert_equal([date], feed.items[0].dc_dates.collect {|_date| _date.value})
end
end
end