From 45b364c65654f662f9bc0c6449bec1ad6f02f6dd Mon Sep 17 00:00:00 2001 From: jordanbreen28 Date: Mon, 8 Jan 2024 11:06:02 +0000 Subject: [PATCH] test --- .github/workflows/ci.yml | 2 +- package-testing/spec/package/support/serverspec_monkeypatch.rb | 2 +- spec/unit/pdk/config/namespace_spec.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b155d088f..318e0c063 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - "2.7" - "3.2" name: "spec (ruby ${{ matrix.ruby_version }})" - uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main" + uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@CAT-1618-add_in_code_coverage" secrets: "inherit" with: ruby_version: ${{ matrix.ruby_version }} diff --git a/package-testing/spec/package/support/serverspec_monkeypatch.rb b/package-testing/spec/package/support/serverspec_monkeypatch.rb index 380d4e97c..39b594916 100644 --- a/package-testing/spec/package/support/serverspec_monkeypatch.rb +++ b/package-testing/spec/package/support/serverspec_monkeypatch.rb @@ -14,7 +14,7 @@ def run option_keys << :cwd option_keys << :run_as -Specinfra::Configuration.singleton_class.send(:remove_const, :VALID_OPTIONS_KEYS) +Specinfra::Configuration.singleton_class.send(:remove_const, :VALID_OPTIONS_KEYS) # rubocop:disable RSpec/RemoveConst Specinfra::Configuration.singleton_class.const_set(:VALID_OPTIONS_KEYS, option_keys.freeze) RSpec.configuration.add_setting :cwd RSpec.configuration.add_setting :run_as diff --git a/spec/unit/pdk/config/namespace_spec.rb b/spec/unit/pdk/config/namespace_spec.rb index 5d44a6226..ed8066a95 100644 --- a/spec/unit/pdk/config/namespace_spec.rb +++ b/spec/unit/pdk/config/namespace_spec.rb @@ -144,7 +144,7 @@ def spec_simple_validator expect([config.fetch(:foo, 'default'), config.fetch('foo', 'default')]).to all(eq('bar')) end - it 'will return the specified default value for unknown values' do + it 'returns the specified default value for unknown values' do expect([config.fetch(:missing, 'default'), config.fetch('missing', 'default')]).to all(eq('default')) end