This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[4mRunning "simplemocha:all" (simplemocha) task[24m | |
1..1 | |
ok 1 Array indexOf() should return -1 when the value is not present | |
# tests 1 | |
# pass 1 | |
# fail 0 | |
[32mDone, without errors.[39m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
casper.test.begin('check if url is your blog', 1, function suite(test){ | |
casper.start('http://personal-blog-site.herokuapp.com/', function(){ | |
this.echo(this.getHTML('.nav h1')); | |
}); | |
casper.then(function(){ | |
test.assertTextExists('my blog', 'it is in fact, your blog'); | |
}); | |
casper.run(function(){ |