Skip to content
Snippets Groups Projects
Unverified Commit 569e9276 authored by Felipe Zipitria's avatar Felipe Zipitria Committed by Imran Iqbal
Browse files

test(inspec): add test to check `.vimrc` file is generated properly

parent a263a62e
No related branches found
No related tags found
No related merge requests found
# 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment