add in JHW self-tests to default task

This commit is contained in:
John Bintz 2011-07-15 17:44:03 -04:00
parent e72eaef7a1
commit 154372e130

View File

@ -7,6 +7,12 @@ require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
$: << File.expand_path('../lib', __FILE__)
require 'jasmine/headless/task'
Jasmine::Headless::Task.new
namespace :spec do
desc "Run on three Rubies"
task :platforms do
@ -30,5 +36,5 @@ namespace :spec do
end
end
task :default => 'spec:platforms'
task :default => [ 'spec:platforms', 'jasmine:headless' ]