---
# System prepended metadata

title: RSpec-rails
tags: [Rails, RSpec]

---

# RSpec-rails
###### tags: `Rails` `RSpec`

spec_helper.rb
```ruby=
RSpec.configure do |config|
  ...
  config.default_formatter = "doc"
  ...
end
```



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