Sha256: 75241b8918884c0ea92861c8bde71d8d3f3fadbbd6aaddb6e20932e28cf0e526

Contents?: true

Size: 242 Bytes

Versions: 8

Compression:

Stored size: 242 Bytes

Contents

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

class CacheTest < UnitTest
  test "Compressed js caching" do
    app.set :reload_templates, false
    JSMin.expects(:minify).times(1).returns ""
    3.times { get '/js/app.js' }
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
sinatra-assetpack-0.1.2 test/cache_test.rb
sinatra-assetpack-0.1.1 test/cache_test.rb
sinatra-assetpack-0.1.0 test/cache_test.rb
sinatra-assetpack-flexible-compression-0.0.1 test/cache_test.rb
sundawg-sinatra-assetpack-fork-0.0.12.pre1 test/cache_test.rb
sinatra-assetpack-0.0.12.pre1 test/cache_test.rb
sinatra-assetpack-0.0.11 test/cache_test.rb
sinatra-assetpack-0.0.10 test/cache_test.rb