Skip to content

Commit

Permalink
fix spec-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
to-kn committed Jan 5, 2018
1 parent c30b8d6 commit 902f4fd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spec/defines/openvpn_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@
it { is_expected.not_to contain_exec('renew crl.pem on test_server') }
it { is_expected.not_to contain_file('/etc/openvpn/test_server.conf').with_content(%r{^secret}) }

it { is_expected.not_to contain_exec('renew crl.pem on test_server') }

it { is_expected.not_to contain_file('/etc/openvpn/test_server.conf').with_content(%r{verb}) }
it { is_expected.to contain_file('/etc/openvpn/test_server.conf').with_content(%r{cipher AES-256-CBC}) }
it { is_expected.not_to contain_file('/etc/openvpn/test_server.conf').with_content(%r{persist-key}) }
Expand Down Expand Up @@ -250,8 +248,6 @@
it { is_expected.not_to contain_file('/etc/openvpn/test_server.conf').with_content(%r{^sndbuf}) }
it { is_expected.not_to contain_file('/etc/openvpn/test_server.conf').with_content(%r{^rcvbuf}) }

it { is_expected.to contain_exec('renew crl.pem on test_server') }

it { is_expected.to contain_file('/etc/openvpn/test_server/keys/pre-shared.secret').with_content(%r{^secretsecret1234$}).with(ensure: 'present') }
it { is_expected.to contain_schedule('renew crl.pem schedule on test_server') }
it { is_expected.to contain_exec('renew crl.pem on test_server') }
Expand Down

0 comments on commit 902f4fd

Please sign in to comment.