16 lines
317 B
Ruby
16 lines
317 B
Ruby
# frozen_string_literal: true
|
|
|
|
describe 'users/dossiers/siret', type: :view do
|
|
let(:dossier) { create(:dossier) }
|
|
|
|
before do
|
|
sign_in dossier.user
|
|
assign(:dossier, dossier)
|
|
end
|
|
|
|
subject! { render }
|
|
|
|
it 'affiche le formulaire de SIRET' do
|
|
expect(rendered).to have_field('Numéro SIRET')
|
|
end
|
|
end
|