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