lib/rubocop/rspec/factory_bot.rb in rubocop-rspec-1.40.0 vs lib/rubocop/rspec/factory_bot.rb in rubocop-rspec-1.41.0
- old
+ new
@@ -2,10 +2,16 @@
module RuboCop
module RSpec
# RuboCop FactoryBot project namespace
module FactoryBot
- ATTRIBUTE_DEFINING_METHODS = %i[factory trait transient ignore].freeze
+ ATTRIBUTE_DEFINING_METHODS = %i[
+ factory
+ ignore
+ trait
+ traits_for_enum
+ transient
+ ].freeze
UNPROXIED_METHODS = %i[
__send__
__id__
nil?