Change spec according to layout rendering service

This commit is contained in:
JC 2016-11-22 16:30:35 +01:00
parent 5b61d41030
commit 5ba1c85ca7
2 changed files with 3 additions and 3 deletions

View file

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

View file

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