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 some test flakiness

Christophe Bliard0626d95451c7
diff --git a/spec/migrations/rename_visible_to_admin_only_in_custom_fields_spec.rb b/spec/migrations/rename_visible_to_admin_only_in_custom_fields_spec.rb
index 3e5cf99016e..dc9d9c5266f 100644
--- a/spec/migrations/rename_visible_to_admin_only_in_custom_fields_spec.rb
+++ b/spec/migrations/rename_visible_to_admin_only_in_custom_fields_spec.rb
@@ -32,7 +32,7 @@ require Rails.root.join("db/migrate/20240805104004_rename_visible_to_admin_only_
RSpec.describe RenameVisibleToAdminOnlyInCustomFields, type: :model do
after do
# Reset after each spec to ensure we have the column information up to date.
- ProjectCustomField.reset_column_information
+ CustomField.reset_column_information
end
context "when migrating up" do