johnbintz/jasmine-headless-webkit — Issue #115: gem vendored assets are not available directly, only through application.js
Author: lamikae
Created: 2012-02-06 18:58:41+00:00
State: open

Recent version of Jasmine can call proper rake task to compile assets during the suite.
The current master branch of JHW, as configured in this gist: https://gist.github.com/1745214
does not seem to pick up jquery.js from the asset pipeline if configured as

src_files:
- jquery.js

but is found when loaded through application.js

src_files:
- application.js

This is the ouput of jasmine-headless-webkit -l

/usr/local/rvm/gems/ruby-1.8.7-p352/gems/jasmine-core-1.2.0.rc1/lib/jasmine-core/jasmine.js
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/jasmine-core-1.2.0.rc1/lib/jasmine-core/jasmine-html.js
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/jasmine-core-1.2.0.rc1/lib/jasmine-core/jasmine.css
/home/user/.bundler/ruby/1.8/jasmine-headless-webkit-4f11cba0730a/vendor/assets/javascripts/jasmine-extensions.coffee
/home/user/.bundler/ruby/1.8/jasmine-headless-webkit-4f11cba0730a/vendor/assets/javascripts/intense.coffee
/home/user/.bundler/ruby/1.8/jasmine-headless-webkit-4f11cba0730a/vendor/assets/javascripts/headless_reporter_result.js
/home/user/.bundler/ruby/1.8/jasmine-headless-webkit-4f11cba0730a/vendor/assets/javascripts/jasmine.HeadlessReporter.coffee
/home/user/.bundler/ruby/1.8/jasmine-headless-webkit-4f11cba0730a/vendor/assets/javascripts/jasmine.HeadlessReporter.ConsoleBase.coffee
/home/user/.bundler/ruby/1.8/jasmine-headless-webkit-4f11cba0730a/vendor/assets/javascripts/jsDump.js
/home/user/.bundler/ruby/1.8/jasmine-headless-webkit-4f11cba0730a/vendor/assets/javascripts/beautify-html.js
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/jquery-rails-1.0.19/vendor/assets/javascripts/jquery.js
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/jquery-rails-1.0.19/vendor/assets/javascripts/jquery_ujs.js
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/jquery-rails-1.0.19/vendor/assets/javascripts/jquery-ui.js
my-rails-proj/app/assets/javascripts/application.js
my-rails-proj/spec/javascripts/helpers/spec_helper.js.coffee
my-rails-proj/spec/javascripts/example_spec.js.coffee