Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (19 sloc) 529 Bytes
require "rubygems"
require "bundler"
Bundler.setup
require 'rake'
require 'rspec/core/rake_task'
desc "Default Task"
task :default => [ :spec ]
# run all rspecs
desc "Run all rspec files"
RSpec::Core::RakeTask.new("spec") do |t|
t.rspec_opts = ["--color", "--format progress"]
# turn this off for now. I'd like to leave it on, but thor throws
# a large amount of noise to my console if I do
#t.ruby_opts = "-w"
end
desc "Create test database"
task :create_test_db do
`mysqladmin -u root create db2s3_unittest`
end