Iterate over type_de_champ in repetition type_de_champ
This commit is contained in:
parent
a62e9fe6d2
commit
4f317e84d1
3 changed files with 28 additions and 0 deletions
|
@ -11,4 +11,18 @@ describe Manager::ProceduresController, type: :controller do
|
|||
|
||||
it { expect(procedure.whitelisted_at).not_to be_nil }
|
||||
end
|
||||
|
||||
describe '#show' do
|
||||
render_views
|
||||
|
||||
let(:administration) { create(:administration) }
|
||||
let!(:procedure) { create(:procedure, :with_repetition) }
|
||||
|
||||
before do
|
||||
sign_in(administration)
|
||||
get :show, params: { id: procedure.id }
|
||||
end
|
||||
|
||||
it { expect(response.body).to include('sub type de champ') }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue