Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 58 lines (36 sloc) 1.43 kb
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
1 factory_girl
2 ============
dd737af Joe Ferris 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 Joe Ferris 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 Joe Ferris 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 Joe Ferris Added Rails 3 integration
jferris authored
25
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
26 Configuration
27 -------------
dd737af Joe Ferris 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 Joe Ferris 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 Joe Ferris Added Rails 3 integration
jferris authored
35
36 factory_girl: http://github.com/thoughtbot/factory_girl/tree/master
37
19bf281 Mike Burns Add a document describing how to contribute.
mike-burns authored
38 Contributing
39 ------------
40
41 Please see CONTRIBUTING.md for details.
42
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
43 Credits
44 -------
dd737af Joe Ferris Added Rails 3 integration
jferris authored
45
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
46 factory_girl was originally written by Joe Ferris
dd737af Joe Ferris Added Rails 3 integration
jferris authored
47
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
48 ![thoughtbot](http://thoughtbot.com/images/tm/logo.png)
dd737af Joe Ferris Added Rails 3 integration
jferris authored
49
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
50 factory_girl is maintained and funded by [thoughtbot, inc](http://thoughtbot.com/community)
51
52 The names and logos for thoughtbot are trademarks of thoughtbot, inc.
53
54 License
55 -------
56
57 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.