Skip to content

Commit 5720682

Browse files
committed
squash: relax the test a little
1 parent 74cdb39 commit 5720682

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/rails/test/instrumentation/opentelemetry/instrumentation/rails/patches/action_controller

1 file changed

+1
-1
lines changed

instrumentation/rails/test/instrumentation/opentelemetry/instrumentation/rails/patches/action_controller/metal_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
_(last_response.body).must_equal 'actually ok'
2424
_(last_response.ok?).must_equal true
25-
_(span.name).must_equal 'GET /ok'
25+
_(span.name).must_match %r{GET.*/ok}
2626
_(span.kind).must_equal :server
2727
_(span.status.ok?).must_equal true
2828

0 commit comments

Comments
 (0)