rails_generators/cucumber/templates/cucumber.rake in cucumber-0.3.3 vs rails_generators/cucumber/templates/cucumber.rake in cucumber-0.3.4
- old
+ new
@@ -2,10 +2,11 @@
begin
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features) do |t|
- t.cucumber_opts = "--format pretty"
+ t.fork = true
+ t.cucumber_opts = %w{--format pretty}
end
task :features => 'db:test:prepare'
rescue LoadError
desc 'Cucumber rake task not available'
task :features do