I’m trying to get Jasmine (jasmine-headless-webkit), coffeescript and backbone to work together.
I’m close – I’ve got my site running on coffeescript and backbone, and I can run coffeescript written tests – but my problem is, I can’t get my coffeescript tests to do anything interesting.
If I try create an instance of a model in a test, I’ll get an error:
ReferenceError: Can't find variable: xxxx
FYI – I’m using this with guard-jasmine-headless-webkit…
I’ve been working with the Jasmine.yml file – but still can’t get these tests to work. Does anyone have any advice?
Trevor was right – the issue was the order in which scripts were loaded (in my jasmine.yml)
I wound up cleaning it out for the most part…