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

fixed spec due to changed validation approach

Jonas Jabari15132d07c072
diff --git a/spec/features/admin/project_custom_fields/create_spec.rb b/spec/features/admin/project_custom_fields/create_spec.rb
index 33e43f63012..d6229369c93 100644
--- a/spec/features/admin/project_custom_fields/create_spec.rb
+++ b/spec/features/admin/project_custom_fields/create_spec.rb
@@ -114,7 +114,8 @@ RSpec.describe "Create project custom fields", :js do
click_on("Save")
- expect(page).to have_text("section can't be blank.")
+ expect(page).to have_field "custom_field_custom_field_section_id",
+ validation_message: "Please select an item in the list."
end
end
end