johnbintz/jasmine-headless-webkit — Issue #123: Sprockets::FileNotFound
Author: leequarella
Created: 2012-02-29 13:57:50+00:00
State: open

My application.js has //= require jquery.datepick.min which is located in vendor/assets/javascripts. (There are more libs required than datepick, whichever one is listed first is the one that throws the error. Am just using datepick here as the example.)

jasmine.yml:

src_files:
- "**/*"
helpers:
- helpers/**/*
spec_files:
- "**/*_spec.*"
src_dir:
- app/assets/javascripts
- vendor/assets/javascripts
spec_dir: spec/javascripts

When running jasmine-headless-webkit ->

[jasmine-headless-webkit] couldn't find file 'jquery.datepick.min'
(in /home/leequarella/workspace/rms/rails_app/app/assets/javascripts/application.js:5) (Sprockets::FileNotFound)

Full stacktrace: https://gist.github.com/1941032

What did I miss?