summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-12-15 14:36:19 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2021-12-15 14:36:19 -0800
commitfe97522c6dc5e66e851cd15436b0cae3ba0b3309 (patch)
tree781ed6480f35512c986f1ea08d257f1050466ff4
parent398d42dd9fc8319c9a5d6f8c4b67e308c38330db (diff)
downloadchef-fe97522c6dc5e66e851cd15436b0cae3ba0b3309.tar.gz
weird typo
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--spec/functional/resource/yum_package_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/yum_package_spec.rb b/spec/functional/resource/yum_package_spec.rb
index 1eac11e599..ca0e2cbd95 100644
--- a/spec/functional/resource/yum_package_spec.rb
+++ b/spec/functional/resource/yum_package_spec.rb
@@ -667,14 +667,14 @@ describe Chef::Resource::YumPackage, :requires_root, external: exclude_test do
expect_matching_installed_version("^chef_rpm-1.10-1.#{pkg_arch}$")
end
- it "when there is no solution to the contraint" do
+ it "when there is no solution to the constraint" do
flush_cache
expect {
yum_package "chef_rpm > 2.0"
}.to raise_error(Chef::Exceptions::Package, /No candidate version available/)
end
- it "when there is no solution to the contraint but an rpm is preinstalled" do
+ it "when there is no solution to the constraint but an rpm is preinstalled" do
preinstall("chef_rpm-1.10-1.#{pkg_arch}.rpm")
expect {
yum_package "chef_rpm > 2.0"