Hi,
I'm trying to write a spec that documents that child.save gets called when parent.save is called. Child has belongs_to :parent.
What is the method that gets called on the child association on parent.save? Can it be mocked?
Thanks, Scott
Hi,
I'm trying to write a spec that documents that child.save gets called when parent.save is called. Child has belongs_to :parent.
What is the method that gets called on the child association on parent.save? Can it be mocked?
Thanks, Scott