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
shared_let causes the attachment to be lost in second run
ulferts573ed17ee9d6
diff --git a/modules/bcf/spec/requests/api/bcf/v2_1/viewpoints_api_spec.rb b/modules/bcf/spec/requests/api/bcf/v2_1/viewpoints_api_spec.rbindex 9f6bd434d80..714ac2de543 100644--- a/modules/bcf/spec/requests/api/bcf/v2_1/viewpoints_api_spec.rb+++ b/modules/bcf/spec/requests/api/bcf/v2_1/viewpoints_api_spec.rb@@ -61,7 +61,7 @@ describe 'BCF 2.1 viewpoints resource', type: :request, content_type: :json, witFactoryBot.create(:work_package, project: project)endend- shared_let(:bcf_issue) { FactoryBot.create(:bcf_issue_with_viewpoint, work_package: work_package) }+ let(:bcf_issue) { FactoryBot.create(:bcf_issue_with_viewpoint, work_package: work_package) }let(:viewpoint) { bcf_issue.viewpoints.first }let(:viewpoint_json) { viewpoint.json_viewpoint }@@ -140,7 +140,6 @@ describe 'BCF 2.1 viewpoints resource', type: :request, content_type: :json, witcontext 'when snapshot present' dobefore dologin_as(current_user)- bcf_issueget pathend