Permalink
Browse files

bring in sinon, test backbone router the right way

  • Loading branch information...
1 parent cfe9174 commit da6be5c9508c0064d6ff938f3cac57119f79c254 @nickrivadeneira nickrivadeneira committed Aug 10, 2011
Showing with 2,872 additions and 10 deletions.
  1. +8 −0 README.md
  2. +3 −8 Rakefile
  3. +2,821 −0 spec/javascripts/helpers/sinon-1.1.1.js
  4. +1 −0 spec/javascripts/support/jasmine.yml
  5. +21 −2 spec/javascripts/swapping_router_spec.js
  6. +18 −0 vendor/jquery.js
View
@@ -2,6 +2,14 @@
Helper and utility classes that fill out Backbone for serious development.
+## dependencies
+
+You'll need these, but chances are you already have them in your app:
+
+* jQuery
+* Underscore
+* Backbone
+
## development
First:
View
@@ -1,9 +1,4 @@
+require 'jasmine'
+load 'jasmine/tasks/jasmine.rake'
-begin
- require 'jasmine'
- load 'jasmine/tasks/jasmine.rake'
-rescue LoadError
- task :jasmine do
- abort "Jasmine is not available. In order to run jasmine, you must: (sudo) gem install jasmine"
- end
-end
+task :default => "jasmine:ci"
Oops, something went wrong.

0 comments on commit da6be5c

Please sign in to comment.