Skip to content

Instantly share code, notes, and snippets.

@skwp
Created November 29, 2010 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skwp/720359 to your computer and use it in GitHub Desktop.
Save skwp/720359 to your computer and use it in GitHub Desktop.
# Load gems so we can load the shoulda tasks
Dir[File.join(File.dirname(__FILE__),"gems/*/lib")].each { |f| $LOAD_PATH << f }
require 'rake'
require 'rake/testtask'
require 'shoulda/tasks'
task :default => [:test_units]
desc "Run basic tests"
Rake::TestTask.new("test_units") { |t|
t.test_files = FileList['test/*test*.rb']
t.verbose = true
t.warning = false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment