Closed gskachkov closed 9 years ago
This PR is related to following issue https://github.com/dalekjs/dalek/issues/128 In PR was added two method that allow to test if element contains/don't contains class
test .open('http://dalekjs.com/guineapig/') .assert.hasClass('button.submit-product', 'plain-btn', 'button has plain-btn class') .done();
test .open('http://dalekjs.com/guineapig/') .assert.doesntHaveClass('button.submit-product', 'btn', 'button doesn\'t have btn class') .done();
Thanks. Will take a couple of time getting this in due to technical problems in the built, but I´m fine with it. Looks good.
I've just fixed jshint comments.
This PR is related to following issue https://github.com/dalekjs/dalek/issues/128 In PR was added two method that allow to test if element contains/don't contains class