Skip to content

Commit 3e1b863

Browse files
committed
squash: Re-add assertions
1 parent c8cb96f commit 3e1b863

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

instrumentation/action_pack/test/opentelemetry/instrumentation/action_pack/handlers/action_controller_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
_(last_response.body).must_equal 'created new item'
6666
_(last_response.ok?).must_equal true
67-
# _(span.name).must_equal 'GET example/new_item'
67+
_(span.name).must_match(/^GET/)
6868
_(span.kind).must_equal :server
6969
_(span.status.ok?).must_equal true
7070

@@ -211,7 +211,7 @@
211211
it 'does not overwrite the span name from the controller that raised' do
212212
get 'internal_server_error'
213213

214-
# _(span.name).must_equal 'GET example/show'
214+
_(span.name).must_match(/^GET/)
215215
_(span.kind).must_equal :server
216216
_(span.status.ok?).must_equal false
217217

0 commit comments

Comments
 (0)