Appease rubocop.

This commit is contained in:
Todd Eichel 2016-05-27 15:09:59 -07:00
parent c58f44d9a3
commit 73608f8ca1
No known key found for this signature in database
GPG Key ID: F9BFFDFEC16FD5E9
1 changed files with 3 additions and 3 deletions

View File

@ -446,11 +446,11 @@ EOS
end
context 'with pagination' do
let(:context) { make_context({}, { 'paginator' => paginator }) }
let(:context) { make_context({}, 'paginator' => paginator) }
it 'outputs pagination links' do
expect(output).to match(%r{<link rel="prev" href="foo">})
expect(output).to match(%r{<link rel="next" href="bar">})
expect(output).to match(/<link rel="prev" href="foo">/)
expect(output).to match(/<link rel="next" href="bar">/)
end
end
end