         Visibility._initTimers()
         Visibility.change.should.have.been.calledTwice
 
-      it 'should autodetect the function to use as _setInterval', ->
+      it 'autodetects the function to use as _setInterval', ->
         Visibility._initTimers()
         Visibility._setInterval.should.have.eql(Visibility._originalInterval)
 


    describe '.onVisible()', ->

      it 'should call onVisible immediately when API is not supported', ->
        sinon.stub Visibility, 'isSupported', -> false
        sinon.spy(Visibility, '_setListener')
        callback = sinon.spy()

        Visibility._init()
        Visibility._hiddenBefore.should.be.false

      it 'remembers if previous state is `visible`', ->
        Visibility._chechedPrefix = 'webkit'
        document.webkitHidden     = true

