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 order in expected error message

ulferts8baeea286d0f
diff --git a/spec/models/mail_handler_spec.rb b/spec/models/mail_handler_spec.rb
index 1e7568f99e8..49006d06532 100644
--- a/spec/models/mail_handler_spec.rb
+++ b/spec/models/mail_handler_spec.rb
@@ -732,11 +732,11 @@ RSpec.describe MailHandler do
context 'with unknown_user: \'accept\' and permission check present' do
let(:expected) do
'MailHandler: work_package could not be created by Anonymous due to ' \
- '#["may not be accessed.", ' \
- '"Type was attempted to be written but is not writable.", ' \
+ '#["Type was attempted to be written but is not writable.", ' \
'"Project was attempted to be written but is not writable.", ' \
'"Subject was attempted to be written but is not writable.", ' \
- '"Description was attempted to be written but is not writable."]'
+ '"Description was attempted to be written but is not writable.", ' \
+ '"may not be accessed."]'
end
let(:permission) { nil }