   result = null
   error = null
   interval_spy = null
+  interval_callback = null
   timeout_spy = null
   fake_timer = {}
 


    it 'should set the corresponding current slide element', ->
      expect(rambling_slider.find('.currentSlideElement')).toEqualJquery rambling_slider.find('.slideElement').last()

  # Methods
  describe 'when getting the effect', ->

    expect(rambling_slider).toHaveData 'rambling:slider'
    expect(rambling_slider).toHaveData 'rambling:vars'

  it 'should not show the direction nav', ->
    expect(rambling_slider.find('.rambling-directionNav').is(':visible')).toBeFalsy()

  it 'should add the expected amount of navigation controls', ->
    expect(rambling_slider.find('.rambling-controlNav a').length).toEqual rambling_slider.find('.slideElement').length

  it 'should not pause the slider', ->
    expect(rambling_slider.data('rambling:vars').paused).toBeFalsy()

  describe 'when the slider has only one slide', ->
    other_slider = null
