Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
45016122
...
450161224da7d569bb371a52e163729b7e9fc37c
authored
2014-07-28 13:11:04 +0300
by
Denis Sokolov
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Typo in tester assertions
1 parent
29bbd03f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
tests/suites/tester/assert.js
tests/suites/tester/assert.js
View file @
4501612
...
...
@@ -40,7 +40,7 @@ casper.test.begin('Common assertions tests', 47, function(test) {
test
.
assertSelectorExists
(
'body'
,
'Tester.assertSelectorExists() works as expected [alias]'
);
test
.
assertSelectorExist
(
'body'
,
'Tester.assertSelectorExist() works as expected [alias]'
);
test
.
assertDoesntExist
(
'foobar'
,
'Tester.assertDoesntExist() works as expected'
);
test
.
assert
Doesn
tExist
(
'foobar'
,
'Tester.assertNotExist() works as expected [alias]'
);
test
.
assert
No
tExist
(
'foobar'
,
'Tester.assertNotExist() works as expected [alias]'
);
// using file:// protocol, HTTP status is always null
test
.
assertHttpStatus
(
200
,
'Tester.assertHttpStatus() works as expected'
);
test
.
assertMatch
(
"the lazy dog"
,
/lazy/
,
'Tester.assertMatch() works as expected'
);
...
...
Please
register
or
sign in
to post a comment