diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-16 20:54:15 +0200 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-16 20:54:15 +0200 |
commit | 8b69523b014c9557bcb03bf0e695331ea9621312 (patch) | |
tree | bda7ddfb61bffefb88131266aeff2a2d2ecd1957 /spec/models | |
parent | 6e4d5334211d73dd731cb8757b2ef10e8ea428b7 (diff) | |
download | gitlab-ce-8b69523b014c9557bcb03bf0e695331ea9621312.tar.gz |
move additional_metrics.yaml into prometheus/ config folder
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/environment_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/environment_spec.rb b/spec/models/environment_spec.rb index f36c165ef7d..b0635c6a90a 100644 --- a/spec/models/environment_spec.rb +++ b/spec/models/environment_spec.rb @@ -475,7 +475,7 @@ describe Environment, models: true do end it 'returns the additional metrics from the deployment service' do - expect(environment.prometheus_service).to receive(:additional_environment_metrics) + expect(project.prometheus_service).to receive(:additional_environment_metrics) .with(environment) .and_return(:fake_metrics) |