Rakefile in aa_associations-0.1.1 vs Rakefile in aa_associations-0.1.2
- old
+ new
@@ -3,13 +3,16 @@
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
+APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
+load 'rails/tasks/engine.rake'
+
Bundler::GemHelper.install_tasks
require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
+Rake::TestTask.new(:test => 'app:db:test:prepare') do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
end