2018-10-04 09:43:19 +02:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2019-03-25 10:53:45 +01:00
|
|
|
describe 'users/dossiers/siret.html.haml', 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
|