diff options
author | Sean McGivern <sean@gitlab.com> | 2017-10-06 16:30:11 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-10-06 16:30:11 +0100 |
commit | 26f6065ec686d16a053e33f031779a8e75f0c5c9 (patch) | |
tree | 78c49c6594a63ccf8be77c82d7fc58727c58e5d7 /spec | |
parent | 37e3d42b62bf2460f7443ac9e57661140983d335 (diff) | |
download | gitlab-ce-26f6065ec686d16a053e33f031779a8e75f0c5c9.tar.gz |
Fix JS lock issue specs
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/vue_shared/components/issue/issue_warning_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/vue_shared/components/issue/issue_warning_spec.js b/spec/javascripts/vue_shared/components/issue/issue_warning_spec.js index 6d8c6d17a1c..2cf4d8e00ed 100644 --- a/spec/javascripts/vue_shared/components/issue/issue_warning_spec.js +++ b/spec/javascripts/vue_shared/components/issue/issue_warning_spec.js @@ -16,7 +16,7 @@ describe('Issue Warning Component', () => { isLocked: true, }); - expect(vm.$el.querySelector('i').className).toEqual('fa fa-lock'); + expect(vm.$el.querySelector('i').className).toEqual('fa icon fa-lock'); expect(formatWarning(vm.$el.querySelector('span').textContent)).toEqual('This issue is locked. Only project members can comment.'); }); }); @@ -27,7 +27,7 @@ describe('Issue Warning Component', () => { isConfidential: true, }); - expect(vm.$el.querySelector('i').className).toEqual('fa fa-eye-slash'); + expect(vm.$el.querySelector('i').className).toEqual('fa icon fa-eye-slash'); expect(formatWarning(vm.$el.querySelector('span').textContent)).toEqual('This is a confidential issue. Your comment will not be visible to the public.'); }); }); |