summaryrefslogtreecommitdiffstats
path: root/js/tests/controllers/itemcontrollerSpec.coffee
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-08 15:23:06 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-08 15:23:06 +0200
commite6d926de620a470a487010f02b47e3932512db93 (patch)
tree36811b84a47fb74e8bda708c4bdacbc7d5e110c5 /js/tests/controllers/itemcontrollerSpec.coffee
parente2381ea22cfd3fc1ab6b6c8e472740005ad02f87 (diff)
add link to feed which gets opened when clicked on the subheading of an item
Diffstat (limited to 'js/tests/controllers/itemcontrollerSpec.coffee')
-rw-r--r--js/tests/controllers/itemcontrollerSpec.coffee9
1 files changed, 7 insertions, 2 deletions
diff --git a/js/tests/controllers/itemcontrollerSpec.coffee b/js/tests/controllers/itemcontrollerSpec.coffee
index 35aff7141..f95f4a459 100644
--- a/js/tests/controllers/itemcontrollerSpec.coffee
+++ b/js/tests/controllers/itemcontrollerSpec.coffee
@@ -28,13 +28,18 @@ describe '_ItemController', ->
beforeEach inject (@_ItemController, @ActiveFeed, @ShowAll, @FeedType,
@StarredCount, @FeedModel, @FolderModel, @ItemModel,
- @ItemBl) =>
+ @ItemBl, @FeedBl, @FeedLoading) =>
@scope = {}
@persistence = {
getItems: ->
}
- @controller = new @_ItemController(@scope, @ItemBl, @FeedModel)
+ @controller = new @_ItemController(@scope, @ItemBl, @FeedModel,
+ @FeedLoading, @FeedBl)
it 'should make ItemBl availabe', =>
expect(@scope.itemBl).toBe(@ItemBl)
+
+
+ it 'should make FeedBl availabe', =>
+ expect(@scope.feedBl).toBe(@FeedBl)