test/test_helper.rb in sundawg-sinatra-assetpack-fork-0.0.12.pre1 vs test/test_helper.rb in sundawg-sinatra-assetpack-fork-0.1.6
- old
+ new
@@ -1,11 +1,16 @@
require 'contest'
require 'jsmin'
require 'tilt'
+require 'haml'
+require 'sass'
require 'stylus'
+require 'stylus/tilt'
require 'rack/test'
require 'yaml'
-require 'mocha'
+require 'mocha/setup'
+
+ENV['RACK_ENV'] = 'test'
require File.expand_path('../app/app.rb', __FILE__)
class UnitTest < Test::Unit::TestCase
include Rack::Test::Methods