mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Fix indentation in GETTING_STARTED.md
Just happened upon this while reading.
This commit is contained in:
parent
131d7791c5
commit
f54a653551
1 changed files with 2 additions and 2 deletions
|
@ -592,12 +592,12 @@ Attribute overrides can be used to link associated objects:
|
|||
```ruby
|
||||
FactoryBot.define do
|
||||
factory :author do
|
||||
author_last_name { 'Taylor' }
|
||||
author_last_name { 'Taylor' }
|
||||
end
|
||||
|
||||
factory :post do
|
||||
author
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
eunji = build(:author, name: 'Eunji')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue