-
-
Save mkhl/51c379e8abc4485189a4237526a2c507 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/spec/filewatcher-spec.coffee w/spec/filewatcher-spec.coffee | |
index 572cf8c..ae9354e 100644 | |
--- i/spec/filewatcher-spec.coffee | |
+++ w/spec/filewatcher-spec.coffee | |
@@ -16,6 +16,7 @@ log = loglevel.getLogger('filewatcher-spec') | |
testWatcher = (watcherFunc) -> (expectedFile) -> | |
spy = jasmine.createSpy('callback') | |
+ fs.writeFileSync(expectedFile, '') | |
watcherFunc(spy, expectedFile) | |
fs.writeFile(expectedFile, 'Hello Gaze, see me!', | |
(err) -> throw err if (err)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment