Fix association reference in example

This commit is contained in:
Steve Agalloco 2012-10-29 13:59:22 -03:00
parent 41e1ff7cd6
commit 71c13363a3
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,7 @@ factory :post do
end
# creates an admin user with name "John Doe"
FactoryGirl.create(:post).user
FactoryGirl.create(:post).author
```
Callbacks
---------