diff options
Diffstat (limited to 'spec/requests/api/terraform/modules/v1')
-rw-r--r-- | spec/requests/api/terraform/modules/v1/packages_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/requests/api/terraform/modules/v1/packages_spec.rb b/spec/requests/api/terraform/modules/v1/packages_spec.rb index 8160113bbde..7d86244cb1b 100644 --- a/spec/requests/api/terraform/modules/v1/packages_spec.rb +++ b/spec/requests/api/terraform/modules/v1/packages_spec.rb @@ -232,20 +232,6 @@ RSpec.describe API::Terraform::Modules::V1::Packages do expect(response.body).not_to eq(package_file_pending_destruction.file.file.read) expect(response.body).to eq(package_file.file.file.read) end - - context 'with packages_installable_package_files disabled' do - before do - stub_feature_flags(packages_installable_package_files: false) - end - - it 'returns them' do - subject - - expect(response).to have_gitlab_http_status(:ok) - expect(response.body).to eq(package_file_pending_destruction.file.file.read) - expect(response.body).not_to eq(package_file.file.file.read) - end - end end end |