Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/api/metrics/dashboard/annotations_spec.rb')
-rw-r--r--spec/requests/api/metrics/dashboard/annotations_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/metrics/dashboard/annotations_spec.rb b/spec/requests/api/metrics/dashboard/annotations_spec.rb
index 5e64ac7d481..a09596f167d 100644
--- a/spec/requests/api/metrics/dashboard/annotations_spec.rb
+++ b/spec/requests/api/metrics/dashboard/annotations_spec.rb
@@ -64,7 +64,7 @@ RSpec.describe API::Metrics::Dashboard::Annotations do
{
'starting_at' => starting_at.to_time,
'ending_at' => ending_at.to_time,
- "#{source_type}" => source,
+ source_type.to_s => source,
'dashboard_path' => dashboard_unescaped,
'description' => params[:description]
}