Sha256: bef1b1dae5b02ae0aabab62e1a45ddb9b066f1912d36a52a824cd34c196a26dd

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 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=\"badge\" style=\"style 10\">a</span>", StylePalette::Helper.label("a", :tags))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
style_palette-0.0.7 test/helper_test.rb