A library for setting up Ruby objects as test data.
FactoryBot.modify
docs (Matt Brictson).FactoryBot.lint
docs (Anton Dieterle).build_stubbed
detects a UUID primary key, generate the correct type (Peter Boling, Alexandre Ruban).did_you_mean
library (Daniel Colson).#destroyed?
within the Stub
strategy to return false
to be consistent
with ActiveRecord (Benjamin Fleischer).factory_bot.compile_factory
notification (Sean Doyle).#to_sym
(Edmund Korley, Jonas S).bundle add
(Glauco Custódio).actions/checkout
v3 (Yudai Takada).Full diff: https://github.com/thoughtbot/factory_bot/compare/v6.2.1...v6.3.0
add_attribute
with reserved keywords assigns values correctly