Skip to content

Commit

Permalink
Ensure that Behat is run with the process's environment variables in …
Browse files Browse the repository at this point in the history
…addition to ones added by the Behat task.
  • Loading branch information
Joe Turgeon committed Jun 17, 2015
1 parent a69fa2d commit 10a989b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/behat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
);
Expand Down

0 comments on commit 10a989b

Please sign in to comment.