Tobias Jeger pushed to branch feature/cmng-psp1 at cms-community / hippo-addon-channel-manager
Commits: 581bd84c by Tobias Jeger at 2016-05-24T08:33:58+02:00 CHANNELMGR-671 fix unit test after refactoring - - - - - 1 changed file: - frontend-ng/src/angularjs/channel/actions/channelActions.spec.js Changes: ===================================== frontend-ng/src/angularjs/channel/actions/channelActions.spec.js ===================================== --- a/frontend-ng/src/angularjs/channel/actions/channelActions.spec.js +++ b/frontend-ng/src/angularjs/channel/actions/channelActions.spec.js @@ -48,7 +48,7 @@ describe('ChannelActions', () => { it('calls the on-action-selected callback when clicking the button', () => { compileDirectiveAndGetController(); - $element.find('.qa-button-channel').click(); + $element.find('.qa-button-settings').click(); expect($scope.onActionSelected).toHaveBeenCalledWith('channel-settings'); }); View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/581bd84c725b99c3ffe91d8a53058b828ac8dfb8
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn