Skip to content
This repository
Newer
Older
100644 65 lines (39 sloc) 1.623 kb
8a421148 » Chad Pytel
2011-01-19 convert readme to markdown and add license and credits
1 factory_girl
2 ============
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
3
4 factory_girl is a fixtures replacement with a straightforward definition
5 syntax, support for multiple build strategies (saved instances, unsaved
6 instances, attribute hashes, and stubbed objects), and support for multiple
7 factories for the same class (user, admin_user, and so on), including factory
8 inheritance.
9
8a421148 » Chad Pytel
2011-01-19 convert readme to markdown and add license and credits
10 Rails
11 -----
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
12
13 factory_girl_rails provides Rails integration for factory_girl. All
14 Rails-specific features are only compatible with Rails 3.
15
b3f8ac81 » gabebw
2011-07-28 Typos and formatting
16 Currently, automatic factory definition loading is the only Rails-specific feature.
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
17
8a421148 » Chad Pytel
2011-01-19 convert readme to markdown and add license and credits
18 Download
19 --------
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
20
21 Github: http://github.com/thoughtbot/factory_girl_rails/tree/master
22
23 Gem:
b3f8ac81 » gabebw
2011-07-28 Typos and formatting
24
8a421148 » Chad Pytel
2011-01-19 convert readme to markdown and add license and credits
25 gem install factory_girl_rails
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
26
8a421148 » Chad Pytel
2011-01-19 convert readme to markdown and add license and credits
27 Configuration
28 -------------
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
29
b3f8ac81 » gabebw
2011-07-28 Typos and formatting
30 Add factory_girl_rails to your Gemfile:
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
31
8a421148 » Chad Pytel
2011-01-19 convert readme to markdown and add license and credits
32 gem 'factory_girl_rails'
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
33
811fd044 » gabebw
2011-07-28 Edited README.md via GitHub
34 Cucumber Integration
35 --------------------
36
cec108db » gabebw
2011-07-28 Edited README.md via GitHub
37 factory_girl ships with step definitions for Cucumber integration. For more information, see the GETTING_STARTED file in the factory_girl repo.
811fd044 » gabebw
2011-07-28 Edited README.md via GitHub
38
39
8a421148 » Chad Pytel
2011-01-19 convert readme to markdown and add license and credits
40 More Information
41 ----------------
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
42
43 factory_girl: http://github.com/thoughtbot/factory_girl/tree/master
44
b3f8ac81 » gabebw
2011-07-28 Typos and formatting
45
19bf2818 » mike-burns
2011-07-22 Add a document describing how to contribute.
46 Contributing
47 ------------
48
49 Please see CONTRIBUTING.md for details.
50
8a421148 » Chad Pytel
2011-01-19 convert readme to markdown and add license and credits
51 Credits
52 -------
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
53
b3f8ac81 » gabebw
2011-07-28 Typos and formatting
54 factory_girl was originally written by Joe Ferris.
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
55
8a421148 » Chad Pytel
2011-01-19 convert readme to markdown and add license and credits
56 ![thoughtbot](http://thoughtbot.com/images/tm/logo.png)
dd737af0 » jferris
2010-06-09 Added Rails 3 integration
57
8a421148 » Chad Pytel
2011-01-19 convert readme to markdown and add license and credits
58 factory_girl is maintained and funded by [thoughtbot, inc](http://thoughtbot.com/community)
59
60 The names and logos for thoughtbot are trademarks of thoughtbot, inc.
61
62 License
63 -------
64
65 factory_girl is Copyright © 2008-2011 Joe Ferris and thoughtbot. It is free software, and may be redistributed under the terms specified in the LICENSE file.
Something went wrong with that request. Please try again.