Sha256: 3d331fd484507735e9d9068b9c15b2c22eacc9a4c8dfd11f59e144387a29fff3
Contents?: true
Size: 386 Bytes
Versions: 17
Compression:
Stored size: 386 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) class UglifyTest < UnitTest class App < UnitTest::App register Sinatra::AssetPack assets do js_compression :uglify, :mangle => true js :main, '/main.js', [ '/js/ugly.js' ] end end def app App end test "build" do get '/main.js' assert !body.include?("noodle") end end
Version data entries
17 entries across 17 versions & 3 rubygems