diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-04-10 11:29:52 +1200 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-04-12 11:27:22 +1200 |
commit | db68aceb66358fc562a277e4dd3b54849386110a (patch) | |
tree | b70bc6123bd50864040ba880b858fb264979bd4d /spec/services/clusters/applications/patch_service_spec.rb | |
parent | ee3bad604a6d280fb31a6b0c69bb53d5b5d4f581 (diff) | |
download | gitlab-ce-refactor_cluster_application_services.tar.gz |
More accurate error messagerefactor_cluster_application_services
By the time we catch this StandardError, it's no longer the start of the
process - it could be anywhere in between.
Diffstat (limited to 'spec/services/clusters/applications/patch_service_spec.rb')
-rw-r--r-- | spec/services/clusters/applications/patch_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/clusters/applications/patch_service_spec.rb b/spec/services/clusters/applications/patch_service_spec.rb index 05496595d3f..3ebe0540837 100644 --- a/spec/services/clusters/applications/patch_service_spec.rb +++ b/spec/services/clusters/applications/patch_service_spec.rb @@ -73,7 +73,7 @@ describe Clusters::Applications::PatchService do service.execute expect(application).to be_update_errored - expect(application.status_reason).to eq("Can't start update process.") + expect(application.status_reason).to eq('Failed to update.') end end end |