Commit 67d93069 67d9306905328d767ae90f8b38efa2b7d84d7f82 by Nicolas Perriault

fixed failing tests

1 parent faf6a4fe
...@@ -275,7 +275,7 @@ function bootstrap(global) { ...@@ -275,7 +275,7 @@ function bootstrap(global) {
275 } else if (phantom.casperArgs.get(0) === "selftest") { 275 } else if (phantom.casperArgs.get(0) === "selftest") {
276 phantom.casperScript = fs.absolute(fs.pathJoin(phantom.casperPath, 'tests', 'run.js')); 276 phantom.casperScript = fs.absolute(fs.pathJoin(phantom.casperPath, 'tests', 'run.js'));
277 phantom.casperSelfTest = true; 277 phantom.casperSelfTest = true;
278 //phantom.casperArgs.options.includes = fs.pathJoin(phantom.casperPath, 'tests', 'selftest.js'); 278 phantom.casperArgs.options.includes = fs.pathJoin(phantom.casperPath, 'tests', 'selftest.js');
279 if (phantom.casperArgs.args.length <= 1) { 279 if (phantom.casperArgs.args.length <= 1) {
280 phantom.casperArgs.args.push(fs.pathJoin(phantom.casperPath, 'tests', 'suites')); 280 phantom.casperArgs.args.push(fs.pathJoin(phantom.casperPath, 'tests', 'suites'));
281 } 281 }
......
1 /*global casper*/ 1 /*global casper*/
2 /*jshint strict:false*/ 2 /*jshint strict:false*/
3 var fs = require('fs'); 3 var fs = require('fs');
4 var modroot = fs.pathJoin(phantom.casperPath, 'tests', 'suites', 'modules'); 4 var modroot = fs.pathJoin(phantom.casperPath, 'tests', 'sample_modules');
5 var jsmod, csmod; 5 var jsmod, csmod;
6 6
7 casper.test.comment('Javascript module loading') 7 casper.test.comment('Javascript module loading')
......