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
make rubocop happier
Christophe Bliard81e819dce1f2
diff --git a/modules/storages/app/services/storages/project_storages/delete_service.rb b/modules/storages/app/services/storages/project_storages/delete_service.rbindex 0b1cabdda64..3642635e65c 100644--- a/modules/storages/app/services/storages/project_storages/delete_service.rb+++ b/modules/storages/app/services/storages/project_storages/delete_service.rb@@ -38,7 +38,7 @@ module Storages::ProjectStoragesdef persist(service_result)# Perform the @object.destroy etc. in the super-classservice_result = super(service_result)-+delete_associated_file_links# Just return the result from the superclass.diff --git a/spec/lib/api/v3/utilities/date_time_formatter_spec.rb b/spec/lib/api/v3/utilities/date_time_formatter_spec.rbindex c92d1b7ee58..ce2a18b7111 100644--- a/spec/lib/api/v3/utilities/date_time_formatter_spec.rb+++ b/spec/lib/api/v3/utilities/date_time_formatter_spec.rb@@ -36,7 +36,7 @@ describe ::API::V3::Utilities::DateTimeFormatter doshared_examples_for 'can format nil' doit 'accepts nil if asked to' do- expect(subject.send(method, nil, allow_nil: true)).to be(nil)+ expect(subject.send(method, nil, allow_nil: true)).to be_nilendit 'returns usual result for non-nils' do@@ -47,7 +47,7 @@ describe ::API::V3::Utilities::DateTimeFormatter doshared_examples_for 'can parse nil' doit 'accepts nil if asked to' do- expect(subject.send(method, nil, 'prop', allow_nil: true)).to be(nil)+ expect(subject.send(method, nil, 'prop', allow_nil: true)).to be_nilendit 'returns usual result for non-nils' do