aboutsummaryrefslogtreecommitdiffstats
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.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/rss/test_maker_2.0.rb b/test/rss/test_maker_2.0.rb
index f6d4a11dc3..9fe6543dd9 100644
--- a/test/rss/test_maker_2.0.rb
+++ b/test/rss/test_maker_2.0.rb
@@ -4,6 +4,10 @@ require "rss/maker"
module RSS
class TestMaker20 < TestCase
+ def test_find_class
+ assert_equal(RSS::Maker::RSS20, RSS::Maker["2.0"])
+ assert_equal(RSS::Maker::RSS20, RSS::Maker["rss2.0"])
+ end
def test_rss
assert_raise(LocalJumpError) do