wording - fixes #399
Showing
2 changed files
with
3 additions
and
3 deletions
... | @@ -59,10 +59,10 @@ casper.test.begin('fill() tests', 15, function(test) { | ... | @@ -59,10 +59,10 @@ casper.test.begin('fill() tests', 15, function(test) { |
59 | }); | 59 | }); |
60 | }); | 60 | }); |
61 | 61 | ||
62 | casper.test.begin('unexistent fields', 1, function(test) { | 62 | casper.test.begin('nonexistent fields', 1, function(test) { |
63 | casper.start('tests/site/form.html', function() { | 63 | casper.start('tests/site/form.html', function() { |
64 | test.assertRaises(this.fill, ['form[action="result.html"]', { | 64 | test.assertRaises(this.fill, ['form[action="result.html"]', { |
65 | unexistent: 42 | 65 | nonexistent: 42 |
66 | }, true], 'Casper.fill() raises an exception when unable to fill a form'); | 66 | }, true], 'Casper.fill() raises an exception when unable to fill a form'); |
67 | }).run(function() { | 67 | }).run(function() { |
68 | test.done(); | 68 | test.done(); | ... | ... |
... | @@ -11,7 +11,7 @@ casper.test.begin('XPath tests', 6, function(test) { | ... | @@ -11,7 +11,7 @@ casper.test.begin('XPath tests', 6, function(test) { |
11 | test.assertDoesntExist({ | 11 | test.assertDoesntExist({ |
12 | type: 'xpath', | 12 | type: 'xpath', |
13 | path: '/html/body/ol/li[2]' | 13 | path: '/html/body/ol/li[2]' |
14 | }, 'XPath selector does not retrieve an unexistent element'); | 14 | }, 'XPath selector does not retrieve a nonexistent element'); |
15 | test.assertExists(x('/html/body/ul/li[2]'), 'selectXPath() shortcut can find an element as well'); | 15 | test.assertExists(x('/html/body/ul/li[2]'), 'selectXPath() shortcut can find an element as well'); |
16 | test.assertEvalEquals(function() { | 16 | test.assertEvalEquals(function() { |
17 | return __utils__.findAll({type: 'xpath', path: '/html/body/ul/li'}).length; | 17 | return __utils__.findAll({type: 'xpath', path: '/html/body/ul/li'}).length; | ... | ... |
-
Please register or sign in to post a comment