summaryrefslogtreecommitdiff
path: root/test/rss/test_maker_2.0.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-23 21:37:39 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-23 21:37:39 +0000
commitf6327e732fbc8c68dae163401d283924769dee8d (patch)
tree47f2922c8db27b572148164f8de904fa569bd7de /test/rss/test_maker_2.0.rb
parentd1c42e4f341e063d3849a3a9e3622b7261735559 (diff)
Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss/test_maker_2.0.rb')
-rw-r--r--test/rss/test_maker_2.0.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rss/test_maker_2.0.rb b/test/rss/test_maker_2.0.rb
index 705270df4e..530c3cc85f 100644
--- a/test/rss/test_maker_2.0.rb
+++ b/test/rss/test_maker_2.0.rb
@@ -445,7 +445,7 @@ module RSS
def test_pubDate_without_description
title = "TITLE"
link = "http://hoge.com/"
- description = "text hoge fuga"
+ # description = "text hoge fuga"
author = "oprah@oxygen.net"
pubDate = Time.now
@@ -529,13 +529,13 @@ module RSS
end
def test_not_valid_guid
- content = "http://inessential.com/2002/09/01.php#a2"
+ # content = "http://inessential.com/2002/09/01.php#a2"
rss = RSS::Maker.make("2.0") do |maker|
setup_dummy_channel(maker)
setup_dummy_item(maker)
- guid = maker.items.last.guid
+ # guid = maker.items.last.guid
# guid.content = content
end
assert_nil(rss.channel.items.last.guid)
@@ -662,7 +662,7 @@ module RSS
end
def test_not_valid_category
- content = "Grateful Dead"
+ # content = "Grateful Dead"
rss = RSS::Maker.make("2.0") do |maker|
setup_dummy_channel(maker)