thoughtbot / factory_bot

A library for setting up Ruby objects as test data.

Home Page:https://thoughtbot.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update use_parent_strategy description in Getting Started

DC00 opened this issue · comments

Description

From my understanding, based on the acceptance spec here, use_parent_strategy should be true if we do not want to save associations.

Should the corresponding example in the build strategies section of the Getting Started guide be changed to FactoryBot.use_parent_strategy = true ?

#1541

Reproduction Steps

Expected behavior

Actual behavior

System configuration

factory_bot version:
rails version:
ruby version:

closing in favor of #1541