Created
February 25, 2012 17:44
-
-
Save gnarargs/1909717 to your computer and use it in GitHub Desktop.
override jasmine's location of jasmine.yml config file
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
begin | |
require 'jasmine' | |
class Jasmine::Config | |
def simple_config_file | |
File.join(project_root, 'spec/support/jasmine.yml') | |
# instead of 'spec/javascripts/support/jasmine.yml' | |
end | |
end | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It did not work on 2.3.4, but this one did: