fixing handler unit tests for the error method
This commit is contained in:
parent
45a887d052
commit
ea76f7698a
|
@ -207,7 +207,7 @@ define(function (require) {
|
|||
|
||||
it('should return an error classed DOM element with a text message', function () {
|
||||
expect($('.visualize').find('.error').length).to.be(1);
|
||||
expect($('.error p').html()).to.be('This is an error!');
|
||||
expect($('.error h4').html()).to.be('This is an error!');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue