This is JJs first test to get higher unit testing
Ideally, I'll get all the resources covered here. Change-Id: Id9bce8101805309b059e468d2907fce37c156971
This commit is contained in:
@@ -10,6 +10,10 @@ describe 'openstack-common::logging' do
|
||||
describe '/etc/openstack' do
|
||||
let(:dir) { chef_run.directory('/etc/openstack') }
|
||||
|
||||
it 'should create /etc/openstack' do
|
||||
expect(chef_run).to create_directory('/etc/openstack')
|
||||
end
|
||||
|
||||
it 'has proper owner' do
|
||||
expect(dir.owner).to eq('root')
|
||||
expect(dir.group).to eq('root')
|
||||
|
Reference in New Issue
Block a user