diff options
Diffstat (limited to 'spec/unit/provider/package/chocolatey_spec.rb')
-rw-r--r-- | spec/unit/provider/package/chocolatey_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/unit/provider/package/chocolatey_spec.rb b/spec/unit/provider/package/chocolatey_spec.rb index afc068041d..ff9dc3ca6b 100644 --- a/spec/unit/provider/package/chocolatey_spec.rb +++ b/spec/unit/provider/package/chocolatey_spec.rb @@ -439,19 +439,6 @@ munin-node|1.6.1.20130823 expect(new_resource).to be_updated_by_last_action end end - - describe "#action_uninstall" do - it "should call :remove with a deprecation warning" do - Chef::Config[:treat_deprecation_warnings_as_errors] = false - expect(Chef::Log).to receive(:deprecation).with(/please use :remove/) - allow_remote_list(["ConEmu"]) - new_resource.package_name("ConEmu") - provider.load_current_resource - expect(provider).to receive(:remove_package) - provider.run_action(:uninstall) - expect(new_resource).to be_updated_by_last_action - end - end end describe "behavior when Chocolatey is not installed" do |