summaryrefslogtreecommitdiff
path: root/spec/unit/provider/package_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/package_spec.rb')
-rw-r--r--spec/unit/provider/package_spec.rb4
1 files changed, 2 insertions, 2 deletions
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)