From 79d6486de298a9f36cf19883fc8ae366e6a1d2a2 Mon Sep 17 00:00:00 2001 From: David Calavera Date: Mon, 17 May 2010 03:14:17 +0800 Subject: [PATCH] add task to run specs --- Rakefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Rakefile b/Rakefile index 5f393c8be..f2ec0e108 100644 --- a/Rakefile +++ b/Rakefile @@ -79,6 +79,12 @@ end # ############################################################################# +require 'spec/rake/spectask' +Spec::Rake::SpecTask.new(:spec) do |spec| + spec.libs << 'lib' << 'spec' + spec.spec_opts = ['--colour', "--format", "specdoc"] + spec.spec_files = FileList['spec/**/*_spec.rb'] +end #############################################################################