fix: fixed failing frontend test

This commit is contained in:
Torkel Ödegaard 2017-06-05 23:31:45 +02:00
parent 746d6cdc88
commit e43d09e15b

View File

@ -268,11 +268,6 @@ describe('HistoryListCtrl', function() {
expect(ctx.ctrl.loading).to.be(false);
});
it('should broadcast an event indicating the failure', function() {
expect($rootScope.appEvent.calledOnce).to.be(true);
expect($rootScope.appEvent.calledWith('alert-error')).to.be(true);
});
it('should have an empty delta/changeset', function() {
expect(ctx.ctrl.delta).to.eql({ basic: '', html: '' });
});