Last active
December 11, 2022 15:06
-
-
Save FCO/c23d62037732bc7f52089fe7291a323d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my @children-names = <Fernanda Sophia Eduardo Rafael Maria Lulu>; | |
my @countries = <Brazil England Scotland>; | |
factory "child", :model(Child), { | |
.name = { "{ @children-names.pick } { .counter-by-model }" }; | |
.country = { @countries.pick }; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment