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 flaky unit test

Christophe Bliard687bcbdf9be3
diff --git a/spec/models/custom_field/calculated_value_spec.rb b/spec/models/custom_field/calculated_value_spec.rb
index ece7ff147f9..1322e70507f 100644
--- a/spec/models/custom_field/calculated_value_spec.rb
+++ b/spec/models/custom_field/calculated_value_spec.rb
@@ -623,7 +623,7 @@ RSpec.describe CustomField::CalculatedValue, with_flag: { calculated_value_proje
current_user { user }
- it_behaves_like "invalid formula", "contains custom fields that are not allowed: int, float."
+ it_behaves_like "invalid formula", /contains custom fields that are not allowed: (int, float|float, int)./
end
end
end