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

Remove dead code

Christophe Bliardd78732dc0bc8
diff --git a/spec/support/schedule_helpers.rb b/spec/support/schedule_helpers.rb
index 3e6053dfae9..2c8781242f8 100644
--- a/spec/support/schedule_helpers.rb
+++ b/spec/support/schedule_helpers.rb
@@ -289,17 +289,6 @@ module ScheduleHelpers
due_date: due_pos && (chart.monday - @nb_days_from_origin_monday + due_pos)
}
end
-
- def parse_follows_relation_line(line)
- to, from = line.split(' -> ', 2).map(&:strip).map(&:to_sym)
- [to, from].each do |name|
- next if chart.work_packages.has_key?(name)
-
- raise "unable to find work package #{name.inspect} in relation #{line.inspect}"
- end
-
- { from:, to:, relation_type: Relation::TYPE_FOLLOWS }
- end
end
module LetSchedule