16 Dec 2012, 22:57
Generic-user-small

Patrick Mulder (9 posts)

Hi!

I wonder how to run Jasmine with the sample code.

In order to use:

rake jasmine:ci

we need to include ‘rake’ in the Gemfile

After execution I get:

pmu:5-complete(master|50441m) pmu$ rake jasmine:ci
/Users/pmu/.rbenv/versions/1.9.3-p194/bin/ruby -S rspec /Users/pmu/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/jasmine-1.2.1/lib/jasmine/run_specs.rb --colour --format progress
Waiting for jasmine server on 64867...
[2012-12-16 23:00:18] INFO  WEBrick 1.3.1
[2012-12-16 23:00:18] INFO  ruby 1.9.3 (2012-04-20) [x86_64-darwin11.3.0]
[2012-12-16 23:00:18] INFO  WEBrick::HTTPServer#start: pid=76325 port=64867
Waiting for jasmine server on 64867...
jasmine server started.
Waiting for suite to finish in browser ...
No examples found.


Finished in 0.00014 seconds
0 examples, 0 failures

Any suggestions how to approach Backbone with Jasmine? (Evt. some suggestions how to use it with Require.js would be interesting too)

Thanks!

  You must be logged in to comment