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.coffee8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/services/persistenceSpec.coffee b/js/tests/services/persistenceSpec.coffee
index 3a8a79050..e9f12f669 100644
--- a/js/tests/services/persistenceSpec.coffee
+++ b/js/tests/services/persistenceSpec.coffee
@@ -233,16 +233,16 @@ describe 'Persistence', ->
expect(@req.post).toHaveBeenCalledWith('news_feeds_create', params)
- it 'should do a proper import google reader request', =>
+ it 'should do a proper import articles request', =>
params =
data:
json: {"some": "json"}
- onSuccess: ->
+ onSuccess: jasmine.any(Function)
- @Persistence.importGoogleReader(params.data.json, params.onSuccess)
+ @Persistence.importArticles(params.data.json, ->)
- expect(@req.post).toHaveBeenCalledWith('news_feeds_import_googlereader',
+ expect(@req.post).toHaveBeenCalledWith('news_feeds_import_articles',
params)