Sha256: 5ae7055fa6fcd72691560cbea43e9e5be2337d8b080599380adf4453335f1856
Contents?: true
Size: 480 Bytes
Versions: 11
Compression:
Stored size: 480 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) class CompressedTest < UnitTest class App < Main 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.b1946ac92492d2347c6235b4d2611184.js' assert last_response.status == 200 end end
Version data entries
11 entries across 11 versions & 1 rubygems