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
have a default value in the work_package_journal data factory
ulferts431394da23c1
diff --git a/spec/factories/journal/work_package_journal_factory.rb b/spec/factories/journal/work_package_journal_factory.rbindex c161f64d298..04f807d71f0 100644--- a/spec/factories/journal/work_package_journal_factory.rb+++ b/spec/factories/journal/work_package_journal_factory.rb@@ -28,5 +28,6 @@FactoryBot.define dofactory :journal_work_package_journal, class: 'Journal::WorkPackageJournal' do+ ignore_non_working_days { false }endenddiff --git a/spec/services/principals/replace_references_service_call_integration_spec.rb b/spec/services/principals/replace_references_service_call_integration_spec.rbindex c678019fd72..21ce3d8ba7d 100644--- a/spec/services/principals/replace_references_service_call_integration_spec.rb+++ b/spec/services/principals/replace_references_service_call_integration_spec.rb@@ -311,7 +311,8 @@ describe Principals::ReplaceReferencesService, '#call', type: :model do:journal_work_package_journal,:assigned_to_id dolet(:attributes) do- {}+ # ignore_non_working_days is non nullable. This part is not related to the test.+ { ignore_non_working_days: false }endend@@ -319,7 +320,8 @@ describe Principals::ReplaceReferencesService, '#call', type: :model do:journal_work_package_journal,:responsible_id dolet(:attributes) do- {}+ # ignore_non_working_days is non nullable. This part is not related to the test.+ { ignore_non_working_days: false }endendend