Fix path reference to test file.

Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/3b3c8983
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/3b3c8983
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/3b3c8983

Branch: refs/heads/master
Commit: 3b3c8983e8b3a839461e5ebfdb636359c350c98e
Parents: 63213d6
Author: Fil Maj <[email protected]>
Authored: Wed Apr 17 16:11:35 2013 -0700
Committer: Fil Maj <[email protected]>
Committed: Wed Apr 17 16:11:35 2013 -0700

----------------------------------------------------------------------
 test/config-changes.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/3b3c8983/test/config-changes.js
----------------------------------------------------------------------
diff --git a/test/config-changes.js b/test/config-changes.js
index f460cd6..1c50b0d 100644
--- a/test/config-changes.js
+++ b/test/config-changes.js
@@ -20,7 +20,8 @@
 var configChanges = require('../util/config-changes'),
     fs = require('fs'),
     et = require('elementtree'),
-    xmlText = fs.readFileSync('dummy.xml', 'utf-8'),
+    path = require('path'),
+    xmlText = fs.readFileSync(path.join(__dirname, 'dummy.xml'), 'utf-8'),
     xmlDoc = new et.ElementTree(et.XML(xmlText)),
     platformTag = null;
 

Reply via email to