Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f701ce0

Browse files
committed
fix(matchers.toHaveClass): Correct reference to angular.mock.dump
1 parent 1cc0e41 commit f701ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/matchers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ beforeEach(function() {
142142

143143
toHaveClass: function(clazz) {
144144
this.message = function() {
145-
return "Expected '" + angular.module.ngMock.dump(this.actual) + "' to have class '" + clazz + "'.";
145+
return "Expected '" + angular.mock.dump(this.actual) + "' to have class '" + clazz + "'.";
146146
};
147147
return this.actual.hasClass ?
148148
this.actual.hasClass(clazz) :

0 commit comments

Comments
 (0)