Fixed setTime should disable refresh test

- init with dashboard mock
This commit is contained in:
Harald Kraemer 2014-05-20 09:56:50 +02:00
parent 00e1a1c442
commit ed76d718cd

View File

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