Skip to content

Commit

Permalink
#
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Truong <theotr@amazon.com>
  • Loading branch information
nhtruong committed Dec 12, 2024
1 parent 4826c47 commit a1ca888
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def jruby?
# The names of the connected nodes.
# @return [ Array<String> ] The node names.
def node_names
node_stats = default_client.perform_request('GET', '_nodes/stats').body
node_stats = default_client.transport.perform_request('GET', '_nodes/stats').body
$node_names ||= node_stats['nodes'].collect do |name, stats|
stats['name']
end
Expand Down Expand Up @@ -120,7 +120,6 @@ def self.included(context)
end

RSpec.configure do |config|
config.include(HelperModule)
config.formatter = 'documentation'
config.color = true
end

0 comments on commit a1ca888

Please sign in to comment.