 
       editor.trigger 'bookmarks:jump-to-next-bookmark'
       expect(editSession.getCursor().getBufferPosition()).toEqual [5, 10]
+      expect(shell.beep.callCount).toBe 1
 
       editor.trigger 'bookmarks:jump-to-previous-bookmark'
       expect(editSession.getCursor().getBufferPosition()).toEqual [5, 10]
+      expect(shell.beep.callCount).toBe 2
 
     describe "with one bookmark", ->
       beforeEach ->

RootView = require 'root-view'
_ = require 'underscore'

describe "Bookmarks package", ->
  [editor, editSession, displayBuffer] = []

    editor = rootView.getActiveView()
    editSession = editor.activeEditSession
    displayBuffer = editSession.displayBuffer
    spyOn(shell, 'beep')

  describe "toggling bookmarks", ->
    it "creates a marker when toggled", ->
