init_spec.rb 483 Bytes
Newer Older
varac's avatar
varac committed
1
2
3
4
5
6
7
8
9
10
11
require 'spec_helper'

describe 'apt', :type => :class do
  let :pre_condition do
    'class { "apt": }'
  end
  let(:facts) { {
    :lsbdistid => 'Debian',
    :osfamily => 'Debian',
    :operatingsystem => 'Debian',
    :debian_release  => 'jessie',
varac's avatar
varac committed
12
    :debian_codename => 'jessie',
varac's avatar
varac committed
13
    :lsbdistcodename => 'jessie',
varac's avatar
varac committed
14
    :virtual         => 'physical',
varac's avatar
varac committed
15
16
17
18
    :puppetversion   => Puppet.version, } }
  #it { is_expected.to compile.with_all_deps }
  it { is_expected.to compile }
end