Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ykpythemind authored and dirk-thomas committed Feb 21, 2018
1 parent 880675b commit c8a1ef5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/sync-settings-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ describe "SyncSettings", ->
SyncSettings.restore cb
, ->
for file in atom.config.get 'sync-settings.extraFiles'
expect(fs.existsSync("#{atom.config.configDirPath}/#{file}")).toBe(true)
expect(SyncSettings.fileContent("#{atom.config.configDirPath}/#{file}")).toBe("# #{file} (not found) ")
fs.unlink "#{atom.config.configDirPath}/#{file}"
expect(fs.existsSync("#{atom.getConfigDirPath()}/#{file}")).toBe(true)
expect(SyncSettings.fileContent("#{atom.getConfigDirPath()}/#{file}")).toBe("# #{file} (not found) ")
fs.unlink "#{atom.getConfigDirPath()}/#{file}"

describe "::check for update", ->

Expand Down

0 comments on commit c8a1ef5

Please sign in to comment.