-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix incorrect variable name Signed-off-by: Matt Larraz <mlarraz@users.noreply.github.com> * # Added tests Signed-off-by: Theo Truong <theotr@amazon.com> * # Updated CHANGELOG.md Signed-off-by: Theo Truong <theotr@amazon.com> * # Added License header Signed-off-by: Theo Truong <theotr@amazon.com> --------- Signed-off-by: Matt Larraz <mlarraz@users.noreply.github.com> Signed-off-by: Theo Truong <theotr@amazon.com> Co-authored-by: Theo Truong <theotr@amazon.com>
- Loading branch information
Showing
4 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# The OpenSearch Contributors require contributions made to | ||
# this file be licensed under the Apache-2.0 license or a | ||
# compatible open source license. | ||
# | ||
# Modifications Copyright OpenSearch Contributors. See | ||
# GitHub history for details. | ||
|
||
require_relative '../../../spec_helper' | ||
|
||
describe 'OpenSearch::Client#respond_to_missing?' do | ||
it 'returns to correct results' do | ||
client = OpenSearch::Client.new | ||
expect(client.send(:respond_to_missing?, :perform_request)).to be true | ||
expect(client.send(:respond_to_missing?, :something_else)).to be false | ||
end | ||
end |