2023-03-06 15:51:08 +01:00
|
|
|
describe 'users/dossiers/siret', type: :view do
|
2018-10-04 09:43:19 +02:00
|
|
|
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
|