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

Commit

Permalink
fix(matchers.toHaveClass): Correct reference to angular.mock.dump
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtajina committed Mar 20, 2012
1 parent 1cc0e41 commit f701ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/matchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) :
Expand Down

0 comments on commit f701ce0

Please sign in to comment.