Skip to content

Commit

Permalink
Remove unused rake tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Harold Giménez committed Oct 28, 2011
1 parent 1eec3cc commit d900182
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions Rakefile
Expand Up @@ -14,30 +14,8 @@ SUSPENDERS_GEM_VERSION = '0.2.6'

Cucumber::Rake::Task.new

namespace :test do
desc "A full suspenders app's test suite"
task :full => ['test_project:generate', 'cucumber', 'test_project:destroy']
end

namespace :test_project do
desc 'Suspend a new project.'
task :generate do
FileUtils.rm_rf(TEST_PROJECT)
sh "./bin/suspenders", TEST_PROJECT
end

desc 'Remove a suspended project'
task :destroy 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

desc 'Run the test suite'
task :default => ['test:full']
task :default => ['cucumber']

#############################################################################
#
Expand Down

0 comments on commit d900182

Please sign in to comment.