rubocop-factory_bot
rubocop-factory_bot copied to clipboard
Fix an autocorrection for `FactoryBot/AssociationStyle` cop when the trait is not a symbol literal
Fixes: #105
Before submitting the PR make sure the following are checked:
- [x] Feature branch is up-to-date with
master(if not - rebase it). - [x] Squashed related commits together.
- [x] Added tests.
- [x] Updated documentation.
- [x] Added an entry to the
CHANGELOG.mdif the new code introduces user-observable changes. - [x] The build (
bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).