Module: TestProf::FactoryProf::FabricationPatch

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

Overview

Wrap #run method with FactoryProf tracking

Instance Method Summary collapse

Instance Method Details

#create(name, overrides = {}) ⇒ Object



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

def create(name, overrides = {})
  FactoryBuilders::Fabrication.track(name) { super }
end