summaryrefslogtreecommitdiffstats
path: root/js/tests
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2013-12-20 23:02:29 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2013-12-20 23:02:29 +0100
commit13f9849a68bf9d58d30d6dc876d854fbd2df4586 (patch)
tree70f50a7b637cc93367a1220571f1bd6afcc8495a /js/tests
parent0dbcbb6f8b0b89776c24d000840192571e39edbf (diff)
debug
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/services/persistenceSpec.coffee6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/tests/services/persistenceSpec.coffee b/js/tests/services/persistenceSpec.coffee
index 06bdd73ea..fd84a1757 100644
--- a/js/tests/services/persistenceSpec.coffee
+++ b/js/tests/services/persistenceSpec.coffee
@@ -76,7 +76,8 @@ describe 'Persistence', ->
it 'should reset the autopage lock when loading a new feed', =>
data =
- items: []
+ data:
+ items: []
called = 0
@req.get.andCallFake (route, params) ->
params.onSuccess(data)
@@ -93,7 +94,8 @@ describe 'Persistence', ->
xit 'should not send autopage request if reqeust returned nothing', =>
data =
- items: []
+ data:
+ items: []
called = 0
@req.get.andCallFake (route, params) ->
params.onSuccess(data)