2023-04-13 13:10:23 +02:00
|
|
|
describe 'Accessing the /patron page:' do
|
2024-06-01 22:50:48 +02:00
|
|
|
let(:administrateur) { administrateurs(:default_admin) }
|
2024-04-23 17:30:13 +02:00
|
|
|
before { sign_in administrateur.user }
|
|
|
|
|
2022-05-31 08:44:40 +02:00
|
|
|
scenario 'I can display a page with all form fields and UI elements' do
|
|
|
|
visit patron_path
|
|
|
|
expect(page).to have_text('Icônes')
|
|
|
|
expect(page).to have_text('Formulaires')
|
|
|
|
expect(page).to have_text('Boutons')
|
|
|
|
end
|
|
|
|
end
|