Closed exupero closed 10 years ago
Looks like this can be fixed by adding to config.rb
:
set :debug_assets, true
Whoa. Thanks @exupero, I've been fighting this for a good bit. This was exactly what I needed to get my tests with JS going.
When using capybara-webkit as the JavaScript driver, JavaScript code in
all.js
is executed, but code in the required files is not. I suspect Sprockets is not processingall.js
and producing the complete JavaScript file.I have a fork of this project with a failing test that demonstrates the problem.