class FactoryBot::Strategy::Create
def association(runner)
def association(runner) runner.run end
def result(evaluation)
def result(evaluation) evaluation.object.tap do |instance| evaluation.notify(:after_build, instance) evaluation.notify(:before_create, instance) evaluation.create(instance) evaluation.notify(:after_create, instance) end end
def to_sym
def to_sym :create end