Module: TestProf::FactoryProf::FactoryBotPatch

Defined in:
lib/test_prof/factory_prof/factory_bot_patch.rb

Overview

Wrap #run method with FactoryProf tracking

Instance Method Summary collapse

Instance Method Details

#run(strategy = @strategy) ⇒ Object



7
8
9
# File 'lib/test_prof/factory_prof/factory_bot_patch.rb', line 7

def run(strategy = @strategy)
  FactoryBuilders::FactoryBot.track(strategy, @name) { super }
end