summaryrefslogtreecommitdiffstats
path: root/js/tests/unit/controller/AppControllerSpec.js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-20 17:01:59 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-20 17:01:59 +0200
commit5a7b1e0c36c2dd564f44568de766118b07be49ad (patch)
tree23b9f80bb4509dd51948c3851660f5fa3754031d /js/tests/unit/controller/AppControllerSpec.js
parentb5d5b2b22a2b4aabd4c9bb5c8b89aae10facc735 (diff)
rename model to resource
Diffstat (limited to 'js/tests/unit/controller/AppControllerSpec.js')
-rw-r--r--js/tests/unit/controller/AppControllerSpec.js8
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);
}));