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

adjust localized XLS expectation

as-opa3e427b1a8f2
diff --git a/modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb b/modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb
index ad5ae1af501..7aebd1a016b 100644
--- a/modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb
+++ b/modules/xls_export/spec/models/xls_export/work_package/exporter/xls_integration_spec.rb
@@ -202,7 +202,7 @@ RSpec.describe XlsExport::WorkPackage::Exporter::XLS do
expect(sheet.rows.size).to eq(4 + 1)
cost_column = sheet.columns.last.to_a
- %w[1 99.99 1000].each do |value|
+ %w[1 99.99 1,000].each do |value|
expect(cost_column).to include(value)
end
end
@@ -217,7 +217,7 @@ RSpec.describe XlsExport::WorkPackage::Exporter::XLS do
expect(sheet.rows.size).to eq(4 + 1)
cost_column = sheet.columns.last.to_a
- %w[1 99,99 1000].each do |value|
+ %w[1 99,99 1.000].each do |value|
expect(cost_column).to include(value)
end
end