Browse Source

fix: fixed failing frontend test

Torkel Ödegaard 8 years ago
parent
commit
e43d09e15b
1 changed files with 0 additions and 5 deletions
  1. 0 5
      public/app/features/dashboard/specs/history_ctrl_specs.ts

+ 0 - 5
public/app/features/dashboard/specs/history_ctrl_specs.ts

@@ -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: '' });
       });