rubocop-rspec.yml in gitlab-styles-13.0.0 vs rubocop-rspec.yml in gitlab-styles-13.0.1
- old
+ new
@@ -66,9 +66,14 @@
# Checks for long example.
RSpec/ExampleLength:
Enabled: false
Max: 5
+# Avoid `it do` instead use `specify do`
+RSpec/ExampleWithoutDescription:
+ Enabled: true
+ EnforcedStyle: single_line_only
+
# Do not use should when describing your tests.
RSpec/ExampleWording:
Enabled: true
CustomTransform:
be: is