Sha256: bb90a318ebdcf5f51b18115f16e43b00e4642d7deaba42819746374a97295216
Contents?: true
Size: 465 Bytes
Versions: 18
Compression:
Stored size: 465 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) class OrderTest < UnitTest class App < UnitTest::App register Sinatra::AssetPack assets { css :a, '/css/a.css', [ '/css/s*.css', '/css/j*.css' ] } end test "order" do paths = App.assets.packages['a.css'].paths assert_equal paths.sort, [ "/css/screen.css", "/css/sqwishable.css", "/css/style.css", "/css/stylus.css", "/css/js2c.css" ].sort end end
Version data entries
18 entries across 18 versions & 3 rubygems