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