Mark as code for association strategy
This is a very small documentation fix for clarity.
This commit is contained in:
parent
f82e40c8c5
commit
41b8ea8cfd
|
@ -387,7 +387,7 @@ post.new_record? # => true
|
|||
post.author.new_record? # => false
|
||||
```
|
||||
|
||||
To not save the associated object, specify strategy: :build in the factory:
|
||||
To not save the associated object, specify `strategy: :build` in the factory:
|
||||
|
||||
```ruby
|
||||
FactoryBot.use_parent_strategy = false
|
||||
|
|
Loading…
Reference in New Issue