diff --git a/test/multiverse/suites/roda/roda_instrumentation_test.rb b/test/multiverse/suites/roda/roda_instrumentation_test.rb index 16b88a603d..2d77eb861c 100644 --- a/test/multiverse/suites/roda/roda_instrumentation_test.rb +++ b/test/multiverse/suites/roda/roda_instrumentation_test.rb @@ -106,6 +106,13 @@ def test_roda_instrumentation_works_if_middleware_disabled end end + def test_roda_namer_removes_rogue_slashes + get('/home//') + txn = harvest_transaction_events![1][0] + + assert_equal 'Controller/Roda/RodaTestApp/GET home', txn[0]['name'] + end + def test_transaction_name_error NewRelic::Agent.stub(:logger, NewRelic::Agent::MemoryLogger.new) do # pass in {} to produce an error, because {} doesn't support #path and