method
have_at_least
1.2.8 -
Show latest stable
- Class:
Spec::Matchers
have_at_least(n)public
1Note
usage
== code @items = Item.find(:all) @items.should have_at_least(1).item
have_at_least(n)== code @items = Item.find(:all) @items.should have_at_least(1).item