 
         expect(minimapEditorView.getHeight()).toEqual(height)
 
-    describe 'on update', ->
+    describe '::update', ->
       beforeEach ->
         updateCallback = jasmine.createSpy('updateCallback')
         minimapEditorView.once 'minimap:updated', updateCallback


        waitsFor -> updateCallback.callCount is 1

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

      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', ->
