diff --git a/tasks/behat.js b/tasks/behat.js index 62ee06ab..16fa9f51 100644 --- a/tasks/behat.js +++ b/tasks/behat.js @@ -61,9 +61,9 @@ module.exports = function(grunt) { maxProcesses: 5, bin: 'vendor/bin/behat', debug: true, - env: { + env: _.extend({}, process.env, { "BEHAT_PARAMS": "{\"extensions\": {\"Drupal\\\\DrupalExtension\": {\"drupal\": {\"drupal_root\": \"./" + config.buildPaths.html + "\"}}, \"Behat\\\\MinkExtension\": {\"base_url\": \"" + config.siteUrls[key] + "\", \"zombie\": {\"node_modules_path\": \"" + process.cwd() + "/node_modules/\"}}}}" - } + }) }, options) } );