fix(spec): broken

This commit is contained in:
mfo 2024-06-25 14:52:01 +02:00
parent f83c565297
commit 554141bb67
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC

View file

@ -43,7 +43,7 @@ describe Administrateurs::ExpertsProceduresController, type: :controller do
render_views
it 'warns' do
expect(flash.alert).to be_present
expect(assigns(:maybe_typo)).to eq(['martin@oraneg.fr'])
expect(assigns(:maybe_typo)).to eq([['martin@oraneg.fr', 'martin@orange.fr']])
expect(response).to have_http_status(:success)
end
end