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 for CustomFieldFormBuilder

Klaus Zanders185467994469
diff --git a/spec/lib/custom_field_form_builder_spec.rb b/spec/lib/custom_field_form_builder_spec.rb
index 200a666147a..6962933669e 100644
--- a/spec/lib/custom_field_form_builder_spec.rb
+++ b/spec/lib/custom_field_form_builder_spec.rb
@@ -104,7 +104,7 @@ RSpec.describe CustomFieldFormBuilder do
class="custom-class"
data-value="null"
data-id='"user_custom_field_#{custom_field.id}"'
- data-name='"user[custom_field_#{custom_field.id}]"'
+ data-name='"user[#{custom_field.id}]"'
></op-basic-single-date-picker>
HTML
).at_path("op-basic-single-date-picker")