summaryrefslogtreecommitdiffstats
path: root/js/tests/services/persistenceSpec.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/services/persistenceSpec.coffee')
-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)