> Oh you want me to do more than mouth off? ;-X
> 
> I'd do something along these lines:
> 
> https://gist.github.com/1172955
right, so that ends up being similar to what Malc suggested by using stub_chain.

It still feels a bit too close to testing the implementation of the method than 
I would like but as long as you have a sensible method that isn't crossing 
multiple associations it shouldn't be too brittle in the long run.

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