diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-09-05 13:23:42 +0200 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2018-09-07 12:25:50 +0200 |
commit | d3cf0c247bcd665742047828aa8198ada43705f1 (patch) | |
tree | 2555e9acb763966e068cfec7a8594bc96c06ad3f /spec/javascripts/diffs/components/diff_line_gutter_content_spec.js | |
parent | c9bacfd6823de77de6b60db39190190b502681e0 (diff) | |
download | gitlab-ce-d3cf0c247bcd665742047828aa8198ada43705f1.tar.gz |
Fix for Karma, Static Analysis and RSPec for MR Page
Diffstat (limited to 'spec/javascripts/diffs/components/diff_line_gutter_content_spec.js')
-rw-r--r-- | spec/javascripts/diffs/components/diff_line_gutter_content_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/diffs/components/diff_line_gutter_content_spec.js b/spec/javascripts/diffs/components/diff_line_gutter_content_spec.js index 7c2495600c8..663c0680845 100644 --- a/spec/javascripts/diffs/components/diff_line_gutter_content_spec.js +++ b/spec/javascripts/diffs/components/diff_line_gutter_content_spec.js @@ -11,7 +11,7 @@ describe('DiffLineGutterContent', () => { const cmp = Vue.extend(DiffLineGutterContent); const props = Object.assign({}, options); props.line = { - code: 'LC_42', + lineCode: 'LC_42', type: 'new', oldLine: null, newLine: 1, @@ -36,7 +36,7 @@ describe('DiffLineGutterContent', () => { it('should return # if there is no lineCode', () => { const component = createComponent(); - component.line.code = ''; + component.line.lineCode = ''; expect(component.lineHref).toEqual('#'); }); }); |