spec/support/helpers/fixture_helper.rb in engine-assets-0.4.0 vs spec/support/helpers/fixture_helper.rb in engine-assets-0.4.1
- old
+ new
@@ -1,8 +1,8 @@
module Support
module Helpers
def load_view_fixtures(controller_class)
controller_class.prepend_view_path(File.join(File.dirname(__FILE__), '..', 'fixtures', 'app', 'views'))
- EngineAssets::PublicLocator.paths << File.join(File.dirname(__FILE__), '..', 'fixtures', 'public')
+ EngineAssets::PublicLocator.register(File.join(File.dirname(__FILE__), '..', 'fixtures'))
end
end
end