Closed thizzle closed 6 years ago
It's not enough to detect if Rails.application.assets exists. With sprockets-3 at least, we're incorrectly determining if the asset pipeline is enabled:
Rails.application.assets
irb(main):002:0> Jasmine::Dependencies.use_asset_pipeline? => true irb(main):003:0> Rails.application.assets => nil
It's not enough to detect if
Rails.application.assets
exists. With sprockets-3 at least, we're incorrectly determining if the asset pipeline is enabled: