   describe ".getLines()", ->
     it "returns an array of lines in the text contents", ->
       filePath = require.resolve('./fixtures/sample.js')
-      fileContents = fs.readFileSync(filePath, 'utf8')
+      fileContents = readFileSync(filePath, 'utf8')
       buffer = new TextBuffer({filePath, load: true})
 
       waitsFor ->


    beforeEach ->
      filePath = require.resolve('./fixtures/sample.js')
      fileContents = fs.readFileSync(filePath, 'utf8')
      buffer = new TextBuffer({filePath, load: true})

      waitsFor ->


    beforeEach ->
      filePath = join(temp.dir, 'atom-tmp-file')
      writeFileSync(filePath, '')
      buffer = new TextBuffer({filePath, load: true})

      waitsFor ->
