class FactoryBot::Linter::FactoryTraitError
def initialize(wrapped_error, factory, trait_name)
def initialize(wrapped_error, factory, trait_name) super(wrapped_error, factory) @trait_name = trait_name end
def location
def location "#{@factory.name}+#{@trait_name}" end