Merge pull request #80 from sgmap/fix-tests
Fix a failing test, incompatible with the new DatabaseCleaner strategy
This commit is contained in:
commit
216e7d9775
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ feature 'As an administrateur I wanna create a new procedure', js: true do
|
|||
|
||||
page.find_by_id('onglet-preview').trigger('click')
|
||||
expect(page).to have_current_path(admin_procedure_previsualisation_path(Procedure.first.id.to_s))
|
||||
expect(page.find_by_id('champs_1')['placeholder']).to eq('libelle de champ')
|
||||
expect(page.find("input[type='text']")['placeholder']).to eq('libelle de champ')
|
||||
expect(page.first('.piece-libelle').text).to eq('libelle de piece')
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue