Method: FactoryBot::Syntax::Methods#build_stubbed

Defined in:
lib/factory_bot/syntax/methods.rb

#build_stubbed(name, *traits_and_overrides, &block) ⇒ Object

(see #strategy_method) Builds a stubbed registered factory by name.

Returns:

  • (Object)

    instantiated object defined by the factory



# File 'lib/factory_bot/syntax/methods.rb', line 44