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
attempt to fix flickering spec by providing a name for the versions
ulferts5b0942461090
diff --git a/spec/requests/api/v3/work_packages/form/work_package_form_resource_spec.rb b/spec/requests/api/v3/work_packages/form/work_package_form_resource_spec.rbindex b7ee8e3c30f..2abb3f70fd7 100644--- a/spec/requests/api/v3/work_packages/form/work_package_form_resource_spec.rb+++ b/spec/requests/api/v3/work_packages/form/work_package_form_resource_spec.rb@@ -517,8 +517,8 @@ describe 'API v3 Work package form resource', type: :request, with_mail: false ddescribe 'version' dolet(:path) { '_embedded/payload/_links/version/href' }- let(:target_version) { FactoryBot.create(:version, project: project) }- let(:other_version) { FactoryBot.create(:version, project: project) }+ let(:target_version) { FactoryBot.create(:version, project: project, name: 'zzzz') }+ let(:other_version) { FactoryBot.create(:version, project: project, name: 'aaaa') }let(:version_link) { api_v3_paths.version target_version.id }let(:version_parameter) { { _links: { version: { href: version_link } } } }let(:params) { valid_params.merge(version_parameter) }