test/test_helper.rb in sinatra-assetpack-0.1.3 vs test/test_helper.rb in sinatra-assetpack-0.1.4
- old
+ new
@@ -6,9 +6,11 @@
require 'stylus'
require 'rack/test'
require 'yaml'
require 'mocha/setup'
+ENV['RACK_ENV'] = 'test'
+
require File.expand_path('../app/app.rb', __FILE__)
class UnitTest < Test::Unit::TestCase
include Rack::Test::Methods