Commit 30bd605d authored by Gergely Ujvari's avatar Gergely Ujvari

Remove test for unnecessary guard

parent 186ddefe
...@@ -65,12 +65,6 @@ describe 'h.directives.annotation', -> ...@@ -65,12 +65,6 @@ describe 'h.directives.annotation', ->
$scope.$digest() $scope.$digest()
assert.isNull(controller.document) assert.isNull(controller.document)
it 'skips the document object if the annotation has no targets', ->
annotation.target = []
controller = createController()
$scope.$digest()
assert.isNull(controller.document)
describe '#reply', -> describe '#reply', ->
controller = null controller = null
container = null container = null
......
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