Follow flipper name convention to appears on manager admin page
This commit is contained in:
parent
e3513f86ef
commit
9469734f29
2 changed files with 3 additions and 3 deletions
|
@ -30,14 +30,14 @@
|
|||
.procedure-list-element
|
||||
Administrateurs
|
||||
|
||||
- if !feature_enabled?(:routage)
|
||||
- if !feature_enabled?(:administrateur_routage)
|
||||
%a#onglet-instructeurs{ href: url_for(admin_procedure_assigns_path(@procedure)) }
|
||||
.procedure-list-element{ class: ('active' if active == 'Instructeurs') }
|
||||
Instructeurs
|
||||
- if @procedure.missing_steps.include?(:instructeurs)
|
||||
%p.missing-steps (à compléter)
|
||||
|
||||
- if feature_enabled?(:routage)
|
||||
- if feature_enabled?(:administrateur_routage)
|
||||
%a#onglet-instructeurs{ href: url_for(procedure_groupe_instructeurs_path(@procedure)) }
|
||||
.procedure-list-element
|
||||
Groupe d'instructeurs
|
||||
|
|
|
@ -7,7 +7,7 @@ feature 'The routing' do
|
|||
let(:scientifique_user) { create(:user, password: password) }
|
||||
let(:litteraire_user) { create(:user, password: password) }
|
||||
|
||||
before { Flipper.enable_actor(:routage, administrateur.user) }
|
||||
before { Flipper.enable_actor(:administrateur_routage, administrateur.user) }
|
||||
|
||||
scenario 'works' do
|
||||
login_as administrateur.user, scope: :user
|
||||
|
|
Loading…
Reference in a new issue