diff options
author | Samantha Ming <sming@gitlab.com> | 2019-08-21 11:23:22 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-08-21 11:23:22 +0300 |
commit | 261f4fe7accfb0cad82feed4f74a26e9ccebcbe3 (patch) | |
tree | 94106a06ace1d53d3b6e30d1eab6d28f93130027 /spec/javascripts/diffs | |
parent | 006bc124366078d717ea8a331fdfd1e2ccd3476f (diff) |
Fix to show renamed file in mr
Diffstat (limited to 'spec/javascripts/diffs')
-rw-r--r-- | spec/javascripts/diffs/components/diff_file_header_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/diffs/components/diff_file_header_spec.js b/spec/javascripts/diffs/components/diff_file_header_spec.js index d4280d3ec2c..356e7a8f1fe 100644 --- a/spec/javascripts/diffs/components/diff_file_header_spec.js +++ b/spec/javascripts/diffs/components/diff_file_header_spec.js @@ -372,7 +372,7 @@ describe('diff_file_header', () => { }); it('displays old and new path if the file was renamed', () => { - props.diffFile.viewer.name = diffViewerModes.renamed; + props.diffFile.renamed_file = true; vm = mountComponentWithStore(Component, { props, store }); |