Sha256: b0e4be02ce1c3fe944d88c316ddd1a3f31bb75a758fb602d8e2c2e6a492d6ccb
Contents?: true
Size: 508 Bytes
Versions: 15
Compression:
Stored size: 508 Bytes
Contents
# encoding: UTF-8 require_relative "./test_helper" class HTMLEntities::EntitiesTest < Test::Unit::TestCase def test_should_raise_exception_when_unknown_flavor_specified assert_raises HTMLEntities::UnknownFlavor do HTMLEntities.new('foo') end end def test_should_allow_symbol_for_flavor assert_nothing_raised do HTMLEntities.new(:xhtml1) end end def test_should_allow_upper_case_flavor assert_nothing_raised do HTMLEntities.new('XHTML1') end end end
Version data entries
15 entries across 15 versions & 8 rubygems