jasmine-ajax/Rakefile
slackersoft 9322af290a Run specs against separate and concatenated files
- also get rid of spec/javascripts, since there's only js here
2014-08-04 13:15:28 -07:00

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"