summaryrefslogtreecommitdiff
path: root/test/rss/test_maker_1.0.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rss/test_maker_1.0.rb')
-rw-r--r--test/rss/test_maker_1.0.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/rss/test_maker_1.0.rb b/test/rss/test_maker_1.0.rb
index 60cc370..49d506b 100644
--- a/test/rss/test_maker_1.0.rb
+++ b/test/rss/test_maker_1.0.rb
@@ -6,6 +6,10 @@ module RSS
class TestMaker10 < TestCase
def test_rdf
+ assert_raise(LocalJumpError) do
+ RSS::Maker.make("1.0")
+ end
+
rss = RSS::Maker.make("1.0") do |maker|
setup_dummy_channel(maker)
setup_dummy_item(maker)
@@ -48,9 +52,6 @@ module RSS
link = "http://hoge.com"
description = "fugafugafugafuga"
- rss = RSS::Maker.make("1.0")
- assert_nil(rss)
-
rss = RSS::Maker.make("1.0") do |maker|
maker.channel.about = about
maker.channel.title = title