Sha256: abf43f44dab64b5ce96fa197b403b29fc888096292370cff9e7a35590a17c2d3
Contents?: true
Size: 497 Bytes
Versions: 15
Compression:
Stored size: 497 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) class CompressedTest < UnitTest class App < UnitTest::App register Sinatra::AssetPack assets { js :app, '/app.js', [ '/js/*.js' ] } end def app App end test "ha" do get '/x/y/z/app.js' assert last_response.status == 404 end test "right" do get '/app.js' assert last_response.status == 200 end test "lol" do get '/app.4872837.js' assert last_response.status == 200 end end
Version data entries
15 entries across 15 versions & 3 rubygems