Refactor procedures_controller
This commit is contained in:
parent
b42095363e
commit
f1fd1b38ec
5 changed files with 23 additions and 50 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue