From 5a0d09e90cfe5989bf128128815b28777ebe9904 Mon Sep 17 00:00:00 2001 From: GabrielLomba Date: Fri, 27 Jul 2018 18:41:04 -0300 Subject: [PATCH] Fix typo in FilesController.spec (#4917) * Add the addFileNameHash option that allows users to remove the hash from file names * Change option name to preserveFileName * Revert changes to package-lock.json * Fix typo in FileController.spec --- spec/FilesController.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/FilesController.spec.js b/spec/FilesController.spec.js index 18c685fb..21432793 100644 --- a/spec/FilesController.spec.js +++ b/spec/FilesController.spec.js @@ -81,7 +81,7 @@ describe("FilesController", () => { done(); }); - it("should not add a unique hash to the file name when the preserveFileName option is false", (done) => { + it("should not add a unique hash to the file name when the preserveFileName option is true", (done) => { const config = Config.get(Parse.applicationId) const gridStoreAdapter = new GridStoreAdapter('mongodb://localhost:27017/parse')