Commit 64b73b49 64b73b49810940c3538076572722b0cbe004d324 by Nicolas Perriault

wording - fixes #399

1 parent ea90cda7
......@@ -59,10 +59,10 @@ casper.test.begin('fill() tests', 15, function(test) {
});
});
casper.test.begin('unexistent fields', 1, function(test) {
casper.test.begin('nonexistent fields', 1, function(test) {
casper.start('tests/site/form.html', function() {
test.assertRaises(this.fill, ['form[action="result.html"]', {
unexistent: 42
nonexistent: 42
}, true], 'Casper.fill() raises an exception when unable to fill a form');
}).run(function() {
test.done();
......
......@@ -11,7 +11,7 @@ casper.test.begin('XPath tests', 6, function(test) {
test.assertDoesntExist({
type: 'xpath',
path: '/html/body/ol/li[2]'
}, 'XPath selector does not retrieve an unexistent element');
}, 'XPath selector does not retrieve a nonexistent element');
test.assertExists(x('/html/body/ul/li[2]'), 'selectXPath() shortcut can find an element as well');
test.assertEvalEquals(function() {
return __utils__.findAll({type: 'xpath', path: '/html/body/ul/li'}).length;
......