fix tests

This commit is contained in:
Alan Hamlett
2016-06-29 11:34:53 -07:00
parent 40b9d9209c
commit ee49457b90
2 changed files with 16 additions and 36 deletions

View File

@@ -18,9 +18,9 @@ describe('contains', function() {
it('should not match url against blacklist and return false', function() {
var list = "localhost\ntest.com";
var list = "localhost2\ntest.com";
var url = 'http://localhost/fooapp';
expect(contains('http://localhost2/fooapp', list)).to.equal(false);
expect(contains(url, list)).to.equal(false);
});
});