Improve a test title in the _render_list_champs test
This commit is contained in:
parent
14b7badfed
commit
b34bf4846c
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ describe 'users/description/champs/render_list_champs.html.haml', type: :view do
|
||||||
render 'users/description/champs/render_list_champs.html.haml', champs: Champ.all, order_place: 0
|
render 'users/description/champs/render_list_champs.html.haml', champs: Champ.all, order_place: 0
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should render a number input with the right data-attribute' do
|
it 'should render the _dossier_link partial' do
|
||||||
expect(view).to render_template(partial: 'users/description/champs/_dossier_link',
|
expect(view).to render_template(partial: 'users/description/champs/_dossier_link',
|
||||||
locals: { champ: champ })
|
locals: { champ: champ })
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue