test/build_test.rb in sinatra-assetpack-0.0.10 vs test/build_test.rb in sinatra-assetpack-0.0.11
- old
+ new
@@ -1,9 +1,9 @@
require File.expand_path('../test_helper', __FILE__)
class BuildTest < UnitTest
teardown do
- FileUtils.rm_rf app.public
+ FileUtils.rm_rf File.join(app.root, 'public')
end
test "build" do
Stylus.expects(:compile).returns("body{background:#f00;color:#00f;}")
app.assets.css_compression = :simple