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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-02 15:11:04 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-02 15:11:04 +0300
commited509186782d16d2bbcb34ac73303e8cb3a9d5a2 (patch)
tree4ab3bbb33b37e9e4c0f73627617ea6b0c7d0d7f7 /spec/requests/api/metrics/dashboard
parent44837830832a41a6fe6360aca18e50826c723fd1 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/api/metrics/dashboard')
-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]
}