diff options
| author | Tim Zallmann <tzallmann@gitlab.com> | 2017-09-22 08:39:47 +0000 |
|---|---|---|
| committer | Phil Hughes <me@iamphill.com> | 2017-09-22 08:39:47 +0000 |
| commit | 55f772bb98a67ad346442a2cacb5646f6719b987 (patch) | |
| tree | fdcda42d5ee9c746b5654a50fa88a0fd1464d3a8 /spec/javascripts/pipelines | |
| parent | d103e95513704314a38ab8ae441851524031c4a1 (diff) | |
| download | gitlab-ce-55f772bb98a67ad346442a2cacb5646f6719b987.tar.gz | |
Resolve "Better SVG Usage in the Frontend"
Diffstat (limited to 'spec/javascripts/pipelines')
| -rw-r--r-- | spec/javascripts/pipelines/empty_state_spec.js | 1 | ||||
| -rw-r--r-- | spec/javascripts/pipelines/error_state_spec.js | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/spec/javascripts/pipelines/empty_state_spec.js b/spec/javascripts/pipelines/empty_state_spec.js index bb47a28d9fe..6611b74594f 100644 --- a/spec/javascripts/pipelines/empty_state_spec.js +++ b/spec/javascripts/pipelines/empty_state_spec.js @@ -11,6 +11,7 @@ describe('Pipelines Empty State', () => { component = new EmptyStateComponent({ propsData: { helpPagePath: 'foo', + emptyStateSvgPath: 'foo', }, }).$mount(); }); diff --git a/spec/javascripts/pipelines/error_state_spec.js b/spec/javascripts/pipelines/error_state_spec.js index f667d351f72..a402857a4d1 100644 --- a/spec/javascripts/pipelines/error_state_spec.js +++ b/spec/javascripts/pipelines/error_state_spec.js @@ -8,7 +8,11 @@ describe('Pipelines Error State', () => { beforeEach(() => { ErrorStateComponent = Vue.extend(errorStateComp); - component = new ErrorStateComponent().$mount(); + component = new ErrorStateComponent({ + propsData: { + errorStateSvgPath: 'foo', + }, + }).$mount(); }); it('should render error state SVG', () => { |
