finished refactor of Tester.assert*() methods
Showing
2 changed files
with
1 additions
and
1 deletions
This diff is collapsed.
Click to expand it.
... | @@ -42,7 +42,7 @@ var expected = [ | ... | @@ -42,7 +42,7 @@ var expected = [ |
42 | ].map(function(entry) { | 42 | ].map(function(entry) { |
43 | return fs.pathJoin.apply(fs, [testDirRoot].concat(entry.split('/'))); | 43 | return fs.pathJoin.apply(fs, [testDirRoot].concat(entry.split('/'))); |
44 | }); | 44 | }); |
45 | t.assertEquals(files, [], 'findTestFiles() find test files and sort them'); | 45 | t.assertEquals(files, expected, 'findTestFiles() find test files and sort them'); |
46 | 46 | ||
47 | t.comment('Tester.assertTextExists()'); | 47 | t.comment('Tester.assertTextExists()'); |
48 | casper.start('tests/site/index.html', function() { | 48 | casper.start('tests/site/index.html', function() { | ... | ... |
-
Please register or sign in to post a comment