Fix spec services
This commit is contained in:
parent
402459437d
commit
3899991baf
1 changed files with 2 additions and 2 deletions
|
@ -8,13 +8,13 @@ describe RenderPartialService do
|
||||||
describe 'navbar' do
|
describe 'navbar' do
|
||||||
subject { service.navbar }
|
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
|
end
|
||||||
|
|
||||||
describe 'left_panel' do
|
describe 'left_panel' do
|
||||||
subject { service.left_panel }
|
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
|
end
|
||||||
|
|
||||||
describe 'left_panel_exist?' do
|
describe 'left_panel_exist?' do
|
||||||
|
|
Loading…
Reference in a new issue