jasmine-ajax/Rakefile

16 lines
366 B
Ruby
Raw Normal View History

2010-09-17 01:15:51 +08:00
require 'jasmine'
require 'jasmine_selenium_runner'
2010-09-17 01:15:51 +08:00
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"