config/default.yml in rubocop-rspec-1.33.0 vs config/default.yml in rubocop-rspec-1.34.0
- old
+ new
@@ -48,11 +48,11 @@
- spec/rails_helper.rb
- spec/support/**/*.rb
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeforeAfterAll
RSpec/ContextWording:
- Description: "`context` block descriptions should start with 'when', or 'with'."
+ Description: Checks that `context` docstring starts with an allowed prefix.
Enabled: true
Prefixes:
- when
- with
- without
@@ -248,9 +248,14 @@
RSpec/LeadingSubject:
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/LeakyConstantDeclaration:
+ Description: Checks that no class, module, or constant is declared.
+ Enabled: true
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LeakyConstantDeclaration
RSpec/LetBeforeExamples:
Description: Checks for `let` definitions that come after an example.
Enabled: true
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LetBeforeExamples