From b586bfdfab3331b3adb879ba43636ecbd8cab296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Mon, 23 Jun 2014 23:38:15 +0200 Subject: [PATCH] fix(testabilityPatch): fix invocations of angular.mock.dump --- test/helpers/testabilityPatch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helpers/testabilityPatch.js b/test/helpers/testabilityPatch.js index ef7fc150..e2c6f23f 100644 --- a/test/helpers/testabilityPatch.js +++ b/test/helpers/testabilityPatch.js @@ -248,13 +248,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)); } }