puppet-cinder/spec/classes/cinder_db_sync_spec.rb
Dan Bode ec77314554 Add basic spec tests
This commit adds basic test coverage. It is no
100% coverage, but its a great start.
2012-10-29 12:58:03 -07:00

17 lines
340 B
Ruby

require 'spec_helper'
describe 'cinder::db::sync' do
let :facts do
{:osfamily => 'Debian'}
end
it { should contain_exec('cinder-manage db_sync').with(
:command => 'cinder-manage db sync',
:path => '/usr/bin',
:user => 'cinder',
:refreshonly => true,
:logoutput => 'on_failure'
) }
end