RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

BDD way pagination from BDDCasts

You saw in the previous episode how to spec and implement a list of Twitter results. In this episode you can see how to write Cucumber features and specs for “pagination” to check that only the required models make it to the view. Although will_paginate gem handles most of the pagination logic, you still need to handle the order of the results. Watch this episode to see how you can do this the BDD way.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in