Stub administrateur devise methods in spec
This commit is contained in:
parent
d0ac1c3301
commit
dc816472e9
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ describe 'layouts/procedure_context.html.haml', type: :view do
|
|||
|
||||
before do
|
||||
allow(view).to receive(:instructeur_signed_in?).and_return(false)
|
||||
allow(view).to receive(:administrateur_signed_in?).and_return(false)
|
||||
end
|
||||
|
||||
subject do
|
||||
|
|
Loading…
Reference in a new issue