Change spec according to layout rendering service
This commit is contained in:
parent
5b61d41030
commit
5ba1c85ca7
2 changed files with 3 additions and 3 deletions
|
@ -60,7 +60,7 @@ class Backoffice::DossiersController < Backoffice::DossiersListController
|
|||
|
||||
NotificationMailer.dossier_validated(@facade.dossier).deliver_now!
|
||||
|
||||
render 'show'
|
||||
redirect_to backoffice_dossier_path(id: @facade.dossier.id)
|
||||
end
|
||||
|
||||
def receive
|
||||
|
|
|
@ -14,6 +14,6 @@ describe RenderPartialService do
|
|||
describe 'left_panel' do
|
||||
subject { service.left_panel }
|
||||
|
||||
it { is_expected.to eq 'layouts/left_panel/_leftpanel_'+controller.to_s.parameterize + '_' + method.to_s }
|
||||
it { is_expected.to eq 'layouts/left_panel/_left_panel_'+controller.to_s.parameterize + '_' + method.to_s }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue