From 2dce9ca4c11ffeb43aaafe7551d3fa098fad75c4 Mon Sep 17 00:00:00 2001 From: Justin Lambert Date: Fri, 11 Jan 2013 07:08:56 -0700 Subject: spec tests catching up with code. got commit happy before --- spec/classes/openvpn_install_spec.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 spec/classes/openvpn_install_spec.rb (limited to 'spec/classes/openvpn_install_spec.rb') 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 -- cgit v1.2.3