From 154372e13028c110164cb7329e4f299b66038ccd Mon Sep 17 00:00:00 2001 From: John Bintz Date: Fri, 15 Jul 2011 17:44:03 -0400 Subject: [PATCH] add in JHW self-tests to default task --- Rakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 36d45b8..47c0fb7 100644 --- a/Rakefile +++ b/Rakefile @@ -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' ]