Skip to content

Commit

Permalink
Fixed jasmine rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
edendevelopment committed Apr 1, 2011
1 parent d91fb5e commit c9cb696
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/tasks/jasmine.rake
@@ -1,2 +1,9 @@
require 'jasmine'
load 'jasmine/tasks/jasmine.rake'
begin
require 'jasmine'
load 'jasmine/tasks/jasmine.rake'
rescue LoadError
desc 'jasmine rake task not available (cucumber not installed)'
task :jasmine do
abort 'jasmine rake task is not available. Be sure to install jasmine as a gem or plugin'
end
end

0 comments on commit c9cb696

Please sign in to comment.