Permalink
Browse files

Don't have rake shelling out to rake - let's set this task hierarchy …

…properly.
  • Loading branch information...
1 parent dbf6561 commit 0ddb0fa98acf34364a413366fd66b110877e7391 @pat committed Aug 22, 2011
Showing with 1 addition and 7 deletions.
  1. +1 −7 Rakefile
View
@@ -10,13 +10,7 @@ require 'cucumber/rake/task'
RSpec::Core::RakeTask.new
desc 'Run all feature-set configurations'
-task :cucumber do |t|
- databases = ENV['DATABASES'] || 'mysql,postgresql'
- databases.split(',').each do |database|
- puts "rake cucumber:#{database}"
- system "rake cucumber:#{database}"
- end
-end
+task :cucumber => ['cucumber:mysql', 'cucumber:postgresql']
namespace :cucumber do
def add_task(name, description)

0 comments on commit 0ddb0fa

Please sign in to comment.