Stub instructeur devise methods in spec
This commit is contained in:
parent
c8a7bde5e0
commit
0d71a820a8
4 changed files with 26 additions and 18 deletions
|
@ -4,6 +4,7 @@ describe 'instructeurs/dossiers/show.html.haml', type: :view do
|
|||
|
||||
before do
|
||||
sign_in current_instructeur
|
||||
allow(view).to receive(:current_instructeur).and_return(current_instructeur)
|
||||
assign(:dossier, dossier)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue