2 describe 'apt::builddep', :type => :define do
4 let(:title) { 'my_package' }
6 describe "should require apt-get update" do
7 it { should contain_exec("apt_update").with({
8 'command' => "/usr/bin/apt-get update",
12 it { should contain_anchor("apt::builddep::my_package").with({
13 'require' => 'Class[Apt::Update]',