demarches-normaliennes/spec/views/users/dossiers/siret.html.haml_spec.rb
2019-03-25 10:56:39 +01:00

16 lines
319 B
Ruby

require 'spec_helper'
describe 'users/dossiers/siret.html.haml', 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