Commit 7c26c47c authored by Rémy Coutable's avatar Rémy Coutable

[CE] Reduce diff with EE in spec/models/concerns/prometheus_adapter_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 1b6fe3ae
......@@ -6,14 +6,15 @@ describe PrometheusAdapter, :use_clean_rails_memory_store_caching do
include PrometheusHelpers
include ReactiveCachingHelpers
class TestClass
include PrometheusAdapter
end
let(:project) { create(:prometheus_project) }
let(:service) { project.prometheus_service }
let(:described_class) { TestClass }
let(:described_class) do
Class.new do
include PrometheusAdapter
end
end
let(:environment_query) { Gitlab::Prometheus::Queries::EnvironmentQuery }
describe '#query' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment