 
         runs -> pv.player.playVideo()
 
-        waitsFor (-> eventFired), 'state change event', 10000
+        waitsFor (-> stateChanged), 'state change event', 10000
+
 
       describe 'video player view api', ->
         pv = undefined

      it 'should announce state changes', ->
        pv = new PlayerView viewOptions()

        eventFired = false
        pv.on 'PlayerView:StateChange', -> eventFired = true

        # load player and cue video
        acorn.util.appendCss()

            pv.seekOffset() == 20
          ), 'playerView to register seekOffset to 20 while paused', 10000


      it 'should look good', ->
        # setup DOM
        acorn.util.appendCss()
