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
linting
ulferts28302404bb6d
diff --git a/app/models/journable/with_historic_attributes.rb b/app/models/journable/with_historic_attributes.rbindex dd8dcbcd25d..835e7257d9f 100644--- a/app/models/journable/with_historic_attributes.rb+++ b/app/models/journable/with_historic_attributes.rb@@ -148,6 +148,7 @@ class Journable::WithHistoricAttributes < SimpleDelegatordef exists_at_timestampstimestamps.select { |t| at_timestamp(t).present? }end+def baseline_timestamptimestamps.firstenddiff --git a/spec/models/journable/with_historic_attributes_spec.rb b/spec/models/journable/with_historic_attributes_spec.rbindex 64dab3bfd9d..f9fcd9a90d0 100644--- a/spec/models/journable/with_historic_attributes_spec.rb+++ b/spec/models/journable/with_historic_attributes_spec.rb@@ -101,7 +101,8 @@ describe Journable::WithHistoricAttributes dojournal_attributes = work_package_attributes \.extract!(*Journal::WorkPackageJournal.attribute_names) \.symbolize_keys.merge(attributes)- create(:work_package_journal, version:,+ create(:work_package_journal,+ version:,journable:, created_at: timestamp, updated_at: timestamp,data: build(:journal_work_package_journal, journal_attributes))end