Commit b11f99a8 authored by Jake Hartnell's avatar Jake Hartnell Committed by Randall Leeds

Remove one more old test.

parent dfc617a4
......@@ -97,30 +97,6 @@ describe 'h.directives.annotation', ->
afterEach ->
sandbox.restore()
describe 'when the annotation is a highlight', ->
beforeEach ->
fakeAnnotationUI.tool = 'highlight'
annotation.$create = sinon.stub().returns
then: angular.noop
catch: angular.noop
finally: angular.noop
it 'persists upon login', ->
delete annotation.id
delete annotation.user
controller = createController()
$scope.$digest()
assert.notCalled annotation.$create
annotation.user = 'acct:ted@wyldstallyns.com'
$scope.$digest()
assert.calledOnce annotation.$create
it 'is private', ->
delete annotation.id
controller = createController()
$scope.$digest()
assert.deepEqual annotation.permissions, {read: ['justme']}
describe '#reply', ->
controller = 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