Module: TestProf::FactoryDoctor::FactoryBotPatch
- Defined in:
- lib/test_prof/factory_doctor/factory_bot_patch.rb
Overview
Wrap #run method with FactoryDoctor tracking
Instance Method Summary collapse
Instance Method Details
#run(strategy = @strategy) ⇒ Object
7 8 9 |
# File 'lib/test_prof/factory_doctor/factory_bot_patch.rb', line 7 def run(strategy = @strategy) FactoryDoctor.within_factory(strategy) { super } end |