test/stylus_test.rb in sinatra-assetpack-0.0.8 vs test/stylus_test.rb in sinatra-assetpack-0.0.9
- old
+ new
@@ -1,9 +1,8 @@
require File.expand_path('../test_helper', __FILE__)
class StylusTest < UnitTest
- class App < Sinatra::Base
- set :root, File.expand_path('../app', __FILE__)
+ class App < UnitTest::App
register Sinatra::AssetPack
assets do |a|
a.css :a, '/css/a.css', [
'/css/stylus.css'