Refactor testing tasks out of this project and into refinerycms project

This commit is contained in:
Jamie Winsor 2011-08-03 20:56:12 -07:00
parent d3eff64d19
commit e85535da5f
2 changed files with 1 additions and 22 deletions

View file

@ -22,7 +22,7 @@ end
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'
load 'refinery/tasks/testing.rake'
load 'refinerycms/tasks/testing.rake'
Bundler::GemHelper.install_tasks

View file

@ -1,21 +0,0 @@
namespace :refinery do
namespace :testing do
desc "Initialize the testing environment"
task :setup => [
:init_dummy_app,
:init_test_database
]
task :init_dummy_app do
system "git submodule init"
system "git submodule update"
end
task :init_test_database => [
'app:db:migrate',
'app:db:test:prepare'
]
end
end