diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
commit | a7b3560714b4d9cc4ab32dffcd1f74a284b93580 (patch) | |
tree | 7452bd5c3545c2fa67a28aa013835fb4fa071baf /spec/finders/packages | |
parent | ee9173579ae56a3dbfe5afe9f9410c65bb327ca7 (diff) |
Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42
Diffstat (limited to 'spec/finders/packages')
-rw-r--r-- | spec/finders/packages/conan/package_file_finder_spec.rb | 12 | ||||
-rw-r--r-- | spec/finders/packages/package_file_finder_spec.rb | 10 |
2 files changed, 0 insertions, 22 deletions
diff --git a/spec/finders/packages/conan/package_file_finder_spec.rb b/spec/finders/packages/conan/package_file_finder_spec.rb index 3da7da456c2..62906a7b0a9 100644 --- a/spec/finders/packages/conan/package_file_finder_spec.rb +++ b/spec/finders/packages/conan/package_file_finder_spec.rb @@ -49,18 +49,6 @@ RSpec.describe ::Packages::Conan::PackageFileFinder do expect(subject).to eq(package_file) end - - context 'with packages_installable_package_files disabled' do - before do - stub_feature_flags(packages_installable_package_files: false) - end - - it 'returns the correct package file' do - expect(package.package_files.last).to eq(recent_package_file_pending_destruction) - - expect(subject).to eq(recent_package_file_pending_destruction) - end - end end describe '#execute' do diff --git a/spec/finders/packages/package_file_finder_spec.rb b/spec/finders/packages/package_file_finder_spec.rb index 8b21c9cd3ec..711e1396126 100644 --- a/spec/finders/packages/package_file_finder_spec.rb +++ b/spec/finders/packages/package_file_finder_spec.rb @@ -29,16 +29,6 @@ RSpec.describe Packages::PackageFileFinder do expect(subject).to eq(package_file) end - - context 'with packages_installable_package_files disabled' do - before do - stub_feature_flags(packages_installable_package_files: false) - end - - it 'returns them' do - expect(subject).to eq(recent_package_file_pending_destruction) - end - end end describe '#execute' do |