This may be my ignorance about the asset pipeline, but I'm working at extracting capybara features from a Rails application into a corresponding Rails engine.
ActionView::Template::Error:
couldn't find file 'jquery'
(in ./spec/internal/app/assets/javascripts/application.js:13)
My work around is to add the following to the TestAppGenerator:
def create_javascript_shims
create_file 'app/assets/javascripts/jquery.js'
create_file 'app/assets/javascripts/jquery_ujs.js'
create_file 'app/assets/javascripts/turbolinks.js'
end
It would be nice if I could configure EngineCart to specify the args for rake engine_cart:generate
This may be my ignorance about the asset pipeline, but I'm working at extracting capybara features from a Rails application into a corresponding Rails engine.
My work around is to add the following to the TestAppGenerator:
It would be nice if I could configure EngineCart to specify the args for
rake engine_cart:generate