   revertShowErrorNotification = IDEView.__set__ 'showErrorNotification', showErrorNotificationSpy
 
 
-getFile = ->
-
-  path    = 'foo/path'
+getFile = (path = 'foo/path') ->
+
   machine = mock.getMockMachine()
-
   return FSHelper.createFileInstance { path, machine }
 
 

      expect(appName_).toBe 'IDE'
      expect(methodName_).toBe 'showFindReplaceView'
      expect(inReplaceMode).toBe yes

kd                    = require 'kd'
mock                  = require '../../../../mocks/mockingjay'
nick                  = require 'app/util/nick'
expect                = require 'expect'
IDEAce                = require 'ide/views/ace/ideace'
FSFile                = require 'app/util/fs/fsfile'
