diff options
Diffstat (limited to 'spec/frontend/vue_shared/components/ci_badge_link_spec.js')
-rw-r--r-- | spec/frontend/vue_shared/components/ci_badge_link_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/vue_shared/components/ci_badge_link_spec.js b/spec/frontend/vue_shared/components/ci_badge_link_spec.js index fa42e87ec70..46fe5a0a74e 100644 --- a/spec/frontend/vue_shared/components/ci_badge_link_spec.js +++ b/spec/frontend/vue_shared/components/ci_badge_link_spec.js @@ -150,9 +150,9 @@ describe('CI Badge Link Component', () => { expect(findBadge().props('size')).toBe('lg'); }); - it('should have class `gl-p-2!` when `showText` is false', () => { + it('should have class `gl-px-2` when `showText` is false', () => { createComponent({ status: statuses.success, size: 'lg', showText: false }); - expect(findBadge().classes()).toContain('gl-p-2!'); + expect(findBadge().classes()).toContain('gl-px-2'); }); }); |