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