test: make test-fs-watch-file write to tmp dir
authorBen Noordhuis <info@bnoordhuis.nl>
Sun, 8 Jul 2012 14:37:45 +0000 (16:37 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 9 Jul 2012 13:48:43 +0000 (15:48 +0200)
Write temp files to test/tmp, not test/fixtures.

test/pummel/test-fs-watch-file.js

index f3c5f5b..4dddb25 100644 (file)
@@ -29,7 +29,7 @@ var watchSeenTwo = 0;
 var watchSeenThree = 0;
 
 var startDir = process.cwd();
-var testDir = common.fixturesDir;
+var testDir = common.tmpDir;
 
 var filenameOne = 'watch.txt';
 var filepathOne = path.join(testDir, filenameOne);