Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vpellan committed Dec 10, 2024
1 parent fd7b84c commit 84c2916
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/datadog/core/remote/transport/http_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@
it { expect(transport.client.api.headers).to_not include('Datadog-Client-Computed-Stats') }

context 'with non-billing mode enabled' do
before { expect(Datadog.configuration.tracing.non_billing).to receive(:enabled).and_return(true) }
before do
expect(Datadog.configuration.tracing.non_billing).to receive(:enabled).and_return(true)
end

it { expect(transport.client.api.headers['Datadog-Client-Computed-Stats']).to eq('yes') }
end
Expand Down

0 comments on commit 84c2916

Please sign in to comment.