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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
adapt spec expectation on error messages
ulferts07b73a3e9d87
diff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/inputs/set_permissions_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/inputs/set_permissions_spec.rbindex 55cd0482caf..e2fd2f518ce 100644--- a/modules/storages/spec/common/storages/peripherals/storage_interaction/inputs/set_permissions_spec.rb+++ b/modules/storages/spec/common/storages/peripherals/storage_interaction/inputs/set_permissions_spec.rb@@ -34,7 +34,7 @@ RSpec.describe Storages::Peripherals::StorageInteraction::Inputs::SetPermissionsdescribe ".new" doit "discourages direct instantiation" doexpect { described_class.new(file_id: "file_id", user_permissions: []) }- .to raise_error(NoMethodError, /private method `new'/)+ .to raise_error(NoMethodError, /private method 'new'/)endenddiff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rbindex c80c457f303..a21df99f0a5 100644--- a/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rb+++ b/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rb@@ -137,7 +137,7 @@ RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::SetPermissio.with(error_code: :error,message: nil,- data: %r{/lib/httpx/response.rb:262:in `full_message': timed out while waiting on select \(HTTPX::ConnectTimeoutError\)\n$}+ data: %r{/lib/httpx/response.rb:262:in 'full_message': timed out while waiting on select \(HTTPX::ConnectTimeoutError\)\n$}).once# rubocop:enable Layout/LineLengthend