Skip to content

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

prevent journal aggregation in spec

ulfertsc7ce4fb5eee2
diff --git a/modules/backlogs/spec/models/burndown_spec.rb b/modules/backlogs/spec/models/burndown_spec.rb
index a6f7ff2ba06..01dcbf6417b 100644
--- a/modules/backlogs/spec/models/burndown_spec.rb
+++ b/modules/backlogs/spec/models/burndown_spec.rb
@@ -28,7 +28,9 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
-describe Burndown, type: :model do
+describe Burndown,
+ type: :model,
+ with_settings: { journal_aggregation_time_minutes: 0 } do
def set_attribute_journalized(story, attribute, value, day)
story.reload
story.send(attribute, value)