       minimapView = new MinimapView editorView
       minimapView.attachToPaneView()
       minimapView.height 5
+      minimapView.updatePositions = ->
 
       minimapEditorView = minimapView.miniEditorView
-
 
     describe '::getHeight', ->
       it 'returns its content height based on its line-height', ->


        waitsFor -> updateCallback.callCount is 1

      it 'should only render visible lines', ->
        lines = minimapEditorView.lines.children()
        expect(lines.length).toEqual(12)


        expect(minimapEditorView.getHeight()).toEqual(height)

    describe '::update', ->
      beforeEach ->
        updateCallback = jasmine.createSpy('updateCallback')
        minimapEditorView.once 'minimap:updated', updateCallback
