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

Set the correct locale now that crowdin translations are being fixed

Oliver Günther079eb28477b7
diff --git a/spec/features/projects/projects_custom_fields_spec.rb b/spec/features/projects/projects_custom_fields_spec.rb
index eb8d0ef4873..8c6d3dd2c08 100644
--- a/spec/features/projects/projects_custom_fields_spec.rb
+++ b/spec/features/projects/projects_custom_fields_spec.rb
@@ -166,6 +166,8 @@ describe 'Projects custom fields', type: :feature, js: true do
let(:current_user) { FactoryBot.create :admin, language: 'de' }
it 'displays the float with german locale' do
+ I18n.locale = :de
+
visit new_project_path
name_field.set_value 'My project name'