Models and rspec

Is this how you usually would handle many to many relationships in a factory? How would I do this if Accounts were required for a user to be created (and would need to be in the :user factory)?