diff options
Diffstat (limited to 'spec/factories/ci/catalog/resources/sync_events.rb')
-rw-r--r-- | spec/factories/ci/catalog/resources/sync_events.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/ci/catalog/resources/sync_events.rb b/spec/factories/ci/catalog/resources/sync_events.rb new file mode 100644 index 00000000000..0579cec648e --- /dev/null +++ b/spec/factories/ci/catalog/resources/sync_events.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :ci_catalog_resource_sync_event, class: 'Ci::Catalog::Resources::SyncEvent' do + catalog_resource factory: :ci_catalog_resource + project { catalog_resource.project } + end +end |