1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
Commit graph

1 commit

Author SHA1 Message Date
Andy Waite and Josh Clayton
b9e1dde7e8 Add *_pair methods to create only two records
This introduces a set of methods for each build strategy where only two
records are created. Because the *_list methods can create an arbitrary
number (often too high), this introduces *_pair to ensure only two
records are created (and the number 2 doesn't need to be specified in
the call).
2013-11-01 17:32:50 -04:00