diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-17 14:30:00 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-17 14:30:00 -0700 |
commit | 742eca396738c2a21ab4cccb919ea7bb0a5974b7 (patch) | |
tree | 8ccca29a46f850d184643f708b7a44a01c37a5e8 /spec/unit/provider/package | |
parent | 3095f093a248695b6550f915eb7a91678a881e5f (diff) | |
download | chef-742eca396738c2a21ab4cccb919ea7bb0a5974b7.tar.gz |
Remove some empty specs I left behind
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/provider/package')
-rw-r--r-- | spec/unit/provider/package/homebrew_spec.rb | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/spec/unit/provider/package/homebrew_spec.rb b/spec/unit/provider/package/homebrew_spec.rb index 27a2c95e52..ef52597bd6 100644 --- a/spec/unit/provider/package/homebrew_spec.rb +++ b/spec/unit/provider/package/homebrew_spec.rb @@ -284,7 +284,7 @@ describe Chef::Provider::Package::Homebrew do expect(Etc).to receive(:getpwuid).with(homebrew_uid).and_return(OpenStruct.new(name: "name", dir: "/")) end - it "passes a single to the brew command and return stdout" do + it "passes a single pkg to the brew command and return stdout" do allow(provider).to receive(:shell_out!).and_return(OpenStruct.new(stdout: "zombo")) expect(provider.brew_cmd_output).to eql("zombo") end @@ -304,43 +304,6 @@ describe Chef::Provider::Package::Homebrew do end end - describe "#install_package" do - it "calls #brew_cmd_output to install the packages" do - expect(provider).to receive(:brew_cmd_output).with("install", nil, %w{vim git}) - provider.install_package(%w{vim git}, ["8.2.0550", "2.26.1"]) - end - - it "passes options if set on the resource" do - end - end - - describe "#upgrade_package" do - it "calls #brew_cmd_output to upgrade the packages" do - end - - it "calls #brew_cmd_output to install packages that aren't yet installed" do - end - - it "passes options if set on the resource" do - end - end - - describe "#remove_package" do - it "calls #brew_cmd_output to remove the packages" do - end - - it "passes options if set on the resource" do - end - end - - describe "#purge_package" do - it "calls #brew_cmd_output to remove the packages with the --force option" do - end - - it "passes options if set on the resource" do - end - end - describe "resource actions" do before(:each) do provider.current_resource = current_resource |