From b4ba17c5995bb4f50fd84bff775bd2a0eef9bd2b Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 24 May 2016 13:20:28 -0700 Subject: [PATCH] use the constant --- src/routes/test/apps-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/test/apps-test.js b/src/routes/test/apps-test.js index 7e18c68e3..8c41bc22f 100644 --- a/src/routes/test/apps-test.js +++ b/src/routes/test/apps-test.js @@ -112,7 +112,7 @@ describe('Apps', function () { var imageCreated = false; before(function (done) { - safe.fs.unlinkSync(paths.DATA_DIR + '/INFRA_VERSION'); + safe.fs.unlinkSync(paths.INFRA_VERSION_FILE); child_process.execSync('docker ps -qa | xargs --no-run-if-empty docker rm -f'); dockerProxy = startDockerProxy(function interceptor(req, res) {