Fix a false positive for RSpec/RepeatedDescription when different its block expectations are used. ([@ydah])
Add named_only style to RSpec/NamedSubject. ([@kuahyeow])
Fix RSpec/FactoryBot/ConsistentParenthesesStyle to ignore calls without the first positional argument. ([@pirj])
Fix RSpec/FactoryBot/ConsistentParenthesesStyle to ignore calls inside a Hash or an Array. ([@pirj])
Fix RSpec/NestedGroups to correctly use AllowedGroups config. ([@samrjenkins])
Remove Runners and HookScopes RSpec DSL elements from configuration. ([@pirj])
Add with default RSpec/Language config helper to lib (under rubocop/rspec/shared_contexts/default_rspec_language_config_context), to allow use for downstream cops based on RuboCop::Cop::RSpec::Base. ([@smcgivern])
Fix a false positive for RSpec/RepeatedDescription when different its block expectations are used. ([@ydah])
Add named_only style to RSpec/NamedSubject. ([@kuahyeow])
Fix RSpec/FactoryBot/ConsistentParenthesesStyle to ignore calls without the first positional argument. ([@pirj])
Fix RSpec/FactoryBot/ConsistentParenthesesStyle to ignore calls inside a Hash or an Array. ([@pirj])
Fix RSpec/NestedGroups to correctly use AllowedGroups config. ([@samrjenkins])
Remove Runners and HookScopes RSpec DSL elements from configuration. ([@pirj])
Add with default RSpec/Language config helper to lib (under rubocop/rspec/shared_contexts/default_rspec_language_config_context), to allow use for downstream cops based on RuboCop::Cop::RSpec::Base. ([@smcgivern])
2.14.2 (2022-10-25)
Fix an incorrect autocorrect for FactoryBot/ConsistentParenthesesStyle with omit_parentheses option when method name and first argument are not on same line. ([@ydah])
Fix autocorrection loop in RSpec/ExampleWording for insufficient example wording. ([@pirj])
Fix RSpec/SortMetadata not to reorder arguments of include_/it_behaves_like. ([@pirj])
Fix a false positive for RSpec/NoExpectationExample when allowed pattern methods with arguments. ([@ydah])
Change RSpec/FilePath so that it only checks suffix when path is under spec/routing or type is defined as routing. ([@r7kamura])
2.14.1 (2022-10-24)
Fix an error for RSpec/Rails/InferredSpecType with redundant type before other Hash metadata. ([@ydah])
2.14.0 (2022-10-23)
Add require_implicit style to RSpec/ImplicitSubject. ([@r7kamura])
Fix a false positive for RSpec/Capybara/SpecificMatcher when have_css("a") without attribute. ([@ydah])
Update RSpec/ExampleWording cop to raise error for insufficient descriptions. ([@akrox58])
Add new RSpec/Capybara/NegationMatcher cop. ([@ydah])
Add AllowedPatterns configuration option to RSpec/NoExpectationExample. ([@ydah])
Improve RSpec/NoExpectationExample cop to ignore examples skipped or pending via metadata. ([@pirj])
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rubocop-rspec from 2.13.2 to 2.15.0.
Release notes
Sourced from rubocop-rspec's releases.
... (truncated)
Changelog
Sourced from rubocop-rspec's changelog.
Commits
cd6b33b
Merge pull request #1466 from rubocop/release254ec94
Bump version to 2.15.05e7f0fd
Merge pull request #1377 from smcgivern/expose-default-rspec-language-context81c9faa
Expose 'with default RSpec/Language config' to consumers98e9994
Merge pull request #1463 from rubocop/revert-1461-improvement_rspec_factory_b...c24b3e3
Revert "AddRESTRICT_ON_SEND
for `RSpec/FactoryBot/ConsistentParenthesesSty...b18433b
Merge pull request #1461 from ydah/improvement_rspec_factory_bot_consistent_p...6e50e06
Merge pull request #1459 from rubocop/make-runners-and-hook-scopes-non-config...70120b6
AddRESTRICT_ON_SEND
forRSpec/FactoryBot/ConsistentParenthesesStyle
744918d
Make hook scopes and runners non-configurableDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)