Make the task name match the filename

This commit is contained in:
gregoirenovel 2018-06-07 16:03:37 +02:00
parent 7a73db54c8
commit 161ad8151b

View file

@ -1,4 +1,4 @@
namespace :'2018_06_05_resend_attestation' do
namespace :'2018_06_05_resend_attestations' do
task set: :environment do
procedure = Procedure.find(4247)
dossiers = procedure.dossiers.includes(:attestation).where(state: 'accepte').select do |d|