From: Daniele Sluijters Date: Wed, 24 Sep 2014 22:27:06 +0000 (-0700) Subject: Fix a test that broke with #326. X-Git-Tag: 1.7.0~3 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=761a4d26c7b05f91d914033236d14a3557e6eab6;p=puppet-modules%2Fpuppetlabs-apt.git Fix a test that broke with #326. --- diff --git a/spec/defines/builddep_spec.rb b/spec/defines/builddep_spec.rb index 88cdf4f..8836693 100644 --- a/spec/defines/builddep_spec.rb +++ b/spec/defines/builddep_spec.rb @@ -5,7 +5,7 @@ describe 'apt::builddep', :type => :define do let(:title) { 'my_package' } describe "defaults" do - it { should contain_exec("apt-builddep-my_package").that_notifies('Exec[apt_update]').with({ + it { should contain_exec("apt-builddep-my_package").that_requires('Exec[apt_update]').with({ 'command' => "/usr/bin/apt-get -y --force-yes build-dep my_package", 'logoutput' => 'on_failure' })