summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-10-17 11:46:00 +0100
committerPhil Hughes <me@iamphill.com>2017-10-17 11:46:00 +0100
commitbdbcf58ac085e4c96a6eb0bc2a2be767e3b74b9d (patch)
treea5d21805960f91879b267888ba615dca4eff6bb2
parentc3dec96e837d6118b2a3d354ec1f142894da48a1 (diff)
downloadgitlab-ce-ph-multi-file-editor-restructure-data.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.js4
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);
});
});
});