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 location in storage spec

Oliver Günther572b3dd1a7dc
diff --git a/modules/storages/spec/common/peripherals/storage_requests_spec.rb b/modules/storages/spec/common/peripherals/storage_requests_spec.rb
index be5e1d26f9a..0a8643f9cdd 100644
--- a/modules/storages/spec/common/peripherals/storage_requests_spec.rb
+++ b/modules/storages/spec/common/peripherals/storage_requests_spec.rb
@@ -361,7 +361,7 @@ RSpec.describe Storages::Peripherals::StorageRequests, webmock: true do
expect(result).to be_success
storage_file = result.result
expect(storage_file.id).to eq(819)
- expect(storage_file.location).to eq("/OpenProject/[Sample] Project Name | Ehuuu(10)")
+ expect(storage_file.location).to eq("/OpenProject/%5BSample%5D%20Project%20Name%20%7C%20Ehuuu%2810%29")
expect(storage_file.mime_type).to eq("application/x-op-directory")
expect(storage_file.name).to eq("[Sample] Project Name | Ehuuu(10)")
expect(storage_file.permissions).to eq("RMGDNVCK")