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

[#66093] Fix spec that broke due to rename

Tobias Dillmanne0fa181c4b39
diff --git a/spec/features/admin/custom_fields/projects/index_spec.rb b/spec/features/admin/custom_fields/projects/index_spec.rb
index 72813f2d9cd..dafcee06000 100644
--- a/spec/features/admin/custom_fields/projects/index_spec.rb
+++ b/spec/features/admin/custom_fields/projects/index_spec.rb
@@ -159,7 +159,7 @@ RSpec.describe "List project custom fields", :js do
describe "managing project custom fields" do
context "with calculated value feature flag active", with_flag: { calculated_value_project_attribute: true } do
it "offers the type for creation" do
- cf_index_page.expect_having_create_item("Calculated value")
+ cf_index_page.expect_having_create_item(I18n.t("label_calculated_value"))
end
context "with fields of type calculated value" do