Class: RuboCop::Cop::RSpec::FactoryBot::FactoryClassName
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::RSpec::FactoryBot::FactoryClassName
- Defined in:
- lib/rubocop/cop/rspec/factory_bot/factory_class_name.rb
Overview
Use string value when setting the class attribute explicitly.
This cop would promote faster tests by lazy-loading of application files. Also, this could help you suppress potential bugs in combination with external libraries by avoiding a preload of application files from the factory files.