diff options
Diffstat (limited to 'js/tests/controllers')
-rw-r--r-- | js/tests/controllers/itemcontrollerSpec.coffee | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/tests/controllers/itemcontrollerSpec.coffee b/js/tests/controllers/itemcontrollerSpec.coffee index 02682214f..19cce6c6f 100644 --- a/js/tests/controllers/itemcontrollerSpec.coffee +++ b/js/tests/controllers/itemcontrollerSpec.coffee @@ -32,7 +32,8 @@ describe '_ItemController', -> @persistence = { getItems: -> } - @controller = new @_ItemController(@scope, @ItemModel) + @controller = new @_ItemController(@scope, @ItemModel, @FeedModel) + it 'should make items availabe', => @ItemModel.getAll = jasmine.createSpy('ItemModel') |