Skip to content

Commit

Permalink
Removed block argument for shared examples and usage
Browse files Browse the repository at this point in the history
  • Loading branch information
zarirhamza committed Apr 25, 2023
1 parent 1f1d804 commit 8cc9c2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/datadog/tracing/contrib/active_record/tracer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
end

context 'and service_name' do
it_behaves_like 'schema version span', 'mysql2'
it_behaves_like 'schema version span'

context 'is not set' do
it { expect(span.service).to eq('mysql2') }
Expand Down
2 changes: 1 addition & 1 deletion spec/datadog/tracing/contrib/aws/instrumentation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

it_behaves_like 'measured span for integration'
it_behaves_like 'environment service name', 'DD_TRACE_AWS_SERVICE_NAME'
it_behaves_like 'schema version span', 'rspec'
it_behaves_like 'schema version span'

it 'generates a span' do
expect(span.name).to eq('aws.command')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RSpec.shared_examples 'schema version span' do |_default_service_name|
RSpec.shared_examples 'schema version span' do
before do
subject
end
Expand Down

0 comments on commit 8cc9c2a

Please sign in to comment.