-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
I'm trying to test the default values on some Mongoose models. The test I'm using was basically making the object without the property in question and then testing if that value is added. However, this pattern does not seem to work with Factory Lady.
Is there a specific way to test defaults with Factory Lady? I already tried passing in { property_name: undefined } to Factory.build, to no avail.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels