module TestProf::FactoryBotStrategy

FactoryBot 5.0 uses strategy classes for associations, older versions and top-level invocations use Symbols.

This Refinement should be used FactoryRunner patches to check that strategy is :create.

Public Instance Methods

create?() click to toggle source
# File lib/test_prof/ext/factory_bot_strategy.rb, line 11
def create?
  self == :create
end