Sha256: 82c1c81950d9e7f49f7ad3785a691ec462f5edf2fd340811b7f8421535a9a997
Contents?: true
Size: 429 Bytes
Versions: 18
Compression:
Stored size: 429 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) class OptionsTest < UnitTest class App < UnitTest::App register Sinatra::AssetPack assets { css :application, [ '/css/*.css' ] js_compression :closure } end def app App end test "options" do assert App.assets.js_compression == :closure assert App.assets.packages['application.css'].path == "/assets/application.css" end end
Version data entries
18 entries across 18 versions & 3 rubygems