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
c509d5ea
...
c509d5eaf2a6d075c31200c197ba21a8480d78be
authored
2014-07-28 23:22:50 +0200
by
Mickaël Andrieu
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #984 from denis-sokolov/patch-1
Typo in tester assertions
2 parents
29bbd03f
54fa1e5d
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 @
c509d5e
...
...
@@ -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
DoesntExist
(
'foobar'
,
'Tester.assertNotExist
() works as expected [alias]'
);
test
.
assert
NotExists
(
'foobar'
,
'Tester.assertNotExists
() 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