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

Merge branch 'release/11.2' into dev

ulfertsa9a911d29c22
diff --cc .rubocop.yml
index 2327f5a2fa6,51108b0d328..5bc1a652c4a
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@@ -101,14 -95,24 +101,31 @@@ Naming/PredicateName
ForbiddenPrefixes:
- is_
+ # For feature specs, we tend to have longer specs that cover a larger part of the functionality.
+ # This is done for multiple reasons:
+ # * performance, as setting up integration tests is costly
+ # * following a scenario that is closer to how a user interacts
+ RSpec/ExampleLength:
+ Enabled: true
+ Exclude:
+ - 'spec/features/**/*.rb'
+ - 'modules/*/spec/features/**/*.rb'
+
+ # See RSpec/ExampleLength for why feature specs are excluded
+ RSpec/MultipleExpectations
+ Enabled: true
+ Exclude:
+ - 'spec/features/**/*.rb'
+ - 'modules/*/spec/features/**/*.rb'
+
+# There are valid cases in which to use methods like:
+# * update_all
+# * touch_all
+Rails/SkipsModelValidations:
+ Enabled: false
+
+
Style/Alias:
Enabled: false