Sha256: 2ab925640d86aa8459f85cd5dce1fdebc5f5490045a5700843e983e072bec761

Contents?: true

Size: 300 Bytes

Versions: 3

Compression:

Stored size: 300 Bytes

Contents

require_relative "test_helper"

class HelperTest < MiniTest::Unit::TestCase
  def setup
    StylePalette.palettes_config = "#{FIXTURES}/style_palettes.json"
  end

  def test_label
    assert_equal("<span class=\"label\" style=\"style 10\">a</span>", StylePalette::Helper.label("a", :tags))
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
style_palette-0.0.5 test/helper_test.rb
style_palette-0.0.3 test/helper_test.rb
style_palette-0.0.1 test/helper_test.rb