From 80f6074156e0ea2a33a1651461e5cc5206c44189 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 18 Oct 2023 15:02:27 -0700 Subject: [PATCH] (spec) test for packages wget and curl --- spec/acceptance/basic_spec.rb | 2 +- spec/classes/init_spec.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/acceptance/basic_spec.rb b/spec/acceptance/basic_spec.rb index 64c2044..b4123e7 100644 --- a/spec/acceptance/basic_spec.rb +++ b/spec/acceptance/basic_spec.rb @@ -93,7 +93,7 @@ class { 'ccs_software': end # package deps - %w[unzip git].each do |p| + %w[unzip git curl-minimal wget].each do |p| describe package(p) do it { is_expected.to be_installed } end diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb index 79c0344..ae92d27 100644 --- a/spec/classes/init_spec.rb +++ b/spec/classes/init_spec.rb @@ -90,6 +90,8 @@ it do is_expected.to contain_package('unzip') is_expected.to contain_package('git') + is_expected.to contain_package('curl-minimal') + is_expected.to contain_package('wget') end end