Fix documentation around using composition with an existing strategy

This commit is contained in:
Joshua Clayton 2012-04-24 15:13:04 -05:00
parent f27a43ff8e
commit bb00c918e3
1 changed files with 1 additions and 1 deletions

View File

@ -778,7 +778,7 @@ executes the `to_create` callback defined on the factory.
To understand how factory\_girl uses strategies internally, it's probably
easiest to just view the source for each of the four default strategies.
Inheritance can occasionally be useful; here's an example of inheriting from
Here's an example of composing a strategy using
`FactoryGirl::Strategy::Create` to build a JSON representation of your model.
```ruby