fixed failing tests
Showing
4 changed files
with
2 additions
and
2 deletions
... | @@ -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') | ... | ... |
-
Please register or sign in to post a comment