dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #41554
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21173: corrected test description
------------------------------------------------------------
revno: 21173
committer: Jiju K Jose <jijukjose@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-11-23 14:27:04 +0100
message:
corrected test description
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/test/directives/dhis2.angular.directives.test.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/test/directives/dhis2.angular.directives.test.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/test/directives/dhis2.angular.directives.test.js 2015-11-23 13:19:34 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/test/directives/dhis2.angular.directives.test.js 2015-11-23 13:27:04 +0000
@@ -151,7 +151,8 @@
});
- /*TODO: The directive purpose and implenentaion needs to be discussed before writing the tests.*/
+ /*TODO: The directive purpose and implenentation needs to be discussed before writing the tests.*/
+
xdescribe('Directive: d2ContextMenu', () => {
let mock$scope;
let element;
@@ -168,7 +169,7 @@
};
}));
- it('should call the resgistered function on key press event', () => {
+ it('should call the resgistered function on click event', () => {
var elm = angular.element('<div id="contextMenu"></div><div d2-context-menu></div>');
render(elm);
var contextMenu = elm.find('#contextMenu');