diff --git a/lib/datadog/ci/contrib/rspec/example.rb b/lib/datadog/ci/contrib/rspec/example.rb index 5b42cb41..01285280 100644 --- a/lib/datadog/ci/contrib/rspec/example.rb +++ b/lib/datadog/ci/contrib/rspec/example.rb @@ -33,7 +33,7 @@ def run(*args) test_name = test_name.sub(test_suite_description, "").strip if ci_queue? - suite_name << " (ci-queue running example [#{test_name}])" + suite_name = "#{suite_name} (ci-queue running example [#{test_name}])" test_suite_span = CI.start_test_suite(suite_name) end