diff --git a/test/integration/vimrc/controls/config_spec.rb b/test/integration/vimrc/controls/config_spec.rb new file mode 100644 index 0000000..95f62c2 --- /dev/null +++ b/test/integration/vimrc/controls/config_spec.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +control 'vimrc is managed' do + title 'formula should manage .vimrc' + + describe file('/home/vim_user/.vimrc') do + it { should be_owned_by 'vim_user' } + its('mode') { should cmp '0644' } + its('content') { should match(/syntax on/) } + end +end