module TestProf::FactoryAllStub::FactoryBotPatch
Wrap run
method to override strategy
Public Instance Methods
run(_strategy = @strategy)
click to toggle source
Calls superclass method
# File lib/test_prof/factory_all_stub/factory_bot_patch.rb, line 7 def run(_strategy = @strategy) return super unless FactoryAllStub.enabled? super(:build_stubbed) end