SupportBee / Backbone-Factory

A factory for creating backbone objects for testing
86 stars 20 forks source link

Adding create_list method for creating lists/array of objects #3

Open quidproquo opened 11 years ago

unamashana commented 11 years ago

Thanks for the pull request. So this helps you create multiple model instances in one call? Can you explain a usecase where you would need this? Thanks!

quidproquo commented 11 years ago

No prob, I use create_list which is available in factory girl quite often, the fix I put in for Backbone Factory cause I've started to need the same functionality when testing views that use multiple models to render multiple subviews.

On Tue, Nov 27, 2012 at 8:30 PM, Prateek Dayal notifications@github.comwrote:

Thanks for the pull request. So this helps you create multiple model instances in one call? Can you explain a usecase where you would need this? Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/SupportBee/Backbone-Factory/pull/3#issuecomment-10786011.