Sha256: 1f778b51417bb899293ba93bdd68a7d08eff427dfae9195946a7f8336261e6e7
Contents?: true
Size: 423 Bytes
Versions: 11
Compression:
Stored size: 423 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) class OrderTest < UnitTest class App < Main 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
11 entries across 11 versions & 1 rubygems