diff options
author | danielsdeleo <dan@opscode.com> | 2013-08-02 13:35:27 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-08-02 13:35:27 -0700 |
commit | de41692ab33c64e7fb238081e55d246a885e2f69 (patch) | |
tree | f5ed986324095648c5076b7b07be89463bdf1426 /spec/unit/provider/package/apt_spec.rb | |
parent | 6497db0ac1abf68419bead6890f2dc41fe2bb552 (diff) | |
download | chef-de41692ab33c64e7fb238081e55d246a885e2f69.tar.gz |
Purge remaining references to run_command_with_systems_locale
Diffstat (limited to 'spec/unit/provider/package/apt_spec.rb')
-rw-r--r-- | spec/unit/provider/package/apt_spec.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/unit/provider/package/apt_spec.rb b/spec/unit/provider/package/apt_spec.rb index 1303d15a6e..eb11c1e417 100644 --- a/spec/unit/provider/package/apt_spec.rb +++ b/spec/unit/provider/package/apt_spec.rb @@ -120,7 +120,6 @@ libmysqlclient-dev: RPKG_STDOUT real_package = mock(:stdout => real_package_out,:exitstatus => 0) @provider.should_receive(:shell_out!).with("apt-cache policy libmysqlclient-dev").and_return(real_package) - @provider.should_not_receive(:run_command_with_systems_locale) @provider.load_current_resource end @@ -284,16 +283,12 @@ SHOWPKG_STDOUT @current_resource.version "0.8.11" @new_resource.response_file "/tmp/file" @provider.stub!(:get_preseed_file).and_return(false) - @provider.should_not_receive(:run_command_with_systems_locale) + @provider.should_not_receive(:shell_out!) @provider.run_action(:reconfig) end end describe "when reconfiguring a package" do - before(:each) do - @provider.stub!(:run_command_with_systems_locale).and_return(true) - end - it "should run dpkg-reconfigure package" do @provider.should_receive(:shell_out!). with("dpkg-reconfigure irssi", |