Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-05-03 23:46:35 +0300
committerFilipa Lacerda <filipa@gitlab.com>2018-05-03 23:46:35 +0300
commita72f4ecbb93857c9c45d84f6c2d70f9cce3b852d (patch)
tree22e85ca8d9d51d02aa904c4281403c1e6776dbfb /spec/javascripts
parenteed2812f98e08aab3e016b840528ff4d2e84f826 (diff)
Fix broken tests - use the corrent event when button is clicked
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/pipelines/graph/action_component_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/pipelines/graph/action_component_spec.js b/spec/javascripts/pipelines/graph/action_component_spec.js
index 3de10392472..d646bef96f5 100644
--- a/spec/javascripts/pipelines/graph/action_component_spec.js
+++ b/spec/javascripts/pipelines/graph/action_component_spec.js
@@ -22,7 +22,7 @@ describe('pipeline graph action component', () => {
});
it('should emit an event with the provided link', () => {
- eventHub.$on('graphAction', link => {
+ eventHub.$on('postAction', link => {
expect(link).toEqual('foo');
});
});