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

Improve indentation.

Pavel Balashov2b6a46425dd0
diff --git a/modules/storages/spec/common/peripherals/storage_requests_spec.rb b/modules/storages/spec/common/peripherals/storage_requests_spec.rb
index 5b369ba3e13..ff843123fb2 100644
--- a/modules/storages/spec/common/peripherals/storage_requests_spec.rb
+++ b/modules/storages/spec/common/peripherals/storage_requests_spec.rb
@@ -543,8 +543,8 @@ describe Storages::Peripherals::StorageRequests, webmock: true do
it 'adds user to the group' do
result = subject
- .add_user_to_group_command
- .call(user: origin_user_id)
+ .add_user_to_group_command
+ .call(user: origin_user_id)
expect(result).to be_success
expect(result.message).to eq("User has been added successfully")
end
@@ -587,8 +587,8 @@ describe Storages::Peripherals::StorageRequests, webmock: true do
it 'removes user from the group' do
result = subject
- .remove_user_from_group_command
- .call(user: origin_user_id)
+ .remove_user_from_group_command
+ .call(user: origin_user_id)
expect(result).to be_success
expect(result.message).to eq("User has been removed from group")
end
@@ -961,9 +961,9 @@ describe Storages::Peripherals::StorageRequests, webmock: true do
describe 'with Nextcloud storage type selected' do
it 'responds with a list of paths and attributes for each of them' do
result = subject
- .propfind_query
- .call(depth: '1', path: 'OpenProject')
- .result
+ .propfind_query
+ .call(depth: '1', path: 'OpenProject', props: %w[oc:fileid])
+ .result
expect(result).to eq({ "OpenProject/" => { "fileid" => "349" },
"OpenProject/Project #2/" => { "fileid" => "381" },
"OpenProject/Project#1/" => { "fileid" => "773" },