config/rspec.yml in rubocop-govuk-3.14.0 vs config/rspec.yml in rubocop-govuk-3.15.0
- old
+ new
@@ -33,5 +33,15 @@
#
# We should avoid cops that are based on heuristics, since
# it's not clear what action to take to fix an issue.
RSpec/NestedGroups:
Enabled: false
+
+# Nested contexts make more sense with "and" or "but", since
+# they are a refinement of an outer context.
+RSpec/ContextWording:
+ Prefixes:
+ - when
+ - with
+ - without
+ - and
+ - but