Fixed bug: Tests are not ID agnostic.

This commit is contained in:
Thorsten Eckel 2018-10-18 14:11:19 +02:00
parent b80cfda86e
commit 28793f1338

View file

@ -11,7 +11,7 @@ end
FactoryBot.define do FactoryBot.define do
factory :object_manager_attribute, class: ObjectManager::Attribute do factory :object_manager_attribute, class: ObjectManager::Attribute do
object_lookup_id 2 object_lookup_id { ObjectLookup.by_name('Ticket') }
name { generate(:object_manager_attribute_name) } name { generate(:object_manager_attribute_name) }
display { generate(:object_manager_attribute_display) } display { generate(:object_manager_attribute_display) }
data_option_new do data_option_new do