config/rspec.yml in talkable-style-1.2022.0901 vs config/rspec.yml in talkable-style-1.2022.1220
- old
+ new
@@ -1,9 +1,12 @@
require: rubocop-rspec
RSpec:
Language:
+ Expectations:
+ - will
+ - will_not
Includes:
Examples:
- it_has_behavior
RSpec/AroundBlock:
@@ -20,16 +23,24 @@
Enabled: true
RSpec/Capybara/CurrentPathExpectation:
Enabled: true
RSpec/Capybara/FeatureMethods:
Enabled: true
+RSpec/Capybara/NegationMatcher:
+ Enabled: true
+RSpec/Capybara/SpecificActions:
+ Enabled: true
+RSpec/Capybara/SpecificFinders:
+ Enabled: true
RSpec/Capybara/SpecificMatcher:
Enabled: true
RSpec/Capybara/VisibilityMatcher:
Enabled: true
RSpec/ChangeByZero:
Enabled: true
+RSpec/ClassCheck:
+ Enabled: true
RSpec/ContextMethod:
Enabled: true
RSpec/DescribeClass:
Enabled: true
Exclude:
@@ -63,10 +74,12 @@
Enabled: true
RSpec/ExpectOutput:
Enabled: true
RSpec/FactoryBot/AttributeDefinedStatically:
Enabled: true
+RSpec/FactoryBot/ConsistentParenthesesStyle:
+ Enabled: true
RSpec/FactoryBot/CreateList:
Enabled: true
RSpec/FactoryBot/FactoryClassName:
Enabled: true
RSpec/FactoryBot/SyntaxMethods:
@@ -80,10 +93,13 @@
Enabled: true
RSpec/HooksBeforeExamples:
Enabled: true
RSpec/IdenticalEqualityAssertion:
Enabled: true
+RSpec/ImplicitSubject:
+ Enabled: true
+ EnforcedStyle: single_statement_only
RSpec/InstanceSpy:
Enabled: true
RSpec/InstanceVariable:
Enabled: true
RSpec/ItBehavesLike:
@@ -98,18 +114,22 @@
Enabled: true
RSpec/MultipleDescribes:
Enabled: true
RSpec/MultipleSubjects:
Enabled: true
+RSpec/NoExpectationExample:
+ Enabled: true
RSpec/OverwritingSetup:
Enabled: true
RSpec/Rails/AvoidSetupHook:
Enabled: true
RSpec/Rails/HaveHttpStatus:
Enabled: true
RSpec/Rails/HttpStatus:
Enabled: true
+RSpec/Rails/InferredSpecType:
+ Enabled: true
RSpec/ReceiveCounts:
Enabled: true
RSpec/ReceiveNever:
Enabled: true
RSpec/RepeatedDescription:
@@ -127,9 +147,11 @@
RSpec/SharedContext:
Enabled: true
RSpec/SharedExamples:
Enabled: true
RSpec/SingleArgumentMessageChain:
+ Enabled: true
+RSpec/SortMetadata:
Enabled: true
RSpec/StubbedMock:
Enabled: true
RSpec/SubjectDeclaration:
Enabled: true