Nested factories

Updated: 

Learn how to use nested factories in Ruby on Rails testing to create complex, related objects efficiently and improve your test suite organization.