add a constant for the most used test password

This commit is contained in:
Christian Lautier 2023-03-03 03:16:15 -10:00 committed by simon lehericey
parent 30c8d3afcb
commit db278e83ed
19 changed files with 29 additions and 27 deletions

View file

@ -36,7 +36,7 @@ describe Manager::AdministrateursController, type: :controller do
describe 'POST #create' do
let(:email) { 'plop@plop.com' }
let(:password) { 'my-s3cure-p4ssword' }
let(:password) { SECURE_PASSWORD }
subject { post :create, params: { administrateur: { email: email } } }