Skip to content

Instantly share code, notes, and snippets.

@kreas
Created April 6, 2012 15:45
Show Gist options
  • Save kreas/2320937 to your computer and use it in GitHub Desktop.
Save kreas/2320937 to your computer and use it in GitHub Desktop.
Minitest rake task
require "rake/testtask"
Rake::TestTask.new(:test => "db:test:prepare") do |t|
t.libs << "test"
t.pattern = "test/**/*_test.rb"
end
task :default => :test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment