]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Fix a test that broke with #326.
authorDaniele Sluijters <daenney@users.noreply.github.com>
Wed, 24 Sep 2014 22:27:06 +0000 (15:27 -0700)
committerDaniele Sluijters <daenney@users.noreply.github.com>
Wed, 24 Sep 2014 22:27:06 +0000 (15:27 -0700)
spec/defines/builddep_spec.rb

index 88cdf4fb6ef65d2372ce84b2abb964ba0f381312..8836693779cdd3d82195029cd7399ffcd7f26154 100644 (file)
@@ -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'
       })