have_at_least(n) public

Exactly like have() with >=.

Warning

should_not have_at_least is not supported

Show source
Register or log in to add new notes.
February 2, 2009
1 thank

usage

code

@items = Item.find(:all)
@items.should have_at_least(1).item