Skip to content

Commit

Permalink
Fixed bug: Tests are not ID agnostic.
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsteneckel committed Oct 19, 2018
1 parent b80cfda commit 28793f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/factories/object_manager_attribute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
FactoryBot.define 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) }
display { generate(:object_manager_attribute_display) }
data_option_new do
Expand Down

0 comments on commit 28793f1

Please sign in to comment.