Sha256: 6babc2c9a1ffb87fe718772c7e84da9821b51744868811011068a29216104a55

Contents?: true

Size: 248 Bytes

Versions: 3

Compression:

Stored size: 248 Bytes

Contents

require File.expand_path('../test_helper', __FILE__)

class CacheTest < UnitTest
  test "Compressed js caching" do
    app.assets.reset_cache
    # JSMin.expects(:minify).times(1) -- not working?
    get '/js/app.js'
    get '/js/app.js'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sinatra-assetpack-0.0.8 test/cache_test.rb
sinatra-assetpack-0.0.6 test/cache_test.rb
sinatra-assetpack-0.0.5 test/cache_test.rb