From 71b9c97432316a8409c7c83e28a3b1eba2d83f25 Mon Sep 17 00:00:00 2001 From: David HAN SZE CHUEN Date: Thu, 28 Aug 2014 18:32:10 +1000 Subject: [PATCH] feat(cucumber): process the Cucumber 'coffee' param --- lib/frameworks/cucumber.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/frameworks/cucumber.js b/lib/frameworks/cucumber.js index 964ff98d1..251ade5b0 100644 --- a/lib/frameworks/cucumber.js +++ b/lib/frameworks/cucumber.js @@ -49,6 +49,11 @@ exports.run = function(runner, specs, done) { execOptions.push('-f'); execOptions.push(runner.getConfig().cucumberOpts.format); } + + // Process Cucumber 'coffee' param + if (runner.getConfig().cucumberOpts.coffee) { + execOptions.push('--coffee'); + } } global.cucumber = Cucumber.Cli(execOptions);