@@ -146,15 +146,15 @@ RSpec/Be:
146
146
147
147
RSpec/BeEmpty :
148
148
Description : Prefer using `be_empty` when checking for an empty array.
149
- Enabled : pending
149
+ Enabled : true
150
150
AutoCorrect : contextual
151
151
VersionAdded : ' 2.20'
152
152
VersionChanged : " <<next>>"
153
153
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEmpty
154
154
155
155
RSpec/BeEq :
156
156
Description : Check for expectations where `be(...)` can replace `eq(...)`.
157
- Enabled : pending
157
+ Enabled : true
158
158
Safe : false
159
159
VersionAdded : 2.9.0
160
160
VersionChanged : ' 2.16'
@@ -170,7 +170,7 @@ RSpec/BeEql:
170
170
171
171
RSpec/BeNil :
172
172
Description : Ensures a consistent style is used when matching `nil`.
173
- Enabled : pending
173
+ Enabled : true
174
174
EnforcedStyle : be_nil
175
175
SupportedStyles :
176
176
- be
@@ -193,7 +193,7 @@ RSpec/BeforeAfterAll:
193
193
194
194
RSpec/ChangeByZero :
195
195
Description : Prefer negated matchers over `to change.by(0)`.
196
- Enabled : pending
196
+ Enabled : true
197
197
VersionAdded : ' 2.11'
198
198
VersionChanged : ' 2.14'
199
199
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ChangeByZero
@@ -202,7 +202,7 @@ RSpec/ChangeByZero:
202
202
RSpec/ClassCheck :
203
203
Description : Enforces consistent use of `be_a` or `be_kind_of`.
204
204
StyleGuide : " #is-a-vs-kind-of"
205
- Enabled : pending
205
+ Enabled : true
206
206
VersionAdded : ' 2.13'
207
207
EnforcedStyle : be_a
208
208
SupportedStyles :
@@ -212,7 +212,7 @@ RSpec/ClassCheck:
212
212
213
213
RSpec/ContainExactly :
214
214
Description : Checks where `contain_exactly` is used.
215
- Enabled : pending
215
+ Enabled : true
216
216
VersionAdded : ' 2.19'
217
217
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ContainExactly
218
218
@@ -306,7 +306,7 @@ RSpec/Dialect:
306
306
307
307
RSpec/DuplicatedMetadata :
308
308
Description : Avoid duplicated metadata.
309
- Enabled : pending
309
+ Enabled : true
310
310
VersionAdded : ' 2.16'
311
311
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DuplicatedMetadata
312
312
@@ -367,21 +367,21 @@ RSpec/EmptyLineAfterSubject:
367
367
368
368
RSpec/EmptyMetadata :
369
369
Description : Avoid empty metadata hash.
370
- Enabled : pending
370
+ Enabled : true
371
371
AutoCorrect : contextual
372
372
VersionAdded : ' 2.24'
373
373
VersionChanged : " <<next>>"
374
374
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyMetadata
375
375
376
376
RSpec/EmptyOutput :
377
377
Description : Check that the `output` matcher is not called with an empty string.
378
- Enabled : pending
378
+ Enabled : true
379
379
VersionAdded : ' 2.29'
380
380
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyOutput
381
381
382
382
RSpec/Eq :
383
383
Description : Use `eq` instead of `be ==` to compare objects.
384
- Enabled : pending
384
+ Enabled : true
385
385
VersionAdded : ' 2.24'
386
386
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Eq
387
387
@@ -423,7 +423,7 @@ RSpec/ExampleWording:
423
423
424
424
RSpec/ExcessiveDocstringSpacing :
425
425
Description : Checks for excessive whitespace in example descriptions.
426
- Enabled : pending
426
+ Enabled : true
427
427
VersionAdded : ' 2.5'
428
428
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExcessiveDocstringSpacing
429
429
@@ -456,8 +456,8 @@ RSpec/ExpectInHook:
456
456
457
457
RSpec/ExpectInLet :
458
458
Description : Do not use `expect` in let.
459
- Enabled : pending
460
- VersionAdded : " <<next>> "
459
+ Enabled : true
460
+ VersionAdded : ' 2.30 '
461
461
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExpectInLet
462
462
463
463
RSpec/ExpectOutput :
@@ -496,7 +496,7 @@ RSpec/HooksBeforeExamples:
496
496
497
497
RSpec/IdenticalEqualityAssertion :
498
498
Description : Checks for equality assertions with identical expressions on both sides.
499
- Enabled : pending
499
+ Enabled : true
500
500
VersionAdded : ' 2.4'
501
501
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/IdenticalEqualityAssertion
502
502
@@ -533,7 +533,7 @@ RSpec/ImplicitSubject:
533
533
534
534
RSpec/IndexedLet :
535
535
Description : Do not set up test data using indexes (e.g., `item_1`, `item_2`).
536
- Enabled : pending
536
+ Enabled : true
537
537
VersionAdded : ' 2.20'
538
538
VersionChanged : ' 2.23'
539
539
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/IndexedLet
@@ -558,7 +558,7 @@ RSpec/InstanceVariable:
558
558
559
559
RSpec/IsExpectedSpecify :
560
560
Description : Check for `specify` with `is_expected` and one-liner expectations.
561
- Enabled : pending
561
+ Enabled : true
562
562
VersionAdded : ' 2.27'
563
563
StyleGuide : https://rspec.rubystyle.guide/#it-and-specify
564
564
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/IsExpectedSpecify
@@ -610,7 +610,7 @@ RSpec/LetSetup:
610
610
611
611
RSpec/MatchArray :
612
612
Description : Checks where `match_array` is used.
613
- Enabled : pending
613
+ Enabled : true
614
614
VersionAdded : ' 2.19'
615
615
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MatchArray
616
616
@@ -643,7 +643,7 @@ RSpec/MessageSpies:
643
643
644
644
RSpec/MetadataStyle :
645
645
Description : Use consistent metadata style.
646
- Enabled : pending
646
+ Enabled : true
647
647
EnforcedStyle : symbol
648
648
SupportedStyles :
649
649
- hash
@@ -711,7 +711,7 @@ RSpec/NestedGroups:
711
711
712
712
RSpec/NoExpectationExample :
713
713
Description : Checks if an example contains any expectation.
714
- Enabled : pending
714
+ Enabled : true
715
715
Safe : false
716
716
VersionAdded : ' 2.13'
717
717
VersionChanged : ' 2.14'
@@ -744,7 +744,7 @@ RSpec/Pending:
744
744
745
745
RSpec/PendingWithoutReason :
746
746
Description : Checks for pending or skipped examples without reason.
747
- Enabled : pending
747
+ Enabled : true
748
748
VersionAdded : ' 2.16'
749
749
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/PendingWithoutReason
750
750
@@ -770,7 +770,7 @@ RSpec/ReceiveCounts:
770
770
771
771
RSpec/ReceiveMessages :
772
772
Description : Checks for multiple messages stubbed on the same object.
773
- Enabled : pending
773
+ Enabled : true
774
774
SafeAutoCorrect : false
775
775
VersionAdded : ' 2.23'
776
776
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ReceiveMessages
@@ -783,19 +783,19 @@ RSpec/ReceiveNever:
783
783
784
784
RSpec/RedundantAround :
785
785
Description : Remove redundant `around` hook.
786
- Enabled : pending
786
+ Enabled : true
787
787
VersionAdded : ' 2.19'
788
788
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RedundantAround
789
789
790
790
RSpec/RedundantPredicateMatcher :
791
791
Description : Checks for redundant predicate matcher.
792
- Enabled : pending
792
+ Enabled : true
793
793
VersionAdded : ' 2.26'
794
794
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RedundantPredicateMatcher
795
795
796
796
RSpec/RemoveConst :
797
797
Description : Checks that `remove_const` is not used in specs.
798
- Enabled : pending
798
+ Enabled : true
799
799
VersionAdded : ' 2.26'
800
800
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RemoveConst
801
801
@@ -831,7 +831,7 @@ RSpec/RepeatedIncludeExample:
831
831
832
832
RSpec/RepeatedSubjectCall :
833
833
Description : Checks for repeated calls to subject missing that it is memoized.
834
- Enabled : pending
834
+ Enabled : true
835
835
VersionAdded : ' 2.27'
836
836
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RepeatedSubjectCall
837
837
@@ -888,19 +888,19 @@ RSpec/SingleArgumentMessageChain:
888
888
889
889
RSpec/SkipBlockInsideExample :
890
890
Description : Checks for passing a block to `skip` within examples.
891
- Enabled : pending
891
+ Enabled : true
892
892
VersionAdded : ' 2.19'
893
893
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SkipBlockInsideExample
894
894
895
895
RSpec/SortMetadata :
896
896
Description : Sort RSpec metadata alphabetically.
897
- Enabled : pending
897
+ Enabled : true
898
898
VersionAdded : ' 2.14'
899
899
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SortMetadata
900
900
901
901
RSpec/SpecFilePathFormat :
902
902
Description : Checks that spec file paths are consistent and well-formed.
903
- Enabled : pending
903
+ Enabled : true
904
904
Include :
905
905
- " **/*_spec.rb"
906
906
Exclude :
@@ -916,7 +916,7 @@ RSpec/SpecFilePathFormat:
916
916
917
917
RSpec/SpecFilePathSuffix :
918
918
Description : Checks that spec file paths suffix are consistent and well-formed.
919
- Enabled : pending
919
+ Enabled : true
920
920
VersionAdded : ' 2.24'
921
921
Include :
922
922
- " **/*_spec*rb*"
@@ -931,7 +931,7 @@ RSpec/StubbedMock:
931
931
932
932
RSpec/SubjectDeclaration :
933
933
Description : Ensure that subject is defined using subject helper.
934
- Enabled : pending
934
+ Enabled : true
935
935
VersionAdded : ' 2.5'
936
936
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SubjectDeclaration
937
937
@@ -945,7 +945,7 @@ RSpec/SubjectStub:
945
945
946
946
RSpec/UndescriptiveLiteralsDescription :
947
947
Description : Description should be descriptive.
948
- Enabled : pending
948
+ Enabled : true
949
949
VersionAdded : ' 2.29'
950
950
Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/UndescriptiveLiteralsDescription
951
951
@@ -979,7 +979,7 @@ RSpec/VariableName:
979
979
980
980
RSpec/VerifiedDoubleReference :
981
981
Description : Checks for consistent verified double reference style.
982
- Enabled : pending
982
+ Enabled : true
983
983
SafeAutoCorrect : false
984
984
EnforcedStyle : constant
985
985
SupportedStyles :
0 commit comments