mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
fix(matchers.toHaveClass): Correct reference to angular.mock.dump
This commit is contained in:
parent
1cc0e4173d
commit
f701ce08f9
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ beforeEach(function() {
|
|||
|
||||
toHaveClass: function(clazz) {
|
||||
this.message = function() {
|
||||
return "Expected '" + angular.module.ngMock.dump(this.actual) + "' to have class '" + clazz + "'.";
|
||||
return "Expected '" + angular.mock.dump(this.actual) + "' to have class '" + clazz + "'.";
|
||||
};
|
||||
return this.actual.hasClass ?
|
||||
this.actual.hasClass(clazz) :
|
||||
|
|
|
|||
Loading…
Reference in a new issue