config/default.yml in rubocop-rspec-1.10.0 vs config/default.yml in rubocop-rspec-1.11.0
- old
+ new
@@ -7,10 +7,14 @@
RSpec/AnyInstance:
Description: Check that instances are not being stubbed globally.
Enabled: true
+RSpec/AroundBlock:
+ Description: Checks that around blocks actually run the test.
+ Enabled: true
+
RSpec/BeEql:
Description: Check for expectations where `be(...)` can replace `eql(...)`.
Enabled: true
RSpec/DescribeClass:
@@ -19,9 +23,13 @@
RSpec/DescribedClass:
Description: Checks that tests use `described_class`.
SkipBlocks: false
Enabled: true
+ EnforcedStyle: described_class
+ SupportedStyles:
+ - described_class
+ - explicit
RSpec/DescribeMethod:
Description: Checks that the second argument to `describe` specifies a method.
Enabled: true