summaryrefslogtreecommitdiff
path: root/spec/javascripts/pipelines
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-05-03 21:46:35 +0100
committerFilipa Lacerda <filipa@gitlab.com>2018-05-03 21:46:35 +0100
commita72f4ecbb93857c9c45d84f6c2d70f9cce3b852d (patch)
tree22e85ca8d9d51d02aa904c4281403c1e6776dbfb /spec/javascripts/pipelines
parenteed2812f98e08aab3e016b840528ff4d2e84f826 (diff)
downloadgitlab-ce-a72f4ecbb93857c9c45d84f6c2d70f9cce3b852d.tar.gz
Fix broken tests - use the corrent event when button is clicked
Diffstat (limited to 'spec/javascripts/pipelines')
-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');
});
});