rails_generators/cucumber/templates/cucumber.rake in kosmas58-cucumber-0.1.16.6 vs rails_generators/cucumber/templates/cucumber.rake in kosmas58-cucumber-0.1.99.21

- old
+ new

@@ -1,7 +1,12 @@ $:.unshift(RAILS_ROOT + '/vendor/plugins/cucumber/lib') require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) do |t| - t.cucumber_opts = "--format pretty" + <% if language %> + t.language = "<%= language%>" + t.cucumber_opts = "--format pretty --language <%= language%>" + <% else %> + t.cucumber_opts = "--format pretty" + <% end %> end task :features => 'db:test:prepare' \ No newline at end of file