I added gem 'jasmine', '~> 2.0.0'to my Gemfile( group :development, :test) and started the generator rails g jasmine:install.
I have one simple spec :
describe("Truth", function() {
it("herps the derps", function() {
expect(true).toEqual(true);
});
});
When I run rake jasmine, I get the supposedly normal output:
your server is running here: http://localhost:8888/
your tests are here: /Users/jared/git/givegab/spec/javascripts
your source files are here: /Users/jared/git/givegab
>> Thin web server (v1.5.1 codename Straight Razor)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:8888, CTRL+C to stop
I open http://localhost:8888/in my browser and I get a blank gray screen . My JS console is empty, there are no errors, and when I trace the execution using the debugger , I can go through boot.js and jasmine.js. Errors do not occur.
I can set the debugger breakpoint at truth_spec.js, and it never hits.
This is my first time using jasmine, so please assume I'm missing something obvious .