Skip to content

Commit

Permalink
delete the databases for the test project after a run
Browse files Browse the repository at this point in the history
  • Loading branch information
Chad Pytel committed Jul 13, 2010
1 parent f765564 commit 00e9702
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Rakefile
Expand Up @@ -43,6 +43,10 @@ end
namespace :destroy do
desc 'Remove a suspended project'
task :suspenders do
FileUtils.cd TEST_PROJECT
sh "rake db:drop RAILS_ENV=development"
sh "rake db:drop RAILS_ENV=test"
FileUtils.cd '..'
FileUtils.rm_rf TEST_PROJECT
end
end
Expand Down

0 comments on commit 00e9702

Please sign in to comment.