 
     it "doesn't change the selection, beeps if there are no matches and keeps focus on the find view", ->
       editor.setCursorBufferPosition([2,0])
-      spyOn(shell, 'beep')
       findView.findEditor.setText 'notinthefilebro'
       findView.findEditor.focus()
       findView.trigger 'core:confirm'

  [editor, findView] = []

  beforeEach ->
    window.rootView = new RootView()
    project.setPath(path.join(__dirname, 'fixtures'))
    rootView.open('sample.js')


      it "does not beep if no matches were found", ->
        editor.setCursorBufferPosition([2,0])
        findView.findEditor.setText 'notinthefilebro'
        findView.trigger 'core:confirm'
        shell.beep.reset()
