Add task for running mocha tests with webdriver for testing proxies

This commit is contained in:
MoyuScript
2015-01-18 14:31:53 +02:00
parent 891471fb2b
commit dd697d9569
13 changed files with 248 additions and 111 deletions

View File

@ -102,6 +102,9 @@ describe("Gradients", function() {
var value = container.css("backgroundImage");
it(value, function() {
var parsedBackground = parseBackgrounds(value);
if (parsedBackground[0].args[0] === "0% 50%") {
parsedBackground[0].args[0] = 'left';
}
expect(parsedBackground[0].args).to.eql(expected[i].args);
expect(parsedBackground[0].method).to.eql(expected[i].method);
});