Skip to content

Commit

Permalink
Disable RuboCop RSpec/MultipleExpectations for feature specs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarcoux committed Dec 10, 2018
1 parent bc2949d commit d717415
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/api/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ RSpec/FilePath:
Exclude:
- 'spec/models/obs_factory/distribution_strategy_opensuse_leap15_spec.rb'

# We sometimes have a lot of expectations when testing complete workflows
RSpec/MultipleExpectations:
Exclude:
- 'spec/features/**/*.rb'
- 'spec/bootstrap/features/**/*.rb'

Rails/HasAndBelongsToMany:
Enabled: false

Expand Down

0 comments on commit d717415

Please sign in to comment.