mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
![]() Why: These methods are used internally for the functionality of the library and are subject to change. Therefore shouldn't be part of the public interface. This PR: - Moves the ```register_strategy```, ```register_callback```, ```register_default_factories```, ```register_default_callbacks``` ```strategies```, ```callback_names``` and ```strategy_by_name``` methods to the ```FactoryBot::Internal``` class. - Deprecates the use of ```register_callback``` from the ```FactoryBot``` module. |
||
---|---|---|
.. | ||
attribute | ||
declaration | ||
decorator | ||
strategy | ||
aliases_spec.rb | ||
attribute_list_spec.rb | ||
attribute_spec.rb | ||
callback_spec.rb | ||
declaration_list_spec.rb | ||
definition_proxy_spec.rb | ||
definition_spec.rb | ||
disallows_duplicates_registry_spec.rb | ||
evaluator_class_definer_spec.rb | ||
factory_spec.rb | ||
find_definitions_spec.rb | ||
internal_spec.rb | ||
null_factory_spec.rb | ||
null_object_spec.rb | ||
registry_spec.rb | ||
sequence_spec.rb | ||
strategy_calculator_spec.rb |