mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
fix typo in GETTING_STARTED
This commit is contained in:
parent
aa81d2f96f
commit
4682ab0701
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ Custom Construction
|
|||
If you want to use factory_girl to construct an object where some attributes
|
||||
are passed to `initialize` or if you want to do something other than simply
|
||||
calling `new` on your build class, you can override the default behavior by
|
||||
defining `to_initialize` on your factory. Example:
|
||||
defining `initialize_with` on your factory. Example:
|
||||
|
||||
```ruby
|
||||
# user.rb
|
||||
|
|
Loading…
Reference in a new issue