class FactoryBot::Syntax::Default::ModifyDSL
def factory(name, _options = {}, &block)
def factory(name, _options = {}, &block) factory = Internal.factory_by_name(name) proxy = FactoryBot::DefinitionProxy.new(factory.definition.overridable) proxy.instance_eval(&block) end