diff --git a/spec/rspec/support/method_signature_verifier_spec.rb b/spec/rspec/support/method_signature_verifier_spec.rb index f8691705..482bcc33 100644 --- a/spec/rspec/support/method_signature_verifier_spec.rb +++ b/spec/rspec/support/method_signature_verifier_spec.rb @@ -1,6 +1,8 @@ require 'rspec/support' require 'rspec/support/method_signature_verifier' +def ruby2_keywords(*); end unless respond_to?(:ruby2_keywords, true) + module RSpec module Support RSpec.describe 'verifying methods' do