Update rspec syntax from should to expect.
Add custom block for paginate collection