Module: FactoryBot::Sorbet::TestHelpers

Defined in:
lib/factory_bot/sorbet.rb

Overview

Contains helper methods for tests. Specifically the ‘f` method so you can do:

f.foo(:create)

Instead of:

FactoryBot::Sorbet.foo(:create)

Instance Method Summary collapse

Instance Method Details

#fObject

: -> singleton(Sorbet)



27
# File 'lib/factory_bot/sorbet.rb', line 27

def f = Sorbet