Explorar o código

Fixed setTime should disable refresh test

 - init with dashboard mock
Harald Kraemer %!s(int64=11) %!d(string=hai) anos
pai
achega
ed76d718cd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/test/specs/filterSrv-specs.js

+ 1 - 0
src/test/specs/filterSrv-specs.js

@@ -63,6 +63,7 @@ define([
 
     describe('setTime', function() {
       it('should return disable refresh for absolute times', function() {
+        _filterSrv.init( _dashboard );
         _dashboard.current.refresh = true;
 
         _filterSrv.setTime({from: '2011-01-01', to: '2015-01-01' });