summaryrefslogtreecommitdiff
path: root/spec/classes/openvpn_config_spec.rb
blob: bbb63a775f7947c8b5fbce7fef03081c3971386a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'spec_helper'
 
describe 'openvpn::config', :type => :class do
  
  it { should create_class('openvpn::config') }
  
  context "on Debian based machines" do
    let (:facts) { { :osfamily => 'Debian', :concat_basedir => '/var/lib/puppet/concat' } }

    it { should contain_class('concat::setup') }
    it { should contain_concat('/etc/default/openvpn') }
    it { should contain_concat__fragment('openvpn.default.header') }
  end

end