Ariel Weinberger pushed to branch feature/CHANNELMGR-1274 at cms-community / 
hippo-addon-channel-manager


Commits:
f6541c57 by Ariel Weinberger at 2017-09-13T12:47:06+02:00
CHANNELMGR-1274 Fix unit tests for mdDialog local variables injection

- - - - -


1 changed file:

- 
frontend-ng/src/app/channel/sidePanels/rightSidePanel/multiActionDialog/multiActionDialog.spec.js


Changes:

=====================================
frontend-ng/src/app/channel/sidePanels/rightSidePanel/multiActionDialog/multiActionDialog.spec.js
=====================================
--- 
a/frontend-ng/src/app/channel/sidePanels/rightSidePanel/multiActionDialog/multiActionDialog.spec.js
+++ 
b/frontend-ng/src/app/channel/sidePanels/rightSidePanel/multiActionDialog/multiActionDialog.spec.js
@@ -21,10 +21,10 @@ describe('hippoIframeCtrl', () => {
   let $ctrl;
 
   beforeEach(() => {
-    $ctrl = new MultiActionDialogCtrl($mdDialog);
+    $ctrl = new MultiActionDialogCtrl($mdDialog, { title: 'title', message: 
'message', actions: [] });
   });
 
-  it('hides the dialog with the given action', () => {
+  it('mvn hides the dialog with the given action', () => {
     $ctrl.action('transparent');
 
     expect($mdDialog.hide).toHaveBeenCalledWith('transparent');



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/f6541c57371a668425bbac853af71cb7674b0de8

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/f6541c57371a668425bbac853af71cb7674b0de8
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to