diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2019-04-26 13:28:49 +1000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-29 22:55:12 -0700 |
commit | 0a4817dd77eb371f171b634e4df180eafa115721 (patch) | |
tree | 9f7caaedef2c3e297e04cf6f2c333950f3d2f0c0 /spec/models | |
parent | 50fa7847bb89254ab0dbe163b5e71bb43b6d6b14 (diff) | |
download | gitlab-ce-0a4817dd77eb371f171b634e4df180eafa115721.tar.gz |
In Prometheus use update! instead of update
In order to not miss any errors since we are not checking the return
value of update
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/clusters/applications/prometheus_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/clusters/applications/prometheus_spec.rb b/spec/models/clusters/applications/prometheus_spec.rb index 76d2c4a9d1c..8649d3e2710 100644 --- a/spec/models/clusters/applications/prometheus_spec.rb +++ b/spec/models/clusters/applications/prometheus_spec.rb @@ -40,7 +40,7 @@ describe Clusters::Applications::Prometheus do end it 'ensures Prometheus service is activated' do - expect(prometheus_service).to receive(:update).with(active: true) + expect(prometheus_service).to receive(:update!).with(active: true) subject.make_installed end |