Two typos fix in GETTING_STARTED

This commit is contained in:
Paweł Gościcki 2012-10-15 12:11:04 +03:00 committed by Joshua Clayton
parent 488e42d77b
commit 451457600b
1 changed files with 2 additions and 2 deletions

View File

@ -662,7 +662,7 @@ factory :post do
association :user, :admin, name: 'John Doe'
end
# creates an admin user with named "John Doe"
# creates an admin user with name "John Doe"
FactoryGirl.create(:post).user
```
@ -683,7 +683,7 @@ factory :post do
association :author, factory: [:user, :admin], name: 'John Doe'
end
# creates an admin user with named "John Doe"
# creates an admin user with name "John Doe"
FactoryGirl.create(:post).user
```
Callbacks