diff options
Diffstat (limited to 'spec/factories/prometheus_metrics.rb')
-rw-r--r-- | spec/factories/prometheus_metrics.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/factories/prometheus_metrics.rb b/spec/factories/prometheus_metrics.rb index c56644bfb96..f6b58cf84c3 100644 --- a/spec/factories/prometheus_metrics.rb +++ b/spec/factories/prometheus_metrics.rb @@ -2,17 +2,17 @@ FactoryBot.define do factory :prometheus_metric, class: PrometheusMetric do - title 'title' - query 'avg(metric)' - y_label 'y_label' - unit 'm/s' - group :business + title { 'title' } + query { 'avg(metric)' } + y_label { 'y_label' } + unit { 'm/s' } + group { :business } project - legend 'legend' + legend { 'legend' } trait :common do - common true - project nil + common { true } + project { nil } end end end |