aboutsummaryrefslogtreecommitdiffstats
path: root/test/rss
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-29 08:37:39 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-29 08:37:39 +0000
commitf587cf790611bd05a31e8d894feed2b3dc20c7c7 (patch)
tree37ec9c05cce9217600fc6d9f70066620b202c761 /test/rss
parent343f8b02a1c65ee968c483d6b7bfbc45e63150c3 (diff)
downloadruby-f587cf790611bd05a31e8d894feed2b3dc20c7c7.tar.gz
* test/rinda/test_rinda.rb: removed useless assignment variables.
* test/rss/rss-assertions.rb: ditto. * test/rss/test_maker_itunes.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss')
-rw-r--r--test/rss/rss-assertions.rb2
-rw-r--r--test/rss/test_maker_itunes.rb4
2 files changed, 2 insertions, 4 deletions
diff --git a/test/rss/rss-assertions.rb b/test/rss/rss-assertions.rb
index 5763a55eb1..f2e9dc07c9 100644
--- a/test/rss/rss-assertions.rb
+++ b/test/rss/rss-assertions.rb
@@ -1070,7 +1070,7 @@ EOA
target.uri = "http://example.com/~me/"
target.email = "me@example.com"
- target = targets.new_child
+ targets.new_child
end
end
end
diff --git a/test/rss/test_maker_itunes.rb b/test/rss/test_maker_itunes.rb
index f19e30d012..0d47171fdd 100644
--- a/test/rss/test_maker_itunes.rb
+++ b/test/rss/test_maker_itunes.rb
@@ -85,9 +85,7 @@ module RSS
end
target = chain_reader(rss20, feed_readers)
if [true, false].include?(value)
- feed_expected_value = value = value ? "yes" : "no"
- else
- feed_expected_value = value
+ value = value ? "yes" : "no"
end
assert_equal(value, target.itunes_block)
assert_equal(boolean_value, target.itunes_block?)