9322af290a
- also get rid of spec/javascripts, since there's only js here
16 lines
366 B
Ruby
16 lines
366 B
Ruby
|
|
require 'jasmine'
|
|
require 'jasmine_selenium_runner'
|
|
load 'jasmine/tasks/jasmine.rake'
|
|
|
|
namespace :jasmine do
|
|
task :set_env do
|
|
ENV['JASMINE_SELENIUM_CONFIG_PATH'] ||= 'spec/support/jasmine_selenium_runner.yml'
|
|
ENV['JASMINE_CONFIG_PATH'] ||= 'spec/support/jasmine.yml'
|
|
end
|
|
end
|
|
|
|
task "jasmine:configure" => "jasmine:set_env"
|
|
|
|
task :default => "jasmine:ci"
|