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
remove not needed save! on work_package and project
as-op691b36b4cfd5
diff --git a/spec/models/work_package/pdf_export/common/macro_spec.rb b/spec/models/work_package/pdf_export/common/macro_spec.rbindex 12d7773c7d0..6f0adae19a1 100644--- a/spec/models/work_package/pdf_export/common/macro_spec.rb+++ b/spec/models/work_package/pdf_export/common/macro_spec.rb@@ -50,8 +50,7 @@ RSpec.describe WorkPackage::PDFExport::Common::Macro dostatus_code: "on_track",work_package_custom_fields: [custom_field],project_custom_fields: [project_custom_field],- custom_field_values: { project_custom_field.id => "Project custom value 1" },- &:save!+ custom_field_values: { project_custom_field.id => "Project custom value 1" })endshared_let(:work_package) do@@ -60,8 +59,7 @@ RSpec.describe WorkPackage::PDFExport::Common::Macro dosubject: "Work package 1",type: type_task,status: create(:status, name: "In Progress"), project: project,- custom_field_values: { custom_field.id => "Custom value 1" },- &:save!+ custom_field_values: { custom_field.id => "Custom value 1" })endshared_let(:formatter) { Class.new { extend WorkPackage::PDFExport::Common::Macro } }