Sha256: e36412b0bd5083c77169470a5c462d596b062f3cc3d71a950cf13edb4485331a

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csses-1.0.0 test/test_csses_helpers.rb