diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-10-04 11:02:52 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-10-05 11:42:55 +0200 |
commit | d6e0738098dea1b243280f857ed05c68ad5a8397 (patch) | |
tree | 85d649579804a54b8f3f394d9519578e6ab0fd68 /spec/javascripts/pipelines | |
parent | 08cc88f9cecb626ba3f877dd52dd3666add1b434 (diff) | |
download | gitlab-ce-d6e0738098dea1b243280f857ed05c68ad5a8397.tar.gz |
Fix syntax error in forntend pipeline specs
Diffstat (limited to 'spec/javascripts/pipelines')
-rw-r--r-- | spec/javascripts/pipelines/pipeline_url_spec.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/javascripts/pipelines/pipeline_url_spec.js b/spec/javascripts/pipelines/pipeline_url_spec.js index 260eb802bd4..c40842f80b4 100644 --- a/spec/javascripts/pipelines/pipeline_url_spec.js +++ b/spec/javascripts/pipelines/pipeline_url_spec.js @@ -135,12 +135,13 @@ describe('Pipeline Url Component', () => { flags: { failure_reason: true, }, - failure_reason: 'some reason' + failure_reason: 'some reason', }, + autoDevopsHelpPath: 'foo', }, }).$mount(); expect(component.$el.querySelector('.js-pipeline-url-failure').textContent).toContain('error'); - expect(component.$el.querySelector('.js-pipeline-url-failure').getAttribute('title').toContain('some reason'); + expect(component.$el.querySelector('.js-pipeline-url-failure').getAttribute('title')).toContain('some reason'); }); }); |