Do not run timers in testing.

This commit is contained in:
Robert Jackson 2014-11-05 08:19:16 -05:00
parent 3db8a7624b
commit a789fdab6f
No known key found for this signature in database
GPG Key ID: B3D10EF8171F7219

View File

@ -10,6 +10,7 @@ Travis.RepoController = Travis.Controller.extend
init: ->
@_super.apply this, arguments
if !Ember.testing
Visibility.every Travis.INTERVALS.updateTimes, @updateTimes.bind(this)
updateTimes: ->