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 spec sorting

as-opccd9858dc06f
diff --git a/spec/models/work_package/exporter/csv_integration_spec.rb b/spec/models/work_package/exporter/csv_integration_spec.rb
index 0c1059290ce..52ecf63edf6 100644
--- a/spec/models/work_package/exporter/csv_integration_spec.rb
+++ b/spec/models/work_package/exporter/csv_integration_spec.rb
@@ -93,7 +93,7 @@ RSpec.describe WorkPackage::Exports::CSV, "integration" do
Query.new_default.tap do |query|
query.show_hierarchies = false
query.group_by = "type"
- query.sort_criteria = [["id", "asc"]]
+ query.sort_criteria = [["subject", "asc"]]
query.column_names = %i(type subject)
end
end