config/default.yml in rubocop-rspec-2.14.2 vs config/default.yml in rubocop-rspec-2.15.0

- old
+ new

@@ -10,12 +10,10 @@ inherit_mode: merge: - Expectations - Helpers - Hooks - - HookScopes - - Runners - Subjects ExampleGroups: inherit_mode: merge: - Regular @@ -79,16 +77,10 @@ - append_before - around - prepend_after - after - append_after - HookScopes: - - each - - example - - context - - all - - suite Includes: inherit_mode: merge: - Examples - Context @@ -96,14 +88,10 @@ - it_behaves_like - it_should_behave_like - include_examples Context: - include_context - Runners: - - to - - to_not - - not_to SharedGroups: inherit_mode: merge: - Examples - Context @@ -622,11 +610,16 @@ Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MultipleSubjects RSpec/NamedSubject: Description: Checks for explicitly referenced test subjects. Enabled: true + EnforcedStyle: always + SupportedStyles: + - always + - named_only IgnoreSharedExamples: true VersionAdded: 1.5.3 + VersionChanged: '2.15' StyleGuide: https://rspec.rubystyle.guide/#use-subject Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/NamedSubject RSpec/NestedGroups: Description: Checks for nested example groups.