RuboCop factory_bot v2.24.0
What's Changed
- Fix
FactoryBot/AssociationStyle
cop to ignore explicit associations withstrategy: :build
. (@pirj) - Change
FactoryBot/CreateList
so that it is not an offense if not repeated multiple times. (@ydah) - Fix a false positive for
FactoryBot/AssociationStyle
whenassociation
is called in trait block and column name is keyword. (@ydah) - Fix a false positive for
FactoryBot/AssociationStyle
whenEnforcedStyle: Explicit
and using trait within trait. (@ydah) - Change
FactoryBot/AssociationStyle
,FactoryBot/AttributeDefinedStatically
,FactoryBot/CreateList
andFactoryBot/FactoryClassName
to work with minitest style directory. (@ydah) - Add
FactoryBot/IdSequence
cop. (@owst)
Full Changelog: v2.23.1...v2.24.0