Stub administrateur devise methods in spec

This commit is contained in:
simon lehericey 2019-08-09 15:34:53 +02:00
parent d0ac1c3301
commit dc816472e9

View file

@ -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