mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-05-23 15:00:51 +02:00
Add test to check .vimrc file is generated properly
This commit is contained in:
parent
9ee7636477
commit
6138e5132e
@ -10,3 +10,13 @@ control 'users configuration' do
|
||||
its('mode') { should cmp '0750' }
|
||||
end
|
||||
end
|
||||
|
||||
control 'vim formula works' do
|
||||
title 'formula should createfile'
|
||||
|
||||
describe file('/home/auser/.vimrc') do
|
||||
it { should be_owned_by 'auser' }
|
||||
its('mode') { should cmp '0644' }
|
||||
its('content') { should match /syntax on/ }
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user