summaryrefslogtreecommitdiff
path: root/spec/services/clusters/applications/patch_service_spec.rb
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-04-10 11:29:52 +1200
committerThong Kuah <tkuah@gitlab.com>2019-04-12 11:27:22 +1200
commitdb68aceb66358fc562a277e4dd3b54849386110a (patch)
treeb70bc6123bd50864040ba880b858fb264979bd4d /spec/services/clusters/applications/patch_service_spec.rb
parentee3bad604a6d280fb31a6b0c69bb53d5b5d4f581 (diff)
downloadgitlab-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.rb2
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