2014-08-05 09:30:49 +08:00
|
|
|
ENV['JASMINE_SELENIUM_CONFIG_PATH'] ||= 'spec/support/jasmine_selenium_runner.yml'
|
2010-09-17 01:15:51 +08:00
|
|
|
|
|
|
|
require 'jasmine'
|
2014-05-02 04:25:24 +08:00
|
|
|
require 'jasmine_selenium_runner'
|
2010-09-17 01:15:51 +08:00
|
|
|
load 'jasmine/tasks/jasmine.rake'
|
2013-10-31 05:46:42 +08:00
|
|
|
|
2014-08-05 04:15:28 +08:00
|
|
|
namespace :jasmine do
|
|
|
|
task :set_env do
|
|
|
|
ENV['JASMINE_CONFIG_PATH'] ||= 'spec/support/jasmine.yml'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
task "jasmine:configure" => "jasmine:set_env"
|
|
|
|
|
2013-10-31 05:46:42 +08:00
|
|
|
task :default => "jasmine:ci"
|