summaryrefslogtreecommitdiff
path: root/spec/factories/packages/conan/metadata.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/packages/conan/metadata.rb')
-rw-r--r--spec/factories/packages/conan/metadata.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/packages/conan/metadata.rb b/spec/factories/packages/conan/metadata.rb
new file mode 100644
index 00000000000..81ded799684
--- /dev/null
+++ b/spec/factories/packages/conan/metadata.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+FactoryBot.define do
+ factory :conan_metadatum, class: 'Packages::Conan::Metadatum' do
+ association :package, factory: [:conan_package, :without_loaded_metadatum], without_package_files: true
+ package_username { 'username' }
+ package_channel { 'stable' }
+ end
+end