Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Jan 8, 2024
1 parent 933eb26 commit 45b364c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/pdk/config/namespace_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 45b364c

Please sign in to comment.