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

Disable empty expect cop

Oliver Güntherf2adbcb37156
diff --git a/.rubocop.yml b/.rubocop.yml
index 53cd5233ddf..e75e366b760 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -165,6 +165,11 @@ RSpec/ExampleLength:
- 'spec/features/**/*.rb'
- 'modules/*/spec/features/**/*.rb'
+# We have specs that have no expect(..) syntax,
+# but only helper classes that expect themselves
+RSpec/NoExpectationExample:
+ Enabled: false
+
RSpec/DescribeClass:
Enabled: true
Exclude: