Fix association reference in example
This commit is contained in:
parent
41e1ff7cd6
commit
71c13363a3
|
@ -684,7 +684,7 @@ factory :post do
|
||||||
end
|
end
|
||||||
|
|
||||||
# creates an admin user with name "John Doe"
|
# creates an admin user with name "John Doe"
|
||||||
FactoryGirl.create(:post).user
|
FactoryGirl.create(:post).author
|
||||||
```
|
```
|
||||||
Callbacks
|
Callbacks
|
||||||
---------
|
---------
|
||||||
|
|
Loading…
Reference in New Issue