From 7556f66e9cd2eaca3c7cc114f56be732c8845086 Mon Sep 17 00:00:00 2001 From: kou Date: Sun, 29 Jun 2008 08:38:11 +0000 Subject: * lib/rss/maker/base.rb (RSS::Maker::RSSBase#make): require block. * test/rss/test_maker_{0.9,1.0,2.0}.rb: follow the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rss/test_maker_2.0.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/rss/test_maker_2.0.rb') diff --git a/test/rss/test_maker_2.0.rb b/test/rss/test_maker_2.0.rb index c338e343a3..f6d4a11dc3 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) -- cgit v1.2.3