         callback.should.have.been.called
         Visibility._setListener.should.not.have.been.called
 
-      it 'should run afterPrerendering immediately if page isn’t prerended', ->
+      it 'runs afterPrerendering immediately if page isn’t prerended', ->
         Visibility._chechedPrefix      = 'webkit'
         document.webkitVisibilityState = 'hidden'
         sinon.stub(Visibility, '_setListener')

        callback.should.have.been.called
        Visibility._setListener.should.not.have.been.called

      it 'should run onVisible callback immediately if page is visible', ->
        Visibility._chechedPrefix = 'webkit'
        document.webkitHidden = false
        sinon.spy(Visibility, '_setListener')


    describe '.change()', ->

      it 'returns false on `change` call when API is not supported', ->
        sinon.stub Visibility, 'isSupported', -> false
        sinon.spy(Visibility, '_setListener')
        callback = sinon.spy()
