summaryrefslogtreecommitdiffstats
path: root/js/tests/unit/controller/NavigationControllerSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/unit/controller/NavigationControllerSpec.js')
-rw-r--r--js/tests/unit/controller/NavigationControllerSpec.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/tests/unit/controller/NavigationControllerSpec.js b/js/tests/unit/controller/NavigationControllerSpec.js
index 56533ad9f..9d880b92c 100644
--- a/js/tests/unit/controller/NavigationControllerSpec.js
+++ b/js/tests/unit/controller/NavigationControllerSpec.js
@@ -286,9 +286,8 @@ describe('NavigationController', function () {
it('should expose check if folder exists', inject(function (
FolderResource) {
expect(controller.folderNameExists('hi')).toBe(false);
- FolderResource.add({name: 'HI'});
+ FolderResource.add({name: 'hi'});
expect(controller.folderNameExists('hi')).toBe(true);
- expect(controller.folderNameExists('HI')).toBe(true);
}));