Module: TestProf::FactoryDefault::StrategyExt
- Defined in:
- lib/test_prof/factory_default/factory_bot_patch.rb
Instance Method Summary collapse
Instance Method Details
#association(runner) ⇒ Object
14 15 16 17 |
# File 'lib/test_prof/factory_default/factory_bot_patch.rb', line 14 def association(runner) FactoryDefault.get(runner.name, runner.traits, runner.overrides) || FactoryDefault.profiler.instrument(runner.name, runner.traits, runner.overrides) { super } end |