diff options
| author | Filipa Lacerda <filipa@gitlab.com> | 2018-01-09 11:58:34 +0000 |
|---|---|---|
| committer | Filipa Lacerda <filipa@gitlab.com> | 2018-01-09 11:58:34 +0000 |
| commit | 601dc0d8b3ae08f688653df1019f2f31e020b598 (patch) | |
| tree | 5a1926c52bc98725c1254950c39be6498b977748 /spec/javascripts/registry | |
| parent | 1e420c94421c569ae7d428ae2fe6e26671036180 (diff) | |
| download | gitlab-ce-601dc0d8b3ae08f688653df1019f2f31e020b598.tar.gz | |
Fix broken specs
Diffstat (limited to 'spec/javascripts/registry')
| -rw-r--r-- | spec/javascripts/registry/components/app_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/registry/components/app_spec.js b/spec/javascripts/registry/components/app_spec.js index 43e7d9e1224..87259fe0bab 100644 --- a/spec/javascripts/registry/components/app_spec.js +++ b/spec/javascripts/registry/components/app_spec.js @@ -89,7 +89,7 @@ describe('Registry List', () => { it('should render empty message', (done) => { setTimeout(() => { expect( - vm.$el.querySelector('p').textContent.trim(), + vm.$el.querySelector('p').textContent.trim().replace(/[\r\n]+/g, ' '), ).toEqual('No container images stored for this project. Add one by following the instructions above.'); done(); }, 0); |
