Class: TestHtmlFontHandler

Inherits:
Test::Unit::TestCase
  • Object
show all
Defined in:
test/test_util/html_parser.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) test_attribute



323
324
325
326
327
328
329
# File 'test/test_util/html_parser.rb', line 323

def test_attribute
  attr = [
    ['FACE', 'SYMBOL']
  ]
  handler = ODDB::HtmlFontHandler.new(attr)
  assert_equal('SYMBOL', handler.attribute('face'))
end