Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Exclude feature specs from RSpec/DescribeClass rule in rubocop

Benjamin Bädorf02d5fac648b5
diff --git a/.rubocop.yml b/.rubocop.yml
index c0752191094..0ae3ac071dc 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -137,6 +137,12 @@ RSpec/ExampleLength:
- 'spec/features/**/*.rb'
- 'modules/*/spec/features/**/*.rb'
+RSpec/DescribeClass:
+ Enabled: true
+ Exclude:
+ - 'spec/features/**/*.rb'
+ - 'modules/*/spec/features/**/*.rb'
+
# See RSpec/ExampleLength for why feature specs are excluded
RSpec/MultipleExpectations:
Max: 15