summaryrefslogtreecommitdiff
path: root/test/rss/test_maker_0.9.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-29 08:38:11 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-29 08:38:11 +0000
commit7556f66e9cd2eaca3c7cc114f56be732c8845086 (patch)
treec2966c4a6f99a28efb5799752bab1d63a4254bb9 /test/rss/test_maker_0.9.rb
parentf6c7804c16e019bda446bebc17f32049880277cd (diff)
* 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
Diffstat (limited to 'test/rss/test_maker_0.9.rb')
-rw-r--r--test/rss/test_maker_0.9.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/rss/test_maker_0.9.rb b/test/rss/test_maker_0.9.rb
index c211bf605b..815f9e3952 100644
--- a/test/rss/test_maker_0.9.rb
+++ b/test/rss/test_maker_0.9.rb
@@ -6,8 +6,9 @@ module RSS
class TestMaker09 < TestCase
def test_rss
- rss = RSS::Maker.make("0.91")
- assert_nil(rss)
+ assert_raise(LocalJumpError) do
+ RSS::Maker.make("0.91")
+ end
rss = RSS::Maker.make("0.9") do |maker|
setup_dummy_channel(maker)