Modify format

In cinder_db_sync_spec.rb file, the format has a problem, fix this.

Change-Id: I49436f2ab5f9dbfab5e4db0524f88f0ac255c5e4
This commit is contained in:
ZhongShengping
2016-05-02 10:00:45 +08:00
parent eaa0b0ddf9
commit 96e98e24f0

View File

@@ -14,21 +14,21 @@ describe 'cinder::db::sync' do
) )
end end
describe "overriding extra_params" do describe "overriding extra_params" do
let :params do let :params do
{ {
:extra_params => '--config-file /etc/cinder/cinder.conf', :extra_params => '--config-file /etc/cinder/cinder.conf',
} }
end end
it { it {
is_expected.to contain_exec('cinder-manage db_sync').with( is_expected.to contain_exec('cinder-manage db_sync').with(
:command => 'cinder-manage --config-file /etc/cinder/cinder.conf db sync', :command => 'cinder-manage --config-file /etc/cinder/cinder.conf db sync',
:user => 'cinder', :user => 'cinder',
:path => '/usr/bin', :path => '/usr/bin',
:refreshonly => 'true', :refreshonly => 'true',
:logoutput => 'on_failure' :logoutput => 'on_failure'
) )
} }
end end