test/glob_test.rb in sinatra-assetpack-0.2.2 vs test/glob_test.rb in sinatra-assetpack-0.2.3
- old
+ new
@@ -1,10 +1,8 @@
require File.expand_path('../test_helper', __FILE__)
class GlobTest < UnitTest
- class App < UnitTest::App
- register Sinatra::AssetPack
-
+ class App < Main
assets {
serve '/js', :from => 'app/js_glob'
js :a, '/a.js', [ '/js/**/*.js' ]
js :b, '/b.js', [ '/js/a/b/c2/*.js' ]
js :c, '/c.js', [ '/js/a/b/*/*.js' ]