Avoid respond_to? when checking existence of the ruby2_keywords method
Avoid respond_to? when checking existence of the ruby2_keywords method

Using `respond_to?` causes issues in rspec-rails because of how the `Railtie` class implements `respond_to_missing?`.

rspec/rspec-mocks,rspec/rspec-mocks