Skip to content

Commit

Permalink
Update to version 0.7.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Feb 10, 2015
1 parent 4637bc7 commit bae6c09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -284,6 +284,7 @@ This makes it easy to pick out failures when running tests against many pages.
## Release History

* 0.7.0 - Initial release, extract functionality from `grunt-check-pages` for use with Gulp.
* 0.7.1 - Fix misreporting of "Bad link" for redirected links when noRedirects enabled.


[npm-image]: https://img.shields.io/npm/v/check-pages.svg
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "check-pages",
"description": "Checks various aspects of a web page for correctness.",
"version": "0.7.0",
"version": "0.7.1",
"homepage": "https://github.com/DavidAnson/check-pages",
"author": {
"name": "David Anson",
Expand Down
4 changes: 2 additions & 2 deletions test/checkPages_test.js
Expand Up @@ -1057,13 +1057,13 @@ exports.checkPages = {
requestHeaders: function(test) {
test.expect(5);
nock('http://example.com')
.matchHeader('User-Agent', 'check-pages/0.7.0')
.matchHeader('User-Agent', 'check-pages/0.7.1')
.matchHeader('Cache-Control', 'no-cache')
.matchHeader('Pragma', 'no-cache')
.get('/page')
.reply(200, '<html><body><a href="link">link</a></body></html>');
nock('http://example.com')
.matchHeader('User-Agent', 'check-pages/0.7.0')
.matchHeader('User-Agent', 'check-pages/0.7.1')
.matchHeader('Cache-Control', 'no-cache')
.matchHeader('Pragma', 'no-cache')
.head('/link')
Expand Down

0 comments on commit bae6c09

Please sign in to comment.