Commit dbb284de authored by Dylan Griffith's avatar Dylan Griffith Committed by Stan Hu

Minor refactor of prometheus_spec

parent 416f3971
......@@ -19,12 +19,10 @@ describe Clusters::Applications::Prometheus do
it 'deactivates prometheus_service after destroy' do
expect do
application.destroy
application.destroy!
prometheus_service.reload
end.to change(prometheus_service, :active)
expect(prometheus_service).not_to be_active
end.to change(prometheus_service, :active).from(true).to(false)
end
end
......
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