diff --git a/Rakefile b/Rakefile index 77c4371..3788f29 100644 --- a/Rakefile +++ b/Rakefile @@ -1,3 +1,10 @@ +require 'spec/rake/spectask' + +desc "Run specs" +Spec::Rake::SpecTask.new(:spec) do |t| + t.spec_files = FileList["spec/**/*.rb"] +end + desc "Run tests" task :test do Dir['test/**/*_test.rb'].each { |file| require file }