Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 66 lines (39 sloc) 1.597 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
b3f8ac8 @gabebw Typos and formatting
gabebw authored
16 Currently, automatic factory definition loading is the only Rails-specific feature.
dd737af @jferris Added Rails 3 integration
jferris authored
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:
b3f8ac8 @gabebw Typos and formatting
gabebw authored
24
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
25 gem install factory_girl_rails
dd737af @jferris Added Rails 3 integration
jferris authored
26
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
27 Configuration
28 -------------
dd737af @jferris Added Rails 3 integration
jferris authored
29
b3f8ac8 @gabebw Typos and formatting
gabebw authored
30 Add factory_girl_rails to your Gemfile:
dd737af @jferris Added Rails 3 integration
jferris authored
31
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
32 gem 'factory_girl_rails'
dd737af @jferris Added Rails 3 integration
jferris authored
33
811fd04 @gabebw Edited README.md via GitHub
gabebw authored
34 Cucumber Integration
35 --------------------
36
37 factory_girl ships with step definitions for Cucumber integration. For more information, see the factory_girl README.
38
39
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
40 More Information
41 ----------------
dd737af @jferris Added Rails 3 integration
jferris authored
42
43 factory_girl: http://github.com/thoughtbot/factory_girl/tree/master
44
b3f8ac8 @gabebw Typos and formatting
gabebw authored
45
19bf281 @mike-burns Add a document describing how to contribute.
mike-burns authored
46 Contributing
47 ------------
48
49 Please see CONTRIBUTING.md for details.
50
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
51 Credits
52 -------
dd737af @jferris Added Rails 3 integration
jferris authored
53
b3f8ac8 @gabebw Typos and formatting
gabebw authored
54 factory_girl was originally written by Joe Ferris.
dd737af @jferris Added Rails 3 integration
jferris authored
55
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
56 ![thoughtbot](http://thoughtbot.com/images/tm/logo.png)
dd737af @jferris Added Rails 3 integration
jferris authored
57
8a42114 convert readme to markdown and add license and credits
Chad Pytel authored
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.