diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-09-05 14:23:42 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2018-09-07 13:25:50 +0300 |
commit | d3cf0c247bcd665742047828aa8198ada43705f1 (patch) | |
tree | 2555e9acb763966e068cfec7a8594bc96c06ad3f /spec/javascripts/diffs/components/diff_file_spec.js | |
parent | c9bacfd6823de77de6b60db39190190b502681e0 (diff) |
Fix for Karma, Static Analysis and RSPec for MR Page
Diffstat (limited to 'spec/javascripts/diffs/components/diff_file_spec.js')
-rw-r--r-- | spec/javascripts/diffs/components/diff_file_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/javascripts/diffs/components/diff_file_spec.js b/spec/javascripts/diffs/components/diff_file_spec.js index 44a38f7ca82..0917af23e84 100644 --- a/spec/javascripts/diffs/components/diff_file_spec.js +++ b/spec/javascripts/diffs/components/diff_file_spec.js @@ -51,7 +51,8 @@ describe('DiffFile', () => { }); it('should have collapsed text and link', done => { - vm.file.collapsed = true; + vm.file.collapsed = false; + vm.file.highlightedDiffLines = null; vm.$nextTick(() => { expect(vm.$el.innerText).toContain('This diff is collapsed'); |