diff options
| author | Gerard Escalante <[email protected]> | 2014-02-12 05:47:34 +0000 |
|---|---|---|
| committer | Gerard Escalante <[email protected]> | 2014-02-12 05:47:34 +0000 |
| commit | 80aa1a56b21edd95080c8472b847c5abcbe1fa53 (patch) | |
| tree | eb3cf8b29519e1ee2068cd53485486467cb281c8 /test/getOptions.js | |
| parent | 46b515a210276c69b9f3ba6ffd48a089f6a0a6db (diff) | |
| download | node-coveralls-80aa1a56b21edd95080c8472b847c5abcbe1fa53.tar.xz node-coveralls-80aa1a56b21edd95080c8472b847c5abcbe1fa53.zip | |
Fix tests again
Make sure to add "fix" to all places where process.env is wiped clear, because of some node 0.8 oddity
Diffstat (limited to 'test/getOptions.js')
| -rw-r--r-- | test/getOptions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/getOptions.js b/test/getOptions.js index fc33012..76691a3 100644 --- a/test/getOptions.js +++ b/test/getOptions.js @@ -5,7 +5,7 @@ var getBaseOptions = index.getBaseOptions; describe("getBaseOptions", function(){ beforeEach(function(){ - process.env = {}; + process.env = {PATH: process.env.PATH}; }); it ("should set service_job_id if it exists", function(done){ testServiceJobId(getBaseOptions, done); @@ -53,7 +53,7 @@ describe("getBaseOptions", function(){ describe("getOptions", function(){ beforeEach(function(){ - process.env = {}; + process.env = {PATH: process.env.PATH}; }); it ("should require a callback", function(done) { (function() { |
