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

Fix expected validation message

Oliver Günther2a8bb15d8092
diff --git a/spec/requests/api/v3/attachments/attachment_resource_shared_examples.rb b/spec/requests/api/v3/attachments/attachment_resource_shared_examples.rb
index b0f9b3068de..04d93d92ce3 100644
--- a/spec/requests/api/v3/attachments/attachment_resource_shared_examples.rb
+++ b/spec/requests/api/v3/attachments/attachment_resource_shared_examples.rb
@@ -276,7 +276,7 @@ shared_examples 'an APIv3 attachment resource', type: :request, content_type: :j
let(:metadata) { Hash.new }
it_behaves_like 'constraint violation' do
- let(:message) { "fileName #{I18n.t('activerecord.errors.messages.blank')}" }
+ let(:message) { "File #{I18n.t('activerecord.errors.messages.blank')}" }
end
end