Refactor procedures_controller

This commit is contained in:
Paul Chavard 2018-10-25 17:42:09 +02:00
parent b42095363e
commit f1fd1b38ec
5 changed files with 23 additions and 50 deletions

View file

@ -7,8 +7,6 @@ feature 'As an administrateur I wanna create a new procedure', js: true do
let(:administrateur) { create(:administrateur) }
before do
# FIXME: needed to make procedure_path validation work
create(:procedure)
Flipflop::FeatureSet.current.test!.switch!(:publish_draft, true)
login_as administrateur, scope: :administrateur
visit root_path