Skip to content
Snippets Groups Projects
Commit e71a27f0 authored by Pawel Chojnacki's avatar Pawel Chojnacki
Browse files

fix tests for find or initialize service 'prometheus'

parent a1d10bee
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -14,7 +14,7 @@ describe Clusters::Applications::Prometheus do
subject { create(:clusters_applications_prometheus, :installing, cluster: cluster) }
 
before do
allow(project).to receive(:prometheus_service).and_return prometheus_service
allow(project).to receive(:find_or_initialize_service).with('prometheus').and_return prometheus_service
end
 
it 'ensures Prometheus service is activated' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment