2 describe 'apt::builddep', :type => :define do
4 let(:facts) { { :lsbdistid => 'Debian' } }
5 let(:title) { 'my_package' }
8 it { should contain_exec("apt-builddep-my_package").that_notifies('Exec[apt_update]').with({
9 'command' => "/usr/bin/apt-get -y --force-yes build-dep my_package",
10 'logoutput' => 'on_failure'
13 it { should contain_anchor("apt::builddep::my_package").with({
14 'require' => 'Class[Apt::Update]',