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

adapt expected charset

ulferts34a06eac11d7
diff --git a/spec_legacy/functional/sys_controller_spec.rb b/spec_legacy/functional/sys_controller_spec.rb
index 6888ea99786..40227e5de3f 100644
--- a/spec_legacy/functional/sys_controller_spec.rb
+++ b/spec_legacy/functional/sys_controller_spec.rb
@@ -43,7 +43,7 @@ describe SysController, type: :controller do
it 'should projects with repository enabled' do
get :projects
assert_response :success
- assert_equal 'application/xml', response.content_type
+ assert_equal 'application/xml; charset=utf-8', response.content_type
assert_select 'projects', children: { count: Project.active.has_module(:repository).count }
end