> Also, I like the principle that I shouldn't be testing simple named
> scopes - that is functionality you get from Rails and is tested there
> already. In the same way that a unit test stubs out its collaborators,
> I am happy to stub out something that is unit tested inside the Rails
> framework.

So with that in mind how would you go about writing a unit test for
the example that I gave at the top of this thread?

Scott

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to