aboutsummaryrefslogtreecommitdiffstats
path: root/test/rss/test_maker_atom_entry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rss/test_maker_atom_entry.rb')
-rw-r--r--test/rss/test_maker_atom_entry.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/rss/test_maker_atom_entry.rb b/test/rss/test_maker_atom_entry.rb
index 94e4255e9e..4275bdc685 100644
--- a/test/rss/test_maker_atom_entry.rb
+++ b/test/rss/test_maker_atom_entry.rb
@@ -4,6 +4,12 @@ require "rss/maker"
module RSS
class TestMakerAtomEntry < TestCase
+ def test_supported?
+ assert(RSS::Maker.supported?("atom:entry"))
+ assert(RSS::Maker.supported?("atom1.0:entry"))
+ assert(!RSS::Maker.supported?("atom2.0:entry"))
+ end
+
def test_find_class
assert_equal(RSS::Maker::Atom::Entry, RSS::Maker["atom:entry"])
assert_equal(RSS::Maker::Atom::Entry, RSS::Maker["atom1.0:entry"])