Bladeren bron

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

tags/v0.48.4
Felipe Zipitria 5 jaren geleden
bovenliggende
commit
569e9276db
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 11 en 0 verwijderingen
  1. +11
    -0
      test/integration/vimrc/controls/config_spec.rb

+ 11
- 0
test/integration/vimrc/controls/config_spec.rb Bestand weergeven

@@ -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

Laden…
Annuleren
Opslaan