Commit 46210431 4621043145b6c075eccc2a94bc3fbbc499bd1ae8 by Nicolas Perriault

moved testResults declaration to assert.js

1 parent 55529f98
var testResults = {
passed: 0,
failed: 0
};
phantom.Casper.extend({
assert: function(condition, message) {
var status = '[PASS]';
......
......@@ -3,10 +3,7 @@ phantom.injectJs('tests/assert.js');
var casper = new phantom.Casper({
verbose: true,
}), testResults = {
passed: 0,
failed: 0
};
});
casper.start('tests/site/index.html', function(self) {
self.assertEvalEquals(function() {
......