diff options
author | Phil Hughes <me@iamphill.com> | 2017-10-17 11:46:00 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-17 11:46:00 +0100 |
commit | bdbcf58ac085e4c96a6eb0bc2a2be767e3b74b9d (patch) | |
tree | a5d21805960f91879b267888ba615dca4eff6bb2 | |
parent | c3dec96e837d6118b2a3d354ec1f142894da48a1 (diff) | |
download | gitlab-ce-bdbcf58ac085e4c96a6eb0bc2a2be767e3b74b9d.tar.gz |
fixed Karam test because of event name changeph-multi-file-editor-restructure-data
-rw-r--r-- | spec/javascripts/repo/components/repo_file_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/repo/components/repo_file_spec.js b/spec/javascripts/repo/components/repo_file_spec.js index da8c850bc78..334bf0997ca 100644 --- a/spec/javascripts/repo/components/repo_file_spec.js +++ b/spec/javascripts/repo/components/repo_file_spec.js @@ -95,7 +95,7 @@ describe('RepoFile', () => { describe('methods', () => { describe('linkClicked', () => { - it('$emits linkclicked with file obj', () => { + it('$emits fileNameClicked with file obj', () => { spyOn(eventHub, '$emit'); const vm = createComponent({ @@ -104,7 +104,7 @@ describe('RepoFile', () => { vm.linkClicked(vm.file); - expect(eventHub.$emit).toHaveBeenCalledWith('linkclicked', vm.file); + expect(eventHub.$emit).toHaveBeenCalledWith('fileNameClicked', vm.file); }); }); }); |