```ruby
RSpec.configure do |config|
  config.include FactoryBot::Syntax::Methods
end
```

Use parent strategy for factories
user
```ruby
FactoryBot.use_parent_strategy = true

RSpec.configure do |config|
  config.include FactoryBot::Syntax::Methods
end
```
assistant