Some minor conveniences for using factory_girl on a Rails project
License
technicalpickles/factory_girl_on_rails
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
factory_girl_on_rails ===================== THIS PLUGIN IS DEPRECATED AS OF FEBURARY 15, 2009: factory_girl now automatically loads factories, and it's trivial to create factory definitions by hand, so there's no need for this plugin. 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
About
Some minor conveniences for using factory_girl on a Rails project
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published