diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-05-03 23:46:35 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-05-03 23:46:35 +0300 |
commit | a72f4ecbb93857c9c45d84f6c2d70f9cce3b852d (patch) | |
tree | 22e85ca8d9d51d02aa904c4281403c1e6776dbfb /spec/javascripts | |
parent | eed2812f98e08aab3e016b840528ff4d2e84f826 (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.js | 2 |
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'); }); }); |