-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No failure message for cop violation #133
Comments
- Add Thoughtbot cops & capybara & factory_bot, I logged an issue: rubocop/rubocop-factory_bot#133 not sure if its a rails 8 issue, but cop failures dont seem consistent. I noticed not all single quoted strings are being caught.
Sorry, what cop? |
configuration from /Users/brent/.rvm/gems/ruby-3.3.5@confab/gems/rubocop-factory_bot-2.26.1/lib/../config/default.yml this one.
is this correct according to this gem? |
What of the cops you expected to fail? https://docs.rubocop.org/rubocop-factory_bot/cops.html You’ve already provided an excerpt from the cop’s documentation. May I kindly ask you to also put the cop’s name in the issue title or description?
The above will be a solid first step. Next, we can discuss in the PR how to actually fix the issue. At a glance, I can’t tell why it doesn’t work. |
I believe I am breaking this rule with
before { create('project') }
I can see the cop being loaded, and the file where I break this rule is also checked.
Can you recommend how I can debug this further?
I am using Rails 8.0.0.beta1.
The text was updated successfully, but these errors were encountered: