diff options
author | Vivek Singh <vivek.singh@msystechnologies.com> | 2020-04-07 00:55:39 +0530 |
---|---|---|
committer | Vivek Singh <vivek.singh@msystechnologies.com> | 2020-04-07 01:11:15 +0530 |
commit | e091293eacc1d5944075ef5d220213cd2073799a (patch) | |
tree | f6a407a324ec7cba5f3745aeb25b1d97184aed6d /spec/unit/provider | |
parent | a700fec953f275b2b0338130baa85b12beec0aea (diff) | |
download | chef-e091293eacc1d5944075ef5d220213cd2073799a.tar.gz |
Add more typo fixes
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
Diffstat (limited to 'spec/unit/provider')
-rw-r--r-- | spec/unit/provider/package/cab_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider/package/msu_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider/package/rpm_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider/package_spec.rb | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/spec/unit/provider/package/cab_spec.rb b/spec/unit/provider/package/cab_spec.rb index 0ffbcd4a51..f281e2c69b 100644 --- a/spec/unit/provider/package/cab_spec.rb +++ b/spec/unit/provider/package/cab_spec.rb @@ -132,7 +132,7 @@ describe Chef::Provider::Package::Cab do new_resource.cookbook_name = "cab_package" end - it "sets the desired parameters of downloades cab file" do + it "sets the desired parameters of downloaded cab file" do allow(provider).to receive(:default_download_cache_path).and_return("C:\\chef\\cache\\package") source_resource = provider.source_resource expect(source_resource.path).to be == "C:\\chef\\cache\\package" diff --git a/spec/unit/provider/package/msu_spec.rb b/spec/unit/provider/package/msu_spec.rb index 905d48649f..b3cfa0576a 100644 --- a/spec/unit/provider/package/msu_spec.rb +++ b/spec/unit/provider/package/msu_spec.rb @@ -141,7 +141,7 @@ describe Chef::Provider::Package::Msu, :windows_only do new_resource.cookbook_name = "Msu_package" end - it "sets the desired parameters of downloades msu file" do + it "sets the desired parameters of downloaded msu file" do allow(provider).to receive(:default_download_cache_path).and_return("C:\\chef\\cache\\package") source_resource = provider.source_resource expect(source_resource.path).to be == "C:\\chef\\cache\\package" diff --git a/spec/unit/provider/package/rpm_spec.rb b/spec/unit/provider/package/rpm_spec.rb index 4694348438..813eda0377 100644 --- a/spec/unit/provider/package/rpm_spec.rb +++ b/spec/unit/provider/package/rpm_spec.rb @@ -428,7 +428,7 @@ describe Chef::Provider::Package::Rpm do provider.install_package("/tmp/ImageMagick-c++-6.5.4.7-7.el6_5.x86_64.rpm", "6.5.4.7-7.el6_5") end - it "should uprgrade from a path when the package is a path and the source is nil" do + it "should upgrade from a path when the package is a path and the source is nil" do expect(new_resource.source).to eq("/tmp/ImageMagick-c++-6.5.4.7-7.el6_5.x86_64.rpm") current_resource.version("21.4-19.el5") provider.current_resource = current_resource diff --git a/spec/unit/provider/package_spec.rb b/spec/unit/provider/package_spec.rb index accd913ebe..ab2f60cd46 100644 --- a/spec/unit/provider/package_spec.rb +++ b/spec/unit/provider/package_spec.rb @@ -551,7 +551,7 @@ describe "Chef::Provider::Package - Multi" do expect(new_resource).not_to be_updated_by_last_action end - it "raises an exception if both are not installed and no caondidates are available" do + it "raises an exception if both are not installed and no candidates are available" do current_resource.version([nil, nil]) provider.candidate_version = [nil, nil] expect { provider.run_action(:install) }.to raise_error(Chef::Exceptions::Package) @@ -631,7 +631,7 @@ describe "Chef::Provider::Package - Multi" do expect(new_resource).not_to be_updated_by_last_action end - it "should raise an exception if both are not installed and no caondidates are available" do + it "should raise an exception if both are not installed and no candidates are available" do current_resource.version([nil, nil]) provider.candidate_version = [nil, nil] expect { provider.run_action(:upgrade) }.to raise_error(Chef::Exceptions::Package) |