1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00

Fix Markdown Syntax in GETTING STARTED.md

This commit is contained in:
Rena Hamada 2019-07-29 23:29:14 +09:00 committed by Daniel Colson
parent 5a3247dd8c
commit ca810767e7

View file

@ -510,7 +510,7 @@ create(:profile_with_languages, languages_count: 15).languages.length # 15
Polymorphic associations can be handled with traits:
```
```ruby
FactoryBot.define do
factory :video
factory :photo
@ -531,7 +531,7 @@ end
This allows us to do:
```
```ruby
create(:comment)
create(:comment, :for_video)
create(:comment, :for_photo)