Permalink
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 326 Bytes
require 'rake'
require 'bundler/gem_tasks'
require 'appraisal'
begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
desc 'Default: run unit tests against all supported versions of ActiveRecord'
task :default => ["appraisal:install"] do |t|
exec("rake appraisal spec")
end
rescue LoadError
end