瀏覽代碼

Remove apparently unnecessary .flush() calls.

Alin Sinpalean 8 年之前
父節點
當前提交
9cf7a2d2ed
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      public/app/plugins/datasource/prometheus/specs/datasource_specs.ts

+ 0 - 8
public/app/plugins/datasource/prometheus/specs/datasource_specs.ts

@@ -278,10 +278,6 @@ describe('PrometheusDatasource', function() {
       }
     };
 
-    beforeEach(function() {
-      ctx.$httpBackend.flush();
-    });
-
     it('should be min interval when greater than auto interval', function() {
       var query = {
         // 6 hour range
@@ -420,10 +416,6 @@ describe('PrometheusDatasource', function() {
       }
     };
 
-    beforeEach(function() {
-      ctx.$httpBackend.flush();
-    });
-
     it('should be unchanged when auto interval is greater than min interval', function() {
       var query = {
         // 6 hour range