diff --git a/spec/linter-intergration-spec.js b/spec/linter-intergration-spec.js index 2f8ccc2f..3c73b1fd 100644 --- a/spec/linter-intergration-spec.js +++ b/spec/linter-intergration-spec.js @@ -93,7 +93,7 @@ describe('Linter Integration', () => { const linter = dummyPackage.getLinter(); expect(linter.messages).toEqual([ { - filePath: '.atom-build.json', + filePath: `${directory}/.atom-build.json`, range: [ [2, 7], [2, 7] ], text: 'very bad things', type: 'Error' @@ -119,7 +119,7 @@ describe('Linter Integration', () => { const linter = dummyPackage.getLinter(); expect(linter.messages).toEqual([ { - filePath: '.atom-build.json', + filePath: `${directory}/.atom-build.json`, range: [ [2, 7], [2, 7] ], text: 'very bad things', type: 'Error'