diff options
author | Phil Hughes <me@iamphill.com> | 2018-04-09 16:44:07 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-04-09 16:44:07 +0100 |
commit | 49d8a62eff6517084d3571995ca698d0f945ee98 (patch) | |
tree | 375368b9968b797843360442cc015ae333d3394e /spec | |
parent | 8fba385e792482850c68050ffe4234d0142b3e20 (diff) | |
download | gitlab-ce-49d8a62eff6517084d3571995ca698d0f945ee98.tar.gz |
fixed karma specs with change in icon name
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/ide/components/changed_file_icon_spec.js | 2 | ||||
-rw-r--r-- | spec/javascripts/ide/components/commit_sidebar/list_item_spec.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/ide/components/changed_file_icon_spec.js b/spec/javascripts/ide/components/changed_file_icon_spec.js index 541864e912e..a127630071e 100644 --- a/spec/javascripts/ide/components/changed_file_icon_spec.js +++ b/spec/javascripts/ide/components/changed_file_icon_spec.js @@ -28,7 +28,7 @@ describe('IDE changed file icon', () => { it('equals file-addition when a temp file', () => { vm.file.tempFile = true; - expect(vm.changedIcon).toBe('file-addition'); + expect(vm.changedIcon).toBe('file-additions'); }); }); diff --git a/spec/javascripts/ide/components/commit_sidebar/list_item_spec.js b/spec/javascripts/ide/components/commit_sidebar/list_item_spec.js index cc7e0a3f26d..5f83c3ebf9c 100644 --- a/spec/javascripts/ide/components/commit_sidebar/list_item_spec.js +++ b/spec/javascripts/ide/components/commit_sidebar/list_item_spec.js @@ -73,7 +73,7 @@ describe('Multi-file editor commit sidebar list item', () => { it('returns addition when not a tempFile', () => { f.tempFile = true; - expect(vm.iconName).toBe('file-addition'); + expect(vm.iconName).toBe('file-additions'); }); }); |