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

Fix factory setup for the timeline query

Aaron Contreras1e4a882ce77b
diff --git a/spec/features/work_packages/timeline/timeline_navigation_spec.rb b/spec/features/work_packages/timeline/timeline_navigation_spec.rb
index 4dc520e486a..e0639178d4b 100644
--- a/spec/features/work_packages/timeline/timeline_navigation_spec.rb
+++ b/spec/features/work_packages/timeline/timeline_navigation_spec.rb
@@ -103,6 +103,8 @@ RSpec.describe 'Work package timeline navigation',
query.name = 'Query with Timeline'
query.save!
+ create(:view_gantt,
+ query:)
query
end