Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ekump committed Jan 26, 2024
1 parent 821f631 commit 3f16639
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/datadog/tracing/contrib/elasticsearch/transport_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def call(env)
describe 'transport configuration override' do
context 'when #service is overridden' do
let(:version_greater_than_8) { Gem::Version.new(::Elasticsearch::VERSION) >= Gem::Version.new('8.0.0') }
let(:service_name) { 'bar' }

before do
if version_greater_than_8
Expand All @@ -187,8 +188,6 @@ def call(env)
end
end

let(:service_name) { 'bar' }

describe 'then a GET request' do
subject(:response) { client.perform_request(method, path) }

Expand Down

0 comments on commit 3f16639

Please sign in to comment.