fix chrome test

This commit is contained in:
John McLear 2015-04-11 00:23:06 +01:00
parent 7cb12ac10c
commit 15470c9dc3
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ describe("font select", function(){
//check if font changed to monospace
var fontFamily = inner$("body").css("font-family").toLowerCase();
expect(fontFamily).to.be("courier new");
var containsStr = fontFamily.indexOf("courier new");
expect(containsStr).to.not.be(-1);
done();
});