DEV: Apply new Rubocop linting on services

This commit is contained in:
Loïc Guitaut
2024-11-28 16:51:43 +01:00
committed by Loïc Guitaut
parent a52b83333e
commit cf2b4d9934
38 changed files with 68 additions and 1 deletions

View File

@ -11,15 +11,18 @@ RSpec.describe Service::StepsInspector do
model :model
policy :policy
params do
attribute :parameter
validates :parameter, presence: true
end
transaction do
step :in_transaction_step_1
step :in_transaction_step_2
end
try { step :might_raise }
step :final_step
end