       it 'can get and set the right direction from #_xDirectionInput', ->
         runRunUpdatesUntil 'start'
 
-        expect(player._xDirectionInput()).toBe Player.Direction.Right
-        expect(player.nextDirection).toBe Player.Direction.Right
+        expect(player._xDirectionInput()).toBe Direction.Right
+        expect(player.nextDirection).toBe Direction.Right
 
       describe 'when still', ->
         beforeEach -> runRunUpdatesUntil 'start'

  'test/fakes'
], (Phaser, _, Player, fakes) ->

  describe 'Player', ->
    game = null
    player = null


      it 'can get and set the right direction from #_xDirectionInput', ->
        runRunUpdatesUntil 'start', backwards: yes

        expect(player._xDirectionInput()).toBe Direction.Left
        expect(player.nextDirection).toBe Direction.Left

      describe 'when still', ->
        beforeEach -> runRunUpdatesUntil 'start', backwards: yes

        it 'will immediately (end) turn and begin to run', ->
          expect(player._isTurning).toBe yes
          expect(player.direction).toBe Direction.Left
          expect(player._beginRun).toHaveBeenCalled()

        it 'will play start animation', testStartAnimation
