Fixed a small documentation bug with assertSelectorHasText()
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -299,7 +299,7 @@ Asserts that given text exists in elements matching the provided :ref:`selector | ... | @@ -299,7 +299,7 @@ Asserts that given text exists in elements matching the provided :ref:`selector |
299 | 299 | ||
300 | casper.test.begin('assertSelectorHasText() tests', 1, function(test) { | 300 | casper.test.begin('assertSelectorHasText() tests', 1, function(test) { |
301 | casper.start('http://google.com/', function() { | 301 | casper.start('http://google.com/', function() { |
302 | test.assertSelectorDoesntHaveText('title', 'Google'); | 302 | test.assertSelectorHasText('title', 'Google'); |
303 | }).run(function() { | 303 | }).run(function() { |
304 | test.done(); | 304 | test.done(); |
305 | }); | 305 | }); | ... | ... |
-
Please register or sign in to post a comment