laracasts/TestDummy — pull request #52 by devinfd (2014-12-20 00:42:14+00:00)
Title: persist method was not passing attributes to relationships

Two issues.

1) $attributes variable was declared in the method and thus overriding anything passed in by the user.
2) Attributes were not being passed to the persist method for any child/relationship factories and thus child attributes were not being overwritten.

Thanks for the update!