Skip to content

Commit

Permalink
fix(testabilityPatch): fix invocations of angular.mock.dump
Browse files Browse the repository at this point in the history
  • Loading branch information
mgol committed Jun 23, 2014
1 parent ea820b5 commit e8e0750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/helpers/testabilityPatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,13 @@ function isCssVisible(node) {

function assertHidden(node) {
if (isCssVisible(node)) {
throw new Error('Node should be hidden but was visible: ' + angular.module.ngMock.dump(node));
throw new Error('Node should be hidden but was visible: ' + angular.mock.dump(node));
}
}

function assertVisible(node) {
if (!isCssVisible(node)) {
throw new Error('Node should be visible but was hidden: ' + angular.module.ngMock.dump(node));
throw new Error('Node should be visible but was hidden: ' + angular.mock.dump(node));
}
}

Expand Down

0 comments on commit e8e0750

Please sign in to comment.