Sha256: efb0aa9a9c0b4fd240af3843f5cf9b092194c6cdad29b9d271ad70749c0407cf
Contents?: true
Size: 577 Bytes
Versions: 5
Compression:
Stored size: 577 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) class OptionsTest < UnitTest test "tilt mappings" do # @todo Remove when fix is merged in tilt # https://github.com/rtomayko/tilt/pull/206 # trigger Tilt issue 206 then reset formats assert_nil Tilt["hello.world"] Sinatra::AssetPack.instance_variable_set :@formats, nil # extract formats @formats = Sinatra::AssetPack.tilt_formats assert @formats['sass'] == 'css' assert @formats['scss'] == 'css' assert @formats['less'] == 'css' assert @formats['coffee'] == 'js' end end
Version data entries
5 entries across 5 versions & 1 rubygems