Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/packages/package_files.rb')
-rw-r--r--spec/factories/packages/package_files.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/packages/package_files.rb b/spec/factories/packages/package_files.rb
index 4a2d412832c..61405e9c04c 100644
--- a/spec/factories/packages/package_files.rb
+++ b/spec/factories/packages/package_files.rb
@@ -284,7 +284,7 @@ FactoryBot.define do
end
trait(:nuget) do
- package
+ package { association(:nuget_package, without_package_files: true) }
file_fixture { 'spec/fixtures/packages/nuget/package.nupkg' }
file_name { 'package.nupkg' }
file_sha1 { '5fe852b2a6abd96c22c11fa1ff2fb19d9ce58b57' }
@@ -292,7 +292,7 @@ FactoryBot.define do
end
trait(:snupkg) do
- package
+ package { association(:nuget_package) }
file_fixture { 'spec/fixtures/packages/nuget/package.snupkg' }
file_name { 'package.snupkg' }
file_sha1 { '5fe852b2a6abd96c22c11fa1ff2fb19d9ce58b57' }