diff options
author | Jamie Winsor <jamie@enmasse.com> | 2011-08-03 20:56:12 -0700 |
---|---|---|
committer | Jamie Winsor <jamie@enmasse.com> | 2011-08-03 20:56:12 -0700 |
commit | e85535da5f01d3a5ddcf972efd73c422d26a8887 (patch) | |
tree | d4f669fcd1a3213ace095eb8267f3d0dd515a8ef | |
parent | d3eff64d19c845dc947a2872644eb514058db762 (diff) | |
download | refinerycms-blog-e85535da5f01d3a5ddcf972efd73c422d26a8887.tar.gz refinerycms-blog-e85535da5f01d3a5ddcf972efd73c422d26a8887.tar.bz2 refinerycms-blog-e85535da5f01d3a5ddcf972efd73c422d26a8887.zip |
Refactor testing tasks out of this project and into refinerycms project
-rw-r--r-- | Rakefile | 2 | ||||
-rw-r--r-- | lib/refinery/tasks/testing.rake | 21 |
2 files changed, 1 insertions, 22 deletions
@@ -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 diff --git a/lib/refinery/tasks/testing.rake b/lib/refinery/tasks/testing.rake deleted file mode 100644 index 7b71639..0000000 --- a/lib/refinery/tasks/testing.rake +++ /dev/null @@ -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 |