From 3899991baf1fc832cd86690087729da584876d89 Mon Sep 17 00:00:00 2001 From: Xavier J Date: Thu, 1 Dec 2016 18:09:26 +0100 Subject: [PATCH] Fix spec services --- spec/services/render_partial_service_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/services/render_partial_service_spec.rb b/spec/services/render_partial_service_spec.rb index 055847c0c..ea94d3d5a 100644 --- a/spec/services/render_partial_service_spec.rb +++ b/spec/services/render_partial_service_spec.rb @@ -8,13 +8,13 @@ describe RenderPartialService do describe 'navbar' do subject { service.navbar } - it { is_expected.to eq 'layouts/navbars/_navbar_'+controller.to_s.parameterize + '_' + method.to_s } + it { is_expected.to eq 'layouts/navbars/navbar_'+controller.to_s.parameterize + '_' + method.to_s } end describe 'left_panel' do subject { service.left_panel } - it { is_expected.to eq 'layouts/left_panel/_left_panel_'+controller.to_s.parameterize + '_' + method.to_s } + it { is_expected.to eq 'layouts/left_panels/left_panel_'+controller.to_s.parameterize + '_' + method.to_s } end describe 'left_panel_exist?' do