diff options
Diffstat (limited to 'spec/requests/api/metrics')
-rw-r--r-- | spec/requests/api/metrics/dashboard/annotations_spec.rb | 2 |
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] } |