2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2019-02-11 07:46:26 +00:00
|
|
|
FactoryBot.define do
|
|
|
|
factory :object_lookup do
|
|
|
|
name { (ApplicationModel.descendants.map(&:name) - ObjectLookup.pluck(:name)).sample }
|
|
|
|
end
|
|
|
|
end
|