spec/spec_helper.rb in classy_assets-0.8.2 vs spec/spec_helper.rb in classy_assets-0.9.0

- old
+ new

@@ -3,13 +3,24 @@ ENV['RACK_ENV'] = 'test' lib_path = File.expand_path('../lib', __FILE__) ($:.unshift lib_path) unless ($:.include? lib_path) require 'bundler' Bundler.setup(:default, ENV['RACK_ENV']) -require 'rack/test' + +# ensure these come first to avoid tilt warnings +require 'compass' +require 'sass' +require 'coffee_script' require 'slim' + +# require gem require 'classy_assets' + +# testing stack +require 'rack/test' require 'minitest/autorun' require "minitest-spec-context" require 'minitest/reporters' + +# boot the infernal machine MiniTest::Reporters.use! MiniTest::Reporters::SpecReporter.new include Rack::Test::Methods