# These shared examples expect a `snippets` array of snippetsRSpec.shared_examples'paginated snippets'do|remote: false|it"is limited to #{Snippet.default_per_page} items per page"doexpect(page.all('.snippets-list-holder .snippet-row').count).toeq(Snippet.default_per_page)endcontext'clicking on the link to the second page'dobeforedoclick_link('2')