diff options
Diffstat (limited to 'spec/support/shared_examples/requests/api/graphql/packages/package_details_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/requests/api/graphql/packages/package_details_shared_examples.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/support/shared_examples/requests/api/graphql/packages/package_details_shared_examples.rb b/spec/support/shared_examples/requests/api/graphql/packages/package_details_shared_examples.rb index 9385706d991..ab93f54111b 100644 --- a/spec/support/shared_examples/requests/api/graphql/packages/package_details_shared_examples.rb +++ b/spec/support/shared_examples/requests/api/graphql/packages/package_details_shared_examples.rb @@ -49,17 +49,5 @@ RSpec.shared_examples 'a package with files' do expect(response_package_file_ids).not_to include(package_file_pending_destruction.to_global_id.to_s) end - - context 'with packages_installable_package_files disabled' do - before(:context) do - stub_feature_flags(packages_installable_package_files: false) - end - - it 'returns them' do - expect(package.reload.package_files).to include(package_file_pending_destruction) - - expect(response_package_file_ids).to include(package_file_pending_destruction.to_global_id.to_s) - end - end end end |