Skip to content

RuboCop factory_bot v2.23.0 (Thank you RubyKaigi 2023 Edition🏯)

Compare
Choose a tag to compare
@ydah ydah released this 15 May 07:33
· 110 commits to master since this release
963e237
  • Add FactoryBot/FactoryAssociationWithStrategy cop. (@morissetcl)
  • Add FactoryBot/RedundantFactoryOption cop. (@r7kamura)
  • Add FactoryBot/AssociationStyle cop. (@r7kamura)
  • Add ExplicitOnly configuration option to FactoryBot/ConsistentParenthesesStyle, FactoryBot/CreateList and FactoryBot/FactoryNameStyle. (@ydah)
  • Mark FactoryBot/CreateList as SafeAutoCorrect: false. (@r7kamura)
  • Change FactoryBot/CreateList so that it considers times.map. (@r7kamura)
  • Change FactoryBot/CreateList so that it checks same factory calls in an Array. (@r7kamura)