Skip to content

Commit

Permalink
Merge pull request #1 from nhtruong/bugfix/theotr
Browse files Browse the repository at this point in the history
  • Loading branch information
mlarraz authored Apr 24, 2024
2 parents 033b46b + d621601 commit f3730ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Deprecated
### Removed
### Fixed
- Fixed variable name in `OpenSearch::Client#respond_to_missing?` ([#247](https://github.com/opensearch-project/opensearch-ruby/pull/247))
### Security

## [3.2.0]
Expand Down
9 changes: 9 additions & 0 deletions spec/opensearch/client/unit/opensearch_client_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
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

0 comments on commit f3730ae

Please sign in to comment.