diff options
Diffstat (limited to 'spec/services/clusters/applications/patch_service_spec.rb')
-rw-r--r-- | spec/services/clusters/applications/patch_service_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/clusters/applications/patch_service_spec.rb b/spec/services/clusters/applications/patch_service_spec.rb index 3ebe0540837..c6d0fee43c4 100644 --- a/spec/services/clusters/applications/patch_service_spec.rb +++ b/spec/services/clusters/applications/patch_service_spec.rb @@ -51,7 +51,7 @@ describe Clusters::Applications::PatchService do service.execute expect(application).to be_update_errored - expect(application.status_reason).to match('Kubernetes error: 500') + expect(application.status_reason).to eq(_('Kubernetes error: %{error_code}') % { error_code: 500 }) end end @@ -73,7 +73,7 @@ describe Clusters::Applications::PatchService do service.execute expect(application).to be_update_errored - expect(application.status_reason).to eq('Failed to update.') + expect(application.status_reason).to eq(_('Failed to update.')) end end end |