summaryrefslogtreecommitdiff
path: root/test/rss/test_maker_2.0.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rss/test_maker_2.0.rb')
-rw-r--r--test/rss/test_maker_2.0.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/rss/test_maker_2.0.rb b/test/rss/test_maker_2.0.rb
index c338e34..f6d4a11 100644
--- a/test/rss/test_maker_2.0.rb
+++ b/test/rss/test_maker_2.0.rb
@@ -6,8 +6,9 @@ module RSS
class TestMaker20 < TestCase
def test_rss
- rss = RSS::Maker.make("2.0")
- assert_nil(rss)
+ assert_raise(LocalJumpError) do
+ RSS::Maker.make("2.0")
+ end
rss = RSS::Maker.make("2.0") do |maker|
setup_dummy_channel(maker)