[rspec-users] AfterCurrentScenario block

Mark Wilden mark at mwilden.com
Fri Apr 17 12:54:58 EDT 2009

On Fri, Apr 17, 2009 at 9:06 AM, Matt Wynne <matt at mattwynne.net> wrote:
> If you're interested, our use case is for pagination, where we explicitly
> set the length of a page to something much shorter than the default in a
> step, so that we only have to create a small number of objects to spill over
> onto another page.

Is this necessary? I mean, is the page length so long that creating
that many objects takes appreciably longer than otherwise?

I like to leave such values as page length alone in a scenario,
because that's part of the user requirement (if not a vitally
important one).


More information about the rspec-users mailing list