Use model association

Hi All,

Regarding this tip
http://rails-bestpractices.com/posts/2-use-model-association How to stub
the
Post model if it was to be created using build method?

Thanks,
Adinda