class TestCSSesHelpers < Test::Unit::TestCase def test_001_css_sym_for_attribute_with_class assert_equal('.', css_sym_for_attribute('class')) end def test_002_css_sym_for_attribute_with_id assert_equal('#', css_sym_for_attribute('id')) end def test_003_css_sym_for_attribute_on_junk assert_raise(ArgumentError) { css_sym_for_attribute('junk') } end end