mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
82413e5b26
The fact that it used to be called with a factory name speaks for a history of using FactoryBot originally and then being rewritten to use a manually written SQL insert statement. This has now been changed so when a symbol is passed, it's taken as a factory name and a factory is used. Only when a class name is passed, the manual SQL path is chosen. This is done, so that I can rely on the default-value-filling of FactoryBot to create my test record.