       expect(stateManager.addState).toHaveBeenCalledWith 'noTransitions', jasmine.any Object
 
   describe 'prototype', =>
-
     beforeEach => @stateManager = new Backbone.StateManager @states
 
     afterEach => delete @stateManager
 
     describe 'initialize', =>
-
       it 'calls triggerState on the first state found that has initial : true set on it', =>
         spyOn Backbone.StateManager.prototype, 'triggerState'
 

describe 'Backbone.StateManager', =>

  beforeEach => @states = _.clone spec.helper.states

  afterEach => delete @states

        expect(@stateManager.enterState).toHaveBeenCalledWith 'foo', jasmine.any Object

      describe 'the current state is the same as the new state', =>
        it 'does nothing unless options.reEnter is set', =>
          @stateManager._matchState.andReturn @states.noTransitions
          @stateManager.currentState = 'noTransitions'
