config/default.yml in rubocop-rspec-1.26.0 vs config/default.yml in rubocop-rspec-1.27.0
- old
+ new
@@ -91,15 +91,25 @@
Description: Checks if an example group does not include any tests.
Enabled: true
CustomIncludeMethods: []
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyExampleGroup
+RSpec/EmptyLineAfterExampleGroup:
+ Description: Checks if there is an empty line after example group blocks.
+ Enabled: true
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterExampleGroup
+
RSpec/EmptyLineAfterFinalLet:
Description: Checks if there is an empty line after the last let block.
Enabled: true
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterFinalLet
+RSpec/EmptyLineAfterHook:
+ Description: Checks if there is an empty line after hook blocks.
+ Enabled: true
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterHook
+
RSpec/EmptyLineAfterSubject:
Description: Checks if there is an empty line after subject block.
Enabled: true
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterSubject
@@ -213,10 +223,10 @@
- it_behaves_like
- it_should_behave_like
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ItBehavesLike
RSpec/LeadingSubject:
- Description: Checks for `subject` definitions that come after `let` definitions.
+ Description: Enforce that subject is the first definition in the test.
Enabled: true
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LeadingSubject
RSpec/LetBeforeExamples:
Description: Checks for `let` definitions that come after an example.