Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d91fb5e
commit c9cb696
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |