-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
FactoryBot/AssociationStyle.EnforcedStyle: Explicit
adds offence when using traits in factories
#54
Labels
bug
Something isn't working
Comments
I met this issue too.
|
ydah
added a commit
that referenced
this issue
Jul 5, 2023
…Style: Explicit` and using trait within trait Fix: #54
5 tasks
ydah
added a commit
that referenced
this issue
Aug 7, 2023
…Style: Explicit` and using trait within trait Fix: #54
ydah
added a commit
that referenced
this issue
Aug 13, 2023
…Style: Explicit` and using trait within trait Fix: #54
ydah
added a commit
that referenced
this issue
Aug 13, 2023
…Style: Explicit` and using trait within trait Fix: #54
ydah
added a commit
that referenced
this issue
Aug 25, 2023
…Style: Explicit` and using trait within trait Fix: #54
ydah
added a commit
that referenced
this issue
Sep 7, 2023
…Style: Explicit` and using trait within trait Fix: #54
ydah
added a commit
that referenced
this issue
Sep 7, 2023
…Style: Explicit` and using trait within trait Fix: #54
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. First of all thanks for this gem :)
I have this factory
and this configuration
Rubocop now warns me on the lines with
with_booker_invoice
andwith_host_invoice
:AFAIK this it the only way to define traits within traits (https://github.com/thoughtbot/factory_bot/blob/main/GETTING_STARTED.md#traits-within-traits) but the problem also exits when using traits in the factory eg.
The text was updated successfully, but these errors were encountered: