Open Ivanov-Anton opened 1 year ago
Description:
In case when developer defines a factory in a separate file (one file equal to one factory) the file name of such a factory should be one of these:
Additionally, the new robocop can be implemented with configuration options to decide what style from these two is chosen.
see how the annotate_models gem is detect factories
annotate_models
(spec|test)/factories/<model>_factory.rb
Description:
In case when developer defines a factory in a separate file (one file equal to one factory) the file name of such a factory should be one of these:
Additionally, the new robocop can be implemented with configuration options to decide what style from these two is chosen.