Fix variable name
This commit is contained in:
parent
b7ea7c9fcf
commit
07806701dc
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ feature 'user is on description page' do
|
|||
context 'when he adds a piece_justificative and submit form' do
|
||||
before do
|
||||
file_input_id = 'piece_justificative_' + dossier.pieces_justificatives.first.type.to_s
|
||||
attach_file(file_inp ut_id, File.path('spec/support/files/dossierPDF.pdf'))
|
||||
attach_file(file_input_id, File.path('spec/support/files/dossierPDF.pdf'))
|
||||
click_on('Soumettre mon dossier')
|
||||
dossier.reload
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue