diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-01-05 19:18:01 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-01-05 20:15:23 +0300 |
commit | da6af70a22ad34f76923fc8b0c5a1309e0ec541e (patch) | |
tree | a8f9f296534265d7d89e16824bb382734a46e07c /spec/javascripts/vue_shared/components | |
parent | f0c4fbea1c0621a6c5c12e9c9dd5eb534ee58157 (diff) |
Changes after review
Diffstat (limited to 'spec/javascripts/vue_shared/components')
-rw-r--r-- | spec/javascripts/vue_shared/components/header_ci_component_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/vue_shared/components/header_ci_component_spec.js b/spec/javascripts/vue_shared/components/header_ci_component_spec.js index 66c6f70a667..b378a0bd896 100644 --- a/spec/javascripts/vue_shared/components/header_ci_component_spec.js +++ b/spec/javascripts/vue_shared/components/header_ci_component_spec.js @@ -98,9 +98,9 @@ describe('Header CI Component', () => { }); }); - describe('triggered', () => { - it('should rendered created keyword when the triggered is false', () => { - vm = mountComponent(HeaderCi, { ...props, triggered: false }); + describe('shouldRenderTriggeredLabel', () => { + it('should rendered created keyword when the shouldRenderTriggeredLabel is false', () => { + vm = mountComponent(HeaderCi, { ...props, shouldRenderTriggeredLabel: false }); expect(vm.$el.textContent).toContain('created'); expect(vm.$el.textContent).not.toContain('triggered'); |