diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-23 13:26:01 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-23 13:26:01 +0200 |
commit | 4fa9c6d6cfc24b848bc8bb1526ef8ef50f046cb3 (patch) | |
tree | e5f16813ed976e8cc640bfb800d84141568b9489 /js/tests | |
parent | f27198da9dd3e6c04f2787f2bb4ef3bea3b00b55 (diff) |
add missing controller methods bodies
Diffstat (limited to 'js/tests')
-rw-r--r-- | js/tests/unit/controller/ContentControllerSpec.js | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/js/tests/unit/controller/ContentControllerSpec.js b/js/tests/unit/controller/ContentControllerSpec.js index 20dd3c71f..dc062474a 100644 --- a/js/tests/unit/controller/ContentControllerSpec.js +++ b/js/tests/unit/controller/ContentControllerSpec.js @@ -24,23 +24,13 @@ describe('ContentController', () => { let controller = $controller('ContentController', { data: { 'items': [ - { - id: 3 - }, - { - id: 4 - } - ], - 'feeds': [ - { - url: 'hi' - } + {id: 3}, + {id: 4} ] } }); expect(controller.getItems().length).toBe(2); - expect(controller.getFeeds().length).toBe(1); })); |