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

make calculated value factory have default formula

Ivan Kuchindc6702f41899
diff --git a/spec/factories/custom_field_factory.rb b/spec/factories/custom_field_factory.rb
index b5ef114a7b7..92b90db4501 100644
--- a/spec/factories/custom_field_factory.rb
+++ b/spec/factories/custom_field_factory.rb
@@ -83,6 +83,7 @@ FactoryBot.define do
trait :calculated_value do
field_format { "calculated_value" }
+ formula { "2 + 2" }
end
trait :float do