13 lines
407 B
Ruby
13 lines
407 B
Ruby
# frozen_string_literal: true
|
|
|
|
describe 'Accessing the /patron page:' do
|
|
let(:administrateur) { administrateurs(:default_admin) }
|
|
before { sign_in administrateur.user }
|
|
|
|
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
|