Sha256: 917dee88c338f3174093e8da94692560e1ef000aa5087e42295d93600006327a
Contents?: true
Size: 598 Bytes
Versions: 1
Compression:
Stored size: 598 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) class NoneEngineTest < UnitTest setup do app.set :reload_templates, true app.assets.js_compression :none app.assets.css_compression :none end teardown do app.assets.js_compression :jsmin app.assets.css_compression :simple end test "build CSS without compressing" do get '/css/sq.css' assert body.include?(File.read(r('app/css/sqwishable.css')).strip) end test "build Javascript without compressing" do get '/js/hello.js' assert body.include?(File.read(r('app/js/hello.js')).strip) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinatra-assetpack-0.3.5 | test/none_test.rb |