         stubs.above.called.should.be.false
         stubs.below.called.should.be.true
         stubs.enter.called.should.be.true
-        stubs.leave.called.should.be.false
+        stubs.exit.called.should.be.false

Element = require '../element'

setupStubs = (element) ->
  _.reduce ['above', 'below', 'enter', 'leave'], (memo, direction) =>
    memo[direction] = sinon.stub()
    element.$el.on "scroller:#{direction}", memo[direction]
    memo

        stubs.above.called.should.be.false
        stubs.below.called.should.be.true
        stubs.enter.called.should.be.false
        stubs.exit.called.should.be.true

    describe 'inside', ->
      beforeEach ->
