rubocop-rspec.yml in gitlab-styles-8.0.0 vs rubocop-rspec.yml in gitlab-styles-9.0.0
- old
+ new
@@ -32,15 +32,10 @@
Enabled: true
# Checks if an example group does not include any tests.
RSpec/EmptyExampleGroup:
Enabled: true
- CustomIncludeMethods:
- - run_permission_checks
- - run_group_permission_checks
- - it_should_email!
- - it_should_not_email!
# Checks if there is an empty line after let blocks.
RSpec/EmptyLineAfterLetBlock:
Enabled: true
@@ -157,5 +152,18 @@
Enabled: false
# Prefer using verifying doubles over normal doubles.
RSpec/VerifiedDoubles:
Enabled: true
+
+RSpec:
+ Language:
+ Helpers:
+ - let_it_be
+ - let_it_be_with_refind
+ - let_it_be_with_reload
+ Includes:
+ Examples:
+ - run_permission_checks
+ - run_group_permission_checks
+ - it_should_email!
+ - it_should_not_email!