Skip to content

Instantly share code, notes, and snippets.

@ream88
Created July 18, 2012 11:24
Show Gist options
  • Save ream88/3135683 to your computer and use it in GitHub Desktop.
Save ream88/3135683 to your computer and use it in GitHub Desktop.
Minitest rake task
require 'rake'
require 'rake/testtask'
Rake::TestTask.new do |t|
t.test_files = Dir.glob('spec/**/*_spec.rb')
end
task(default: :test)
@ream88
Copy link
Author

ream88 commented Dec 20, 2014

Lol, I just googled "minitest rake task" and found this, and then I checked the author 😀 😊

@jnettome
Copy link

jnettome commented Oct 8, 2015

👍 save me some time too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment