diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2018-01-09 01:07:52 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2018-01-09 01:07:52 +0000 |
commit | 7b2f9af4486b26512a2fefb3f385a2b8fa65a068 (patch) | |
tree | b2263f9ce33881743453478bd9f926de9b2d4962 | |
parent | bd50ecbad8c00e7c9ab5c60fa8bc839a8905b4ab (diff) | |
parent | 365c0c6371896aecb5713ba40aa9e87a29b3b7d5 (diff) | |
download | gitlab-ce-7b2f9af4486b26512a2fefb3f385a2b8fa65a068.tar.gz |
Merge branch 'improve-table-pagination-spec' into 'master'
Improve table pagination spec
See merge request gitlab-org/gitlab-ce!16099
-rw-r--r-- | spec/javascripts/vue_shared/components/table_pagination_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/vue_shared/components/table_pagination_spec.js b/spec/javascripts/vue_shared/components/table_pagination_spec.js index 1465ef5855f..b3b5dd1d10a 100644 --- a/spec/javascripts/vue_shared/components/table_pagination_spec.js +++ b/spec/javascripts/vue_shared/components/table_pagination_spec.js @@ -32,7 +32,7 @@ describe('Pagination component', () => { change: spy, }); - expect(component.$el.innerHTML).not.toBeDefined(); + expect(component.$el.childNodes.length).toEqual(0); }); describe('prev button', () => { |