diff options
Diffstat (limited to 'spec/models/performance_monitoring/prometheus_dashboard_spec.rb')
-rw-r--r-- | spec/models/performance_monitoring/prometheus_dashboard_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/performance_monitoring/prometheus_dashboard_spec.rb b/spec/models/performance_monitoring/prometheus_dashboard_spec.rb index 21b16bdeb17..f338e5439ad 100644 --- a/spec/models/performance_monitoring/prometheus_dashboard_spec.rb +++ b/spec/models/performance_monitoring/prometheus_dashboard_spec.rb @@ -32,7 +32,7 @@ RSpec.describe PerformanceMonitoring::PrometheusDashboard do subject { described_class.from_json(json_content) } it 'creates a PrometheusDashboard object' do - expect(subject).to be_a PerformanceMonitoring::PrometheusDashboard + expect(subject).to be_a described_class expect(subject.dashboard).to eq(json_content['dashboard']) expect(subject.panel_groups).to all(be_a PerformanceMonitoring::PrometheusPanelGroup) end |