Fix rubocop offenses - Requires Ruby 3.1+
This commit is contained in:
@ -17,7 +17,7 @@ FactoryBot.define do
|
||||
|
||||
[ExternalUser, InternalUser].each do |klass|
|
||||
trait :"singleton_#{klass.name.underscore}" do
|
||||
initialize_with { klass.where(email: email).first_or_create }
|
||||
initialize_with { klass.where(email:).first_or_create }
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user