Commit 3719e8ca authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '349871-fix-npm-flaky-spec' into 'master'

Fix a flaky spec in the NPM package presenter

See merge request gitlab-org/gitlab!77943
parents 256fee44 916bd60e
...@@ -108,6 +108,7 @@ RSpec.describe ::Packages::Npm::PackagePresenter do ...@@ -108,6 +108,7 @@ RSpec.describe ::Packages::Npm::PackagePresenter do
context 'with packages_installable_package_files disabled' do context 'with packages_installable_package_files disabled' do
before do before do
stub_feature_flags(packages_installable_package_files: false) stub_feature_flags(packages_installable_package_files: false)
package2.package_files.id_not_in(package_file_pending_destruction.id).delete_all
end end
it 'returns them' do it 'returns them' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment