diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2019-04-26 06:28:49 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-30 08:55:12 +0300 |
commit | 0a4817dd77eb371f171b634e4df180eafa115721 (patch) | |
tree | 9f7caaedef2c3e297e04cf6f2c333950f3d2f0c0 /spec | |
parent | 50fa7847bb89254ab0dbe163b5e71bb43b6d6b14 (diff) |
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')
-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 |