This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 95de23aec4f2d3cce02f731339af790b637e3a10
tree 954b646e7edb07ab2f59c51d019e913cb22b4cdb
parent 0d738eef66951225c16dee41406c63b496b6ea4b
tree 954b646e7edb07ab2f59c51d019e913cb22b4cdb
parent 0d738eef66951225c16dee41406c63b496b6ea4b
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Tue Aug 12 09:24:44 -0700 2008 | |
| |
README | ||
| |
init.rb | ||
| |
rails_generators/ |
README
factory_girl_on_rails
=====================
factory_girl_on_rails provides some minor creature comforts for using factory_girl on a Rails project:
* Automatically load factories in RAILS_ROOT/test/factories
* A generator for putting new factories in RAILS_ROOT/test/factories
Installing
==========
script/plugin install git://github.com/technicalpickles/factory_girl_on_rails.git
Example
=======
After installing this plugin, you just start using factories in RAILS_ROOT/test/factories.
As a convenience, a factory generator is provided:
`./script/generate factory account`
creates an Account factory: test/factories/account_factory.rb
`./script/generate factory post title:string body:text published:boolean`
creates a Post factory with a string title, text body, and published flag.
Copyright
=========
Copyright (c) 2008 Josh Nichols, released under the MIT license








