Skip to content

Commit b53dad5

Browse files
committed
Merge pull request #178 from phase2/task/behat-add-env-vars
Configure Behat to run with access to all environment variables.
2 parents 200fbda + 10a989b commit b53dad5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/behat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ module.exports = function(grunt) {
6161
maxProcesses: 5,
6262
bin: 'vendor/bin/behat',
6363
debug: true,
64-
env: {
64+
env: _.extend({}, process.env, {
6565
"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/\"}}}}"
66-
}
66+
})
6767
}, options)
6868
}
6969
);

0 commit comments

Comments
 (0)