On 11/1/05, obscured by code <javierg1975 / gmail.com> wrote:
>
> test_method :add_item => [:item4] do
>         requires {@items = [:item1, :item2, :item3]}
>         assert {size == 4}
> end
...
> Again, I'm very open to suggestions.

What about:

test_method :add_item => [:item4] do
        before {@items = [:item1, :item2, :item3]}
        after {size == 4}
end

Or variations thereof.

Ryan