diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-05-07 16:50:25 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-18 20:29:40 -0700 |
commit | a729c9be155e3d335fbd7bd165abd4ba9610943d (patch) | |
tree | 75b4b985ff469f033dc644857a8183d784611d34 /spec/unit/provider | |
parent | a36abdaf4c6cad4df506866021ec7abb2266706b (diff) | |
download | chef-a729c9be155e3d335fbd7bd165abd4ba9610943d.tar.gz |
Get lib/ free of spelling violations.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'spec/unit/provider')
-rw-r--r-- | spec/unit/provider/package/portage_spec.rb | 4 | ||||
-rw-r--r-- | spec/unit/provider/package/powershell_spec.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/provider/package/portage_spec.rb b/spec/unit/provider/package/portage_spec.rb index bc7ad22854..8fdd7f877a 100644 --- a/spec/unit/provider/package/portage_spec.rb +++ b/spec/unit/provider/package/portage_spec.rb @@ -118,13 +118,13 @@ describe Chef::Provider::Package::Portage, "load_current_resource" do expect { @provider.candidate_version }.to raise_error(Chef::Exceptions::Package) end - it "should find the candidate_version if a category is specifed and there are no duplicates" do + it "should find the candidate_version if a category is specified and there are no duplicates" do status = double(stdout: "dev-vcs/git-2.16.2", exitstatus: 0) expect(@provider).to receive(:shell_out_compacted).and_return(status) expect(@provider.candidate_version).to eq("2.16.2") end - it "should find the candidate_version if a category is not specifed and there are no duplicates" do + it "should find the candidate_version if a category is not specified and there are no duplicates" do status = double(stdout: "dev-vcs/git-2.16.2", exitstatus: 0) @provider = Chef::Provider::Package::Portage.new(@new_resource_without_category, @run_context) expect(@provider).to receive(:shell_out_compacted).and_return(status) diff --git a/spec/unit/provider/package/powershell_spec.rb b/spec/unit/provider/package/powershell_spec.rb index 865cce4b22..a0d081fd78 100644 --- a/spec/unit/provider/package/powershell_spec.rb +++ b/spec/unit/provider/package/powershell_spec.rb @@ -131,7 +131,7 @@ describe Chef::Provider::Package::Powershell, :windows_only do expect(provider.candidate_version).to eql(["2.12.0.0"]) end - it "should set the candidate_version to the latest version when not pinning and package name is space seperated" do + it "should set the candidate_version to the latest version when not pinning and package name is space separated" do allow(provider).to receive(:powershell_out).with("( Find-Package '7-Zip 16.02 (x64)' -Force -ForceBootstrap ).Version", { timeout: new_resource.timeout }).and_return(package_7zip_available) new_resource.package_name(["7-Zip 16.02 (x64)"]) new_resource.version(nil) |