Skip to content

Commit

Permalink
Merge pull request #6555 from dmarcoux/disable-rubocop-rspec-multiple…
Browse files Browse the repository at this point in the history
…-expectations

Disable RuboCop RSpec/MultipleExpectations for feature specs
  • Loading branch information
hennevogel committed Dec 10, 2018
2 parents bc2949d + d717415 commit b75436b
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 b75436b

Please sign in to comment.