test/helper.rb in dassets-0.5.0 vs test/helper.rb in dassets-0.6.0
- old
+ new
@@ -5,9 +5,12 @@
$LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
# require pry for debugging (`binding.pry`)
require 'pry'
+require 'pathname'
+TEST_SUPPORT_PATH = Pathname.new(File.expand_path('../support', __FILE__))
+
ENV['DASSETS_TEST_MODE'] = 'yes'
ENV['DASSETS_ASSETS_FILE'] = 'test/support/config/assets'
require 'dassets'
Dassets.init