diff options
author | Justin Lambert <jlambert@eml.cc> | 2013-01-11 07:08:56 -0700 |
---|---|---|
committer | Justin Lambert <jlambert@eml.cc> | 2013-01-11 07:08:56 -0700 |
commit | 2dce9ca4c11ffeb43aaafe7551d3fa098fad75c4 (patch) | |
tree | 5a8873cde7fa6e92b05e2af04dae732942124c16 /spec/classes/openvpn_install_spec.rb | |
parent | 48bbd0cd422d57b4f6278d3b64e53aaf5de787cf (diff) |
spec tests catching up with code. got commit happy before
Diffstat (limited to 'spec/classes/openvpn_install_spec.rb')
-rw-r--r-- | spec/classes/openvpn_install_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/classes/openvpn_install_spec.rb b/spec/classes/openvpn_install_spec.rb new file mode 100644 index 0000000..cdb3135 --- /dev/null +++ b/spec/classes/openvpn_install_spec.rb @@ -0,0 +1,11 @@ +require 'spec_helper' + +describe 'openvpn::install', :type => :class do + + it { should create_class('openvpn::install') } + it { should contain_package('openvpn') } + + it { should contain_file('/etc/openvpn').with('ensure' => 'directory') } + it { should contain_file('/etc/openvpn/keys').with('ensure' => 'directory') } + +end |