=s_('CICD|You must add a %{kubernetes_cluster_start}Kubernetes cluster integration%{kubernetes_cluster_end} to this project with a domain in order for your deployment strategy to work correctly.').html_safe%{kubernetes_cluster_start: kubernetes_cluster_start,kubernetes_cluster_end: '</a>'.html_safe}
=s_('CICD|You must add a %{kubernetes_cluster_start}Kubernetes cluster integration%{kubernetes_cluster_end} to this project with a domain in order for your deployment strategy to work correctly.').html_safe%{kubernetes_cluster_start: kubernetes_cluster_start,kubernetes_cluster_end: '</a>'.html_safe}
@@ -13,4 +13,14 @@ describe 'projects/settings/ci_cd/_autodevops_form' do
...
@@ -13,4 +13,14 @@ describe 'projects/settings/ci_cd/_autodevops_form' do
expect(rendered).tohave_text('You must add a Kubernetes cluster integration to this project with a domain in order for your deployment strategy to work correctly.')
expect(rendered).tohave_text('You must add a Kubernetes cluster integration to this project with a domain in order for your deployment strategy to work correctly.')
end
end
context'when the project has an available kubernetes cluster'do