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
@@ -86,13 +86,14 @@ describe('Local File System Storage', function () { | |
it('can upload two different images with the same name without overwriting the first', function (done) { | |
// Sun Sep 08 2013 10:57 | |
this.clock = sinon.useFakeTimers(new Date(2013, 8, 8, 10, 57).getTime()); | |
- fs.exists.withArgs('content/images/2013/Sep/IMAGE.jpg').yields(true); | |
- fs.exists.withArgs('content/images/2013/Sep/IMAGE-1.jpg').yields(false); | |
+ | |
+ fs.exists.withArgs(path.resolve('./content/images/2013/Sep/IMAGE.jpg')).yields(true); | |
+ fs.exists.withArgs(path.resolve('./content/images/2013/Sep/IMAGE-1.jpg')).yields(false); | |
NewerOlder