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

17 commits

Author SHA1 Message Date
Joe Ferris
c701ae5e55 Moved models into their own file 2008-06-01 11:13:53 -07:00
Joe Ferris
47a6b731cc Added the missing models file 2008-06-01 11:12:40 -07:00
Joe Ferris
fa36b1da4a Added support for sequences 2008-06-01 10:46:50 -07:00
Joe Ferris
6ee6c0282b Fixed the attributes_for build strategy to not build associations 2008-05-31 22:54:19 -07:00
Joe Ferris
f128e87121 Added an integration test 2008-05-31 17:12:57 -07:00
Joe Ferris
05766cc8e9 Added support for dependent attributes 2008-05-31 17:12:33 -07:00
Joe Ferris
7b3936b611 Added the AttributeProxy class and an association method, and added functionality for using AttributeProxy from Factory. This allows lazy generation of associations using the appropriate method. 2008-05-31 15:16:59 -07:00
Joe Ferris
7dcb2241c6 Renamed #attributes to #attributes_for 2008-05-28 22:22:48 -04:00
Joe Ferris
4985bea035 Implemented the top-level Factory method 2008-05-28 22:20:10 -04:00
Joe Ferris
218ed9a055 Added the create, build, and attributes class methods on Factory 2008-05-28 22:09:30 -04:00
Joe Ferris
f6db21769d Defined method_missing on Factory so that attributes can be defined by calling the attribute name as a method 2008-05-28 21:14:57 -04:00
Joe Ferris
312bfa3528 Implemented build and create for Factory 2008-05-28 21:07:51 -04:00
Joe Ferris
d3a5d85485 Implemented add_attribute and attributes for Factory 2008-05-28 20:00:46 -04:00
Joe Ferris
b01006cf37 Created a basic Factory class and implemented Factory.define 2008-05-28 18:54:54 -04:00
Joe Ferris
f453b6467f Added mocha and test/unit as dependencies in test_helper 2008-05-28 18:39:42 -04:00
Joe Ferris
8e63972e6b Added a schema to test with 2008-05-28 18:28:02 -04:00
Joe Ferris
6a553ca10d Created a project skeleton with the Factory class 2008-05-28 18:20:25 -04:00