1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/lib
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
..
factory_girl Add *_pair methods to create only two records 2013-11-01 17:32:50 -04:00
factory_girl.rb Add global callbacks 2013-02-08 11:24:35 -05:00