Commit 4666b562 authored by Rémy Coutable's avatar Rémy Coutable

Fix Environment#metrics spec

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 4771794b
...@@ -415,7 +415,7 @@ describe Environment, models: true do ...@@ -415,7 +415,7 @@ describe Environment, models: true do
it 'returns the metrics from the deployment service' do it 'returns the metrics from the deployment service' do
expect(project.monitoring_service) expect(project.monitoring_service)
.to receive(:metrics).with(environment) .to receive(:environment_metrics).with(environment)
.and_return(:fake_metrics) .and_return(:fake_metrics)
is_expected.to eq(:fake_metrics) is_expected.to eq(:fake_metrics)
......
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