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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[chore] enable contract localization test
Eric Schubertcdd8c16e5b12
diff --git a/spec/contracts/custom_fields/hierarchy/insert_item_contract_spec.rb b/spec/contracts/custom_fields/hierarchy/insert_item_contract_spec.rbindex 363a36d6f41..51d770a10d3 100644--- a/spec/contracts/custom_fields/hierarchy/insert_item_contract_spec.rb+++ b/spec/contracts/custom_fields/hierarchy/insert_item_contract_spec.rb@@ -70,12 +70,12 @@ RSpec.describe CustomFields::Hierarchy::InsertItemContract doexpect(result.errors.to_h).to include(label: ["must be unique within the same hierarchy level"])end- context "if locale is set to 'de'", skip: "Skipped until the german localization is available" do+ context "if locale is set to 'de'" doit "is invalid with localized validation errors" doI18n.with_locale(:de) doresult = subject.call(params)expect(result).to be_failure- expect(result.errors.to_h).to include(label: ["muss einzigartig innerhalb derselben Hierarchieebene sein"])+ expect(result.errors.to_h).to include(label: ["muss innerhalb der gleichen Hierarchieebene eindeutig sein"])endendend