Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

need a rule to match x or more models

#32

It would be great to add this rule so we can also match, e.g. 5 or more models

find more than n models

Then(/^(\d+) or more #{capture_plural_factory} should exist(?: with #{capture_fields})?$/) do |count, plural_factory, fields|
find_models(plural_factory.singularize, fields).size.should >= count.to_i end

Reported by Silvia Pfeiffer · September 20th, 2010 @ 04:30 AM

State: new
Milestone: none
Assigned to: Ian White Ian White

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.