We struggled with this for some time. We were trying to call it "200
squeeks in sequence" and we couldn't figure out the regexp to make it not
call the step definition for "200 #{model_name}". We kept getting errors
for not finding the table "squeeks_in_sequence"

As for setting up kaminari, you're saying to set the default per page to
something much lower for tests?

-Mike


On Thu, Feb 13, 2014 at 8:44 AM, Eliza Brock <notifications@github.com>wrote:

> In features/pagination.feature:
>
> > +
> > +  # test that the number of squeeks per page is limited
> > +  Scenario:
> > +    Given 200 squeeks
> > +    When I go to the homepage
> > +    Then I should see 25 squeeks
> > +
> > +  # test that pagination links are displayed
> > +  Scenario:
> > +    Given 200 squeeks
> > +    When I go to the homepage
> > +    Then I should see pagination links
> > +
> > +  # test that the right squeeks are displayed for the first page
> > +  Scenario:
> > +    Given sequential 200 squeeks
>
> Rather than saying "sequential 200 squeeks", you might instead say "200
> sequential squeeks" and have a :sequential_squeeks fabricator that uses
> sequences to name the squeeks in order (similar to what we used for emails).
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/elizabrock/nss-squawker/pull/3/files#r9710792>
> .
>