Skip to content

Disable Capybara/RSpec/PredicateMatcher cop to fix RuboCop running error#4

Merged
kokuyouwind merged 1 commit intokokuyouwind:mainfrom
S-H-GAMELINKS:fix/rubocop-capybara-matcher-error
Oct 29, 2025
Merged

Disable Capybara/RSpec/PredicateMatcher cop to fix RuboCop running error#4
kokuyouwind merged 1 commit intokokuyouwind:mainfrom
S-H-GAMELINKS:fix/rubocop-capybara-matcher-error

Conversation

@S-H-GAMELINKS
Copy link
Contributor

RuboCop was trying to use the Capybara/RSpec/PredicateMatcher cop provided by rubocop-capybara when running bundle exec rubocop. However, since apm_traceable doesn't include rubocop-capybara as a dependency, this caused an error. Disabling this cop resolves the issue.

Related issue: rubocop/rubocop#13982

RuboCop was trying to use the `Capybara/RSpec/PredicateMatcher` cop provided by `rubocop-capybara` when running `bundle exec rubocop`.
However, since `apm_traceable` doesn't include `rubocop-capybara` as a dependency, this caused an error.
Disabling this cop resolves the issue.

Related issue: rubocop/rubocop#13982
Copy link
Owner

@kokuyouwind kokuyouwind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx!

@kokuyouwind kokuyouwind merged commit bb3ece0 into kokuyouwind:main Oct 29, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants