Skip to content

Commit

Permalink
Treat like engine to take steps out of testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Belzer committed Jul 17, 2012
1 parent ccaa247 commit 50e94fb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_files.include('lib/**/*.rb')
end




Bundler::GemHelper.install_tasks

require 'rake/testtask'
Expand All @@ -37,3 +34,11 @@ end


task :default => :test

APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'

Rake::Task['test'].enhance ['app:db:drop']
Rake::Task['test'].enhance ['app:db:create']
Rake::Task['test'].enhance ['app:db:migrate']
Rake::Task['test'].enhance ['app:db:test:prepare']

0 comments on commit 50e94fb

Please sign in to comment.