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)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop-rspec (2.14.2 → 2.15.0) · Repo · Changelog
Release Notes
2.15.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 28 commits:
Merge pull request #1466 from rubocop/release
Bump version to 2.15.0
Merge pull request #1377 from smcgivern/expose-default-rspec-language-context
Expose 'with default RSpec/Language config' to consumers
Merge pull request #1463 from rubocop/revert-1461-improvement_rspec_factory_bot_consistent_parentheses_style
Revert "Add `RESTRICT_ON_SEND` for `RSpec/FactoryBot/ConsistentParenthesesStyle`"
Merge pull request #1461 from ydah/improvement_rspec_factory_bot_consistent_parentheses_style
Merge pull request #1459 from rubocop/make-runners-and-hook-scopes-non-configurable
Add `RESTRICT_ON_SEND` for `RSpec/FactoryBot/ConsistentParenthesesStyle`
Make hook scopes and runners non-configurable
Merge pull request #1451 from ydah/fix_repeated_description
Merge pull request #1453 from samrjenkins/fix-nested-groups-allowed-groups
remove cop_config from nested_groups_spec AllowedGroups examples
Merge pull request #1457 from rubocop/regenerate-docs
Regenerate docs after updating RuboCop
Merge pull request #1454 from rubocop/fix-nested-factories
Merge pull request #1455 from rubocop/fix-changelog-spec
Fix broken changelog spec
Ignore parentheses in an array
Ignore parentheses in a hash
Restrict inspection to FactoryBot DSL
Fix a false positive for `RSpec/RepeatedDescription` when different its block expectations are used
Merge pull request #1450 from ydah/update_chackout
Update actions/checkout version to v3
Merge pull request #1446 from rubocop/fb-parentheses-arguments
Ignore calls without the first positional argument
Merge pull request #1444 from rubocop/patch-release
Merge remote-tracking branch 'origin/master' into patch-release
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands