diff options
| author | Gregg Caines <[email protected]> | 2014-02-11 21:04:41 -0800 |
|---|---|---|
| committer | Gregg Caines <[email protected]> | 2014-02-11 21:04:41 -0800 |
| commit | 46b515a210276c69b9f3ba6ffd48a089f6a0a6db (patch) | |
| tree | d60028f8e051ee1b091f9382e8164382d279487d | |
| parent | 3fe6f13c867ebc94767a91a0ec71743870cb346a (diff) | |
| parent | 2a6c95a9acfcd8fdf5ce998408bb028996295908 (diff) | |
| download | node-coveralls-46b515a210276c69b9f3ba6ffd48a089f6a0a6db.tar.xz node-coveralls-46b515a210276c69b9f3ba6ffd48a089f6a0a6db.zip | |
Merge pull request #42 from SuperLikable/master
Fix fetchGitData tests
| -rw-r--r-- | test/fetchGitData.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/fetchGitData.js b/test/fetchGitData.js index 3b8b0fe..cd0a679 100644 --- a/test/fetchGitData.js +++ b/test/fetchGitData.js @@ -3,6 +3,9 @@ var fetchGitData = require('../lib/fetchGitData'); var getOptions = require('../index').getOptions; describe("fetchGitData", function(){ + beforeEach(function(){ + process.env = {PATH: process.env.PATH}; + }); it("should throw an error when no data is passed", function() { fetchGitData.should.throw(/fetchGitData requires a callback/); }); |
