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
-
#f ⇒ Object
: -> singleton(Sorbet).
Instance Method Details
#f ⇒ Object
: -> singleton(Sorbet)
27 |
# File 'lib/factory_bot/sorbet.rb', line 27 def f = Sorbet |