test/support/config/assets.rb in dassets-0.5.0 vs test/support/config/assets.rb in dassets-0.6.0
- old
+ new
@@ -8,12 +8,13 @@
def ext(in_ext); 'no-use'; end
def compile(input); "#{input}\nUSELESS"; end
end
Dassets.configure do |c|
- c.root_path File.expand_path("../..", __FILE__)
+ c.source TEST_SUPPORT_PATH.join("app/assets") do |s|
+ s.engine 'dumb', @dumb_engine
+ s.engine 'useless', @useless_engine
+ end
- c.engine 'dumb', @dumb_engine
- c.engine 'useless', @useless_engine
c.cache = nil # use no cache
end