diff options
Diffstat (limited to 'spec/models/packages/package_file_spec.rb')
-rw-r--r-- | spec/models/packages/package_file_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/models/packages/package_file_spec.rb b/spec/models/packages/package_file_spec.rb index a86caa074f1..fd453d8e5a9 100644 --- a/spec/models/packages/package_file_spec.rb +++ b/spec/models/packages/package_file_spec.rb @@ -148,16 +148,6 @@ RSpec.describe Packages::PackageFile, type: :model do it 'does not return them' do expect(described_class.for_helm_with_channel(project, channel)).to contain_exactly(helm_file2) 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(described_class.for_helm_with_channel(project, channel)).to contain_exactly(helm_file2, package_file_pending_destruction) - end - end end end @@ -232,16 +222,6 @@ RSpec.describe Packages::PackageFile, type: :model do it 'does not return them' do expect(subject).to contain_exactly(helm_package_file2) 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 contain_exactly(package_file_pending_destruction) - end - end end end end |