diff --git a/spec/classes/testca_spec.rb b/spec/classes/testca_spec.rb index 73bb896..fea22aa 100644 --- a/spec/classes/testca_spec.rb +++ b/spec/classes/testca_spec.rb @@ -8,10 +8,10 @@ it { is_expected.to compile } it 'check repo file' do - repo_file='/etc/yum.repos.d/test-ca.repo' + repo_file = '/etc/yum.repos.d/test-ca.repo' is_expected.to contain_file('test-ca.repo').with( - :ensure => 'file', - :path => repo_file, + ensure: 'file', + path: repo_file, ) end it 'check igi-test-ca' do