diff --git a/spec/datadog/di/instrumenter_spec.rb b/spec/datadog/di/instrumenter_spec.rb index 699a9867c7..437f7ad683 100644 --- a/spec/datadog/di/instrumenter_spec.rb +++ b/spec/datadog/di/instrumenter_spec.rb @@ -174,16 +174,6 @@ include_examples 'invokes callback and captures parameters' end - - context 'when passed via a splat with string keys' do - - let(:target_call) do - pending '2.x only?' - expect(HookTestClass.new.hook_test_method_with_kwarg(**{'kwarg' => 42})).to eq 42 - end - - include_examples 'invokes callback and captures parameters' - end end end @@ -229,16 +219,6 @@ include_examples 'invokes callback and captures parameters' end - - context 'when passed via a splat with string keys' do - - let(:target_call) do - pending '2.x only?' - expect(HookTestClass.new.hook_test_method_with_kwarg(**{'kwarg' => 42})).to eq 42 - end - - include_examples 'invokes callback and captures parameters' - end end end