Skip to content

Commit

Permalink
Merge pull request #178 from phase2/task/behat-add-env-vars
Browse files Browse the repository at this point in the history
Configure Behat to run with access to all environment variables.
  • Loading branch information
grayside committed Jun 23, 2015
2 parents 200fbda + 10a989b commit b53dad5
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 b53dad5

Please sign in to comment.