diff options
Diffstat (limited to 'js/tests/unit/controller/AppControllerSpec.js')
-rw-r--r-- | js/tests/unit/controller/AppControllerSpec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/unit/controller/AppControllerSpec.js b/js/tests/unit/controller/AppControllerSpec.js index b7dad7492..d44d8b0c3 100644 --- a/js/tests/unit/controller/AppControllerSpec.js +++ b/js/tests/unit/controller/AppControllerSpec.js @@ -29,15 +29,15 @@ describe('AppController', function () { })); - it('should expose set firstrun if feeds', inject(function (Feed) { - Feed.add({url: 'test'}); + it('should expose set firstrun if feeds', inject(function (FeedResource) { + FeedResource.add({url: 'test'}); expect(controller.isFirstRun()).toBe(false); })); - it('should expose set firstrun if folders', inject(function (Folder) { - Folder.add({name: 'test'}); + it('should expose set firstrun if folders', inject(function (FolderResource) { + FolderResource.add({name: 'test'}); expect(controller.isFirstRun()).toBe(false); })); |