diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/rinda/test_rinda.rb | 1 | ||||
| -rw-r--r-- | test/rss/rss-assertions.rb | 2 | ||||
| -rw-r--r-- | test/rss/test_maker_itunes.rb | 4 |
3 files changed, 2 insertions, 5 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 3c91eef7cf..3f7dc96a1b 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -37,7 +37,6 @@ class MockClock def _forward(n=nil) now ,= @ts.take([nil, :now]) @now = now + n - n = @reso if n.nil? @ts.write([@now, :now]) end 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?) |
