Commit df5ed4d9 authored by Randall Leeds's avatar Randall Leeds

Mock store in annotation directive test

parent eddda6fd
...@@ -11,6 +11,7 @@ describe 'h.directives.annotation', -> ...@@ -11,6 +11,7 @@ describe 'h.directives.annotation', ->
createController = null createController = null
flash = null flash = null
fakeAuth = null fakeAuth = null
fakeStore = null
fakeUser = null fakeUser = null
beforeEach module('h') beforeEach module('h')
...@@ -21,6 +22,7 @@ describe 'h.directives.annotation', -> ...@@ -21,6 +22,7 @@ describe 'h.directives.annotation', ->
user: 'acct:bill@localhost' user: 'acct:bill@localhost'
$provide.value 'auth', fakeAuth $provide.value 'auth', fakeAuth
$provide.value 'store', fakeStore
return return
beforeEach inject (_$compile_, $controller, _$document_, $rootScope, _$timeout_) -> beforeEach inject (_$compile_, $controller, _$document_, $rootScope, _$timeout_) ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment