diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
commit | e8d2c2579383897a1dd7f9debd359abe8ae8373d (patch) | |
tree | c42be41678c2586d49a75cabce89322082698334 /spec/finders/packages/nuget | |
parent | fc845b37ec3a90aaa719975f607740c22ba6a113 (diff) |
Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42
Diffstat (limited to 'spec/finders/packages/nuget')
-rw-r--r-- | spec/finders/packages/nuget/package_finder_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/finders/packages/nuget/package_finder_spec.rb b/spec/finders/packages/nuget/package_finder_spec.rb index 59cca2d06dc..4ad02ce7da8 100644 --- a/spec/finders/packages/nuget/package_finder_spec.rb +++ b/spec/finders/packages/nuget/package_finder_spec.rb @@ -11,6 +11,7 @@ RSpec.describe Packages::Nuget::PackageFinder do let_it_be(:package3) { create(:nuget_package, name: 'Another.Dummy.Package', project: project) } let_it_be(:other_package_1) { create(:nuget_package, name: package1.name, version: package1.version) } let_it_be(:other_package_2) { create(:nuget_package, name: package1.name, version: package2.version) } + let(:package_name) { package1.name } let(:package_version) { nil } let(:limit) { 50 } @@ -57,6 +58,7 @@ RSpec.describe Packages::Nuget::PackageFinder do let_it_be(:package4) { create(:nuget_package, name: package1.name, project: project) } let_it_be(:package5) { create(:nuget_package, name: package1.name, project: project) } let_it_be(:package6) { create(:nuget_package, name: package1.name, project: project) } + let(:limit) { 2 } it { is_expected.to match_array([package5, package6]) } |