specs: remove invalid js: true specifier

Views specs cant't run Javascript.
This commit is contained in:
Pierre de La Morinerie 2021-10-19 16:23:08 +02:00
parent 39a5d80a53
commit 0de8fd23c7

View file

@ -34,7 +34,7 @@ describe 'new_administrateur/procedures/show.html.haml', type: :view do
render
end
describe 'archive button is visible', js: true do
describe 'archive button is visible' do
it { expect(rendered).not_to have_css('#publish-procedure-link') }
it { expect(rendered).to have_css('#close-procedure-link') }
end