Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 53 lines (33 sloc) 1.362 kB
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
1 factory_girl
2 ============
dd737af @jferris Added Rails 3 integration
jferris authored
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
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
10 Rails
11 -----
dd737af @jferris Added Rails 3 integration
jferris authored
12
13 factory_girl_rails provides Rails integration for factory_girl. All
14 Rails-specific features are only compatible with Rails 3.
15
16 Currenty, automatic factory definition loading is the only Rails-specific feature.
17
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
18 Download
19 --------
dd737af @jferris Added Rails 3 integration
jferris authored
20
21 Github: http://github.com/thoughtbot/factory_girl_rails/tree/master
22
23 Gem:
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
24 gem install factory_girl_rails
dd737af @jferris Added Rails 3 integration
jferris authored
25
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
26 Configuration
27 -------------
dd737af @jferris Added Rails 3 integration
jferris authored
28
29 Add factory_girl Rails to your Gemfile:
30
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
31 gem 'factory_girl_rails'
dd737af @jferris Added Rails 3 integration
jferris authored
32
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
33 More Information
34 ----------------
dd737af @jferris Added Rails 3 integration
jferris authored
35
36 factory_girl: http://github.com/thoughtbot/factory_girl/tree/master
37
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
38 Credits
39 -------
dd737af @jferris Added Rails 3 integration
jferris authored
40
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
41 factory_girl was originally written by Joe Ferris
dd737af @jferris Added Rails 3 integration
jferris authored
42
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
43 ![thoughtbot](http://thoughtbot.com/images/tm/logo.png)
dd737af @jferris Added Rails 3 integration
jferris authored
44
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
45 factory_girl is maintained and funded by [thoughtbot, inc](http://thoughtbot.com/community)
46
47 The names and logos for thoughtbot are trademarks of thoughtbot, inc.
48
49 License
50 -------
51
52 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.