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
Fix rubocop errors
Dombi Attila3d03ad1ea72c
diff --git a/spec/lib/api/v3/notifications/details_factory_spec.rb b/spec/lib/api/v3/notifications/details_factory_spec.rbindex fcdca8039d5..8d832fc0800 100644--- a/spec/lib/api/v3/notifications/details_factory_spec.rb+++ b/spec/lib/api/v3/notifications/details_factory_spec.rb@@ -29,12 +29,12 @@require 'spec_helper'describe ::API::V3::Notifications::DetailsFactory do- let(:resource) { build_stubbed :work_package }+ let(:resource) { build_stubbed(:work_package) }let(:notification) do- build_stubbed :notification,+ build_stubbed(:notification,resource:,- reason:+ reason:)enddescribe '.for' dodiff --git a/spec/lib/api/v3/notifications/notification_representer_rendering_spec.rb b/spec/lib/api/v3/notifications/notification_representer_rendering_spec.rbindex dabe40359d9..7fdeb5d9db6 100644--- a/spec/lib/api/v3/notifications/notification_representer_rendering_spec.rb+++ b/spec/lib/api/v3/notifications/notification_representer_rendering_spec.rb@@ -34,7 +34,7 @@ describe ::API::V3::Notifications::NotificationRepresenter, 'rendering' dosubject(:generated) { representer.to_json }shared_let(:project) { create :project }- let(:resource) { build_stubbed :work_package, project: }+ let(:resource) { build_stubbed(:work_package, project:) }let(:recipient) { build_stubbed(:user) }let(:journal) { nil }diff --git a/spec/requests/api/v3/values/schemas/value_schema_resource_spec.rb b/spec/requests/api/v3/values/schemas/value_schema_resource_spec.rbindex c57f6411482..c383b7846a0 100644--- a/spec/requests/api/v3/values/schemas/value_schema_resource_spec.rb+++ b/spec/requests/api/v3/values/schemas/value_schema_resource_spec.rb@@ -30,8 +30,7 @@ require 'spec_helper'describe ::API::V3::Values::Schemas::ValueSchemaAPI,'show',- content_type: :json,- type: :request do+ content_type: :json doinclude API::V3::Utilities::PathHelpercurrent_user { build_stubbed(:user) }