summaryrefslogtreecommitdiffstats
path: root/js/tests
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-08 22:43:37 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-08 22:43:37 +0200
commit17e1e167badf5b9986c62325ce9dddd5257c3e68 (patch)
treeab635430de3cc3410dc017b358bc54c5ed837e8d /js/tests
parent4c17bce22ed1abce0732ffcfe5b7145c5189a937 (diff)
fix bug that would prevent you from creating folders
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/services/persistenceSpec.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/services/persistenceSpec.coffee b/js/tests/services/persistenceSpec.coffee
index a8902bc23..083ce0f5d 100644
--- a/js/tests/services/persistenceSpec.coffee
+++ b/js/tests/services/persistenceSpec.coffee
@@ -358,7 +358,7 @@ describe 'Persistence', ->
@Persistence.createFolder(params.data.folderName, params.data.parentFolderId,
params.onSuccess, params.onFailure)
- expect(@req.post).toHaveBeenCalledWith('/apps/news/folders/create', params)
+ expect(@req.post).toHaveBeenCalledWith('/apps/news/folders', params)
it 'should do a proper folder delete request', =>