       githubFile = GitHubFile.fromPath(editSession.getPath())
 
     teardownWorkingDirAndRestoreFixture = (fixtureName) ->
-      fsUtils.move path.join(workingDirPath, '.git'), fixturePath(fixtureName)
-      fsUtils.remove workingDirPath
+      fs.move path.join(workingDirPath, '.git'), fixturePath(fixtureName)
+      fs.remove workingDirPath
 
     describe "open", ->
       describe "when the file is openable on GitHub.com", ->

      path.join(__dirname, "fixtures", "#{fixtureName}.git")

    setupWorkingDir = (fixtureName) ->
      fsUtils.makeTree workingDirPath
      fsUtils.move fixturePath(fixtureName), path.join(workingDirPath, '.git')

      subdirectoryPath = path.join(workingDirPath, 'some-dir')
      fsUtils.makeTree subdirectoryPath

      filePath = path.join(subdirectoryPath, 'some-file.md')
      fsUtils.writeSync filePath, 'some file content'

    setupGithubFile = ->
      project.setPath(workingDirPath)

GitHubFile = require '../lib/github-file'
{fs} = require 'atom-api'
path = require 'path'

describe "GitHubFile", ->
