jnicklas/evergreen — Issue #39: ReferenceError: $ is not defined (Rails 3.1)
Author: jmthomas
Created: 2011-11-24 04:14:13+00:00
State: open

I have a Rails 3.1 app which I'm trying to setup Javascript testing. I initially went with vanilla Jasmine but that didn't work. Then I tried evergreen but I'm constantly getting: ReferenceError: $ is not defined. I've tried a bunch of different ways to require my javascript files but can't get them to be located. Ideally they would be automatically discovered in the app/assets/javascript library but that doesn't seem to be the case.