puppet-bind/spec/classes/bind_spec.rb
Nate Riffe 636e77356a Add an assertion.
Mostly, this implies adding all of the boilerplate needed to start using
rspec-puppet with fixtures and whatnot.
2014-12-15 14:05:53 -06:00

18 lines
361 B
Ruby

# ex: syntax=ruby ts=2 sw=2 si et
require 'spec_helper'
describe 'bind' do
let(:facts) { { :concat_basedir => '/wtf' } }
context 'on Debian-derived systems' do
let(:facts) { super().merge({ :osfamily => 'Debian' }) }
it { should contain_package('bind').with({
'ensure' => 'latest',
'name' => 'bind9'
})
}
end
end