Skip to content

Commit

Permalink
Merge pull request #49 from ibash/u/fix_tests
Browse files Browse the repository at this point in the history
Fixing IE tests. Shows that tests still fail for 3780bf5
  • Loading branch information
EvanHahn committed Jun 4, 2014
2 parents 0b71fe6 + 2b7a4c9 commit da9de69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/csp.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ describe('csp middleware', function () {
if (err) {
return done(err);
}
assert(res.header['X-WebKit-CSP'] === undefined);
assert(res.header['Content-Security-Policy'] === undefined);
assert(res.header['X-Content-Security-Policy'] === undefined);
assert(res.header['x-webkit-csp'] === undefined);
assert(res.header['content-security-policy'] === undefined);
assert(res.header['x-content-security-policy'] === undefined);
done();
});
});
Expand Down Expand Up @@ -255,7 +255,7 @@ describe('csp middleware', function () {
if (err) {
return done(err);
}
assert(res.header[ua.header] === undefined);
assert(res.header[ua.header.toLowerCase()] === undefined);
done();
});
});
Expand Down

0 comments on commit da9de69

Please sign in to comment.