diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-07-01 16:17:50 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-07-01 19:12:34 -0700 |
commit | a962f9bcb68b98c0cf19ab29155af04a99c3ff12 (patch) | |
tree | d59fe78d39cb90470f113332830e05c6eb8ffa1a /spec/unit/provider/package/dpkg_spec.rb | |
parent | 18c103dfe4cf23008ce6b6417a8daed23c468876 (diff) | |
download | chef-a962f9bcb68b98c0cf19ab29155af04a99c3ff12.tar.gz |
moar 1.8.7 fixes
Diffstat (limited to 'spec/unit/provider/package/dpkg_spec.rb')
-rw-r--r-- | spec/unit/provider/package/dpkg_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/provider/package/dpkg_spec.rb b/spec/unit/provider/package/dpkg_spec.rb index da889a7dd1..439a42daa3 100644 --- a/spec/unit/provider/package/dpkg_spec.rb +++ b/spec/unit/provider/package/dpkg_spec.rb @@ -123,7 +123,7 @@ DPKG_S describe Chef::Provider::Package::Dpkg, "install and upgrade" do it "should run dpkg -i with the package source" do @provider.should_receive(:run_noninteractive).with( - "dpkg -i /tmp/wget_1.11.4-1ubuntu1_amd64.deb", + "dpkg -i /tmp/wget_1.11.4-1ubuntu1_amd64.deb" ) @provider.install_package("wget", "1.11.4-1ubuntu1") end @@ -148,7 +148,7 @@ DPKG_S it "should run dpkg -i with the package source and options if specified" do @provider.should_receive(:run_noninteractive).with( - "dpkg -i --force-yes /tmp/wget_1.11.4-1ubuntu1_amd64.deb", + "dpkg -i --force-yes /tmp/wget_1.11.4-1ubuntu1_amd64.deb" ) @new_resource.stub(:options).and_return("--force-yes") @@ -163,7 +163,7 @@ DPKG_S describe Chef::Provider::Package::Dpkg, "remove and purge" do it "should run dpkg -r to remove the package" do @provider.should_receive(:run_noninteractive).with( - "dpkg -r wget", + "dpkg -r wget" ) @provider.remove_package("wget", "1.11.4-1ubuntu1") end @@ -186,7 +186,7 @@ DPKG_S it "should run dpkg -P to purge the package with options if specified" do @provider.should_receive(:run_noninteractive).with( - "dpkg -P --force-yes wget", + "dpkg -P --force-yes wget" ) @new_resource.stub(:options).and_return("--force-yes") |