Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 429 Bytes
require 'bundler'
require 'rake/testtask'
Bundler::GemHelper.install_tasks
Dir[File.join(File.dirname(__FILE__), "lib", "tasks", "**", "*.rake")].each { |ext| load ext }
task :default => :test
task :test => %w(test:units)
namespace :test do
desc "run unit tests"
Rake::TestTask.new(:units) do |test|
test.libs << 'lib' << 'test'
test.test_files = FileList["test/unit/*_test.rb", "test/unit/*/*_test.rb"]
end
end