remove email_notifications_enabled column because of the new daily_email_notifications_enabled
This commit is contained in:
parent
4934a6359b
commit
4a70a7fcc8
9 changed files with 14 additions and 16 deletions
|
@ -424,7 +424,7 @@ describe Instructeurs::ProceduresController, type: :controller do
|
|||
let(:assign_to) { instructeur.assign_to.joins(:groupe_instructeur).find_by(groupe_instructeurs: { procedure: procedure }) }
|
||||
|
||||
before do
|
||||
patch :update_email_notifications, params: { procedure_id: procedure.id, assign_to: { id: assign_to.id, email_notifications_enabled: true } }
|
||||
patch :update_email_notifications, params: { procedure_id: procedure.id, assign_to: { id: assign_to.id, daily_email_notifications_enabled: true } }
|
||||
end
|
||||
|
||||
it { expect(instructeur.groupe_instructeur_with_email_notifications).to eq([procedure.defaut_groupe_instructeur]) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue