OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix flaky file_links_api_spec.rb.
Pavel Balashou09c7758a17cc
diff --git a/modules/storages/spec/requests/api/v3/file_links/file_links_api_spec.rb b/modules/storages/spec/requests/api/v3/file_links/file_links_api_spec.rbindex 359a82c1c0f..c1d5cf5b3ff 100644--- a/modules/storages/spec/requests/api/v3/file_links/file_links_api_spec.rb+++ b/modules/storages/spec/requests/api/v3/file_links/file_links_api_spec.rb@@ -42,7 +42,7 @@ RSpec.describe 'API v3 file links resource' dodef disable_module(project, modul)# Avoid project.enabled_module_names and a subsequent save as that would create an AnonymousUser in an# after(:all) block, which persists the user in the RequestStore.- project.enabled_modules.detect { |m| m.name == modul }.destroy+ project.enabled_modules.where(name: modul).destroy_allendshared_association_default(:priority) { create(:priority) }