diff options
author | Phil Hughes <me@iamphill.com> | 2018-07-26 10:47:38 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-07-26 10:47:38 +0000 |
commit | 8873840839811948b2f29175177b91bcf806a3f8 (patch) | |
tree | c0026c70b1984a274454549e70e5af35d57a2ded /spec | |
parent | c364c37c61a8bc111a2a432253ae06f95a47a4ba (diff) | |
parent | 58cff01d7aa267fb23abc0bbad27c1e42d911399 (diff) | |
download | gitlab-ce-8873840839811948b2f29175177b91bcf806a3f8.tar.gz |
Merge branch '49614-dynamic-component-in-report-issue' into 'master'
Make report_issues.vue easily extendable
Closes #49614
See merge request gitlab-org/gitlab-ce!20843
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/vue_shared/components/reports/report_issues_spec.js | 0 | ||||
-rw-r--r-- | spec/javascripts/vue_shared/components/reports/report_section_spec.js | 8 |
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/javascripts/vue_shared/components/reports/report_issues_spec.js b/spec/javascripts/vue_shared/components/reports/report_issues_spec.js deleted file mode 100644 index e69de29bb2d..00000000000 --- a/spec/javascripts/vue_shared/components/reports/report_issues_spec.js +++ /dev/null diff --git a/spec/javascripts/vue_shared/components/reports/report_section_spec.js b/spec/javascripts/vue_shared/components/reports/report_section_spec.js index 07401181ffd..8d5401a9d89 100644 --- a/spec/javascripts/vue_shared/components/reports/report_section_spec.js +++ b/spec/javascripts/vue_shared/components/reports/report_section_spec.js @@ -23,7 +23,7 @@ describe('Report section', () => { describe('computed', () => { beforeEach(() => { vm = mountComponent(ReportSection, { - type: 'codequality', + component: '', status: 'SUCCESS', loadingText: 'Loading codeclimate report', errorText: 'foo', @@ -89,7 +89,7 @@ describe('Report section', () => { describe('when it is loading', () => { it('should render loading indicator', () => { vm = mountComponent(ReportSection, { - type: 'codequality', + component: '', status: 'LOADING', loadingText: 'Loading codeclimate report', errorText: 'foo', @@ -103,7 +103,7 @@ describe('Report section', () => { describe('with success status', () => { beforeEach(() => { vm = mountComponent(ReportSection, { - type: 'codequality', + component: '', status: 'SUCCESS', loadingText: 'Loading codeclimate report', errorText: 'foo', @@ -161,7 +161,7 @@ describe('Report section', () => { describe('with failed request', () => { it('should render error indicator', () => { vm = mountComponent(ReportSection, { - type: 'codequality', + component: '', status: 'ERROR', loadingText: 'Loading codeclimate report', errorText: 'Failed to load codeclimate report', |